pub struct InteractiveMarkerFeedback {
pub header: Header,
pub client_id: String,
pub marker_name: String,
pub control_name: String,
pub event_type: u8,
pub pose: Pose,
pub menu_entry_id: u32,
pub mouse_point: Point,
pub mouse_point_valid: bool,
}Fields§
§header: Header§client_id: String§marker_name: String§control_name: String§event_type: u8§pose: Pose§mouse_point: Point§mouse_point_valid: boolImplementations§
Source§impl InteractiveMarkerFeedback
impl InteractiveMarkerFeedback
pub const KEEP_ALIVE: u8 = 0u8
pub const POSE_UPDATE: u8 = 1u8
pub const MENU_SELECT: u8 = 2u8
pub const BUTTON_CLICK: u8 = 3u8
pub const MOUSE_DOWN: u8 = 4u8
pub const MOUSE_UP: u8 = 5u8
Trait Implementations§
Source§impl Clone for InteractiveMarkerFeedback
impl Clone for InteractiveMarkerFeedback
Source§fn clone(&self) -> InteractiveMarkerFeedback
fn clone(&self) -> InteractiveMarkerFeedback
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InteractiveMarkerFeedback
impl Debug for InteractiveMarkerFeedback
Source§impl Default for InteractiveMarkerFeedback
impl Default for InteractiveMarkerFeedback
Source§fn default() -> Self
fn default() -> Self
Return InteractiveMarkerFeedback { r#header: Default::default(), r#client_id: Default::default(), r#marker_name: Default::default(), r#control_name: Default::default(), r#event_type: Default::default(), r#pose: Default::default(), r#menu_entry_id: Default::default(), r#mouse_point: Default::default(), r#mouse_point_valid: Default::default() }
Source§impl<'de> Deserialize<'de> for InteractiveMarkerFeedback
impl<'de> Deserialize<'de> for InteractiveMarkerFeedback
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl RosMessageType for InteractiveMarkerFeedback
impl RosMessageType for InteractiveMarkerFeedback
Source§const ROS_TYPE_NAME: &'static str = "visualization_msgs/InteractiveMarkerFeedback"
const ROS_TYPE_NAME: &'static str = "visualization_msgs/InteractiveMarkerFeedback"
Expected to be the combination pkg_name/type_name string describing the type to ros
Example: std_msgs/Header
Source§const MD5SUM: &'static str = "880e5141421ed8d30906fad686bc17bd"
const MD5SUM: &'static str = "880e5141421ed8d30906fad686bc17bd"
The computed md5sum of the message file and its dependencies
This field is optional, and only needed when using ros1 native communication
Source§const DEFINITION: &'static str = "# Time/frame info.\nstd_msgs/Header header\n\n# Identifying string. Must be unique in the topic namespace.\nstring client_id\n\n# Feedback message sent back from the GUI, e.g.\n# when the status of an interactive marker was modified by the user.\n\n# Specifies which interactive marker and control this message refers to\nstring marker_name\nstring control_name\n\n# Type of the event\n# KEEP_ALIVE: sent while dragging to keep up control of the marker\n# MENU_SELECT: a menu entry has been selected\n# BUTTON_CLICK: a button control has been clicked\n# POSE_UPDATE: the pose has been changed using one of the controls\nuint8 KEEP_ALIVE = 0\nuint8 POSE_UPDATE = 1\nuint8 MENU_SELECT = 2\nuint8 BUTTON_CLICK = 3\n\nuint8 MOUSE_DOWN = 4\nuint8 MOUSE_UP = 5\n\nuint8 event_type\n\n# Current pose of the marker\n# Note: Has to be valid for all feedback types.\ngeometry_msgs/Pose pose\n\n# Contains the ID of the selected menu entry\n# Only valid for MENU_SELECT events.\nuint32 menu_entry_id\n\n# If event_type is BUTTON_CLICK, MOUSE_DOWN, or MOUSE_UP, mouse_point\n# may contain the 3 dimensional position of the event on the\n# control. If it does, mouse_point_valid will be true. mouse_point\n# will be relative to the frame listed in the header.\ngeometry_msgs/Point mouse_point\nbool mouse_point_valid"
const DEFINITION: &'static str = "# Time/frame info.\nstd_msgs/Header header\n\n# Identifying string. Must be unique in the topic namespace.\nstring client_id\n\n# Feedback message sent back from the GUI, e.g.\n# when the status of an interactive marker was modified by the user.\n\n# Specifies which interactive marker and control this message refers to\nstring marker_name\nstring control_name\n\n# Type of the event\n# KEEP_ALIVE: sent while dragging to keep up control of the marker\n# MENU_SELECT: a menu entry has been selected\n# BUTTON_CLICK: a button control has been clicked\n# POSE_UPDATE: the pose has been changed using one of the controls\nuint8 KEEP_ALIVE = 0\nuint8 POSE_UPDATE = 1\nuint8 MENU_SELECT = 2\nuint8 BUTTON_CLICK = 3\n\nuint8 MOUSE_DOWN = 4\nuint8 MOUSE_UP = 5\n\nuint8 event_type\n\n# Current pose of the marker\n# Note: Has to be valid for all feedback types.\ngeometry_msgs/Pose pose\n\n# Contains the ID of the selected menu entry\n# Only valid for MENU_SELECT events.\nuint32 menu_entry_id\n\n# If event_type is BUTTON_CLICK, MOUSE_DOWN, or MOUSE_UP, mouse_point\n# may contain the 3 dimensional position of the event on the\n# control. If it does, mouse_point_valid will be true. mouse_point\n# will be relative to the frame listed in the header.\ngeometry_msgs/Point mouse_point\nbool mouse_point_valid"
The definition from the msg, srv, or action file
This field is optional, and only needed when using ros1 native communication
impl StructuralPartialEq for InteractiveMarkerFeedback
Auto Trait Implementations§
impl Freeze for InteractiveMarkerFeedback
impl RefUnwindSafe for InteractiveMarkerFeedback
impl Send for InteractiveMarkerFeedback
impl Sync for InteractiveMarkerFeedback
impl Unpin for InteractiveMarkerFeedback
impl UnwindSafe for InteractiveMarkerFeedback
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more