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
If you rostopic echo /base_controller/state after having moved the robot around in circles but keeping the same heading, the casters will have rotated around (they're continuous rotation joints), the first four numbers of joint_error: corresponding to the caster angles, will be multiples of pi, even though the true error is zero as calculated for the PID controller:
If you change this, be very careful in your testing. If the gains or the error term for any of the caster motors is wrong, the motors can fight each other and burn out.
I recommend lifting the robot slightly off the floor by putting it on wooden blocks while testing this.
If you
rostopic echo /base_controller/state
after having moved the robot around in circles but keeping the same heading, the casters will have rotated around (they're continuous rotation joints), the first four numbers ofjoint_error:
corresponding to the caster angles, will be multiples of pi, even though the true error is zero as calculated for the PID controller:pr2_controllers/pr2_mechanism_controllers/src/pr2_base_controller2.cpp
Lines 407 to 413 in 02376d1
The error calculation for publishing (here:
pr2_controllers/pr2_mechanism_controllers/src/pr2_base_controller2.cpp
Line 346 in 02376d1
The text was updated successfully, but these errors were encountered: