#[repr(C)]
#[derive(Debug, ros2_types::Ros2Msg, ros2_types::TypeDescription)]
#[ros2(package = "sensor_msgs", interface_type = "msg")]
#[cfg_attr(
not(feature = "rcl"),
derive(ros2_types::serde::Serialize, ros2_types::serde::Deserialize)
)]
#[cfg_attr(not(feature = "rcl"), serde(crate = "ros2_types::serde"))]
pub struct Range {
pub header: super::super::super::std_msgs::msg::header::Header,
pub radiation_type: u8,
pub field_of_view: f32,
pub min_range: f32,
pub max_range: f32,
pub range: f32,
pub variance: f32,
}
impl Range {
pub const ULTRASOUND: u8 = 0;
pub const INFRARED: u8 = 1;
}