/usr/share/visualization_msgs/msg/MenuEntry.msg is in ros-visualization-msgs 1.12.5-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | # MenuEntry message.
# Each InteractiveMarker message has an array of MenuEntry messages.
# A collection of MenuEntries together describe a
# menu/submenu/subsubmenu/etc tree, though they are stored in a flat
# array. The tree structure is represented by giving each menu entry
# an ID number and a "parent_id" field. Top-level entries are the
# ones with parent_id = 0. Menu entries are ordered within their
# level the same way they are ordered in the containing array. Parent
# entries must appear before their children.
# Example:
# - id = 3
# parent_id = 0
# title = "fun"
# - id = 2
# parent_id = 0
# title = "robot"
# - id = 4
# parent_id = 2
# title = "pr2"
# - id = 5
# parent_id = 2
# title = "turtle"
#
# Gives a menu tree like this:
# - fun
# - robot
# - pr2
# - turtle
# ID is a number for each menu entry. Must be unique within the
# control, and should never be 0.
uint32 id
# ID of the parent of this menu entry, if it is a submenu. If this
# menu entry is a top-level entry, set parent_id to 0.
uint32 parent_id
# menu / entry title
string title
# Arguments to command indicated by command_type (below)
string command
# Command_type stores the type of response desired when this menu
# entry 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).
uint8 FEEDBACK=0
uint8 ROSRUN=1
uint8 ROSLAUNCH=2
uint8 command_type
|