ros2_interfaces_rolling/ibeo_msgs/msg/
host_vehicle_state2807.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct HostVehicleState2807 {
5 pub header: crate::std_msgs::msg::Header,
6 pub ibeo_header: crate::ibeo_msgs::msg::IbeoDataHeader,
7 pub timestamp: crate::builtin_interfaces::msg::Time,
8 pub distance_x: i32,
9 pub distance_y: i32,
10 pub course_angle: f32,
11 pub longitudinal_velocity: f32,
12 pub yaw_rate: f32,
13 pub steering_wheel_angle: f32,
14 pub cross_acceleration: f32,
15 pub front_wheel_angle: f32,
16 pub vehicle_width: f32,
17 pub vehicle_front_to_front_axle: f32,
18 pub rear_axle_to_front_axle: f32,
19 pub rear_axle_to_vehicle_rear: f32,
20 pub steer_ratio_poly_0: f32,
21 pub steer_ratio_poly_1: f32,
22 pub steer_ratio_poly_2: f32,
23 pub steer_ratio_poly_3: f32,
24 pub longitudinal_acceleration: f32,
25}
26
27impl Default for HostVehicleState2807 {
28 fn default() -> Self {
29 HostVehicleState2807 {
30 header: crate::std_msgs::msg::Header::default(),
31 ibeo_header: crate::ibeo_msgs::msg::IbeoDataHeader::default(),
32 timestamp: crate::builtin_interfaces::msg::Time::default(),
33 distance_x: 0,
34 distance_y: 0,
35 course_angle: 0.0,
36 longitudinal_velocity: 0.0,
37 yaw_rate: 0.0,
38 steering_wheel_angle: 0.0,
39 cross_acceleration: 0.0,
40 front_wheel_angle: 0.0,
41 vehicle_width: 0.0,
42 vehicle_front_to_front_axle: 0.0,
43 rear_axle_to_front_axle: 0.0,
44 rear_axle_to_vehicle_rear: 0.0,
45 steer_ratio_poly_0: 0.0,
46 steer_ratio_poly_1: 0.0,
47 steer_ratio_poly_2: 0.0,
48 steer_ratio_poly_3: 0.0,
49 longitudinal_acceleration: 0.0,
50 }
51 }
52}
53
54impl ros2_client::Message for HostVehicleState2807 {}