When starting the tm_driver we can use the stick_play value to control whether or not the robot will "press" the stick play button.
The ROS node however does not use that feature, always using the default true value. This means that starting the driver will start the default program on the robot if it is in Auto mode. This is a potential safety issue.
By adding a parameter to the rosnode as well as arguments to the corresponding launch files we can allow the user to enable or disable that behavior. To ensure backward compatibility, default values are provided to keep the previous behavior.
When starting the tm_driver we can use the
stick_play
value to control whether or not the robot will "press" the stick play button.The ROS node however does not use that feature, always using the default
true
value. This means that starting the driver will start the default program on the robot if it is in Auto mode. This is a potential safety issue.By adding a parameter to the rosnode as well as arguments to the corresponding launch files we can allow the user to enable or disable that behavior. To ensure backward compatibility, default values are provided to keep the previous behavior.