Typedef robot_interaction::InteractiveMarkerConstructorFn

Typedef Documentation

typedef std::function<bool(const moveit::core::RobotState &state, visualization_msgs::msg::InteractiveMarker &marker)> robot_interaction::InteractiveMarkerConstructorFn

Type of function for constructing markers. This callback sets up the marker used for an interaction.

Param state:

the current state of the robot

Param marker:

the function should fill this in with an InteractiveMarker that will be used to control the interaction.

Return:

true if the function succeeds, false if the function was not able to fill in marker.