ros2_interfaces_humble/dynamixel_sdk_custom_interfaces/msg/set_position.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct SetPosition {
5 pub id: u8,
6 pub position: i32,
7}
8
9impl Default for SetPosition {
10 fn default() -> Self {
11 SetPosition {
12 id: 0,
13 position: 0,
14 }
15 }
16}
17
18impl ros2_client::Message for SetPosition {}