std_srvs_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

This section is empty.

Variables

View Source
var EmptyTypeSupport types.ServiceTypeSupport = _EmptyTypeSupport{}

Modifying this variable is undefined behavior.

View Source
var Empty_RequestTypeSupport types.MessageTypeSupport = _Empty_RequestTypeSupport{}

Modifying this variable is undefined behavior.

View Source
var Empty_ResponseTypeSupport types.MessageTypeSupport = _Empty_ResponseTypeSupport{}

Modifying this variable is undefined behavior.

View Source
var SetBoolTypeSupport types.ServiceTypeSupport = _SetBoolTypeSupport{}

Modifying this variable is undefined behavior.

View Source
var SetBool_RequestTypeSupport types.MessageTypeSupport = _SetBool_RequestTypeSupport{}

Modifying this variable is undefined behavior.

View Source
var SetBool_ResponseTypeSupport types.MessageTypeSupport = _SetBool_ResponseTypeSupport{}

Modifying this variable is undefined behavior.

View Source
var TriggerTypeSupport types.ServiceTypeSupport = _TriggerTypeSupport{}

Modifying this variable is undefined behavior.

View Source
var Trigger_RequestTypeSupport types.MessageTypeSupport = _Trigger_RequestTypeSupport{}

Modifying this variable is undefined behavior.

View Source
var Trigger_ResponseTypeSupport types.MessageTypeSupport = _Trigger_ResponseTypeSupport{}

Modifying this variable is undefined behavior.

Functions

func CloneEmpty_RequestSlice

func CloneEmpty_RequestSlice(dst, src []Empty_Request)

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

func CloneEmpty_ResponseSlice

func CloneEmpty_ResponseSlice(dst, src []Empty_Response)

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

func CloneSetBool_RequestSlice

func CloneSetBool_RequestSlice(dst, src []SetBool_Request)

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

func CloneSetBool_ResponseSlice

func CloneSetBool_ResponseSlice(dst, src []SetBool_Response)

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

func CloneTrigger_RequestSlice

func CloneTrigger_RequestSlice(dst, src []Trigger_Request)

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

func CloneTrigger_ResponseSlice

func CloneTrigger_ResponseSlice(dst, src []Trigger_Response)

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

func Empty_Request__Array_to_C

func Empty_Request__Array_to_C(cSlice []CEmpty_Request, goSlice []Empty_Request)

func Empty_Request__Array_to_Go

func Empty_Request__Array_to_Go(goSlice []Empty_Request, cSlice []CEmpty_Request)

func Empty_Request__Sequence_to_C

func Empty_Request__Sequence_to_C(cSlice *CEmpty_Request__Sequence, goSlice []Empty_Request)

func Empty_Request__Sequence_to_Go

func Empty_Request__Sequence_to_Go(goSlice *[]Empty_Request, cSlice CEmpty_Request__Sequence)

func Empty_Response__Array_to_C

func Empty_Response__Array_to_C(cSlice []CEmpty_Response, goSlice []Empty_Response)

func Empty_Response__Array_to_Go

func Empty_Response__Array_to_Go(goSlice []Empty_Response, cSlice []CEmpty_Response)

func Empty_Response__Sequence_to_C

func Empty_Response__Sequence_to_C(cSlice *CEmpty_Response__Sequence, goSlice []Empty_Response)

func Empty_Response__Sequence_to_Go

func Empty_Response__Sequence_to_Go(goSlice *[]Empty_Response, cSlice CEmpty_Response__Sequence)

func SetBool_Request__Array_to_C

func SetBool_Request__Array_to_C(cSlice []CSetBool_Request, goSlice []SetBool_Request)

func SetBool_Request__Array_to_Go

func SetBool_Request__Array_to_Go(goSlice []SetBool_Request, cSlice []CSetBool_Request)

func SetBool_Request__Sequence_to_C

func SetBool_Request__Sequence_to_C(cSlice *CSetBool_Request__Sequence, goSlice []SetBool_Request)

func SetBool_Request__Sequence_to_Go

func SetBool_Request__Sequence_to_Go(goSlice *[]SetBool_Request, cSlice CSetBool_Request__Sequence)

func SetBool_Response__Array_to_C

func SetBool_Response__Array_to_C(cSlice []CSetBool_Response, goSlice []SetBool_Response)

func SetBool_Response__Array_to_Go

