|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
38 #ifndef YARP_ROSMSG_actionlib_msgs_GoalStatus_h
39 #define YARP_ROSMSG_actionlib_msgs_GoalStatus_h
58 static const std::uint8_t
ACTIVE = 1;
66 static const std::uint8_t
LOST = 9;
212 static constexpr
const char*
typeName =
"actionlib_msgs/GoalStatus";
215 static constexpr
const char*
typeChecksum =
"d388f9b87b3c471f784434d671988d4a";
221 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
222 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
223 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
224 # and has since completed its execution (Terminal State)\n\
225 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
226 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
227 # to some failure (Terminal State)\n\
228 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
229 # because the goal was unattainable or invalid (Terminal State)\n\
230 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
231 # and has not yet completed execution\n\
232 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
233 # but the action server has not yet confirmed that the goal is canceled\n\
234 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
235 # and was successfully cancelled (Terminal State)\n\
236 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
237 # sent over the wire by an action server\n\
239 #Allow for the user to associate a string with GoalStatus for debugging\n\
243 ================================================================================\n\
244 MSG: actionlib_msgs/GoalID\n\
245 # The stamp should store the time at which this goal was requested.\n\
246 # It is used by an action server when it tries to preempt all\n\
247 # goals that were requested before a certain time\n\
250 # The id provides a way to associate feedback and\n\
251 # result message with specific goal requests. The id\n\
252 # specified must be unique.\n\
270 #endif // YARP_ROSMSG_actionlib_msgs_GoalStatus_h
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool readString(std::string &str, bool *is_vocab=nullptr)
virtual bool read(yarp::os::idl::WireReader &reader)
static const std::uint8_t RECALLED
virtual void appendInt8(std::int8_t data)=0
Send a representation of a 8-bit integer to the network connection.
virtual bool isBareMode() const =0
Check if the connection is bare mode.
static constexpr const char * typeName
#define BOTTLE_TAG_STRING
static const std::uint8_t LOST
yarp::os::idl::BareStyle< yarp::rosmsg::actionlib_msgs::GoalStatus > rosStyle
virtual std::int8_t expectInt8()=0
Read a 8-bit integer from the network connection.
yarp::os::Type getType() const override
static const std::uint8_t PENDING
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
static const std::uint8_t REJECTED
static constexpr const char * typeText
virtual bool isError() const =0
static const std::uint8_t PREEMPTED
bool writeBare(yarp::os::ConnectionWriter &connection) const override
static Type byName(const char *name)
static const std::uint8_t RECALLING
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
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual bool convertTextMode()=0
Reads in a standard description in text mode, and converts it to a standard description in binary.
yarp::rosmsg::actionlib_msgs::GoalID goal_id
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
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 const std::uint8_t SUCCEEDED
static const std::uint8_t ABORTED
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.
IDL-friendly connection reader.
An interface for reading from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool readBare(yarp::os::ConnectionReader &connection) override
The main, catch-all namespace for YARP.
static const std::uint8_t PREEMPTING
static const std::uint8_t ACTIVE
virtual void appendExternalBlock(const char *data, size_t len)=0
Send a block of data to the network connection, without making a copy.
virtual bool expectBlock(char *data, size_t len)=0
Read a block of data from the network connection.
A single value (typically within a Bottle).
static constexpr const char * typeChecksum
bool readBottle(yarp::os::ConnectionReader &connection) override
virtual bool write(const yarp::os::idl::WireWriter &writer) const
yarp::os::idl::BottleStyle< yarp::rosmsg::actionlib_msgs::GoalStatus > bottleStyle