You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Physics: remove *VelocityCmd at each time step (#2228)
This implements a suggestion from #1926 to delete
all `*VelocityCmd` components after each time step.
This also updates the logic for the following two systems
to handle this change:
* MulticopterMotorModel: handle missing component
Since JointVelocityCmd components are deleted after each
timestep, don't skip updating forces and moments if
the component does not exist, and use the
SetComponent API to more cleanly handle the component
creation logic. A syntax error in the the quadcopter test
worlds was fixed as well.
* TrajectoryFollower: don't need to remove commands
Now that the physics system is removing AngularVelocityCmd
components at every timestep, that logic can be removed
from the trajectory follower system.
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
0 commit comments