func SetBool_Response__Array_to_Go(goSlice []SetBool_Response, cSlice []CSetBool_Response)

func SetBool_Response__Sequence_to_C

func SetBool_Response__Sequence_to_C(cSlice *CSetBool_Response__Sequence, goSlice []SetBool_Response)

func SetBool_Response__Sequence_to_Go

func SetBool_Response__Sequence_to_Go(goSlice *[]SetBool_Response, cSlice CSetBool_Response__Sequence)

func Trigger_Request__Array_to_C

func Trigger_Request__Array_to_C(cSlice []CTrigger_Request, goSlice []Trigger_Request)

func Trigger_Request__Array_to_Go

func Trigger_Request__Array_to_Go(goSlice []Trigger_Request, cSlice []CTrigger_Request)

func Trigger_Request__Sequence_to_C

func Trigger_Request__Sequence_to_C(cSlice *CTrigger_Request__Sequence, goSlice []Trigger_Request)

func Trigger_Request__Sequence_to_Go

func Trigger_Request__Sequence_to_Go(goSlice *[]Trigger_Request, cSlice CTrigger_Request__Sequence)

func Trigger_Response__Array_to_C

func Trigger_Response__Array_to_C(cSlice []CTrigger_Response, goSlice []Trigger_Response)

func Trigger_Response__Array_to_Go

func Trigger_Response__Array_to_Go(goSlice []Trigger_Response, cSlice []CTrigger_Response)

func Trigger_Response__Sequence_to_C

func Trigger_Response__Sequence_to_C(cSlice *CTrigger_Response__Sequence, goSlice []Trigger_Response)

func Trigger_Response__Sequence_to_Go

func Trigger_Response__Sequence_to_Go(goSlice *[]Trigger_Response, cSlice CTrigger_Response__Sequence)

Types

type CEmpty_Request

type CEmpty_Request = C.std_srvs__srv__Empty_Request

type CEmpty_Response

type CEmpty_Response = C.std_srvs__srv__Empty_Response

type CSetBool_Request

type CSetBool_Request = C.std_srvs__srv__SetBool_Request

type CSetBool_Response

type CSetBool_Response = C.std_srvs__srv__SetBool_Response

type CTrigger_Request

type CTrigger_Request = C.std_srvs__srv__Trigger_Request

type CTrigger_Response

type CTrigger_Response = C.std_srvs__srv__Trigger_Response

type EmptyClient

type EmptyClient struct {
	*rclgo.Client
}

EmptyClient wraps rclgo.Client to provide type safe helper functions

func NewEmptyClient

func NewEmptyClient(node *rclgo.Node, serviceName string, options *rclgo.ClientOptions) (*EmptyClient, error)

NewEmptyClient creates and returns a new client for the Empty

func (*EmptyClient) Send

type EmptyService

type EmptyService struct {
	*rclgo.Service
}

EmptyService wraps rclgo.Service to provide type safe helper functions

func NewEmptyService

func NewEmptyService(node *rclgo.Node, name string, options *rclgo.ServiceOptions, handler EmptyServiceRequestHandler) (*EmptyService, error)

NewEmptyService creates and returns a new service for the Empty

type EmptyServiceResponseSender

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

func (EmptyServiceResponseSender) SendResponse

func (s EmptyServiceResponseSender) SendResponse(resp *Empty_Response) error

type Empty_Request

type Empty_Request struct {
}

func NewEmpty_Request

func NewEmpty_Request() *Empty_Request

NewEmpty_Request creates a new Empty_Request with default values.

func (*Empty_Request) Clone

func (t *Empty_Request) Clone() *Empty_Request

func (*Empty_Request) CloneMsg

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

func (*Empty_Request) GetTypeSupport

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

func (*Empty_Request) SetDefaults

func (t *Empty_Request) SetDefaults()

type Empty_RequestPublisher

type Empty_RequestPublisher struct {
	*rclgo.Publisher
}

Empty_RequestPublisher wraps rclgo.Publisher to provide type safe helper functions

func NewEmpty_RequestPublisher

func NewEmpty_RequestPublisher(node *rclgo.Node, topic_name string, options *rclgo.PublisherOptions) (*Empty_RequestPublisher, error)

NewEmpty_RequestPublisher creates and returns a new publisher for the Empty_Request

func (*Empty_RequestPublisher) Publish

func (p *Empty_RequestPublisher) Publish(msg *Empty_Request) error

