# 需要导入模块: from visualization_msgs.msg import InteractiveMarkerControl [as 别名]# 或者: from visualization_msgs.msg.InteractiveMarkerControl importinteraction_mode[as 别名]defcreate_object_marker(self, soma_obj, soma_type, pose):# create an interactive marker for our serverint_marker...
# 需要导入模块: from visualization_msgs.msg import InteractiveMarkerControl [as 别名]# 或者: from visualization_msgs.msg.InteractiveMarkerControl importname[as 别名]defadd_menu_handler(int_marker, menu_handler, server):control = InteractiveMarkerControl() control.interaction_mode = InteractiveMarkerCon...
# 需要导入模块: from visualization_msgs.msg import InteractiveMarkerControl [as 别名]# 或者: from visualization_msgs.msg.InteractiveMarkerControl importorientation[as 别名]defScaleMarker(marker_template, control_scale=None, visual_scale=None):"""Scale InteractiveMarker and/or a visual Marker associated...
# 需要导入模块: from visualization_msgs.msg import InteractiveMarkerControl [as 别名]# 或者: from visualization_msgs.msg.InteractiveMarkerControl importmarkers[as 别名]defpublish_gripper(server, pose_stamped, name):"""Publishes a marker representing a gripper. Code taken from action_step_marker...
int_marker.name ='surface'int_marker.header.frame_id ='base_link'int_marker.pose = pose int_marker.scale =1button_control =InteractiveMarkerControl() button_control.interaction_mode =InteractiveMarkerControl.BUTTON button_control.always_visible =Trueobject_marker = Marker(type=Marker.CUBE, id=2000...
示例1: _make_6dof_control ▲点赞 7▼ # 需要导入模块: from visualization_msgs.msg import InteractiveMarkerControl [as 别名]# 或者: from visualization_msgs.msg.InteractiveMarkerControl importorientation_mode[as 别名]def_make_6dof_control(self, name, orientation, is_move, is_fixed):cont...
# 需要导入模块: from visualization_msgs.msg import InteractiveMarkerControl [as 别名]# 或者: from visualization_msgs.msg.InteractiveMarkerControl importdescription[as 别名]defadd_menu_handler(int_marker, menu_handler, server):control = InteractiveMarkerControl() ...