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

avoid call of deprecated method

to stop spam from
parent 24592503
......@@ -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