type Empty_RequestSubscription

type Empty_RequestSubscription struct {
	*rclgo.Subscription
}

Empty_RequestSubscription wraps rclgo.Subscription to provide type safe helper functions

func NewEmpty_RequestSubscription

func NewEmpty_RequestSubscription(node *rclgo.Node, topic_name string, opts *rclgo.SubscriptionOptions, subscriptionCallback Empty_RequestSubscriptionCallback) (*Empty_RequestSubscription, error)

NewEmpty_RequestSubscription creates and returns a new subscription for the Empty_Request

func (*Empty_RequestSubscription) TakeMessage

type Empty_RequestSubscriptionCallback

type Empty_RequestSubscriptionCallback func(msg *Empty_Request, info *rclgo.MessageInfo, err error)

Empty_RequestSubscriptionCallback type is used to provide a subscription handler function for a Empty_RequestSubscription.

type Empty_Response

type Empty_Response struct {
}

func NewEmpty_Response

func NewEmpty_Response() *Empty_Response

NewEmpty_Response creates a new Empty_Response with default values.

func (*Empty_Response) Clone

func (t *Empty_Response) Clone() *Empty_Response

func (*Empty_Response) CloneMsg

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

func (*Empty_Response) GetTypeSupport

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

func (*Empty_Response) SetDefaults

func (t *Empty_Response) SetDefaults()

type Empty_ResponsePublisher

type Empty_ResponsePublisher struct {
	*rclgo.Publisher
}

Empty_ResponsePublisher wraps rclgo.Publisher to provide type safe helper functions

func NewEmpty_ResponsePublisher

func NewEmpty_ResponsePublisher(node *rclgo.Node, topic_name string, options *rclgo.PublisherOptions) (*Empty_ResponsePublisher, error)

NewEmpty_ResponsePublisher creates and returns a new publisher for the Empty_Response

func (*Empty_ResponsePublisher) Publish

func (p *Empty_ResponsePublisher) Publish(msg *Empty_Response) error

type Empty_ResponseSubscription

type Empty_ResponseSubscription struct {
	*rclgo.Subscription
}

Empty_ResponseSubscription wraps rclgo.Subscription to provide type safe helper functions

func NewEmpty_ResponseSubscription

func NewEmpty_ResponseSubscription(node *rclgo.Node, topic_name string, opts *rclgo.SubscriptionOptions, subscriptionCallback Empty_ResponseSubscriptionCallback) (*Empty_ResponseSubscription, error)

NewEmpty_ResponseSubscription creates and returns a new subscription for the Empty_Response

func (*Empty_ResponseSubscription) TakeMessage

type Empty_ResponseSubscriptionCallback

type Empty_ResponseSubscriptionCallback func(msg *Empty_Response, info *rclgo.MessageInfo, err error)

Empty_ResponseSubscriptionCallback type is used to provide a subscription handler function for a Empty_ResponseSubscription.

type SetBoolClient

type SetBoolClient struct {
	*rclgo.Client
}

SetBoolClient wraps rclgo.Client to provide type safe helper functions

func NewSetBoolClient

func NewSetBoolClient(node *rclgo.Node, serviceName string, options *rclgo.ClientOptions) (*SetBoolClient, error)

NewSetBoolClient creates and returns a new client for the SetBool

func (*SetBoolClient) Send

type SetBoolService

type SetBoolService struct {
	*rclgo.Service
}

SetBoolService wraps rclgo.Service to provide type safe helper functions

func NewSetBoolService

func NewSetBoolService(node *rclgo.Node, name string, options *rclgo.ServiceOptions, handler SetBoolServiceRequestHandler) (*SetBoolService, error)

NewSetBoolService creates and returns a new service for the SetBool

type SetBoolServiceResponseSender

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

func (SetBoolServiceResponseSender) SendResponse

func (s SetBoolServiceResponseSender) SendResponse(resp *SetBool_Response) error

type SetBool_Request

type SetBool_Request struct {
	Data bool `yaml:"data"` // e.g. for hardware enabling / disabling
}

func NewSetBool_Request

func NewSetBool_Request() *SetBool_Request

NewSetBool_Request creates a new SetBool_Request with default values.

func (*SetBool_Request) Clone

func (t *SetBool_Request) Clone() *SetBool_Request

func (*SetBool_Request) CloneMsg

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

func (*SetBool_Request) GetTypeSupport

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

