action_msgs_srv

package
v0.0.0-...-56b24e1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CancelGoal_Response_ERROR_NONE            int8 = 0 // Indicates the request was accepted without any errors.One or more goals have transitioned to the CANCELING state. Thegoals_canceling list is not empty.
	CancelGoal_Response_ERROR_REJECTED        int8 = 1 // Indicates the request was rejected.No goals have transitioned to the CANCELING state. The goals_canceling list isempty.
	CancelGoal_Response_ERROR_UNKNOWN_GOAL_ID int8 = 2 // Indicates the requested goal ID does not exist.No goals have transitioned to the CANCELING state. The goals_canceling list isempty.
	CancelGoal_Response_ERROR_GOAL_TERMINATED int8 = 3 // Indicates the goal is not cancelable because it is already in a terminal state.No goals have transitioned to the CANCELING state. The goals_canceling list isempty.
)

Variables

View Source
var CancelGoalTypeSupport types.ServiceTypeSupport = _CancelGoalTypeSupport{}

Modifying this variable is undefined behavior.

View Source
var CancelGoal_RequestTypeSupport types.MessageTypeSupport = _CancelGoal_RequestTypeSupport{}

Modifying this variable is undefined behavior.

View Source
var CancelGoal_ResponseTypeSupport types.MessageTypeSupport = _CancelGoal_ResponseTypeSupport{}

Modifying this variable is undefined behavior.

Functions

func CancelGoal_Request__Array_to_C

func CancelGoal_Request__Array_to_C(cSlice []CCancelGoal_Request, goSlice []CancelGoal_Request)

func CancelGoal_Request__Array_to_Go

func CancelGoal_Request__Array_to_Go(goSlice []CancelGoal_Request, cSlice []CCancelGoal_Request)

func CancelGoal_Request__Sequence_to_C

func CancelGoal_Request__Sequence_to_C(cSlice *CCancelGoal_Request__Sequence, goSlice []CancelGoal_Request)

func CancelGoal_Request__Sequence_to_Go

func CancelGoal_Request__Sequence_to_Go(goSlice *[]CancelGoal_Request, cSlice CCancelGoal_Request__Sequence)

func CancelGoal_Response__Array_to_C

func CancelGoal_Response__Array_to_C(cSlice []CCancelGoal_Response, goSlice []CancelGoal_Response)

func CancelGoal_Response__Array_to_Go

func CancelGoal_Response__Array_to_Go(goSlice []CancelGoal_Response, cSlice []CCancelGoal_Response)

func CancelGoal_Response__Sequence_to_C

func CancelGoal_Response__Sequence_to_C(cSlice *CCancelGoal_Response__Sequence, goSlice []CancelGoal_Response)

func CancelGoal_Response__Sequence_to_Go

func CancelGoal_Response__Sequence_to_Go(goSlice *[]CancelGoal_Response, cSlice CCancelGoal_Response__Sequence)

func CloneCancelGoal_RequestSlice

func CloneCancelGoal_RequestSlice(dst, src []CancelGoal_Request)

CloneCancelGoal_RequestSlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).

func CloneCancelGoal_ResponseSlice

func CloneCancelGoal_ResponseSlice(dst, src []CancelGoal_Response)

CloneCancelGoal_ResponseSlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).

Types

type CancelGoalClient

type CancelGoalClient struct {
	*rclgo.Client
}

CancelGoalClient wraps rclgo.Client to provide type safe helper functions

func NewCancelGoalClient

func NewCancelGoalClient(node *rclgo.Node, serviceName string, options *rclgo.ClientOptions) (*CancelGoalClient, error)

NewCancelGoalClient creates and returns a new client for the CancelGoal

func (*CancelGoalClient) Send

type CancelGoalService

type CancelGoalService struct {
	*rclgo.Service
}

CancelGoalService wraps rclgo.Service to provide type safe helper functions

func NewCancelGoalService

func NewCancelGoalService(node *rclgo.Node, name string, options *rclgo.ServiceOptions, handler CancelGoalServiceRequestHandler) (*CancelGoalService, error)

NewCancelGoalService creates and returns a new service for the CancelGoal

type CancelGoalServiceResponseSender

type CancelGoalServiceResponseSender struct {
	// contains filtered or unexported fields
}

func (CancelGoalServiceResponseSender) SendResponse

type CancelGoal_Request

type CancelGoal_Request struct {
	GoalInfo action_msgs_msg.GoalInfo `yaml:"goal_info"` // Goal info describing the goals to cancel, see above.
}

func NewCancelGoal_Request

func NewCancelGoal_Request() *CancelGoal_Request

NewCancelGoal_Request creates a new CancelGoal_Request with default values.

func (*CancelGoal_Request) Clone

func (*CancelGoal_Request) CloneMsg

