Commit f7d16560 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

avoid call of deprecated method

to stop spam from https://build.ros.org/job/Mdev__tsid__ubuntu_bionic_amd64/
parent 24592503
Pipeline #13424 passed with stage
in 16 minutes and 26 seconds
......@@ -120,7 +120,8 @@ namespace tsid
return self.updateRigidContactWeights(contact_name, force_regularization_weight, motion_weight);
}
static bool addRigidContact6dDeprecated(T& self, contacts::Contact6d & contact){
return self.addRigidContact(contact);
std::cout<<"[InverseDynamicsFormulationAccForce] Method addRigidContact(ContactBase) is deprecated. You should use addRigidContact(ContactBase, double) instead.\n";
return self.addRigidContact(contact, 1e-5);
}
static bool addRigidContact6d(T& self, contacts::Contact6d & contact, double force_regularization_weight){
return self.addRigidContact(contact, force_regularization_weight);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment