more work on UrdfEditor.py

This commit is contained in:
Erwin Coumans
2018-01-06 15:00:20 -08:00
parent 9a9aa5e9e7
commit a85a4f387b
2 changed files with 207 additions and 29 deletions

View File

@@ -4633,6 +4633,9 @@ bool PhysicsServerCommandProcessor::processSendDesiredStateCommand(const struct
}
motor->setVelocityTarget(desiredVelocity,kd);
//todo: instead of clamping, combine the motor and limit
//and combine handling of limit force and motor force.
//clamp position
if (mb->getLink(link).m_jointLowerLimit <= mb->getLink(link).m_jointUpperLimit)
{