Documentation ¶
Index ¶
- Constants
- Variables
- func CloneImageMarkerSlice(dst, src []ImageMarker)
- func CloneInteractiveMarkerControlSlice(dst, src []InteractiveMarkerControl)
- func CloneInteractiveMarkerFeedbackSlice(dst, src []InteractiveMarkerFeedback)
- func CloneInteractiveMarkerInitSlice(dst, src []InteractiveMarkerInit)
- func CloneInteractiveMarkerPoseSlice(dst, src []InteractiveMarkerPose)
- func CloneInteractiveMarkerSlice(dst, src []InteractiveMarker)
- func CloneInteractiveMarkerUpdateSlice(dst, src []InteractiveMarkerUpdate)
- func CloneMarkerArraySlice(dst, src []MarkerArray)
- func CloneMarkerSlice(dst, src []Marker)
- func CloneMenuEntrySlice(dst, src []MenuEntry)
- func ImageMarker__Array_to_C(cSlice []CImageMarker, goSlice []ImageMarker)
- func ImageMarker__Array_to_Go(goSlice []ImageMarker, cSlice []CImageMarker)
- func ImageMarker__Sequence_to_C(cSlice *CImageMarker__Sequence, goSlice []ImageMarker)
- func ImageMarker__Sequence_to_Go(goSlice *[]ImageMarker, cSlice CImageMarker__Sequence)
- func InteractiveMarkerControl__Array_to_C(cSlice []CInteractiveMarkerControl, goSlice []InteractiveMarkerControl)
- func InteractiveMarkerControl__Array_to_Go(goSlice []InteractiveMarkerControl, cSlice []CInteractiveMarkerControl)
- func InteractiveMarkerControl__Sequence_to_C(cSlice *CInteractiveMarkerControl__Sequence, ...)
- func InteractiveMarkerControl__Sequence_to_Go(goSlice *[]InteractiveMarkerControl, ...)
- func InteractiveMarkerFeedback__Array_to_C(cSlice []CInteractiveMarkerFeedback, goSlice []InteractiveMarkerFeedback)
- func InteractiveMarkerFeedback__Array_to_Go(goSlice []InteractiveMarkerFeedback, cSlice []CInteractiveMarkerFeedback)
- func InteractiveMarkerFeedback__Sequence_to_C(cSlice *CInteractiveMarkerFeedback__Sequence, ...)
- func InteractiveMarkerFeedback__Sequence_to_Go(goSlice *[]InteractiveMarkerFeedback, ...)
- func InteractiveMarkerInit__Array_to_C(cSlice []CInteractiveMarkerInit, goSlice []InteractiveMarkerInit)
- func InteractiveMarkerInit__Array_to_Go(goSlice []InteractiveMarkerInit, cSlice []CInteractiveMarkerInit)
- func InteractiveMarkerInit__Sequence_to_C(cSlice *CInteractiveMarkerInit__Sequence, goSlice []InteractiveMarkerInit)
- func InteractiveMarkerInit__Sequence_to_Go(goSlice *[]InteractiveMarkerInit, cSlice CInteractiveMarkerInit__Sequence)
- func InteractiveMarkerPose__Array_to_C(cSlice []CInteractiveMarkerPose, goSlice []InteractiveMarkerPose)
- func InteractiveMarkerPose__Array_to_Go(goSlice []InteractiveMarkerPose, cSlice []CInteractiveMarkerPose)
- func InteractiveMarkerPose__Sequence_to_C(cSlice *CInteractiveMarkerPose__Sequence, goSlice []InteractiveMarkerPose)
- func InteractiveMarkerPose__Sequence_to_Go(goSlice *[]InteractiveMarkerPose, cSlice CInteractiveMarkerPose__Sequence)
- func InteractiveMarkerUpdate__Array_to_C(cSlice []CInteractiveMarkerUpdate, goSlice []InteractiveMarkerUpdate)
- func InteractiveMarkerUpdate__Array_to_Go(goSlice []InteractiveMarkerUpdate, cSlice []CInteractiveMarkerUpdate)
- func InteractiveMarkerUpdate__Sequence_to_C(cSlice *CInteractiveMarkerUpdate__Sequence, goSlice []InteractiveMarkerUpdate)
- func InteractiveMarkerUpdate__Sequence_to_Go(goSlice *[]InteractiveMarkerUpdate, cSlice CInteractiveMarkerUpdate__Sequence)
- func InteractiveMarker__Array_to_C(cSlice []CInteractiveMarker, goSlice []InteractiveMarker)
- func InteractiveMarker__Array_to_Go(goSlice []InteractiveMarker, cSlice []CInteractiveMarker)
- func InteractiveMarker__Sequence_to_C(cSlice *CInteractiveMarker__Sequence, goSlice []InteractiveMarker)
- func InteractiveMarker__Sequence_to_Go(goSlice *[]InteractiveMarker, cSlice CInteractiveMarker__Sequence)
- func MarkerArray__Array_to_C(cSlice []CMarkerArray, goSlice []MarkerArray)
- func MarkerArray__Array_to_Go(goSlice []MarkerArray, cSlice []CMarkerArray)
- func MarkerArray__Sequence_to_C(cSlice *CMarkerArray__Sequence, goSlice []MarkerArray)
- func MarkerArray__Sequence_to_Go(goSlice *[]MarkerArray, cSlice CMarkerArray__Sequence)
- func Marker__Array_to_C(cSlice []CMarker, goSlice []Marker)
- func Marker__Array_to_Go(goSlice []Marker, cSlice []CMarker)
- func Marker__Sequence_to_C(cSlice *CMarker__Sequence, goSlice []Marker)
- func Marker__Sequence_to_Go(goSlice *[]Marker, cSlice CMarker__Sequence)
- func MenuEntry__Array_to_C(cSlice []CMenuEntry, goSlice []MenuEntry)
- func MenuEntry__Array_to_Go(goSlice []MenuEntry, cSlice []CMenuEntry)
- func MenuEntry__Sequence_to_C(cSlice *CMenuEntry__Sequence, goSlice []MenuEntry)
- func MenuEntry__Sequence_to_Go(goSlice *[]MenuEntry, cSlice CMenuEntry__Sequence)
- type CImageMarker
- type CImageMarker__Sequence
- type CInteractiveMarker
- type CInteractiveMarkerControl
- type CInteractiveMarkerControl__Sequence
- type CInteractiveMarkerFeedback
- type CInteractiveMarkerFeedback__Sequence
- type CInteractiveMarkerInit
- type CInteractiveMarkerInit__Sequence
- type CInteractiveMarkerPose
- type CInteractiveMarkerPose__Sequence
- type CInteractiveMarkerUpdate
- type CInteractiveMarkerUpdate__Sequence
- type CInteractiveMarker__Sequence
- type CMarker
- type CMarkerArray
- type CMarkerArray__Sequence
- type CMarker__Sequence
- type CMenuEntry
- type CMenuEntry__Sequence
- type ImageMarker
- type InteractiveMarker
- type InteractiveMarkerControl
- type InteractiveMarkerFeedback
- type InteractiveMarkerInit
- type InteractiveMarkerPose
- type InteractiveMarkerUpdate
- type Marker
- type MarkerArray
- type MenuEntry
Constants ¶
const ( ImageMarker_CIRCLE int32 = 0 ImageMarker_LINE_STRIP int32 = 1 ImageMarker_LINE_LIST int32 = 2 ImageMarker_POLYGON int32 = 3 ImageMarker_POINTS int32 = 4 ImageMarker_ADD int32 = 0 ImageMarker_REMOVE int32 = 1 )
const ( InteractiveMarkerControl_INHERIT uint8 = 0 // Orientation mode: controls how orientation changes.INHERIT: Follow orientation of interactive markerFIXED: Keep orientation fixed at initial stateVIEW_FACING: Align y-z plane with screen (x: forward, y:left, z:up). InteractiveMarkerControl_FIXED uint8 = 1 // Orientation mode: controls how orientation changes.INHERIT: Follow orientation of interactive markerFIXED: Keep orientation fixed at initial stateVIEW_FACING: Align y-z plane with screen (x: forward, y:left, z:up). InteractiveMarkerControl_VIEW_FACING uint8 = 2 // Orientation mode: controls how orientation changes.INHERIT: Follow orientation of interactive markerFIXED: Keep orientation fixed at initial stateVIEW_FACING: Align y-z plane with screen (x: forward, y:left, z:up). InteractiveMarkerControl_NONE uint8 = 0 // Interaction mode for this controlNONE: This control is only meant for visualization; no context menu.MENU: Like NONE, but right-click menu is active.BUTTON: Element can be left-clicked.MOVE_AXIS: Translate along local x-axis.MOVE_PLANE: Translate in local y-z plane.ROTATE_AXIS: Rotate around local x-axis.MOVE_ROTATE: Combines MOVE_PLANE and ROTATE_AXIS. InteractiveMarkerControl_MENU uint8 = 1 // Interaction mode for this controlNONE: This control is only meant for visualization; no context menu.MENU: Like NONE, but right-click menu is active.BUTTON: Element can be left-clicked.MOVE_AXIS: Translate along local x-axis.MOVE_PLANE: Translate in local y-z plane.ROTATE_AXIS: Rotate around local x-axis.MOVE_ROTATE: Combines MOVE_PLANE and ROTATE_AXIS. InteractiveMarkerControl_BUTTON uint8 = 2 // Interaction mode for this controlNONE: This control is only meant for visualization; no context menu.MENU: Like NONE, but right-click menu is active.BUTTON: Element can be left-clicked.MOVE_AXIS: Translate along local x-axis.MOVE_PLANE: Translate in local y-z plane.ROTATE_AXIS: Rotate around local x-axis.MOVE_ROTATE: Combines MOVE_PLANE and ROTATE_AXIS. InteractiveMarkerControl_MOVE_AXIS uint8 = 3 // Interaction mode for this controlNONE: This control is only meant for visualization; no context menu.MENU: Like NONE, but right-click menu is active.BUTTON: Element can be left-clicked.MOVE_AXIS: Translate along local x-axis.MOVE_PLANE: Translate in local y-z plane.ROTATE_AXIS: Rotate around local x-axis.MOVE_ROTATE: Combines MOVE_PLANE and ROTATE_AXIS. InteractiveMarkerControl_MOVE_PLANE uint8 = 4 // Interaction mode for this controlNONE: This control is only meant for visualization; no context menu.MENU: Like NONE, but right-click menu is active.BUTTON: Element can be left-clicked.MOVE_AXIS: Translate along local x-axis.MOVE_PLANE: Translate in local y-z plane.ROTATE_AXIS: Rotate around local x-axis.MOVE_ROTATE: Combines MOVE_PLANE and ROTATE_AXIS. InteractiveMarkerControl_ROTATE_AXIS uint8 = 5 // Interaction mode for this controlNONE: This control is only meant for visualization; no context menu.MENU: Like NONE, but right-click menu is active.BUTTON: Element can be left-clicked.MOVE_AXIS: Translate along local x-axis.MOVE_PLANE: Translate in local y-z plane.ROTATE_AXIS: Rotate around local x-axis.MOVE_ROTATE: Combines MOVE_PLANE and ROTATE_AXIS. InteractiveMarkerControl_MOVE_ROTATE uint8 = 6 // Interaction mode for this controlNONE: This control is only meant for visualization; no context menu.MENU: Like NONE, but right-click menu is active.BUTTON: Element can be left-clicked.MOVE_AXIS: Translate along local x-axis.MOVE_PLANE: Translate in local y-z plane.ROTATE_AXIS: Rotate around local x-axis.MOVE_ROTATE: Combines MOVE_PLANE and ROTATE_AXIS. InteractiveMarkerControl_MOVE_3D uint8 = 7 // Interaction mode for this controlNONE: This control is only meant for visualization; no context menu.MENU: Like NONE, but right-click menu is active.BUTTON: Element can be left-clicked.MOVE_AXIS: Translate along local x-axis.MOVE_PLANE: Translate in local y-z plane.ROTATE_AXIS: Rotate around local x-axis.MOVE_ROTATE: Combines MOVE_PLANE and ROTATE_AXIS."3D" interaction modes work with the mouse+SHIFT+CTRL or with 3D cursors.MOVE_3D: Translate freely in 3D space.ROTATE_3D: Rotate freely in 3D space about the origin of parent frame.MOVE_ROTATE_3D: Full 6-DOF freedom of translation and rotation about the cursor origin. InteractiveMarkerControl_ROTATE_3D uint8 = 8 // Interaction mode for this controlNONE: This control is only meant for visualization; no context menu.MENU: Like NONE, but right-click menu is active.BUTTON: Element can be left-clicked.MOVE_AXIS: Translate along local x-axis.MOVE_PLANE: Translate in local y-z plane.ROTATE_AXIS: Rotate around local x-axis.MOVE_ROTATE: Combines MOVE_PLANE and ROTATE_AXIS."3D" interaction modes work with the mouse+SHIFT+CTRL or with 3D cursors.MOVE_3D: Translate freely in 3D space.ROTATE_3D: Rotate freely in 3D space about the origin of parent frame.MOVE_ROTATE_3D: Full 6-DOF freedom of translation and rotation about the cursor origin. InteractiveMarkerControl_MOVE_ROTATE_3D uint8 = 9 // Interaction mode for this controlNONE: This control is only meant for visualization; no context menu.MENU: Like NONE, but right-click menu is active.BUTTON: Element can be left-clicked.MOVE_AXIS: Translate along local x-axis.MOVE_PLANE: Translate in local y-z plane.ROTATE_AXIS: Rotate around local x-axis.MOVE_ROTATE: Combines MOVE_PLANE and ROTATE_AXIS."3D" interaction modes work with the mouse+SHIFT+CTRL or with 3D cursors.MOVE_3D: Translate freely in 3D space.ROTATE_3D: Rotate freely in 3D space about the origin of parent frame.MOVE_ROTATE_3D: Full 6-DOF freedom of translation and rotation about the cursor origin. )
const ( InteractiveMarkerFeedback_KEEP_ALIVE uint8 = 0 // Type of the eventKEEP_ALIVE: sent while dragging to keep up control of the markerMENU_SELECT: a menu entry has been selectedBUTTON_CLICK: a button control has been clickedPOSE_UPDATE: the pose has been changed using one of the controls InteractiveMarkerFeedback_POSE_UPDATE uint8 = 1 // Type of the eventKEEP_ALIVE: sent while dragging to keep up control of the markerMENU_SELECT: a menu entry has been selectedBUTTON_CLICK: a button control has been clickedPOSE_UPDATE: the pose has been changed using one of the controls InteractiveMarkerFeedback_MENU_SELECT uint8 = 2 // Type of the eventKEEP_ALIVE: sent while dragging to keep up control of the markerMENU_SELECT: a menu entry has been selectedBUTTON_CLICK: a button control has been clickedPOSE_UPDATE: the pose has been changed using one of the controls InteractiveMarkerFeedback_BUTTON_CLICK uint8 = 3 // Type of the eventKEEP_ALIVE: sent while dragging to keep up control of the markerMENU_SELECT: a menu entry has been selectedBUTTON_CLICK: a button control has been clickedPOSE_UPDATE: the pose has been changed using one of the controls InteractiveMarkerFeedback_MOUSE_DOWN uint8 = 4 InteractiveMarkerFeedback_MOUSE_UP uint8 = 5 )
const ( InteractiveMarkerUpdate_KEEP_ALIVE uint8 = 0 // Type holds the purpose of this message. It must be one of UPDATE or KEEP_ALIVE.UPDATE: Incremental update to previous state.The sequence number must be 1 higher than forthe previous update.KEEP_ALIVE: Indicates the that the server is still living.The sequence number does not increase.No payload data should be filled out (markers, poses, or erases). InteractiveMarkerUpdate_UPDATE uint8 = 1 // Type holds the purpose of this message. It must be one of UPDATE or KEEP_ALIVE.UPDATE: Incremental update to previous state.The sequence number must be 1 higher than forthe previous update.KEEP_ALIVE: Indicates the that the server is still living.The sequence number does not increase.No payload data should be filled out (markers, poses, or erases). )
const ( Marker_ARROW int32 = 0 Marker_CUBE int32 = 1 Marker_SPHERE int32 = 2 Marker_CYLINDER int32 = 3 Marker_LINE_STRIP int32 = 4 Marker_LINE_LIST int32 = 5 Marker_CUBE_LIST int32 = 6 Marker_SPHERE_LIST int32 = 7 Marker_POINTS int32 = 8 Marker_TEXT_VIEW_FACING int32 = 9 Marker_MESH_RESOURCE int32 = 10 Marker_TRIANGLE_LIST int32 = 11 Marker_ADD int32 = 0 Marker_MODIFY int32 = 0 Marker_DELETE int32 = 2 Marker_DELETEALL int32 = 3 )
const ( MenuEntry_FEEDBACK uint8 = 0 // Command_type stores the type of response desired when this menuentry is clicked.FEEDBACK: send an InteractiveMarkerFeedback message with menu_entry_id set to this entry's id.ROSRUN: execute "rosrun" with arguments given in the command field (above).ROSLAUNCH: execute "roslaunch" with arguments given in the command field (above). MenuEntry_ROSRUN uint8 = 1 // Command_type stores the type of response desired when this menuentry is clicked.FEEDBACK: send an InteractiveMarkerFeedback message with menu_entry_id set to this entry's id.ROSRUN: execute "rosrun" with arguments given in the command field (above).ROSLAUNCH: execute "roslaunch" with arguments given in the command field (above). MenuEntry_ROSLAUNCH uint8 = 2 // Command_type stores the type of response desired when this menuentry is clicked.FEEDBACK: send an InteractiveMarkerFeedback message with menu_entry_id set to this entry's id.ROSRUN: execute "rosrun" with arguments given in the command field (above).ROSLAUNCH: execute "roslaunch" with arguments given in the command field (above). )
Variables ¶
var ImageMarkerTypeSupport types.MessageTypeSupport = _ImageMarkerTypeSupport{}
Modifying this variable is undefined behavior.
var InteractiveMarkerControlTypeSupport types.MessageTypeSupport = _InteractiveMarkerControlTypeSupport{}
Modifying this variable is undefined behavior.
var InteractiveMarkerFeedbackTypeSupport types.MessageTypeSupport = _InteractiveMarkerFeedbackTypeSupport{}
Modifying this variable is undefined behavior.
var InteractiveMarkerInitTypeSupport types.MessageTypeSupport = _InteractiveMarkerInitTypeSupport{}
Modifying this variable is undefined behavior.
var InteractiveMarkerPoseTypeSupport types.MessageTypeSupport = _InteractiveMarkerPoseTypeSupport{}
Modifying this variable is undefined behavior.
var InteractiveMarkerTypeSupport types.MessageTypeSupport = _InteractiveMarkerTypeSupport{}
Modifying this variable is undefined behavior.
var InteractiveMarkerUpdateTypeSupport types.MessageTypeSupport = _InteractiveMarkerUpdateTypeSupport{}
Modifying this variable is undefined behavior.
var MarkerArrayTypeSupport types.MessageTypeSupport = _MarkerArrayTypeSupport{}
Modifying this variable is undefined behavior.
var MarkerTypeSupport types.MessageTypeSupport = _MarkerTypeSupport{}
Modifying this variable is undefined behavior.
var MenuEntryTypeSupport types.MessageTypeSupport = _MenuEntryTypeSupport{}
Modifying this variable is undefined behavior.
Functions ¶
func CloneImageMarkerSlice ¶
func CloneImageMarkerSlice(dst, src []ImageMarker)
CloneImageMarkerSlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).
func CloneInteractiveMarkerControlSlice ¶
func CloneInteractiveMarkerControlSlice(dst, src []InteractiveMarkerControl)
CloneInteractiveMarkerControlSlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).
func CloneInteractiveMarkerFeedbackSlice ¶
func CloneInteractiveMarkerFeedbackSlice(dst, src []InteractiveMarkerFeedback)
CloneInteractiveMarkerFeedbackSlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).
func CloneInteractiveMarkerInitSlice ¶
func CloneInteractiveMarkerInitSlice(dst, src []InteractiveMarkerInit)
CloneInteractiveMarkerInitSlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).
func CloneInteractiveMarkerPoseSlice ¶
func CloneInteractiveMarkerPoseSlice(dst, src []InteractiveMarkerPose)
CloneInteractiveMarkerPoseSlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).
func CloneInteractiveMarkerSlice ¶
func CloneInteractiveMarkerSlice(dst, src []InteractiveMarker)
CloneInteractiveMarkerSlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).
func CloneInteractiveMarkerUpdateSlice ¶
func CloneInteractiveMarkerUpdateSlice(dst, src []InteractiveMarkerUpdate)
CloneInteractiveMarkerUpdateSlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).
func CloneMarkerArraySlice ¶
func CloneMarkerArraySlice(dst, src []MarkerArray)
CloneMarkerArraySlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).
func CloneMarkerSlice ¶
func CloneMarkerSlice(dst, src []Marker)
CloneMarkerSlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).
func CloneMenuEntrySlice ¶
func CloneMenuEntrySlice(dst, src []MenuEntry)
CloneMenuEntrySlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).
func ImageMarker__Array_to_C ¶
func ImageMarker__Array_to_C(cSlice []CImageMarker, goSlice []ImageMarker)
func ImageMarker__Array_to_Go ¶
func ImageMarker__Array_to_Go(goSlice []ImageMarker, cSlice []CImageMarker)
func ImageMarker__Sequence_to_C ¶
func ImageMarker__Sequence_to_C(cSlice *CImageMarker__Sequence, goSlice []ImageMarker)
func ImageMarker__Sequence_to_Go ¶
func ImageMarker__Sequence_to_Go(goSlice *[]ImageMarker, cSlice CImageMarker__Sequence)
func InteractiveMarkerControl__Array_to_C ¶
func InteractiveMarkerControl__Array_to_C(cSlice []CInteractiveMarkerControl, goSlice []InteractiveMarkerControl)
func InteractiveMarkerControl__Array_to_Go ¶
func InteractiveMarkerControl__Array_to_Go(goSlice []InteractiveMarkerControl, cSlice []CInteractiveMarkerControl)
func InteractiveMarkerControl__Sequence_to_C ¶
func InteractiveMarkerControl__Sequence_to_C(cSlice *CInteractiveMarkerControl__Sequence, goSlice []InteractiveMarkerControl)
func InteractiveMarkerControl__Sequence_to_Go ¶
func InteractiveMarkerControl__Sequence_to_Go(goSlice *[]InteractiveMarkerControl, cSlice CInteractiveMarkerControl__Sequence)
func InteractiveMarkerFeedback__Array_to_C ¶
func InteractiveMarkerFeedback__Array_to_C(cSlice []CInteractiveMarkerFeedback, goSlice []InteractiveMarkerFeedback)
func InteractiveMarkerFeedback__Array_to_Go ¶
func InteractiveMarkerFeedback__Array_to_Go(goSlice []InteractiveMarkerFeedback, cSlice []CInteractiveMarkerFeedback)
func InteractiveMarkerFeedback__Sequence_to_C ¶
func InteractiveMarkerFeedback__Sequence_to_C(cSlice *CInteractiveMarkerFeedback__Sequence, goSlice []InteractiveMarkerFeedback)
func InteractiveMarkerFeedback__Sequence_to_Go ¶
func InteractiveMarkerFeedback__Sequence_to_Go(goSlice *[]InteractiveMarkerFeedback, cSlice CInteractiveMarkerFeedback__Sequence)
func InteractiveMarkerInit__Array_to_C ¶
func InteractiveMarkerInit__Array_to_C(cSlice []CInteractiveMarkerInit, goSlice []InteractiveMarkerInit)
func InteractiveMarkerInit__Array_to_Go ¶
func InteractiveMarkerInit__Array_to_Go(goSlice []InteractiveMarkerInit, cSlice []CInteractiveMarkerInit)
func InteractiveMarkerInit__Sequence_to_C ¶
func InteractiveMarkerInit__Sequence_to_C(cSlice *CInteractiveMarkerInit__Sequence, goSlice []InteractiveMarkerInit)
func InteractiveMarkerInit__Sequence_to_Go ¶
func InteractiveMarkerInit__Sequence_to_Go(goSlice *[]InteractiveMarkerInit, cSlice CInteractiveMarkerInit__Sequence)
func InteractiveMarkerPose__Array_to_C ¶
func InteractiveMarkerPose__Array_to_C(cSlice []CInteractiveMarkerPose, goSlice []InteractiveMarkerPose)
func InteractiveMarkerPose__Array_to_Go ¶
func InteractiveMarkerPose__Array_to_Go(goSlice []InteractiveMarkerPose, cSlice []CInteractiveMarkerPose)
func InteractiveMarkerPose__Sequence_to_C ¶
func InteractiveMarkerPose__Sequence_to_C(cSlice *CInteractiveMarkerPose__Sequence, goSlice []InteractiveMarkerPose)
func InteractiveMarkerPose__Sequence_to_Go ¶
func InteractiveMarkerPose__Sequence_to_Go(goSlice *[]InteractiveMarkerPose, cSlice CInteractiveMarkerPose__Sequence)
func InteractiveMarkerUpdate__Array_to_C ¶
func InteractiveMarkerUpdate__Array_to_C(cSlice []CInteractiveMarkerUpdate, goSlice []InteractiveMarkerUpdate)
func InteractiveMarkerUpdate__Array_to_Go ¶
func InteractiveMarkerUpdate__Array_to_Go(goSlice []InteractiveMarkerUpdate, cSlice []CInteractiveMarkerUpdate)
func InteractiveMarkerUpdate__Sequence_to_C ¶
func InteractiveMarkerUpdate__Sequence_to_C(cSlice *CInteractiveMarkerUpdate__Sequence, goSlice []InteractiveMarkerUpdate)
func InteractiveMarkerUpdate__Sequence_to_Go ¶
func InteractiveMarkerUpdate__Sequence_to_Go(goSlice *[]InteractiveMarkerUpdate, cSlice CInteractiveMarkerUpdate__Sequence)
func InteractiveMarker__Array_to_C ¶
func InteractiveMarker__Array_to_C(cSlice []CInteractiveMarker, goSlice []InteractiveMarker)
func InteractiveMarker__Array_to_Go ¶
func InteractiveMarker__Array_to_Go(goSlice []InteractiveMarker, cSlice []CInteractiveMarker)
func InteractiveMarker__Sequence_to_C ¶
func InteractiveMarker__Sequence_to_C(cSlice *CInteractiveMarker__Sequence, goSlice []InteractiveMarker)
func InteractiveMarker__Sequence_to_Go ¶
func InteractiveMarker__Sequence_to_Go(goSlice *[]InteractiveMarker, cSlice CInteractiveMarker__Sequence)
func MarkerArray__Array_to_C ¶
func MarkerArray__Array_to_C(cSlice []CMarkerArray, goSlice []MarkerArray)
func MarkerArray__Array_to_Go ¶
func MarkerArray__Array_to_Go(goSlice []MarkerArray, cSlice []CMarkerArray)
func MarkerArray__Sequence_to_C ¶
func MarkerArray__Sequence_to_C(cSlice *CMarkerArray__Sequence, goSlice []MarkerArray)
func MarkerArray__Sequence_to_Go ¶
func MarkerArray__Sequence_to_Go(goSlice *[]MarkerArray, cSlice CMarkerArray__Sequence)
func Marker__Array_to_C ¶
func Marker__Array_to_Go ¶
func Marker__Sequence_to_C ¶
func Marker__Sequence_to_C(cSlice *CMarker__Sequence, goSlice []Marker)
func Marker__Sequence_to_Go ¶
func Marker__Sequence_to_Go(goSlice *[]Marker, cSlice CMarker__Sequence)
func MenuEntry__Array_to_C ¶
func MenuEntry__Array_to_C(cSlice []CMenuEntry, goSlice []MenuEntry)
func MenuEntry__Array_to_Go ¶
func MenuEntry__Array_to_Go(goSlice []MenuEntry, cSlice []CMenuEntry)
func MenuEntry__Sequence_to_C ¶
func MenuEntry__Sequence_to_C(cSlice *CMenuEntry__Sequence, goSlice []MenuEntry)
func MenuEntry__Sequence_to_Go ¶
func MenuEntry__Sequence_to_Go(goSlice *[]MenuEntry, cSlice CMenuEntry__Sequence)
Types ¶
type CImageMarker ¶
type CImageMarker = C.visualization_msgs__msg__ImageMarker
type CImageMarker__Sequence ¶
type CImageMarker__Sequence = C.visualization_msgs__msg__ImageMarker__Sequence
type CInteractiveMarker ¶
type CInteractiveMarker = C.visualization_msgs__msg__InteractiveMarker
type CInteractiveMarkerControl ¶
type CInteractiveMarkerControl = C.visualization_msgs__msg__InteractiveMarkerControl
type CInteractiveMarkerControl__Sequence ¶
type CInteractiveMarkerControl__Sequence = C.visualization_msgs__msg__InteractiveMarkerControl__Sequence
type CInteractiveMarkerFeedback ¶
type CInteractiveMarkerFeedback = C.visualization_msgs__msg__InteractiveMarkerFeedback
type CInteractiveMarkerFeedback__Sequence ¶
type CInteractiveMarkerFeedback__Sequence = C.visualization_msgs__msg__InteractiveMarkerFeedback__Sequence
type CInteractiveMarkerInit ¶
type CInteractiveMarkerInit = C.visualization_msgs__msg__InteractiveMarkerInit
type CInteractiveMarkerInit__Sequence ¶
type CInteractiveMarkerInit__Sequence = C.visualization_msgs__msg__InteractiveMarkerInit__Sequence
type CInteractiveMarkerPose ¶
type CInteractiveMarkerPose = C.visualization_msgs__msg__InteractiveMarkerPose
type CInteractiveMarkerPose__Sequence ¶
type CInteractiveMarkerPose__Sequence = C.visualization_msgs__msg__InteractiveMarkerPose__Sequence
type CInteractiveMarkerUpdate ¶
type CInteractiveMarkerUpdate = C.visualization_msgs__msg__InteractiveMarkerUpdate
type CInteractiveMarkerUpdate__Sequence ¶
type CInteractiveMarkerUpdate__Sequence = C.visualization_msgs__msg__InteractiveMarkerUpdate__Sequence
type CInteractiveMarker__Sequence ¶
type CInteractiveMarker__Sequence = C.visualization_msgs__msg__InteractiveMarker__Sequence
type CMarker ¶
type CMarker = C.visualization_msgs__msg__Marker
type CMarkerArray ¶
type CMarkerArray = C.visualization_msgs__msg__MarkerArray
type CMarkerArray__Sequence ¶
type CMarkerArray__Sequence = C.visualization_msgs__msg__MarkerArray__Sequence
type CMarker__Sequence ¶
type CMarker__Sequence = C.visualization_msgs__msg__Marker__Sequence
type CMenuEntry ¶
type CMenuEntry = C.visualization_msgs__msg__MenuEntry
type CMenuEntry__Sequence ¶
type CMenuEntry__Sequence = C.visualization_msgs__msg__MenuEntry__Sequence
type ImageMarker ¶
type ImageMarker struct { Header std_msgs_msg.Header `yaml:"header"` Ns string `yaml:"ns"` // Namespace which is used with the id to form a unique id. Id int32 `yaml:"id"` // Namespace which is used with the id to form a unique id.Unique id within the namespace. Type int32 `yaml:"type"` // Namespace which is used with the id to form a unique id.Unique id within the namespace.One of the above types, e.g. CIRCLE, LINE_STRIP, etc. Action int32 `yaml:"action"` // Namespace which is used with the id to form a unique id.Unique id within the namespace.One of the above types, e.g. CIRCLE, LINE_STRIP, etc.Either ADD or REMOVE. Position geometry_msgs_msg.Point `yaml:"position"` // Namespace which is used with the id to form a unique id.Unique id within the namespace.One of the above types, e.g. CIRCLE, LINE_STRIP, etc.Either ADD or REMOVE.Two-dimensional coordinate position, in pixel-coordinates. Scale float32 `yaml:"scale"` // Namespace which is used with the id to form a unique id.Unique id within the namespace.One of the above types, e.g. CIRCLE, LINE_STRIP, etc.Either ADD or REMOVE.Two-dimensional coordinate position, in pixel-coordinates.The scale of the object, e.g. the diameter for a CIRCLE. OutlineColor std_msgs_msg.ColorRGBA `yaml:"outline_color"` // Namespace which is used with the id to form a unique id.Unique id within the namespace.One of the above types, e.g. CIRCLE, LINE_STRIP, etc.Either ADD or REMOVE.Two-dimensional coordinate position, in pixel-coordinates.The scale of the object, e.g. the diameter for a CIRCLE.The outline color of the marker. Filled uint8 `yaml:"filled"` // Namespace which is used with the id to form a unique id.Unique id within the namespace.One of the above types, e.g. CIRCLE, LINE_STRIP, etc.Either ADD or REMOVE.Two-dimensional coordinate position, in pixel-coordinates.The scale of the object, e.g. the diameter for a CIRCLE.The outline color of the marker.Whether or not to fill in the shape with color. FillColor std_msgs_msg.ColorRGBA `yaml:"fill_color"` // Namespace which is used with the id to form a unique id.Unique id within the namespace.One of the above types, e.g. CIRCLE, LINE_STRIP, etc.Either ADD or REMOVE.Two-dimensional coordinate position, in pixel-coordinates.The scale of the object, e.g. the diameter for a CIRCLE.The outline color of the marker.Whether or not to fill in the shape with color.Fill color; in the range: [0.0-1.0] Lifetime builtin_interfaces_msg.Duration `yaml:"lifetime"` // Namespace which is used with the id to form a unique id.Unique id within the namespace.One of the above types, e.g. CIRCLE, LINE_STRIP, etc.Either ADD or REMOVE.Two-dimensional coordinate position, in pixel-coordinates.The scale of the object, e.g. the diameter for a CIRCLE.The outline color of the marker.Whether or not to fill in the shape with color.Fill color; in the range: [0.0-1.0]How long the object should last before being automatically deleted.0 indicates forever. Points []geometry_msgs_msg.Point `yaml:"points"` // Coordinates in 2D in pixel coords. Used for LINE_STRIP, LINE_LIST, POINTS, etc. OutlineColors []std_msgs_msg.ColorRGBA `yaml:"outline_colors"` // Coordinates in 2D in pixel coords. Used for LINE_STRIP, LINE_LIST, POINTS, etc.The color for each line, point, etc. in the points field. }
Do not create instances of this type directly. Always use NewImageMarker function instead.
func NewImageMarker ¶
func NewImageMarker() *ImageMarker
NewImageMarker creates a new ImageMarker with default values.
func (*ImageMarker) Clone ¶
func (t *ImageMarker) Clone() *ImageMarker
func (*ImageMarker) CloneMsg ¶
func (t *ImageMarker) CloneMsg() types.Message
func (*ImageMarker) SetDefaults ¶
func (t *ImageMarker) SetDefaults()
type InteractiveMarker ¶
type InteractiveMarker struct { Header std_msgs_msg.Header `yaml:"header"` // Time/frame info.If header.time is set to 0, the marker will be retransformed intoits frame on each timestep. You will receive the pose feedbackin the same frame.Otherwise, you might receive feedback in a different frame.For rviz, this will be the current 'fixed frame' set by the user. Pose geometry_msgs_msg.Pose `yaml:"pose"` // Initial pose. Also, defines the pivot point for rotations. Name string `yaml:"name"` // Identifying string. Must be globally unique inthe topic that this message is sent through. Description string `yaml:"description"` // Short description (< 40 characters). Scale float32 `yaml:"scale"` // Scale to be used for default controls (default=1). MenuEntries []MenuEntry `yaml:"menu_entries"` // All menu and submenu entries associated with this marker. Controls []InteractiveMarkerControl `yaml:"controls"` // List of controls displayed for this marker. }
Do not create instances of this type directly. Always use NewInteractiveMarker function instead.
func NewInteractiveMarker ¶
func NewInteractiveMarker() *InteractiveMarker
NewInteractiveMarker creates a new InteractiveMarker with default values.
func (*InteractiveMarker) Clone ¶
func (t *InteractiveMarker) Clone() *InteractiveMarker
func (*InteractiveMarker) CloneMsg ¶
func (t *InteractiveMarker) CloneMsg() types.Message
func (*InteractiveMarker) SetDefaults ¶
func (t *InteractiveMarker) SetDefaults()
type InteractiveMarkerControl ¶
type InteractiveMarkerControl struct { Name string `yaml:"name"` // Identifying string for this control.You need to assign a unique value to this to receive feedback from the GUIon what actions the user performs on this control (e.g. a button click). Orientation geometry_msgs_msg.Quaternion `yaml:"orientation"` // Defines the local coordinate frame (relative to the pose of the parentinteractive marker) in which is being rotated and translated.Default: Identity OrientationMode uint8 `yaml:"orientation_mode"` InteractionMode uint8 `yaml:"interaction_mode"` AlwaysVisible bool `yaml:"always_visible"` // If true, the contained markers will also be visiblewhen the gui is not in interactive mode. Markers []Marker `yaml:"markers"` // Markers to be displayed as custom visual representation.Leave this empty to use the default control handles.Note:- The markers can be defined in an arbitrary coordinate frame,but will be transformed into the local frame of the interactive marker.- If the header of a marker is empty, its pose will be interpreted asrelative to the pose of the parent interactive marker. IndependentMarkerOrientation bool `yaml:"independent_marker_orientation"` // In VIEW_FACING mode, set this to true if you don't want the markersto be aligned with the camera view point. The markers will show upas in INHERIT mode. Description string `yaml:"description"` // Short description (< 40 characters) of what this control does,e.g. "Move the robot".Default: A generic description based on the interaction mode }
Do not create instances of this type directly. Always use NewInteractiveMarkerControl function instead.
func NewInteractiveMarkerControl ¶
func NewInteractiveMarkerControl() *InteractiveMarkerControl
NewInteractiveMarkerControl creates a new InteractiveMarkerControl with default values.
func (*InteractiveMarkerControl) Clone ¶
func (t *InteractiveMarkerControl) Clone() *InteractiveMarkerControl
func (*InteractiveMarkerControl) CloneMsg ¶
func (t *InteractiveMarkerControl) CloneMsg() types.Message
func (*InteractiveMarkerControl) SetDefaults ¶
func (t *InteractiveMarkerControl) SetDefaults()
type InteractiveMarkerFeedback ¶
type InteractiveMarkerFeedback struct { Header std_msgs_msg.Header `yaml:"header"` // Time/frame info. ClientId string `yaml:"client_id"` // Identifying string. Must be unique in the topic namespace. MarkerName string `yaml:"marker_name"` // Specifies which interactive marker and control this message refers to ControlName string `yaml:"control_name"` // Specifies which interactive marker and control this message refers to EventType uint8 `yaml:"event_type"` Pose geometry_msgs_msg.Pose `yaml:"pose"` // Current pose of the markerNote: Has to be valid for all feedback types. MenuEntryId uint32 `yaml:"menu_entry_id"` // Contains the ID of the selected menu entryOnly valid for MENU_SELECT events. MousePoint geometry_msgs_msg.Point `yaml:"mouse_point"` // If event_type is BUTTON_CLICK, MOUSE_DOWN, or MOUSE_UP, mouse_pointmay contain the 3 dimensional position of the event on thecontrol. If it does, mouse_point_valid will be true. mouse_pointwill be relative to the frame listed in the header. MousePointValid bool `yaml:"mouse_point_valid"` // If event_type is BUTTON_CLICK, MOUSE_DOWN, or MOUSE_UP, mouse_pointmay contain the 3 dimensional position of the event on thecontrol. If it does, mouse_point_valid will be true. mouse_pointwill be relative to the frame listed in the header. }
Do not create instances of this type directly. Always use NewInteractiveMarkerFeedback function instead.
func NewInteractiveMarkerFeedback ¶
func NewInteractiveMarkerFeedback() *InteractiveMarkerFeedback
NewInteractiveMarkerFeedback creates a new InteractiveMarkerFeedback with default values.
func (*InteractiveMarkerFeedback) Clone ¶
func (t *InteractiveMarkerFeedback) Clone() *InteractiveMarkerFeedback
func (*InteractiveMarkerFeedback) CloneMsg ¶
func (t *InteractiveMarkerFeedback) CloneMsg() types.Message
func (*InteractiveMarkerFeedback) SetDefaults ¶
func (t *InteractiveMarkerFeedback) SetDefaults()
type InteractiveMarkerInit ¶
type InteractiveMarkerInit struct { ServerId string `yaml:"server_id"` // Identifying string. Must be unique in the topic namespacethat this server works on. SeqNum uint64 `yaml:"seq_num"` // Sequence number.The client will use this to detect if it has missed a subsequentupdate. Every update message will have the same sequence number asan init message. Clients will likely want to unsubscribe from theinit topic after a successful initialization to avoid receivingduplicate data. Markers []InteractiveMarker `yaml:"markers"` // All markers. }
Do not create instances of this type directly. Always use NewInteractiveMarkerInit function instead.
func NewInteractiveMarkerInit ¶
func NewInteractiveMarkerInit() *InteractiveMarkerInit
NewInteractiveMarkerInit creates a new InteractiveMarkerInit with default values.
func (*InteractiveMarkerInit) Clone ¶
func (t *InteractiveMarkerInit) Clone() *InteractiveMarkerInit
func (*InteractiveMarkerInit) CloneMsg ¶
func (t *InteractiveMarkerInit) CloneMsg() types.Message
func (*InteractiveMarkerInit) SetDefaults ¶
func (t *InteractiveMarkerInit) SetDefaults()
type InteractiveMarkerPose ¶
type InteractiveMarkerPose struct { Header std_msgs_msg.Header `yaml:"header"` // Time/frame info. Pose geometry_msgs_msg.Pose `yaml:"pose"` // Initial pose. Also, defines the pivot point for rotations. Name string `yaml:"name"` // Identifying string. Must be globally unique inthe topic that this message is sent through. }
Do not create instances of this type directly. Always use NewInteractiveMarkerPose function instead.
func NewInteractiveMarkerPose ¶
func NewInteractiveMarkerPose() *InteractiveMarkerPose
NewInteractiveMarkerPose creates a new InteractiveMarkerPose with default values.
func (*InteractiveMarkerPose) Clone ¶
func (t *InteractiveMarkerPose) Clone() *InteractiveMarkerPose
func (*InteractiveMarkerPose) CloneMsg ¶
func (t *InteractiveMarkerPose) CloneMsg() types.Message
func (*InteractiveMarkerPose) SetDefaults ¶
func (t *InteractiveMarkerPose) SetDefaults()
type InteractiveMarkerUpdate ¶
type InteractiveMarkerUpdate struct { ServerId string `yaml:"server_id"` // Identifying string. Must be unique in the topic namespacethat this server works on. SeqNum uint64 `yaml:"seq_num"` // Sequence number.The client will use this to detect if it has missed an update. Type uint8 `yaml:"type"` Markers []InteractiveMarker `yaml:"markers"` // Markers to be added or updated Poses []InteractiveMarkerPose `yaml:"poses"` // Poses of markers that should be moved Erases []string `yaml:"erases"` // Names of markers to be erased }
Do not create instances of this type directly. Always use NewInteractiveMarkerUpdate function instead.
func NewInteractiveMarkerUpdate ¶
func NewInteractiveMarkerUpdate() *InteractiveMarkerUpdate
NewInteractiveMarkerUpdate creates a new InteractiveMarkerUpdate with default values.
func (*InteractiveMarkerUpdate) Clone ¶
func (t *InteractiveMarkerUpdate) Clone() *InteractiveMarkerUpdate
func (*InteractiveMarkerUpdate) CloneMsg ¶
func (t *InteractiveMarkerUpdate) CloneMsg() types.Message
func (*InteractiveMarkerUpdate) SetDefaults ¶
func (t *InteractiveMarkerUpdate) SetDefaults()
type Marker ¶
type Marker struct { Header std_msgs_msg.Header `yaml:"header"` // Header for timestamp and frame id. Ns string `yaml:"ns"` // Header for timestamp and frame id.Namespace in which to place the object.Used in conjunction with id to create a unique name for the object. Id int32 `yaml:"id"` // Header for timestamp and frame id.Namespace in which to place the object.Used in conjunction with id to create a unique name for the object.Object ID used in conjunction with the namespace for manipulating and deleting the object later. Type int32 `yaml:"type"` // Header for timestamp and frame id.Namespace in which to place the object.Used in conjunction with id to create a unique name for the object.Object ID used in conjunction with the namespace for manipulating and deleting the object later.Type of object. Action int32 `yaml:"action"` // Header for timestamp and frame id.Namespace in which to place the object.Used in conjunction with id to create a unique name for the object.Object ID used in conjunction with the namespace for manipulating and deleting the object later.Type of object.Action to take; one of:- 0 add/modify an object- 1 (deprecated)- 2 deletes an object- 3 deletes all objects Pose geometry_msgs_msg.Pose `yaml:"pose"` // Header for timestamp and frame id.Namespace in which to place the object.Used in conjunction with id to create a unique name for the object.Object ID used in conjunction with the namespace for manipulating and deleting the object later.Type of object.Action to take; one of:- 0 add/modify an object- 1 (deprecated)- 2 deletes an object- 3 deletes all objectsPose of the object with respect the frame_id specified in the header. Scale geometry_msgs_msg.Vector3 `yaml:"scale"` // Header for timestamp and frame id.Namespace in which to place the object.Used in conjunction with id to create a unique name for the object.Object ID used in conjunction with the namespace for manipulating and deleting the object later.Type of object.Action to take; one of:- 0 add/modify an object- 1 (deprecated)- 2 deletes an object- 3 deletes all objectsPose of the object with respect the frame_id specified in the header.Scale of the object; 1,1,1 means default (usually 1 meter square). Color std_msgs_msg.ColorRGBA `yaml:"color"` // Header for timestamp and frame id.Namespace in which to place the object.Used in conjunction with id to create a unique name for the object.Object ID used in conjunction with the namespace for manipulating and deleting the object later.Type of object.Action to take; one of:- 0 add/modify an object- 1 (deprecated)- 2 deletes an object- 3 deletes all objectsPose of the object with respect the frame_id specified in the header.Scale of the object; 1,1,1 means default (usually 1 meter square).Color of the object; in the range: [0.0-1.0] Lifetime builtin_interfaces_msg.Duration `yaml:"lifetime"` // Header for timestamp and frame id.Namespace in which to place the object.Used in conjunction with id to create a unique name for the object.Object ID used in conjunction with the namespace for manipulating and deleting the object later.Type of object.Action to take; one of:- 0 add/modify an object- 1 (deprecated)- 2 deletes an object- 3 deletes all objectsPose of the object with respect the frame_id specified in the header.Scale of the object; 1,1,1 means default (usually 1 meter square).Color of the object; in the range: [0.0-1.0]How long the object should last before being automatically deleted.0 indicates forever. FrameLocked bool `yaml:"frame_locked"` // Header for timestamp and frame id.Namespace in which to place the object.Used in conjunction with id to create a unique name for the object.Object ID used in conjunction with the namespace for manipulating and deleting the object later.Type of object.Action to take; one of:- 0 add/modify an object- 1 (deprecated)- 2 deletes an object- 3 deletes all objectsPose of the object with respect the frame_id specified in the header.Scale of the object; 1,1,1 means default (usually 1 meter square).Color of the object; in the range: [0.0-1.0]How long the object should last before being automatically deleted.0 indicates forever.If this marker should be frame-locked, i.e. retransformed into its frame every timestep. Points []geometry_msgs_msg.Point `yaml:"points"` // Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, etc.) Colors []std_msgs_msg.ColorRGBA `yaml:"colors"` // Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, etc.)Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, etc.)The number of colors provided must either be 0 or equal to the number of points provided.NOTE: alpha is not yet used Text string `yaml:"text"` // Only used for text markers MeshResource string `yaml:"mesh_resource"` // Only used for MESH_RESOURCE markers. MeshUseEmbeddedMaterials bool `yaml:"mesh_use_embedded_materials"` // Only used for MESH_RESOURCE markers. }
Do not create instances of this type directly. Always use NewMarker function instead.
func (*Marker) SetDefaults ¶
func (t *Marker) SetDefaults()
type MarkerArray ¶
type MarkerArray struct {
Markers []Marker `yaml:"markers"`
}
Do not create instances of this type directly. Always use NewMarkerArray function instead.
func NewMarkerArray ¶
func NewMarkerArray() *MarkerArray
NewMarkerArray creates a new MarkerArray with default values.
func (*MarkerArray) Clone ¶
func (t *MarkerArray) Clone() *MarkerArray
func (*MarkerArray) CloneMsg ¶
func (t *MarkerArray) CloneMsg() types.Message
func (*MarkerArray) SetDefaults ¶
func (t *MarkerArray) SetDefaults()
type MenuEntry ¶
type MenuEntry struct { Id uint32 `yaml:"id"` // ID is a number for each menu entry. Must be unique within thecontrol, and should never be 0. ParentId uint32 `yaml:"parent_id"` // ID of the parent of this menu entry, if it is a submenu. If thismenu entry is a top-level entry, set parent_id to 0. Title string `yaml:"title"` // menu / entry title Command string `yaml:"command"` // Arguments to command indicated by command_type (below) CommandType uint8 `yaml:"command_type"` // Command_type stores the type of response desired when this menuentry is clicked.FEEDBACK: send an InteractiveMarkerFeedback message with menu_entry_id set to this entry's id.ROSRUN: execute "rosrun" with arguments given in the command field (above).ROSLAUNCH: execute "roslaunch" with arguments given in the command field (above). }
Do not create instances of this type directly. Always use NewMenuEntry function instead.
func NewMenuEntry ¶
func NewMenuEntry() *MenuEntry
NewMenuEntry creates a new MenuEntry with default values.
func (*MenuEntry) SetDefaults ¶
func (t *MenuEntry) SetDefaults()