ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yes, in fact you are very close already. Simply set {{{interaction_mode = InteractiveMarkerControl.BUTTON}}}, then in your feedback message, look for {{{event_type == InteractiveMarkerFeedback::BUTTON_CLICK}}}.

Yes, in fact you are very close already. Simply set {{{interaction_mode interaction_mode = InteractiveMarkerControl.BUTTON}}}, InteractiveMarkerControl.BUTTON, then in your feedback message, look for {{{event_type event_type == InteractiveMarkerFeedback::BUTTON_CLICK}}}.InteractiveMarkerFeedback::BUTTON_CLICK.

Yes, in fact you are very close already. Simply set interaction_mode = InteractiveMarkerControl.BUTTON, in the control which has the sphere shape, then in your feedback message, look for event_type == InteractiveMarkerFeedback::BUTTON_CLICK.