visualization_msgs
  • Links
    • Rosindex
  • Message Definitions
    • ImageMarker
    • InteractiveMarker
    • InteractiveMarkerControl
    • InteractiveMarkerFeedback
    • InteractiveMarkerInit
    • InteractiveMarkerPose
    • InteractiveMarkerUpdate
    • Marker
    • MarkerArray
    • MenuEntry
    • MeshFile
    • UVCoordinate
  • Service Definitions
    • GetInteractiveMarkers
  • Standard Documents
    • PACKAGE
    • CHANGELOG
      • Changelog for package visualization_msgs
        • 5.3.6 (2025-03-20)
        • 5.3.5 (2024-04-24)
        • 5.3.4 (2024-04-16)
        • 5.3.3 (2024-04-10)
        • 5.3.2 (2024-04-10)
        • 5.3.1 (2024-03-28)
        • 5.3.0 (2024-01-24)
        • 5.2.2 (2023-12-26)
        • 5.2.1 (2023-11-06)
        • 5.2.0 (2023-06-07)
        • 5.1.0 (2023-04-27)
        • 5.0.0 (2023-04-11)
        • 4.7.0 (2023-02-13)
        • 4.6.1 (2022-11-02)
        • 4.6.0 (2022-09-13)
        • 4.5.0 (2022-05-19)
        • 4.4.0 (2022-04-29)
        • 4.3.0 (2022-04-29)
        • 4.2.1 (2022-03-31)
        • 4.2.0 (2022-03-30)
        • 4.1.1 (2022-03-26)
        • 4.1.0 (2022-03-01)
        • 4.0.0 (2021-12-14)
        • 3.0.0 (2021-08-24)
        • 2.3.0 (2021-08-11)
        • 2.2.3 (2021-04-27)
        • 2.2.2 (2021-04-06)
        • 2.2.1 (2021-01-25)
        • 2.2.0 (2020-12-10)
        • 2.1.0 (2020-07-21)
        • 2.0.2 (2020-07-21)
        • 2.0.1 (2020-05-26)
        • 1.0.0 (2020-05-20)
    • LICENSE
    • QUALITY_DECLARATION
      • visualization_msgs Quality Declaration
        • Version Policy [1]
        • Change Control Process [2]
        • Documentation
        • Testing [4]
        • Dependencies [5]
        • Platform Support [6]
        • Vulnerability Disclosure Policy [7.i]
    • CONTRIBUTING
      • Contributing new messages and or packages
    • README
      • visualization_msgs
        • Messages (.msg)
        • Services (.srv)
        • Quality Declaration
  • Index
visualization_msgs
  • Message Definitions
  • MenuEntry
  • View page source

MenuEntry

This is a ROS message definition.

Source

# 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
Previous Next

© Copyright The <visualization_msgs> Contributors. License: Apache License 2.0.

Built with Sphinx using a theme provided by Read the Docs.