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