Go to the documentation of this file.
6 #ifndef VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKERINIT_H
7 #define VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKERINIT_H
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
23 template <
class ContainerAllocator>
42 typedef std::basic_string<char, std::char_traits<char>,
typename ContainerAllocator::template rebind<char>::other >
_server_id_type;
48 typedef std::vector< ::visualization_msgs::InteractiveMarker_<ContainerAllocator> ,
typename ContainerAllocator::template rebind< ::visualization_msgs::InteractiveMarker_<ContainerAllocator> >::other >
_markers_type;
55 typedef std::shared_ptr< ::visualization_msgs::InteractiveMarkerInit_<ContainerAllocator> >
Ptr;
56 typedef std::shared_ptr< ::visualization_msgs::InteractiveMarkerInit_<ContainerAllocator>
const>
ConstPtr;
69 template<
typename ContainerAllocator>
70 std::ostream&
operator<<(std::ostream& s, const ::visualization_msgs::InteractiveMarkerInit_<ContainerAllocator> & v)
77 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
78 bool operator==(const ::visualization_msgs::InteractiveMarkerInit_<ContainerAllocator1> & lhs, const ::visualization_msgs::InteractiveMarkerInit_<ContainerAllocator2> & rhs)
80 return lhs.server_id == rhs.server_id &&
81 lhs.seq_num == rhs.seq_num &&
82 lhs.markers == rhs.markers;
85 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
86 bool operator!=(const ::visualization_msgs::InteractiveMarkerInit_<ContainerAllocator1> & lhs, const ::visualization_msgs::InteractiveMarkerInit_<ContainerAllocator2> & rhs)
96 namespace message_traits
103 template <
class ContainerAllocator>
108 template <
class ContainerAllocator>
113 template <
class ContainerAllocator>
118 template <
class ContainerAllocator>
123 template <
class ContainerAllocator>
128 template <
class ContainerAllocator>
134 template<
class ContainerAllocator>
139 return "d5f2c5045a72456d228676ab91048734";
142 static const char*
value(const ::visualization_msgs::InteractiveMarkerInit_<ContainerAllocator>&) {
return value(); }
143 static const uint64_t static_value1 = 0xd5f2c5045a72456dULL;
144 static const uint64_t static_value2 = 0x228676ab91048734ULL;
147 template<
class ContainerAllocator>
152 return "visualization_msgs/InteractiveMarkerInit";
155 static const char*
value(const ::visualization_msgs::InteractiveMarkerInit_<ContainerAllocator>&) {
return value(); }
158 template<
class ContainerAllocator>
163 return "# Identifying string. Must be unique in the topic namespace\n"
164 "# that this server works on.\n"
167 "# Sequence number.\n"
168 "# The client will use this to detect if it has missed a subsequent\n"
169 "# update. Every update message will have the same sequence number as\n"
170 "# an init message. Clients will likely want to unsubscribe from the\n"
171 "# init topic after a successful initialization to avoid receiving\n"
172 "# duplicate data.\n"
176 "InteractiveMarker[] markers\n"
178 "================================================================================\n"
179 "MSG: visualization_msgs/InteractiveMarker\n"
180 "# Time/frame info.\n"
181 "# If header.time is set to 0, the marker will be retransformed into\n"
182 "# its frame on each timestep. You will receive the pose feedback\n"
183 "# in the same frame.\n"
184 "# Otherwise, you might receive feedback in a different frame.\n"
185 "# For rviz, this will be the current 'fixed frame' set by the user.\n"
188 "# Initial pose. Also, defines the pivot point for rotations.\n"
189 "geometry_msgs/Pose pose\n"
191 "# Identifying string. Must be globally unique in\n"
192 "# the topic that this message is sent through.\n"
195 "# Short description (< 40 characters).\n"
196 "string description\n"
198 "# Scale to be used for default controls (default=1).\n"
201 "# All menu and submenu entries associated with this marker.\n"
202 "MenuEntry[] menu_entries\n"
204 "# List of controls displayed for this marker.\n"
205 "InteractiveMarkerControl[] controls\n"
207 "================================================================================\n"
208 "MSG: std_msgs/Header\n"
209 "# Standard metadata for higher-level stamped data types.\n"
210 "# This is generally used to communicate timestamped data \n"
211 "# in a particular coordinate frame.\n"
213 "# sequence ID: consecutively increasing ID \n"
215 "#Two-integer timestamp that is expressed as:\n"
216 "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
217 "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
218 "# time-handling sugar is provided by the client library\n"
220 "#Frame this data is associated with\n"
223 "================================================================================\n"
224 "MSG: geometry_msgs/Pose\n"
225 "# A representation of pose in free space, composed of position and orientation. \n"
227 "Quaternion orientation\n"
229 "================================================================================\n"
230 "MSG: geometry_msgs/Point\n"
231 "# This contains the position of a point in free space\n"
236 "================================================================================\n"
237 "MSG: geometry_msgs/Quaternion\n"
238 "# This represents an orientation in free space in quaternion form.\n"
245 "================================================================================\n"
246 "MSG: visualization_msgs/MenuEntry\n"
247 "# MenuEntry message.\n"
249 "# Each InteractiveMarker message has an array of MenuEntry messages.\n"
250 "# A collection of MenuEntries together describe a\n"
251 "# menu/submenu/subsubmenu/etc tree, though they are stored in a flat\n"
252 "# array. The tree structure is represented by giving each menu entry\n"
253 "# an ID number and a \"parent_id\" field. Top-level entries are the\n"
254 "# ones with parent_id = 0. Menu entries are ordered within their\n"
255 "# level the same way they are ordered in the containing array. Parent\n"
256 "# entries must appear before their children.\n"
261 "# title = \"fun\"\n"
264 "# title = \"robot\"\n"
267 "# title = \"pr2\"\n"
270 "# title = \"turtle\"\n"
272 "# Gives a menu tree like this:\n"
278 "# ID is a number for each menu entry. Must be unique within the\n"
279 "# control, and should never be 0.\n"
282 "# ID of the parent of this menu entry, if it is a submenu. If this\n"
283 "# menu entry is a top-level entry, set parent_id to 0.\n"
286 "# menu / entry title\n"
289 "# Arguments to command indicated by command_type (below)\n"
292 "# Command_type stores the type of response desired when this menu\n"
293 "# entry is clicked.\n"
294 "# FEEDBACK: send an InteractiveMarkerFeedback message with menu_entry_id set to this entry's id.\n"
295 "# ROSRUN: execute \"rosrun\" with arguments given in the command field (above).\n"
296 "# ROSLAUNCH: execute \"roslaunch\" with arguments given in the command field (above).\n"
299 "uint8 ROSLAUNCH=2\n"
300 "uint8 command_type\n"
302 "================================================================================\n"
303 "MSG: visualization_msgs/InteractiveMarkerControl\n"
304 "# Represents a control that is to be displayed together with an interactive marker\n"
306 "# Identifying string for this control.\n"
307 "# You need to assign a unique value to this to receive feedback from the GUI\n"
308 "# on what actions the user performs on this control (e.g. a button click).\n"
312 "# Defines the local coordinate frame (relative to the pose of the parent\n"
313 "# interactive marker) in which is being rotated and translated.\n"
314 "# Default: Identity\n"
315 "geometry_msgs/Quaternion orientation\n"
318 "# Orientation mode: controls how orientation changes.\n"
319 "# INHERIT: Follow orientation of interactive marker\n"
320 "# FIXED: Keep orientation fixed at initial state\n"
321 "# VIEW_FACING: Align y-z plane with screen (x: forward, y:left, z:up).\n"
322 "uint8 INHERIT = 0 \n"
324 "uint8 VIEW_FACING = 2\n"
326 "uint8 orientation_mode\n"
328 "# Interaction mode for this control\n"
330 "# NONE: This control is only meant for visualization; no context menu.\n"
331 "# MENU: Like NONE, but right-click menu is active.\n"
332 "# BUTTON: Element can be left-clicked.\n"
333 "# MOVE_AXIS: Translate along local x-axis.\n"
334 "# MOVE_PLANE: Translate in local y-z plane.\n"
335 "# ROTATE_AXIS: Rotate around local x-axis.\n"
336 "# MOVE_ROTATE: Combines MOVE_PLANE and ROTATE_AXIS.\n"
340 "uint8 MOVE_AXIS = 3 \n"
341 "uint8 MOVE_PLANE = 4\n"
342 "uint8 ROTATE_AXIS = 5\n"
343 "uint8 MOVE_ROTATE = 6\n"
344 "# \"3D\" interaction modes work with the mouse+SHIFT+CTRL or with 3D cursors.\n"
345 "# MOVE_3D: Translate freely in 3D space.\n"
346 "# ROTATE_3D: Rotate freely in 3D space about the origin of parent frame.\n"
347 "# MOVE_ROTATE_3D: Full 6-DOF freedom of translation and rotation about the cursor origin.\n"
348 "uint8 MOVE_3D = 7\n"
349 "uint8 ROTATE_3D = 8\n"
350 "uint8 MOVE_ROTATE_3D = 9\n"
352 "uint8 interaction_mode\n"
355 "# If true, the contained markers will also be visible\n"
356 "# when the gui is not in interactive mode.\n"
357 "bool always_visible\n"
360 "# Markers to be displayed as custom visual representation.\n"
361 "# Leave this empty to use the default control handles.\n"
364 "# - The markers can be defined in an arbitrary coordinate frame,\n"
365 "# but will be transformed into the local frame of the interactive marker.\n"
366 "# - If the header of a marker is empty, its pose will be interpreted as \n"
367 "# relative to the pose of the parent interactive marker.\n"
371 "# In VIEW_FACING mode, set this to true if you don't want the markers\n"
372 "# to be aligned with the camera view point. The markers will show up\n"
373 "# as in INHERIT mode.\n"
374 "bool independent_marker_orientation\n"
377 "# Short description (< 40 characters) of what this control does,\n"
378 "# e.g. \"Move the robot\". \n"
379 "# Default: A generic description based on the interaction mode\n"
380 "string description\n"
382 "================================================================================\n"
383 "MSG: visualization_msgs/Marker\n"
384 "# 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"
390 "uint8 LINE_STRIP=4\n"
391 "uint8 LINE_LIST=5\n"
392 "uint8 CUBE_LIST=6\n"
393 "uint8 SPHERE_LIST=7\n"
395 "uint8 TEXT_VIEW_FACING=9\n"
396 "uint8 MESH_RESOURCE=10\n"
397 "uint8 TRIANGLE_LIST=11\n"
402 "uint8 DELETEALL=3\n"
404 "Header header # header for time/frame information\n"
405 "string ns # Namespace to place this object in... used in conjunction with id to create a unique name for the object\n"
406 "int32 id # object ID useful in conjunction with the namespace for manipulating and deleting the object later\n"
407 "int32 type # Type of object\n"
408 "int32 action # 0 add/modify an object, 1 (deprecated), 2 deletes an object, 3 deletes all objects\n"
409 "geometry_msgs/Pose pose # Pose of the object\n"
410 "geometry_msgs/Vector3 scale # Scale of the object 1,1,1 means default (usually 1 meter square)\n"
411 "std_msgs/ColorRGBA color # Color [0.0-1.0]\n"
412 "duration lifetime # How long the object should last before being automatically deleted. 0 means forever\n"
413 "bool frame_locked # If this marker should be frame-locked, i.e. retransformed into its frame every timestep\n"
415 "#Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n"
416 "geometry_msgs/Point[] points\n"
417 "#Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n"
418 "#number of colors must either be 0 or equal to the number of points\n"
419 "#NOTE: alpha is not yet used\n"
420 "std_msgs/ColorRGBA[] colors\n"
422 "# NOTE: only used for text markers\n"
425 "# NOTE: only used for MESH_RESOURCE markers\n"
426 "string mesh_resource\n"
427 "bool mesh_use_embedded_materials\n"
429 "================================================================================\n"
430 "MSG: geometry_msgs/Vector3\n"
431 "# This represents a vector in free space. \n"
432 "# It is only meant to represent a direction. Therefore, it does not\n"
433 "# make sense to apply a translation to it (e.g., when applying a \n"
434 "# generic rigid transformation to a Vector3, tf2 will only apply the\n"
435 "# rotation). If you want your data to be translatable too, use the\n"
436 "# geometry_msgs/Point message instead.\n"
441 "================================================================================\n"
442 "MSG: std_msgs/ColorRGBA\n"
450 static const char*
value(const ::visualization_msgs::InteractiveMarkerInit_<ContainerAllocator>&) {
return value(); }
458 namespace serialization
463 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
465 stream.next(m.server_id);
466 stream.next(m.seq_num);
467 stream.next(m.markers);
478 namespace message_operations
481 template<
class ContainerAllocator>
484 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::visualization_msgs::InteractiveMarkerInit_<ContainerAllocator>& v)
490 s <<
indent <<
"markers[]" << std::endl;
491 for (
size_t i = 0; i < v.markers.size(); ++i)
493 s <<
indent <<
" markers[" << i <<
"]: ";
504 #endif // VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKERINIT_H
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
bool operator!=(const ::visualization_msgs::ImageMarker_< ContainerAllocator1 > &lhs, const ::visualization_msgs::ImageMarker_< ContainerAllocator2 > &rhs)
std::vector< ::visualization_msgs::InteractiveMarker_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::visualization_msgs::InteractiveMarker_< ContainerAllocator > >::other > _markers_type
Templated serialization class. Default implementation provides backwards compatibility with old messa...
_server_id_type server_id
static void stream(Stream &s, const std::string &indent, const M &value)
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
static const char * value(const ::visualization_msgs::InteractiveMarkerInit_< ContainerAllocator > &)
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
bool operator==(const ::visualization_msgs::ImageMarker_< ContainerAllocator1 > &lhs, const ::visualization_msgs::ImageMarker_< ContainerAllocator2 > &rhs)
Specialize to provide the datatype for a message.
Specialize to provide the definition for a message.
std::shared_ptr< ::visualization_msgs::InteractiveMarkerInit const > InteractiveMarkerInitConstPtr
static const char * value()
std::ostream & operator<<(std::ostream &s, const ::visualization_msgs::ImageMarker_< ContainerAllocator > &v)
static void allInOne(Stream &stream, T m)
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _server_id_type
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
std::shared_ptr< ::visualization_msgs::InteractiveMarkerInit > InteractiveMarkerInitPtr
static const char * value()
::visualization_msgs::InteractiveMarkerInit_< std::allocator< void > > InteractiveMarkerInit
static const char * value(const ::visualization_msgs::InteractiveMarkerInit_< ContainerAllocator > &)
Stream base-class, provides common functionality for IStream and OStream.
InteractiveMarkerInit_< ContainerAllocator > Type
std::shared_ptr< ::visualization_msgs::InteractiveMarkerInit_< ContainerAllocator > > Ptr
static const char * value(const ::visualization_msgs::InteractiveMarkerInit_< ContainerAllocator > &)
std::shared_ptr< ::visualization_msgs::InteractiveMarkerInit_< ContainerAllocator > const > ConstPtr
static void stream(Stream &s, const std::string &indent, const ::visualization_msgs::InteractiveMarkerInit_< ContainerAllocator > &v)
InteractiveMarkerInit_(const ContainerAllocator &_alloc)
static const char * value()
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:08