ros2-interfaces-iron 0.0.2

Structs for Messages and Services listed by ROS Index for ROS2 Iron. Built around the `ros2-client` crate.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct RobotTrajectory {
    pub joint_trajectory: crate::trajectory_msgs::msg::JointTrajectory,
    pub multi_dof_joint_trajectory: crate::trajectory_msgs::msg::MultiDOFJointTrajectory,
}

impl Default for RobotTrajectory {
    fn default() -> Self {
        RobotTrajectory {
            joint_trajectory: crate::trajectory_msgs::msg::JointTrajectory::default(),
            multi_dof_joint_trajectory: crate::trajectory_msgs::msg::MultiDOFJointTrajectory::default(),
        }
    }
}

impl ros2_client::Message for RobotTrajectory {}