action_msgs_msg

package
v0.0.0-...-f3704aa Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GoalStatus_STATUS_UNKNOWN   int8 = 0 // Indicates status has not been properly set.
	GoalStatus_STATUS_ACCEPTED  int8 = 1 // The goal has been accepted and is awaiting execution.
	GoalStatus_STATUS_EXECUTING int8 = 2 // The goal is currently being executed by the action server.
	GoalStatus_STATUS_CANCELING int8 = 3 // The client has requested that the goal be canceled and the action server hasaccepted the cancel request.
	GoalStatus_STATUS_SUCCEEDED int8 = 4 // The goal was achieved successfully by the action server.
	GoalStatus_STATUS_CANCELED  int8 = 5 // The goal was canceled after an external request from an action client.
	GoalStatus_STATUS_ABORTED   int8 = 6 // The goal was terminated by the action server without an external request.
)

Variables

View Source
var GoalInfoTypeSupport types.MessageTypeSupport = _GoalInfoTypeSupport{}

Modifying this variable is undefined behavior.

View Source
var GoalStatusArrayTypeSupport types.MessageTypeSupport = _GoalStatusArrayTypeSupport{}

Modifying this variable is undefined behavior.

View Source
var GoalStatusTypeSupport types.MessageTypeSupport = _GoalStatusTypeSupport{}

Modifying this variable is undefined behavior.

Functions

func CloneGoalInfoSlice

func CloneGoalInfoSlice(dst, src []GoalInfo)

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

func CloneGoalStatusArraySlice

func CloneGoalStatusArraySlice(dst, src []GoalStatusArray)

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

func CloneGoalStatusSlice

func CloneGoalStatusSlice(dst, src []GoalStatus)

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

func GoalInfo__Array_to_C

func GoalInfo__Array_to_C(cSlice []CGoalInfo, goSlice []GoalInfo)

func GoalInfo__Array_to_Go

func GoalInfo__Array_to_Go(goSlice []GoalInfo, cSlice []CGoalInfo)

func GoalInfo__Sequence_to_C

func GoalInfo__Sequence_to_C(cSlice *CGoalInfo__Sequence, goSlice []GoalInfo)

func GoalInfo__Sequence_to_Go

func GoalInfo__Sequence_to_Go(goSlice *[]GoalInfo, cSlice CGoalInfo__Sequence)

func GoalStatusArray__Array_to_C

func GoalStatusArray__Array_to_C(cSlice []CGoalStatusArray, goSlice []GoalStatusArray)

func GoalStatusArray__Array_to_Go

func GoalStatusArray__Array_to_Go(goSlice []GoalStatusArray, cSlice []CGoalStatusArray)

func GoalStatusArray__Sequence_to_C

func GoalStatusArray__Sequence_to_C(cSlice *CGoalStatusArray__Sequence, goSlice []GoalStatusArray)

func GoalStatusArray__Sequence_to_Go

func GoalStatusArray__Sequence_to_Go(goSlice *[]GoalStatusArray, cSlice CGoalStatusArray__Sequence)

func GoalStatus__Array_to_C

func GoalStatus__Array_to_C(cSlice []CGoalStatus, goSlice []GoalStatus)

func GoalStatus__Array_to_Go

func GoalStatus__Array_to_Go(goSlice []GoalStatus, cSlice []CGoalStatus)

func GoalStatus__Sequence_to_C

func GoalStatus__Sequence_to_C(cSlice *CGoalStatus__Sequence, goSlice []GoalStatus)

func GoalStatus__Sequence_to_Go

func GoalStatus__Sequence_to_Go(goSlice *[]GoalStatus, cSlice CGoalStatus__Sequence)

Types

type CGoalInfo

type CGoalInfo = C.action_msgs__msg__GoalInfo

type CGoalStatus

type CGoalStatus = C.action_msgs__msg__GoalStatus

type GoalInfo

type GoalInfo struct {
	GoalId unique_identifier_msgs_msg.UUID `yaml:"goal_id"` // Goal ID
	Stamp  builtin_interfaces_msg.Time     `yaml:"stamp"`   // Time when the goal was accepted
}

Do not create instances of this type directly. Always use NewGoalInfo function instead.

func NewGoalInfo

func NewGoalInfo() *GoalInfo

NewGoalInfo creates a new GoalInfo with default values.

func (*GoalInfo) Clone

func (t *GoalInfo) Clone() *GoalInfo

func (*GoalInfo) CloneMsg

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

func (*GoalInfo) SetDefaults

func (t *GoalInfo) SetDefaults()

type GoalStatus

type GoalStatus struct {
	GoalInfo GoalInfo `yaml:"goal_info"` // Goal info (contains ID and timestamp).
	Status   int8     `yaml:"status"`    // Action goal state-machine status.
}

Do not create instances of this type directly. Always use NewGoalStatus function instead.

func NewGoalStatus

func NewGoalStatus() *GoalStatus

NewGoalStatus creates a new GoalStatus with default values.

func (*GoalStatus) Clone

func (t *GoalStatus) Clone() *GoalStatus

func (*GoalStatus) CloneMsg

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

func (*GoalStatus) SetDefaults

func (t *GoalStatus) SetDefaults()

type GoalStatusArray

type GoalStatusArray struct {
	StatusList []GoalStatus `yaml:"status_list"` // An array of goal statuses.
}

Do not create instances of this type directly. Always use NewGoalStatusArray function instead.

func NewGoalStatusArray

func NewGoalStatusArray() *GoalStatusArray

NewGoalStatusArray creates a new GoalStatusArray with default values.

func (*GoalStatusArray) Clone

func (t *GoalStatusArray) Clone() *GoalStatusArray

func (*GoalStatusArray) CloneMsg

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

func (*GoalStatusArray) SetDefaults

func (t *GoalStatusArray) SetDefaults()

Jump to

Keyboard shortcuts

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