-
Notifications
You must be signed in to change notification settings - Fork 28
Description
I have had some strange behavior related to this on last experiment and just found out what was going wrong:
Sending a new goal to the robot controllers does not overwrite ongoing angle-vector sequence goals.
How to reproduce:
Send some angle-vector-sequence and then call :stop-motion before the motion ends.
Expected behavior:
The old goal gets overwritten with a new one holding the current joint states, making the robot smoothly stop the motion.
Actual behaviour:
A new command with the current joint states is stacked and is only executed when the current motion finishes. To make things worse this command is executed on min-time, making the robot move super fast (which got me some fingers broken last time...)
Going to have a deeper look in the afternoon.