ros2_interfaces_humble/pendulum_msgs/msg/
joint_command.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct JointCommand {
5    pub position: f64,
6}
7
8impl Default for JointCommand {
9    fn default() -> Self {
10        JointCommand {
11            position: 0.0,
12        }
13    }
14}
15
16impl ros2_client::Message for JointCommand {}