func (*SetBool_Request) SetDefaults

func (t *SetBool_Request) SetDefaults()

type SetBool_RequestPublisher

type SetBool_RequestPublisher struct {
	*rclgo.Publisher
}

SetBool_RequestPublisher wraps rclgo.Publisher to provide type safe helper functions

func NewSetBool_RequestPublisher

func NewSetBool_RequestPublisher(node *rclgo.Node, topic_name string, options *rclgo.PublisherOptions) (*SetBool_RequestPublisher, error)

NewSetBool_RequestPublisher creates and returns a new publisher for the SetBool_Request

func (*SetBool_RequestPublisher) Publish

type SetBool_RequestSubscription

type SetBool_RequestSubscription struct {
	*rclgo.Subscription
}

SetBool_RequestSubscription wraps rclgo.Subscription to provide type safe helper functions

func NewSetBool_RequestSubscription

func NewSetBool_RequestSubscription(node *rclgo.Node, topic_name string, opts *rclgo.SubscriptionOptions, subscriptionCallback SetBool_RequestSubscriptionCallback) (*SetBool_RequestSubscription, error)

NewSetBool_RequestSubscription creates and returns a new subscription for the SetBool_Request

func (*SetBool_RequestSubscription) TakeMessage

type SetBool_RequestSubscriptionCallback

type SetBool_RequestSubscriptionCallback func(msg *SetBool_Request, info *rclgo.MessageInfo, err error)

SetBool_RequestSubscriptionCallback type is used to provide a subscription handler function for a SetBool_RequestSubscription.

type SetBool_Response

type SetBool_Response struct {
	Success bool   `yaml:"success"` // indicate successful run of triggered service
	Message string `yaml:"message"` // informational, e.g. for error messages
}

func NewSetBool_Response

func NewSetBool_Response() *SetBool_Response

NewSetBool_Response creates a new SetBool_Response with default values.

func (*SetBool_Response) Clone

func (t *SetBool_Response) Clone() *SetBool_Response

func (*SetBool_Response) CloneMsg

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

func (*SetBool_Response) GetTypeSupport

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

func (*SetBool_Response) SetDefaults

func (t *SetBool_Response) SetDefaults()

type SetBool_ResponsePublisher

type SetBool_ResponsePublisher struct {
	*rclgo.Publisher
}

SetBool_ResponsePublisher wraps rclgo.Publisher to provide type safe helper functions

func NewSetBool_ResponsePublisher

func NewSetBool_ResponsePublisher(node *rclgo.Node, topic_name string, options *rclgo.PublisherOptions) (*SetBool_ResponsePublisher, error)

NewSetBool_ResponsePublisher creates and returns a new publisher for the SetBool_Response

func (*SetBool_ResponsePublisher) Publish

type SetBool_ResponseSubscription

type SetBool_ResponseSubscription struct {
	*rclgo.Subscription
}

SetBool_ResponseSubscription wraps rclgo.Subscription to provide type safe helper functions

func NewSetBool_ResponseSubscription

func NewSetBool_ResponseSubscription(node *rclgo.Node, topic_name string, opts *rclgo.SubscriptionOptions, subscriptionCallback SetBool_ResponseSubscriptionCallback) (*SetBool_ResponseSubscription, error)

NewSetBool_ResponseSubscription creates and returns a new subscription for the SetBool_Response

func (*SetBool_ResponseSubscription) TakeMessage

type SetBool_ResponseSubscriptionCallback

type SetBool_ResponseSubscriptionCallback func(msg *SetBool_Response, info *rclgo.MessageInfo, err error)

SetBool_ResponseSubscriptionCallback type is used to provide a subscription handler function for a SetBool_ResponseSubscription.

type TriggerClient

type TriggerClient struct {
	*rclgo.Client
}

TriggerClient wraps rclgo.Client to provide type safe helper functions

func NewTriggerClient

func NewTriggerClient(node *rclgo.Node, serviceName string, options *rclgo.ClientOptions) (*TriggerClient, error)

NewTriggerClient creates and returns a new client for the Trigger

func (*TriggerClient) Send

type TriggerService

type TriggerService struct {
	*rclgo.Service
}

TriggerService wraps rclgo.Service to provide type safe helper functions

func NewTriggerService

func NewTriggerService(node *rclgo.Node, name string, options *rclgo.ServiceOptions, handler TriggerServiceRequestHandler) (*TriggerService, error)

