ros2_interfaces_rolling/game_controller_spl_interfaces/msg/
rcgcrd4.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct RCGCRD4 {
5 pub player_num: u8, pub team_num: u8, pub fallen: u8, pub pose: [f32; 3], pub ball_age: f32, pub ball: [f32; 2], }
12
13impl Default for RCGCRD4 {
14 fn default() -> Self {
15 RCGCRD4 {
16 player_num: 0,
17 team_num: 0,
18 fallen: 0,
19 pose: [0.0, 0.0, 0.0],
20 ball_age: -1.0,
21 ball: [0.0, 0.0],
22 }
23 }
24}
25
26impl ros2_client::Message for RCGCRD4 {}