func (t *CancelGoal_Request) CloneMsg() types.Message

func (*CancelGoal_Request) GetGoalID

func (t *CancelGoal_Request) GetGoalID() *types.GoalID

func (*CancelGoal_Request) GetTypeSupport

func (t *CancelGoal_Request) GetTypeSupport() types.MessageTypeSupport

func (*CancelGoal_Request) SetDefaults

func (t *CancelGoal_Request) SetDefaults()

func (*CancelGoal_Request) SetGoalID

func (t *CancelGoal_Request) SetGoalID(id *types.GoalID)

type CancelGoal_RequestPublisher

type CancelGoal_RequestPublisher struct {
	*rclgo.Publisher
}

CancelGoal_RequestPublisher wraps rclgo.Publisher to provide type safe helper functions

func NewCancelGoal_RequestPublisher

func NewCancelGoal_RequestPublisher(node *rclgo.Node, topic_name string, options *rclgo.PublisherOptions) (*CancelGoal_RequestPublisher, error)

NewCancelGoal_RequestPublisher creates and returns a new publisher for the CancelGoal_Request

func (*CancelGoal_RequestPublisher) Publish

type CancelGoal_RequestSubscription

type CancelGoal_RequestSubscription struct {
	*rclgo.Subscription
}

CancelGoal_RequestSubscription wraps rclgo.Subscription to provide type safe helper functions

func NewCancelGoal_RequestSubscription

func NewCancelGoal_RequestSubscription(node *rclgo.Node, topic_name string, opts *rclgo.SubscriptionOptions, subscriptionCallback CancelGoal_RequestSubscriptionCallback) (*CancelGoal_RequestSubscription, error)

NewCancelGoal_RequestSubscription creates and returns a new subscription for the CancelGoal_Request

func (*CancelGoal_RequestSubscription) TakeMessage

type CancelGoal_RequestSubscriptionCallback

type CancelGoal_RequestSubscriptionCallback func(msg *CancelGoal_Request, info *rclgo.MessageInfo, err error)

CancelGoal_RequestSubscriptionCallback type is used to provide a subscription handler function for a CancelGoal_RequestSubscription.

type CancelGoal_Response

type CancelGoal_Response struct {
	ReturnCode     int8                       `yaml:"return_code"`     // Return code, see above definitions.
	GoalsCanceling []action_msgs_msg.GoalInfo `yaml:"goals_canceling"` // Goals that accepted the cancel request.
}

func NewCancelGoal_Response

func NewCancelGoal_Response() *CancelGoal_Response

NewCancelGoal_Response creates a new CancelGoal_Response with default values.

func (*CancelGoal_Response) CallForEach

func (t *CancelGoal_Response) CallForEach(f func(interface{}))

func (*CancelGoal_Response) Clone

func (*CancelGoal_Response) CloneMsg

func (t *CancelGoal_Response) CloneMsg() types.Message

func (*CancelGoal_Response) GetTypeSupport

func (t *CancelGoal_Response) GetTypeSupport() types.MessageTypeSupport

func (*CancelGoal_Response) SetDefaults

func (t *CancelGoal_Response) SetDefaults()

type CancelGoal_ResponsePublisher

type CancelGoal_ResponsePublisher struct {
	*rclgo.Publisher
}

CancelGoal_ResponsePublisher wraps rclgo.Publisher to provide type safe helper functions

func NewCancelGoal_ResponsePublisher

func NewCancelGoal_ResponsePublisher(node *rclgo.Node, topic_name string, options *rclgo.PublisherOptions) (*CancelGoal_ResponsePublisher, error)

NewCancelGoal_ResponsePublisher creates and returns a new publisher for the CancelGoal_Response

func (*CancelGoal_ResponsePublisher) Publish

type CancelGoal_ResponseSubscription

type CancelGoal_ResponseSubscription struct {
	*rclgo.Subscription
}

CancelGoal_ResponseSubscription wraps rclgo.Subscription to provide type safe helper functions

func NewCancelGoal_ResponseSubscription

func NewCancelGoal_ResponseSubscription(node *rclgo.Node, topic_name string, opts *rclgo.SubscriptionOptions, subscriptionCallback CancelGoal_ResponseSubscriptionCallback) (*CancelGoal_ResponseSubscription, error)

NewCancelGoal_ResponseSubscription creates and returns a new subscription for the CancelGoal_Response

func (*CancelGoal_ResponseSubscription) TakeMessage

type CancelGoal_ResponseSubscriptionCallback

type CancelGoal_ResponseSubscriptionCallback func(msg *CancelGoal_Response, info *rclgo.MessageInfo, err error)

CancelGoal_ResponseSubscriptionCallback type is used to provide a subscription handler function for a CancelGoal_ResponseSubscription.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL