Trait r2r::WrappedActionTypeSupport

source ·
pub trait WrappedActionTypeSupport: Debug + Clone {
    type Goal: WrappedTypesupport;
    type Result: WrappedTypesupport;
    type Feedback: WrappedTypesupport;
    type FeedbackMessage: WrappedTypesupport;
    type SendGoal: WrappedServiceTypeSupport;
    type GetResult: WrappedServiceTypeSupport;

    // Required methods
    fn get_ts() -> &'static rosidl_action_type_support_t;
    fn make_goal_request_msg(
        goal_id: UUID,
        goal: Self::Goal,
    ) -> <<Self as WrappedActionTypeSupport>::SendGoal as WrappedServiceTypeSupport>::Request;
    fn make_goal_response_msg(
        accepted: bool,
        stamp: Time,
    ) -> <<Self as WrappedActionTypeSupport>::SendGoal as WrappedServiceTypeSupport>::Response;
    fn make_feedback_msg(
        goal_id: UUID,
        feedback: Self::Feedback,
    ) -> Self::FeedbackMessage;
    fn make_result_request_msg(
        goal_id: UUID,
    ) -> <<Self as WrappedActionTypeSupport>::GetResult as WrappedServiceTypeSupport>::Request;
    fn make_result_response_msg(
        status: i8,
        result: Self::Result,
    ) -> <<Self as WrappedActionTypeSupport>::GetResult as WrappedServiceTypeSupport>::Response;
    fn destructure_goal_request_msg(
        msg: <<Self as WrappedActionTypeSupport>::SendGoal as WrappedServiceTypeSupport>::Request,
    ) -> (UUID, Self::Goal);
    fn destructure_goal_response_msg(
        msg: <<Self as WrappedActionTypeSupport>::SendGoal as WrappedServiceTypeSupport>::Response,
    ) -> (bool, Time);
    fn destructure_feedback_msg(
        msg: Self::FeedbackMessage,
    ) -> (UUID, Self::Feedback);
    fn destructure_result_response_msg(
        msg: <<Self as WrappedActionTypeSupport>::GetResult as WrappedServiceTypeSupport>::Response,
    ) -> (i8, Self::Result);
    fn destructure_result_request_msg(
        msg: <<Self as WrappedActionTypeSupport>::GetResult as WrappedServiceTypeSupport>::Request,
    ) -> UUID;
}

Required Associated Types§

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§

source§

impl WrappedActionTypeSupport for r2r::control_msgs::action::FollowJointTrajectory::Action

source§

impl WrappedActionTypeSupport for r2r::control_msgs::action::GripperCommand::Action

source§

impl WrappedActionTypeSupport for r2r::control_msgs::action::JointTrajectory::Action

source§

impl WrappedActionTypeSupport for r2r::control_msgs::action::ParallelGripperCommand::Action

source§

impl WrappedActionTypeSupport for r2r::control_msgs::action::PointHead::Action

source§

impl WrappedActionTypeSupport for r2r::control_msgs::action::SingleJointPosition::Action

source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::AssistedTeleop::Action

source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::BackUp::Action

source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::ComputePathThroughPoses::Action

source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::ComputePathToPose::Action

source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::DriveOnHeading::Action

source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::DummyBehavior::Action

source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::FollowPath::Action

source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::FollowWaypoints::Action

source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::NavigateThroughPoses::Action

source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::NavigateToPose::Action

source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::SmoothPath::Action

source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::Spin::Action

source§

impl WrappedActionTypeSupport for r2r::nav2_msgs::action::Wait::Action

source§

impl WrappedActionTypeSupport for r2r::tf2_msgs::action::LookupTransform::Action