|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
20 #ifndef YARP_ROSMSG_actionlib_msgs_GoalStatusArray_h
21 #define YARP_ROSMSG_actionlib_msgs_GoalStatusArray_h
39 std::vector<yarp::rosmsg::actionlib_msgs::GoalStatus>
status_list;
66 for (
int i=0; i<len; i++) {
94 for (
int i=0; i<len; i++) {
164 static constexpr
const char*
typeName =
"actionlib_msgs/GoalStatusArray";
167 static constexpr
const char*
typeChecksum =
"8b2b82f13216d0a8ea88bd3af735e619";
171 # Stores the statuses for goals that are currently being tracked\n\
172 # by an action server\n\
174 GoalStatus[] status_list\n\
177 ================================================================================\n\
178 MSG: std_msgs/Header\n\
179 # Standard metadata for higher-level stamped data types.\n\
180 # This is generally used to communicate timestamped data \n\
181 # in a particular coordinate frame.\n\
183 # sequence ID: consecutively increasing ID \n\
185 #Two-integer timestamp that is expressed as:\n\
186 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
187 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
188 # time-handling sugar is provided by the client library\n\
190 #Frame this data is associated with\n\
195 ================================================================================\n\
196 MSG: actionlib_msgs/GoalStatus\n\
199 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
200 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
201 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
202 # and has since completed its execution (Terminal State)\n\
203 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
204 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
205 # to some failure (Terminal State)\n\
206 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
207 # because the goal was unattainable or invalid (Terminal State)\n\
208 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
209 # and has not yet completed execution\n\
210 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
211 # but the action server has not yet confirmed that the goal is canceled\n\
212 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
213 # and was successfully cancelled (Terminal State)\n\
214 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
215 # sent over the wire by an action server\n\
217 #Allow for the user to associate a string with GoalStatus for debugging\n\
221 ================================================================================\n\
222 MSG: actionlib_msgs/GoalID\n\
223 # The stamp should store the time at which this goal was requested.\n\
224 # It is used by an action server when it tries to preempt all\n\
225 # goals that were requested before a certain time\n\
228 # The id provides a way to associate feedback and\n\
229 # result message with specific goal requests. The id\n\
230 # specified must be unique.\n\
248 #endif // YARP_ROSMSG_actionlib_msgs_GoalStatusArray_h
bool readBare(yarp::os::ConnectionReader &connection) override
bool writeBare(yarp::os::ConnectionWriter &connection) const override
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual bool read(yarp::os::idl::WireReader &reader)
virtual bool isBareMode() const =0
Check if the connection is bare mode.
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
static constexpr const char * typeName
yarp::os::Type getType() const override
virtual bool isError() const =0
static Type byName(const char *name)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
virtual std::int32_t expectInt32()=0
Read a 32-bit integer from the network connection.
Type & addProperty(const char *key, const Value &val)
An interface for writing to a network connection.
virtual bool isError() const =0
virtual bool convertTextMode()=0
Reads in a standard description in text mode, and converts it to a standard description in binary.
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
virtual bool isBareMode() const =0
Check if the connection is bare mode.
static constexpr const char * typeText
virtual bool convertTextMode()=0
Converts a standard description in binary into a textual description, if the connection is in text-mo...
virtual void appendInt32(std::int32_t data)=0
Send a representation of a 32-bit integer to the network connection.
bool readBottle(yarp::os::ConnectionReader &connection) override
IDL-friendly connection reader.
An interface for reading from a network connection.
yarp::os::idl::BareStyle< yarp::rosmsg::actionlib_msgs::GoalStatusArray > rosStyle
std::vector< yarp::rosmsg::actionlib_msgs::GoalStatus > status_list
yarp::rosmsg::std_msgs::Header header
static constexpr const char * typeChecksum
The main, catch-all namespace for YARP.
A single value (typically within a Bottle).
yarp::os::idl::BottleStyle< yarp::rosmsg::actionlib_msgs::GoalStatusArray > bottleStyle
virtual bool write(const yarp::os::idl::WireWriter &writer) const