MenuEntry class final

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

visualization_msgs/msg/MenuEntry

Constructors

const
factory

Properties

command → String
final
commandType → int
final
hashCode → int
The hash code for this object.
no setteroverride
id → int
final
parentId → int
final
rosType → String
The fully qualified ROS type name, e.g. geometry_msgs/msg/Twist.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
The rosbridge JSON representation of this message.
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

feedback → const int
roslaunch → const int
rosrun → const int