13#ifndef YARP_ROSMSG_visualization_msgs_MarkerArray_h
14#define YARP_ROSMSG_visualization_msgs_MarkerArray_h
30 std::vector<yarp::rosmsg::visualization_msgs::Marker>
markers;
48 for (
int i=0; i<len; i++) {
71 for (
int i=0; i<len; i++) {
91 for (
size_t i=0; i<
markers.size(); i++) {
108 for (
size_t i=0; i<
markers.size(); i++) {
131 static constexpr const char*
typeName =
"visualization_msgs/MarkerArray";
134 static constexpr const char*
typeChecksum =
"d155b9ce5188fbaf89745847fd5882d7";
140================================================================================\n\
141MSG: visualization_msgs/Marker\n\
142# See http://www.ros.org/wiki/rviz/DisplayTypes/Marker and http://www.ros.org/wiki/rviz/Tutorials/Markers%3A%20Basic%20Shapes for more information on using this message with rviz\n\
151uint8 SPHERE_LIST=7\n\
153uint8 TEXT_VIEW_FACING=9\n\
154uint8 MESH_RESOURCE=10\n\
155uint8 TRIANGLE_LIST=11\n\
162Header header # header for time/frame information\n\
163string ns # Namespace to place this object in... used in conjunction with id to create a unique name for the object\n\
164int32 id # object ID useful in conjunction with the namespace for manipulating and deleting the object later\n\
165int32 type # Type of object\n\
166int32 action # 0 add/modify an object, 1 (deprecated), 2 deletes an object, 3 deletes all objects\n\
167geometry_msgs/Pose pose # Pose of the object\n\
168geometry_msgs/Vector3 scale # Scale of the object 1,1,1 means default (usually 1 meter square)\n\
169std_msgs/ColorRGBA color # Color [0.0-1.0]\n\
170duration lifetime # How long the object should last before being automatically deleted. 0 means forever\n\
171bool frame_locked # If this marker should be frame-locked, i.e. retransformed into its frame every timestep\n\
173#Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n\
174geometry_msgs/Point[] points\n\
175#Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n\
176#number of colors must either be 0 or equal to the number of points\n\
177#NOTE: alpha is not yet used\n\
178std_msgs/ColorRGBA[] colors\n\
180# NOTE: only used for text markers\n\
183# NOTE: only used for MESH_RESOURCE markers\n\
184string mesh_resource\n\
185bool mesh_use_embedded_materials\n\
187================================================================================\n\
188MSG: std_msgs/Header\n\
189# Standard metadata for higher-level stamped data types.\n\
190# This is generally used to communicate timestamped data \n\
191# in a particular coordinate frame.\n\
193# sequence ID: consecutively increasing ID \n\
195#Two-integer timestamp that is expressed as:\n\
196# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
197# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
198# time-handling sugar is provided by the client library\n\
200#Frame this data is associated with\n\
205================================================================================\n\
206MSG: geometry_msgs/Pose\n\
207# A representation of pose in free space, composed of position and orientation. \n\
209Quaternion orientation\n\
211================================================================================\n\
212MSG: geometry_msgs/Point\n\
213# This contains the position of a point in free space\n\
218================================================================================\n\
219MSG: geometry_msgs/Quaternion\n\
220# This represents an orientation in free space in quaternion form.\n\
227================================================================================\n\
228MSG: geometry_msgs/Vector3\n\
229# This represents a vector in free space. \n\
230# It is only meant to represent a direction. Therefore, it does not\n\
231# make sense to apply a translation to it (e.g., when applying a \n\
232# generic rigid transformation to a Vector3, tf2 will only apply the\n\
233# rotation). If you want your data to be translatable too, use the\n\
234# geometry_msgs/Point message instead.\n\
239================================================================================\n\
240MSG: std_msgs/ColorRGBA\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 read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
std::vector< yarp::rosmsg::visualization_msgs::Marker > markers
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
yarp::os::idl::BottleStyle< yarp::rosmsg::visualization_msgs::MarkerArray > bottleStyle
bool readBottle(yarp::os::ConnectionReader &connection) override
yarp::os::Type getType() const override
static constexpr const char * typeChecksum
static constexpr const char * typeText
bool readBare(yarp::os::ConnectionReader &connection) override
yarp::os::idl::BareStyle< yarp::rosmsg::visualization_msgs::MarkerArray > rosStyle
bool writeBare(yarp::os::ConnectionWriter &connection) const override
static constexpr const char * typeName
The main, catch-all namespace for YARP.