NewTriggerService creates and returns a new service for the Trigger

type TriggerServiceResponseSender

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

func (TriggerServiceResponseSender) SendResponse

func (s TriggerServiceResponseSender) SendResponse(resp *Trigger_Response) error

type Trigger_Request

type Trigger_Request struct {
}

func NewTrigger_Request

func NewTrigger_Request() *Trigger_Request

NewTrigger_Request creates a new Trigger_Request with default values.

func (*Trigger_Request) Clone

func (t *Trigger_Request) Clone() *Trigger_Request

func (*Trigger_Request) CloneMsg

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

func (*Trigger_Request) GetTypeSupport

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

func (*Trigger_Request) SetDefaults

func (t *Trigger_Request) SetDefaults()

type Trigger_RequestPublisher

type Trigger_RequestPublisher struct {
	*rclgo.Publisher
}

Trigger_RequestPublisher wraps rclgo.Publisher to provide type safe helper functions

func NewTrigger_RequestPublisher

func NewTrigger_RequestPublisher(node *rclgo.Node, topic_name string, options *rclgo.PublisherOptions) (*Trigger_RequestPublisher, error)

NewTrigger_RequestPublisher creates and returns a new publisher for the Trigger_Request

func (*Trigger_RequestPublisher) Publish

type Trigger_RequestSubscription

type Trigger_RequestSubscription struct {
	*rclgo.Subscription
}

Trigger_RequestSubscription wraps rclgo.Subscription to provide type safe helper functions

func NewTrigger_RequestSubscription

func NewTrigger_RequestSubscription(node *rclgo.Node, topic_name string, opts *rclgo.SubscriptionOptions, subscriptionCallback Trigger_RequestSubscriptionCallback) (*Trigger_RequestSubscription, error)

NewTrigger_RequestSubscription creates and returns a new subscription for the Trigger_Request

func (*Trigger_RequestSubscription) TakeMessage

type Trigger_RequestSubscriptionCallback

type Trigger_RequestSubscriptionCallback func(msg *Trigger_Request, info *rclgo.MessageInfo, err error)

Trigger_RequestSubscriptionCallback type is used to provide a subscription handler function for a Trigger_RequestSubscription.

type Trigger_Response

type Trigger_Response struct {
	Success bool   `yaml:"success"` // indicate successful run of triggered service
	Message string `yaml:"message"` // informational, e.g. for error messages
}

func NewTrigger_Response

func NewTrigger_Response() *Trigger_Response

NewTrigger_Response creates a new Trigger_Response with default values.

func (*Trigger_Response) Clone

func (t *Trigger_Response) Clone() *Trigger_Response

func (*Trigger_Response) CloneMsg

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

func (*Trigger_Response) GetTypeSupport

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

func (*Trigger_Response) SetDefaults

func (t *Trigger_Response) SetDefaults()

type Trigger_ResponsePublisher

type Trigger_ResponsePublisher struct {
	*rclgo.Publisher
}

Trigger_ResponsePublisher wraps rclgo.Publisher to provide type safe helper functions

func NewTrigger_ResponsePublisher

func NewTrigger_ResponsePublisher(node *rclgo.Node, topic_name string, options *rclgo.PublisherOptions) (*Trigger_ResponsePublisher, error)

NewTrigger_ResponsePublisher creates and returns a new publisher for the Trigger_Response

func (*Trigger_ResponsePublisher) Publish

type Trigger_ResponseSubscription

type Trigger_ResponseSubscription struct {
	*rclgo.Subscription
}

Trigger_ResponseSubscription wraps rclgo.Subscription to provide type safe helper functions

func NewTrigger_ResponseSubscription

func NewTrigger_ResponseSubscription(node *rclgo.Node, topic_name string, opts *rclgo.SubscriptionOptions, subscriptionCallback Trigger_ResponseSubscriptionCallback) (*Trigger_ResponseSubscription, error)

NewTrigger_ResponseSubscription creates and returns a new subscription for the Trigger_Response

func (*Trigger_ResponseSubscription) TakeMessage

type Trigger_ResponseSubscriptionCallback

type Trigger_ResponseSubscriptionCallback func(msg *Trigger_Response, info *rclgo.MessageInfo, err error)

Trigger_ResponseSubscriptionCallback type is used to provide a subscription handler function for a Trigger_ResponseSubscription.

Jump to

Keyboard shortcuts

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