Documentation ¶
Index ¶
- Constants
- Variables
- func CloneGoalInfoSlice(dst, src []GoalInfo)
- func CloneGoalStatusArraySlice(dst, src []GoalStatusArray)
- func CloneGoalStatusSlice(dst, src []GoalStatus)
- func GoalInfo__Array_to_C(cSlice []CGoalInfo, goSlice []GoalInfo)
- func GoalInfo__Array_to_Go(goSlice []GoalInfo, cSlice []CGoalInfo)
- func GoalInfo__Sequence_to_C(cSlice *CGoalInfo__Sequence, goSlice []GoalInfo)
- func GoalInfo__Sequence_to_Go(goSlice *[]GoalInfo, cSlice CGoalInfo__Sequence)
- func GoalStatusArray__Array_to_C(cSlice []CGoalStatusArray, goSlice []GoalStatusArray)
- func GoalStatusArray__Array_to_Go(goSlice []GoalStatusArray, cSlice []CGoalStatusArray)
- func GoalStatusArray__Sequence_to_C(cSlice *CGoalStatusArray__Sequence, goSlice []GoalStatusArray)
- func GoalStatusArray__Sequence_to_Go(goSlice *[]GoalStatusArray, cSlice CGoalStatusArray__Sequence)
- func GoalStatus__Array_to_C(cSlice []CGoalStatus, goSlice []GoalStatus)
- func GoalStatus__Array_to_Go(goSlice []GoalStatus, cSlice []CGoalStatus)
- func GoalStatus__Sequence_to_C(cSlice *CGoalStatus__Sequence, goSlice []GoalStatus)
- func GoalStatus__Sequence_to_Go(goSlice *[]GoalStatus, cSlice CGoalStatus__Sequence)
- type CGoalInfo
- type CGoalInfo__Sequence
- type CGoalStatus
- type CGoalStatusArray
- type CGoalStatusArray__Sequence
- type CGoalStatus__Sequence
- type GoalInfo
- type GoalStatus
- type GoalStatusArray
Constants ¶
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 ¶
var GoalInfoTypeSupport types.MessageTypeSupport = _GoalInfoTypeSupport{}
Modifying this variable is undefined behavior.
var GoalStatusArrayTypeSupport types.MessageTypeSupport = _GoalStatusArrayTypeSupport{}
Modifying this variable is undefined behavior.
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_Go ¶
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 CGoalInfo__Sequence ¶
type CGoalInfo__Sequence = C.action_msgs__msg__GoalInfo__Sequence
type CGoalStatus ¶
type CGoalStatus = C.action_msgs__msg__GoalStatus
type CGoalStatusArray ¶
type CGoalStatusArray = C.action_msgs__msg__GoalStatusArray
type CGoalStatusArray__Sequence ¶
type CGoalStatusArray__Sequence = C.action_msgs__msg__GoalStatusArray__Sequence
type CGoalStatus__Sequence ¶
type CGoalStatus__Sequence = C.action_msgs__msg__GoalStatus__Sequence
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) 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()