oxidros-msg 0.5.7

Generated ROS2 message types for oxidros
Documentation
// Auto-generated ROS2 message types
// Generated by ros2msg from all ROS2 packages

#[repr(C)]
#[derive(Debug, ros2_types::Ros2Msg, ros2_types::TypeDescription)]
#[ros2(package = "action_msgs", interface_type = "srv")]
#[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 CancelGoal_Request {
    pub goal_info: super::super::super::action_msgs::msg::goal_info::GoalInfo,
}

#[repr(C)]
#[derive(Debug, ros2_types::Ros2Msg, ros2_types::TypeDescription)]
#[ros2(package = "action_msgs", interface_type = "srv")]
#[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 CancelGoal_Response {
    pub return_code: i8,
    pub goals_canceling: super::super::super::action_msgs::msg::goal_info::GoalInfoSeq<
        0,
    >,
}
impl CancelGoal_Response {
    pub const ERROR_NONE: i8 = 0;
    pub const ERROR_REJECTED: i8 = 1;
    pub const ERROR_UNKNOWN_GOAL_ID: i8 = 2;
    pub const ERROR_GOAL_TERMINATED: i8 = 3;
}