|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
57 #ifndef YARP_ROSMSG_visualization_msgs_InteractiveMarkerFeedback_h
58 #define YARP_ROSMSG_visualization_msgs_InteractiveMarkerFeedback_h
361 static constexpr
const char*
typeName =
"visualization_msgs/InteractiveMarkerFeedback";
364 static constexpr
const char*
typeChecksum =
"ab0f1eee058667e28c19ff3ffc3f4b78";
368 # Time/frame info.\n\
371 # Identifying string. Must be unique in the topic namespace.\n\
374 # Feedback message sent back from the GUI, e.g.\n\
375 # when the status of an interactive marker was modified by the user.\n\
377 # Specifies which interactive marker and control this message refers to\n\
378 string marker_name\n\
379 string control_name\n\
381 # Type of the event\n\
382 # KEEP_ALIVE: sent while dragging to keep up control of the marker\n\
383 # MENU_SELECT: a menu entry has been selected\n\
384 # BUTTON_CLICK: a button control has been clicked\n\
385 # POSE_UPDATE: the pose has been changed using one of the controls\n\
386 uint8 KEEP_ALIVE = 0\n\
387 uint8 POSE_UPDATE = 1\n\
388 uint8 MENU_SELECT = 2\n\
389 uint8 BUTTON_CLICK = 3\n\
391 uint8 MOUSE_DOWN = 4\n\
392 uint8 MOUSE_UP = 5\n\
396 # Current pose of the marker\n\
397 # Note: Has to be valid for all feedback types.\n\
398 geometry_msgs/Pose pose\n\
400 # Contains the ID of the selected menu entry\n\
401 # Only valid for MENU_SELECT events.\n\
402 uint32 menu_entry_id\n\
404 # If event_type is BUTTON_CLICK, MOUSE_DOWN, or MOUSE_UP, mouse_point\n\
405 # may contain the 3 dimensional position of the event on the\n\
406 # control. If it does, mouse_point_valid will be true. mouse_point\n\
407 # will be relative to the frame listed in the header.\n\
408 geometry_msgs/Point mouse_point\n\
409 bool mouse_point_valid\n\
411 ================================================================================\n\
412 MSG: std_msgs/Header\n\
413 # Standard metadata for higher-level stamped data types.\n\
414 # This is generally used to communicate timestamped data \n\
415 # in a particular coordinate frame.\n\
417 # sequence ID: consecutively increasing ID \n\
419 #Two-integer timestamp that is expressed as:\n\
420 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
421 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
422 # time-handling sugar is provided by the client library\n\
424 #Frame this data is associated with\n\
429 ================================================================================\n\
430 MSG: geometry_msgs/Pose\n\
431 # A representation of pose in free space, composed of position and orientation. \n\
433 Quaternion orientation\n\
435 ================================================================================\n\
436 MSG: geometry_msgs/Point\n\
437 # This contains the position of a point in free space\n\
442 ================================================================================\n\
443 MSG: geometry_msgs/Quaternion\n\
444 # This represents an orientation in free space in quaternion form.\n\
465 #endif // YARP_ROSMSG_visualization_msgs_InteractiveMarkerFeedback_h
InteractiveMarkerFeedback()
bool readString(std::string &str, bool *is_vocab=nullptr)
virtual void appendBlock(const char *data, size_t len)=0
Send a block of data to the network connection.
static const std::uint8_t POSE_UPDATE
bool readBottle(yarp::os::ConnectionReader &connection) override
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static const std::uint8_t MOUSE_UP
virtual bool read(yarp::os::idl::WireReader &reader)
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.
yarp::os::Type getType() const override
#define BOTTLE_TAG_STRING
yarp::os::idl::BottleStyle< yarp::rosmsg::visualization_msgs::InteractiveMarkerFeedback > bottleStyle
bool writeBare(yarp::os::ConnectionWriter &connection) const override
yarp::rosmsg::geometry_msgs::Pose pose
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
virtual std::int8_t expectInt8()=0
Read a 8-bit integer from the network connection.
bool readBare(yarp::os::ConnectionReader &connection) override
virtual bool isError() const =0
static Type byName(const char *name)
virtual std::int32_t expectInt32()=0
Read a 32-bit integer from the network connection.
Type & addProperty(const char *key, const Value &val)
yarp::rosmsg::geometry_msgs::Point mouse_point
An interface for writing to a network connection.
yarp::rosmsg::std_msgs::Header header
virtual bool isError() const =0
yarp::os::idl::BareStyle< yarp::rosmsg::visualization_msgs::InteractiveMarkerFeedback > rosStyle
static constexpr const char * typeText
virtual bool convertTextMode()=0
Reads in a standard description in text mode, and converts it to a standard description in binary.
static constexpr const char * typeChecksum
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.
virtual bool convertTextMode()=0
Converts a standard description in binary into a textual description, if the connection is in text-mo...
static const std::uint8_t MOUSE_DOWN
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.
static const std::uint8_t KEEP_ALIVE
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
std::int32_t expectInt32()
The main, catch-all namespace for YARP.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static const std::uint8_t BUTTON_CLICK
static constexpr const char * typeName
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 const std::uint8_t MENU_SELECT
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
std::uint32_t menu_entry_id
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual bool write(const yarp::os::idl::WireWriter &writer) const