ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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}}}.
2 | No.2 Revision |
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.
3 | No.3 Revision |
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.