Documentation ¶
Index ¶
- Constants
- Variables
- func CloneGoalIDSlice(dst, src []GoalID)
- func CloneGoalStatusArraySlice(dst, src []GoalStatusArray)
- func CloneGoalStatusSlice(dst, src []GoalStatus)
- func GoalID__Array_to_C(cSlice []CGoalID, goSlice []GoalID)
- func GoalID__Array_to_Go(goSlice []GoalID, cSlice []CGoalID)
- func GoalID__Sequence_to_C(cSlice *CGoalID__Sequence, goSlice []GoalID)
- func GoalID__Sequence_to_Go(goSlice *[]GoalID, cSlice CGoalID__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 CGoalID
- type CGoalID__Sequence
- type CGoalStatus
- type CGoalStatusArray
- type CGoalStatusArray__Sequence
- type CGoalStatus__Sequence
- type GoalID
- type GoalStatus
- type GoalStatusArray
Constants ¶
const ( GoalStatus_PENDING uint8 = 0 // The goal has yet to be processed by the action server. GoalStatus_ACTIVE uint8 = 1 // The goal is currently being processed by the action server. GoalStatus_PREEMPTED uint8 = 2 // The goal received a cancel request after it started executing GoalStatus_SUCCEEDED uint8 = 3 // The goal was achieved successfully by the action server. and has since completed its execution (Terminal State). GoalStatus_ABORTED uint8 = 4 // The goal was aborted during execution by the action server due. and has since completed its execution (Terminal State).(Terminal State). GoalStatus_REJECTED uint8 = 5 // The goal was rejected by the action server without being processed,. and has since completed its execution (Terminal State).(Terminal State).to some failure (Terminal State). GoalStatus_PREEMPTING uint8 = 6 // The goal received a cancel request after it started executing. and has since completed its execution (Terminal State).(Terminal State).to some failure (Terminal State).because the goal was unattainable or invalid (Terminal State). GoalStatus_RECALLING uint8 = 7 // The goal received a cancel request before it started executing, but. and has since completed its execution (Terminal State).(Terminal State).to some failure (Terminal State).because the goal was unattainable or invalid (Terminal State).and has not yet completed execution. GoalStatus_RECALLED uint8 = 8 // The goal received a cancel request before it started executing. and has since completed its execution (Terminal State).(Terminal State).to some failure (Terminal State).because the goal was unattainable or invalid (Terminal State).and has not yet completed execution.the action server has not yet confirmed that the goal is canceled. GoalStatus_LOST uint8 = 9 // An action client can determine that a goal is LOST. This should not. and has since completed its execution (Terminal State).(Terminal State).to some failure (Terminal State).because the goal was unattainable or invalid (Terminal State).and has not yet completed execution.the action server has not yet confirmed that the goal is canceled.and was successfully cancelled (Terminal State). )
Variables ¶
var GoalIDTypeSupport types.MessageTypeSupport = _GoalIDTypeSupport{}
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 CloneGoalIDSlice ¶
func CloneGoalIDSlice(dst, src []GoalID)
CloneGoalIDSlice 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 GoalID__Array_to_C ¶
func GoalID__Array_to_Go ¶
func GoalID__Sequence_to_C ¶
func GoalID__Sequence_to_C(cSlice *CGoalID__Sequence, goSlice []GoalID)
func GoalID__Sequence_to_Go ¶
func GoalID__Sequence_to_Go(goSlice *[]GoalID, cSlice CGoalID__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 CGoalID ¶
type CGoalID = C.actionlib_msgs__msg__GoalID
type CGoalID__Sequence ¶
type CGoalID__Sequence = C.actionlib_msgs__msg__GoalID__Sequence
type CGoalStatus ¶
type CGoalStatus = C.actionlib_msgs__msg__GoalStatus
type CGoalStatusArray ¶
type CGoalStatusArray = C.actionlib_msgs__msg__GoalStatusArray
type CGoalStatusArray__Sequence ¶
type CGoalStatusArray__Sequence = C.actionlib_msgs__msg__GoalStatusArray__Sequence
type CGoalStatus__Sequence ¶
type CGoalStatus__Sequence = C.actionlib_msgs__msg__GoalStatus__Sequence
type GoalID ¶
type GoalID struct { Stamp builtin_interfaces_msg.Time `yaml:"stamp"` // The stamp should store the time at which this goal was requested.It is used by an action server when it tries to preempt allgoals that were requested before a certain time Id string `yaml:"id"` // The id provides a way to associate feedback andresult message with specific goal requests. The idspecified must be unique. }
Do not create instances of this type directly. Always use NewGoalID function instead.
func (*GoalID) SetDefaults ¶
func (t *GoalID) SetDefaults()
type GoalStatus ¶
type GoalStatus struct { GoalId GoalID `yaml:"goal_id"` Status uint8 `yaml:"status"` Text string `yaml:"text"` // Allow for the user to associate a string with GoalStatus for debugging. }
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 { Header std_msgs_msg.Header `yaml:"header"` // Stores the statuses for goals that are currently being trackedby an action server StatusList []GoalStatus `yaml:"status_list"` // Stores the statuses for goals that are currently being trackedby an action server }
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()