ros2_interfaces_rolling/moveit_msgs/msg/
display_robot_state.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct DisplayRobotState {
5 pub state: crate::moveit_msgs::msg::RobotState,
6 pub highlight_links: Vec<crate::moveit_msgs::msg::ObjectColor>,
7 pub hide: bool,
8}
9
10impl Default for DisplayRobotState {
11 fn default() -> Self {
12 DisplayRobotState {
13 state: crate::moveit_msgs::msg::RobotState::default(),
14 highlight_links: Vec::new(),
15 hide: false,
16 }
17 }
18}
19
20impl ros2_client::Message for DisplayRobotState {}