add visualization_msgs
This commit is contained in:
parent
bf1fc3df34
commit
6bac684298
|
|
@ -19,4 +19,7 @@ if (NOT TARGET nav_msgs)
|
|||
endif()
|
||||
if(NOT TARGET map_msgs)
|
||||
add_subdirectory(map_msgs)
|
||||
endif()
|
||||
if(NOT TARGET visualization_msgs)
|
||||
add_subdirectory(visualization_msgs)
|
||||
endif()
|
||||
35
visualization_msgs/CMakeLists.txt
Normal file
35
visualization_msgs/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
cmake_minimum_required(VERSION 3.10)
|
||||
project(visualization_msgs)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
# Thư viện header-only
|
||||
add_library(visualization_msgs INTERFACE)
|
||||
|
||||
# Include path tới thư mục chứa file header
|
||||
target_include_directories(visualization_msgs
|
||||
INTERFACE
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
$<INSTALL_INTERFACE:include>
|
||||
)
|
||||
|
||||
# Liên kết với std_msgs nếu bạn có file Header.h trong include/std_msgs/
|
||||
target_link_libraries(visualization_msgs INTERFACE std_msgs)
|
||||
|
||||
# --- Cài đặt thư viện vào hệ thống khi chạy make install ---
|
||||
install(TARGETS visualization_msgs
|
||||
EXPORT visualization_msgs-targets
|
||||
INCLUDES DESTINATION include # Cài đặt include
|
||||
)
|
||||
|
||||
# --- Xuất export set costmap_2dTargets thành file CMake module ---
|
||||
# --- Tạo file lib/cmake/visualization_msgs/costmap_2dTargets.cmake ---
|
||||
# --- File này chứa cấu hình giúp project khác có thể dùng ---
|
||||
# --- Find_package(visualization_msgs REQUIRED) ---
|
||||
# --- Target_link_libraries(my_app PRIVATE visualization_msgs::visualization_msgs) ---
|
||||
install(EXPORT visualization_msgs-targets
|
||||
FILE visualization_msgs-targets.cmake
|
||||
NAMESPACE visualization_msgs::
|
||||
DESTINATION lib/cmake/visualization_msgs
|
||||
)
|
||||
172
visualization_msgs/include/visualization_msgs/ImageMarker.h
Normal file
172
visualization_msgs/include/visualization_msgs/ImageMarker.h
Normal file
|
|
@ -0,0 +1,172 @@
|
|||
// Generated by gencpp from file visualization_msgs/ImageMarker.msg
|
||||
// DO NOT EDIT!
|
||||
|
||||
|
||||
#ifndef VISUALIZATION_MSGS_MESSAGE_IMAGEMARKER_H
|
||||
#define VISUALIZATION_MSGS_MESSAGE_IMAGEMARKER_H
|
||||
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
#include <std_msgs/Header.h>
|
||||
#include <geometry_msgs/Point.h>
|
||||
#include <std_msgs/ColorRGBA.h>
|
||||
|
||||
namespace visualization_msgs
|
||||
{
|
||||
template <class ContainerAllocator>
|
||||
struct ImageMarker_
|
||||
{
|
||||
typedef ImageMarker_<ContainerAllocator> Type;
|
||||
|
||||
ImageMarker_()
|
||||
: header()
|
||||
, ns()
|
||||
, id(0)
|
||||
, type(0)
|
||||
, action(0)
|
||||
, position()
|
||||
, scale(0.0)
|
||||
, outline_color()
|
||||
, filled(0)
|
||||
, fill_color()
|
||||
, lifetime()
|
||||
, points()
|
||||
, outline_colors() {
|
||||
}
|
||||
ImageMarker_(const ContainerAllocator& _alloc)
|
||||
: header(_alloc)
|
||||
, ns(_alloc)
|
||||
, id(0)
|
||||
, type(0)
|
||||
, action(0)
|
||||
, position(_alloc)
|
||||
, scale(0.0)
|
||||
, outline_color(_alloc)
|
||||
, filled(0)
|
||||
, fill_color(_alloc)
|
||||
, lifetime()
|
||||
, points(_alloc)
|
||||
, outline_colors(_alloc) {
|
||||
(void)_alloc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
|
||||
_header_type header;
|
||||
|
||||
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _ns_type;
|
||||
_ns_type ns;
|
||||
|
||||
typedef int32_t _id_type;
|
||||
_id_type id;
|
||||
|
||||
typedef int32_t _type_type;
|
||||
_type_type type;
|
||||
|
||||
typedef int32_t _action_type;
|
||||
_action_type action;
|
||||
|
||||
typedef ::geometry_msgs::Point_<ContainerAllocator> _position_type;
|
||||
_position_type position;
|
||||
|
||||
typedef float _scale_type;
|
||||
_scale_type scale;
|
||||
|
||||
typedef ::std_msgs::ColorRGBA_<ContainerAllocator> _outline_color_type;
|
||||
_outline_color_type outline_color;
|
||||
|
||||
typedef uint8_t _filled_type;
|
||||
_filled_type filled;
|
||||
|
||||
typedef ::std_msgs::ColorRGBA_<ContainerAllocator> _fill_color_type;
|
||||
_fill_color_type fill_color;
|
||||
|
||||
typedef robot::Duration _lifetime_type;
|
||||
_lifetime_type lifetime;
|
||||
|
||||
typedef std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::geometry_msgs::Point_<ContainerAllocator> >> _points_type;
|
||||
_points_type points;
|
||||
|
||||
typedef std::vector< ::std_msgs::ColorRGBA_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::std_msgs::ColorRGBA_<ContainerAllocator> >> _outline_colors_type;
|
||||
_outline_colors_type outline_colors;
|
||||
|
||||
|
||||
|
||||
// reducing the odds to have name collisions with Windows.h
|
||||
#if defined(_WIN32) && defined(CIRCLE)
|
||||
#undef CIRCLE
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(LINE_STRIP)
|
||||
#undef LINE_STRIP
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(LINE_LIST)
|
||||
#undef LINE_LIST
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(POLYGON)
|
||||
#undef POLYGON
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(POINTS)
|
||||
#undef POINTS
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(ADD)
|
||||
#undef ADD
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(REMOVE)
|
||||
#undef REMOVE
|
||||
#endif
|
||||
|
||||
enum {
|
||||
CIRCLE = 0u,
|
||||
LINE_STRIP = 1u,
|
||||
LINE_LIST = 2u,
|
||||
POLYGON = 3u,
|
||||
POINTS = 4u,
|
||||
ADD = 0u,
|
||||
REMOVE = 1u,
|
||||
};
|
||||
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::ImageMarker_<ContainerAllocator> > Ptr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::ImageMarker_<ContainerAllocator> const> ConstPtr;
|
||||
|
||||
}; // struct ImageMarker_
|
||||
|
||||
typedef ::visualization_msgs::ImageMarker_<std::allocator<void> > ImageMarker;
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::ImageMarker > ImageMarkerPtr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::ImageMarker const> ImageMarkerConstPtr;
|
||||
|
||||
// constants requiring out of line definition
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator==(const ::visualization_msgs::ImageMarker_<ContainerAllocator1> & lhs, const ::visualization_msgs::ImageMarker_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return lhs.header == rhs.header &&
|
||||
lhs.ns == rhs.ns &&
|
||||
lhs.id == rhs.id &&
|
||||
lhs.type == rhs.type &&
|
||||
lhs.action == rhs.action &&
|
||||
lhs.position == rhs.position &&
|
||||
lhs.scale == rhs.scale &&
|
||||
lhs.outline_color == rhs.outline_color &&
|
||||
lhs.filled == rhs.filled &&
|
||||
lhs.fill_color == rhs.fill_color &&
|
||||
lhs.lifetime == rhs.lifetime &&
|
||||
lhs.points == rhs.points &&
|
||||
lhs.outline_colors == rhs.outline_colors;
|
||||
}
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator!=(const ::visualization_msgs::ImageMarker_<ContainerAllocator1> & lhs, const ::visualization_msgs::ImageMarker_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
|
||||
} // namespace visualization_msgs
|
||||
|
||||
#endif // VISUALIZATION_MSGS_MESSAGE_IMAGEMARKER_H
|
||||
|
|
@ -0,0 +1,106 @@
|
|||
// Generated by gencpp from file visualization_msgs/InteractiveMarker.msg
|
||||
// DO NOT EDIT!
|
||||
|
||||
|
||||
#ifndef VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKER_H
|
||||
#define VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKER_H
|
||||
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
#include <std_msgs/Header.h>
|
||||
#include <geometry_msgs/Pose.h>
|
||||
#include <visualization_msgs/MenuEntry.h>
|
||||
#include <visualization_msgs/InteractiveMarkerControl.h>
|
||||
|
||||
namespace visualization_msgs
|
||||
{
|
||||
template <class ContainerAllocator>
|
||||
struct InteractiveMarker_
|
||||
{
|
||||
typedef InteractiveMarker_<ContainerAllocator> Type;
|
||||
|
||||
InteractiveMarker_()
|
||||
: header()
|
||||
, pose()
|
||||
, name()
|
||||
, description()
|
||||
, scale(0.0)
|
||||
, menu_entries()
|
||||
, controls() {
|
||||
}
|
||||
InteractiveMarker_(const ContainerAllocator& _alloc)
|
||||
: header(_alloc)
|
||||
, pose(_alloc)
|
||||
, name(_alloc)
|
||||
, description(_alloc)
|
||||
, scale(0.0)
|
||||
, menu_entries(_alloc)
|
||||
, controls(_alloc) {
|
||||
(void)_alloc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
|
||||
_header_type header;
|
||||
|
||||
typedef ::geometry_msgs::Pose_<ContainerAllocator> _pose_type;
|
||||
_pose_type pose;
|
||||
|
||||
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _name_type;
|
||||
_name_type name;
|
||||
|
||||
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _description_type;
|
||||
_description_type description;
|
||||
|
||||
typedef float _scale_type;
|
||||
_scale_type scale;
|
||||
|
||||
typedef std::vector< ::visualization_msgs::MenuEntry_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::visualization_msgs::MenuEntry_<ContainerAllocator> >> _menu_entries_type;
|
||||
_menu_entries_type menu_entries;
|
||||
|
||||
typedef std::vector< ::visualization_msgs::InteractiveMarkerControl_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::visualization_msgs::InteractiveMarkerControl_<ContainerAllocator> >> _controls_type;
|
||||
_controls_type controls;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarker_<ContainerAllocator> > Ptr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarker_<ContainerAllocator> const> ConstPtr;
|
||||
|
||||
}; // struct InteractiveMarker_
|
||||
|
||||
typedef ::visualization_msgs::InteractiveMarker_<std::allocator<void> > InteractiveMarker;
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarker > InteractiveMarkerPtr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarker const> InteractiveMarkerConstPtr;
|
||||
|
||||
// constants requiring out of line definition
|
||||
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator==(const ::visualization_msgs::InteractiveMarker_<ContainerAllocator1> & lhs, const ::visualization_msgs::InteractiveMarker_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return lhs.header == rhs.header &&
|
||||
lhs.pose == rhs.pose &&
|
||||
lhs.name == rhs.name &&
|
||||
lhs.description == rhs.description &&
|
||||
lhs.scale == rhs.scale &&
|
||||
lhs.menu_entries == rhs.menu_entries &&
|
||||
lhs.controls == rhs.controls;
|
||||
}
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator!=(const ::visualization_msgs::InteractiveMarker_<ContainerAllocator1> & lhs, const ::visualization_msgs::InteractiveMarker_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
|
||||
} // namespace visualization_msgs
|
||||
|
||||
#endif // VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKER_H
|
||||
|
|
@ -0,0 +1,165 @@
|
|||
// Generated by gencpp from file visualization_msgs/InteractiveMarkerControl.msg
|
||||
// DO NOT EDIT!
|
||||
|
||||
|
||||
#ifndef VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKERCONTROL_H
|
||||
#define VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKERCONTROL_H
|
||||
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
#include <geometry_msgs/Quaternion.h>
|
||||
#include <visualization_msgs/Marker.h>
|
||||
|
||||
namespace visualization_msgs
|
||||
{
|
||||
template <class ContainerAllocator>
|
||||
struct InteractiveMarkerControl_
|
||||
{
|
||||
typedef InteractiveMarkerControl_<ContainerAllocator> Type;
|
||||
|
||||
InteractiveMarkerControl_()
|
||||
: name()
|
||||
, orientation()
|
||||
, orientation_mode(0)
|
||||
, interaction_mode(0)
|
||||
, always_visible(false)
|
||||
, markers()
|
||||
, independent_marker_orientation(false)
|
||||
, description() {
|
||||
}
|
||||
InteractiveMarkerControl_(const ContainerAllocator& _alloc)
|
||||
: name(_alloc)
|
||||
, orientation(_alloc)
|
||||
, orientation_mode(0)
|
||||
, interaction_mode(0)
|
||||
, always_visible(false)
|
||||
, markers(_alloc)
|
||||
, independent_marker_orientation(false)
|
||||
, description(_alloc) {
|
||||
(void)_alloc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _name_type;
|
||||
_name_type name;
|
||||
|
||||
typedef ::geometry_msgs::Quaternion_<ContainerAllocator> _orientation_type;
|
||||
_orientation_type orientation;
|
||||
|
||||
typedef uint8_t _orientation_mode_type;
|
||||
_orientation_mode_type orientation_mode;
|
||||
|
||||
typedef uint8_t _interaction_mode_type;
|
||||
_interaction_mode_type interaction_mode;
|
||||
|
||||
typedef uint8_t _always_visible_type;
|
||||
_always_visible_type always_visible;
|
||||
|
||||
typedef std::vector< ::visualization_msgs::Marker_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::visualization_msgs::Marker_<ContainerAllocator> >> _markers_type;
|
||||
_markers_type markers;
|
||||
|
||||
typedef uint8_t _independent_marker_orientation_type;
|
||||
_independent_marker_orientation_type independent_marker_orientation;
|
||||
|
||||
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _description_type;
|
||||
_description_type description;
|
||||
|
||||
|
||||
|
||||
// reducing the odds to have name collisions with Windows.h
|
||||
#if defined(_WIN32) && defined(INHERIT)
|
||||
#undef INHERIT
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(FIXED)
|
||||
#undef FIXED
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(VIEW_FACING)
|
||||
#undef VIEW_FACING
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(NONE)
|
||||
#undef NONE
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(MENU)
|
||||
#undef MENU
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(BUTTON)
|
||||
#undef BUTTON
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(MOVE_AXIS)
|
||||
#undef MOVE_AXIS
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(MOVE_PLANE)
|
||||
#undef MOVE_PLANE
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(ROTATE_AXIS)
|
||||
#undef ROTATE_AXIS
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(MOVE_ROTATE)
|
||||
#undef MOVE_ROTATE
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(MOVE_3D)
|
||||
#undef MOVE_3D
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(ROTATE_3D)
|
||||
#undef ROTATE_3D
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(MOVE_ROTATE_3D)
|
||||
#undef MOVE_ROTATE_3D
|
||||
#endif
|
||||
|
||||
enum {
|
||||
INHERIT = 0u,
|
||||
FIXED = 1u,
|
||||
VIEW_FACING = 2u,
|
||||
NONE = 0u,
|
||||
MENU = 1u,
|
||||
BUTTON = 2u,
|
||||
MOVE_AXIS = 3u,
|
||||
MOVE_PLANE = 4u,
|
||||
ROTATE_AXIS = 5u,
|
||||
MOVE_ROTATE = 6u,
|
||||
MOVE_3D = 7u,
|
||||
ROTATE_3D = 8u,
|
||||
MOVE_ROTATE_3D = 9u,
|
||||
};
|
||||
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerControl_<ContainerAllocator> > Ptr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerControl_<ContainerAllocator> const> ConstPtr;
|
||||
|
||||
}; // struct InteractiveMarkerControl_
|
||||
|
||||
typedef ::visualization_msgs::InteractiveMarkerControl_<std::allocator<void> > InteractiveMarkerControl;
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerControl > InteractiveMarkerControlPtr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerControl const> InteractiveMarkerControlConstPtr;
|
||||
|
||||
// constants requiring out of line definition
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator==(const ::visualization_msgs::InteractiveMarkerControl_<ContainerAllocator1> & lhs, const ::visualization_msgs::InteractiveMarkerControl_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return lhs.name == rhs.name &&
|
||||
lhs.orientation == rhs.orientation &&
|
||||
lhs.orientation_mode == rhs.orientation_mode &&
|
||||
lhs.interaction_mode == rhs.interaction_mode &&
|
||||
lhs.always_visible == rhs.always_visible &&
|
||||
lhs.markers == rhs.markers &&
|
||||
lhs.independent_marker_orientation == rhs.independent_marker_orientation &&
|
||||
lhs.description == rhs.description;
|
||||
}
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator!=(const ::visualization_msgs::InteractiveMarkerControl_<ContainerAllocator1> & lhs, const ::visualization_msgs::InteractiveMarkerControl_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
|
||||
} // namespace visualization_msgs
|
||||
|
||||
#endif // VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKERCONTROL_H
|
||||
|
|
@ -0,0 +1,145 @@
|
|||
// Generated by gencpp from file visualization_msgs/InteractiveMarkerFeedback.msg
|
||||
// DO NOT EDIT!
|
||||
|
||||
|
||||
#ifndef VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKERFEEDBACK_H
|
||||
#define VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKERFEEDBACK_H
|
||||
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
#include <std_msgs/Header.h>
|
||||
#include <geometry_msgs/Pose.h>
|
||||
#include <geometry_msgs/Point.h>
|
||||
|
||||
namespace visualization_msgs
|
||||
{
|
||||
template <class ContainerAllocator>
|
||||
struct InteractiveMarkerFeedback_
|
||||
{
|
||||
typedef InteractiveMarkerFeedback_<ContainerAllocator> Type;
|
||||
|
||||
InteractiveMarkerFeedback_()
|
||||
: header()
|
||||
, client_id()
|
||||
, marker_name()
|
||||
, control_name()
|
||||
, event_type(0)
|
||||
, pose()
|
||||
, menu_entry_id(0)
|
||||
, mouse_point()
|
||||
, mouse_point_valid(false) {
|
||||
}
|
||||
InteractiveMarkerFeedback_(const ContainerAllocator& _alloc)
|
||||
: header(_alloc)
|
||||
, client_id(_alloc)
|
||||
, marker_name(_alloc)
|
||||
, control_name(_alloc)
|
||||
, event_type(0)
|
||||
, pose(_alloc)
|
||||
, menu_entry_id(0)
|
||||
, mouse_point(_alloc)
|
||||
, mouse_point_valid(false) {
|
||||
(void)_alloc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
|
||||
_header_type header;
|
||||
|
||||
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _client_id_type;
|
||||
_client_id_type client_id;
|
||||
|
||||
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _marker_name_type;
|
||||
_marker_name_type marker_name;
|
||||
|
||||
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _control_name_type;
|
||||
_control_name_type control_name;
|
||||
|
||||
typedef uint8_t _event_type_type;
|
||||
_event_type_type event_type;
|
||||
|
||||
typedef ::geometry_msgs::Pose_<ContainerAllocator> _pose_type;
|
||||
_pose_type pose;
|
||||
|
||||
typedef uint32_t _menu_entry_id_type;
|
||||
_menu_entry_id_type menu_entry_id;
|
||||
|
||||
typedef ::geometry_msgs::Point_<ContainerAllocator> _mouse_point_type;
|
||||
_mouse_point_type mouse_point;
|
||||
|
||||
typedef uint8_t _mouse_point_valid_type;
|
||||
_mouse_point_valid_type mouse_point_valid;
|
||||
|
||||
|
||||
|
||||
// reducing the odds to have name collisions with Windows.h
|
||||
#if defined(_WIN32) && defined(KEEP_ALIVE)
|
||||
#undef KEEP_ALIVE
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(POSE_UPDATE)
|
||||
#undef POSE_UPDATE
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(MENU_SELECT)
|
||||
#undef MENU_SELECT
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(BUTTON_CLICK)
|
||||
#undef BUTTON_CLICK
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(MOUSE_DOWN)
|
||||
#undef MOUSE_DOWN
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(MOUSE_UP)
|
||||
#undef MOUSE_UP
|
||||
#endif
|
||||
|
||||
enum {
|
||||
KEEP_ALIVE = 0u,
|
||||
POSE_UPDATE = 1u,
|
||||
MENU_SELECT = 2u,
|
||||
BUTTON_CLICK = 3u,
|
||||
MOUSE_DOWN = 4u,
|
||||
MOUSE_UP = 5u,
|
||||
};
|
||||
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerFeedback_<ContainerAllocator> > Ptr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerFeedback_<ContainerAllocator> const> ConstPtr;
|
||||
|
||||
}; // struct InteractiveMarkerFeedback_
|
||||
|
||||
typedef ::visualization_msgs::InteractiveMarkerFeedback_<std::allocator<void> > InteractiveMarkerFeedback;
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerFeedback > InteractiveMarkerFeedbackPtr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerFeedback const> InteractiveMarkerFeedbackConstPtr;
|
||||
|
||||
// constants requiring out of line definition
|
||||
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator==(const ::visualization_msgs::InteractiveMarkerFeedback_<ContainerAllocator1> & lhs, const ::visualization_msgs::InteractiveMarkerFeedback_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return lhs.header == rhs.header &&
|
||||
lhs.client_id == rhs.client_id &&
|
||||
lhs.marker_name == rhs.marker_name &&
|
||||
lhs.control_name == rhs.control_name &&
|
||||
lhs.event_type == rhs.event_type &&
|
||||
lhs.pose == rhs.pose &&
|
||||
lhs.menu_entry_id == rhs.menu_entry_id &&
|
||||
lhs.mouse_point == rhs.mouse_point &&
|
||||
lhs.mouse_point_valid == rhs.mouse_point_valid;
|
||||
}
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator!=(const ::visualization_msgs::InteractiveMarkerFeedback_<ContainerAllocator1> & lhs, const ::visualization_msgs::InteractiveMarkerFeedback_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
|
||||
} // namespace visualization_msgs
|
||||
|
||||
#endif // VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKERFEEDBACK_H
|
||||
|
|
@ -0,0 +1,80 @@
|
|||
// Generated by gencpp from file visualization_msgs/InteractiveMarkerInit.msg
|
||||
// DO NOT EDIT!
|
||||
|
||||
|
||||
#ifndef VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKERINIT_H
|
||||
#define VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKERINIT_H
|
||||
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
|
||||
#include <visualization_msgs/InteractiveMarker.h>
|
||||
|
||||
namespace visualization_msgs
|
||||
{
|
||||
template <class ContainerAllocator>
|
||||
struct InteractiveMarkerInit_
|
||||
{
|
||||
typedef InteractiveMarkerInit_<ContainerAllocator> Type;
|
||||
|
||||
InteractiveMarkerInit_()
|
||||
: server_id()
|
||||
, seq_num(0)
|
||||
, markers() {
|
||||
}
|
||||
InteractiveMarkerInit_(const ContainerAllocator& _alloc)
|
||||
: server_id(_alloc)
|
||||
, seq_num(0)
|
||||
, markers(_alloc) {
|
||||
(void)_alloc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _server_id_type;
|
||||
_server_id_type server_id;
|
||||
|
||||
typedef uint64_t _seq_num_type;
|
||||
_seq_num_type seq_num;
|
||||
|
||||
typedef std::vector< ::visualization_msgs::InteractiveMarker_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::visualization_msgs::InteractiveMarker_<ContainerAllocator> >> _markers_type;
|
||||
_markers_type markers;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerInit_<ContainerAllocator> > Ptr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerInit_<ContainerAllocator> const> ConstPtr;
|
||||
|
||||
}; // struct InteractiveMarkerInit_
|
||||
|
||||
typedef ::visualization_msgs::InteractiveMarkerInit_<std::allocator<void> > InteractiveMarkerInit;
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerInit > InteractiveMarkerInitPtr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerInit const> InteractiveMarkerInitConstPtr;
|
||||
|
||||
// constants requiring out of line definition
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator==(const ::visualization_msgs::InteractiveMarkerInit_<ContainerAllocator1> & lhs, const ::visualization_msgs::InteractiveMarkerInit_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return lhs.server_id == rhs.server_id &&
|
||||
lhs.seq_num == rhs.seq_num &&
|
||||
lhs.markers == rhs.markers;
|
||||
}
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator!=(const ::visualization_msgs::InteractiveMarkerInit_<ContainerAllocator1> & lhs, const ::visualization_msgs::InteractiveMarkerInit_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
|
||||
} // namespace visualization_msgs
|
||||
|
||||
|
||||
#endif // VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKERINIT_H
|
||||
|
|
@ -0,0 +1,79 @@
|
|||
// Generated by gencpp from file visualization_msgs/InteractiveMarkerPose.msg
|
||||
// DO NOT EDIT!
|
||||
|
||||
|
||||
#ifndef VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKERPOSE_H
|
||||
#define VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKERPOSE_H
|
||||
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
#include <std_msgs/Header.h>
|
||||
#include <geometry_msgs/Pose.h>
|
||||
|
||||
namespace visualization_msgs
|
||||
{
|
||||
template <class ContainerAllocator>
|
||||
struct InteractiveMarkerPose_
|
||||
{
|
||||
typedef InteractiveMarkerPose_<ContainerAllocator> Type;
|
||||
|
||||
InteractiveMarkerPose_()
|
||||
: header()
|
||||
, pose()
|
||||
, name() {
|
||||
}
|
||||
InteractiveMarkerPose_(const ContainerAllocator& _alloc)
|
||||
: header(_alloc)
|
||||
, pose(_alloc)
|
||||
, name(_alloc) {
|
||||
(void)_alloc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
|
||||
_header_type header;
|
||||
|
||||
typedef ::geometry_msgs::Pose_<ContainerAllocator> _pose_type;
|
||||
_pose_type pose;
|
||||
|
||||
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _name_type;
|
||||
_name_type name;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerPose_<ContainerAllocator> > Ptr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerPose_<ContainerAllocator> const> ConstPtr;
|
||||
|
||||
}; // struct InteractiveMarkerPose_
|
||||
|
||||
typedef ::visualization_msgs::InteractiveMarkerPose_<std::allocator<void> > InteractiveMarkerPose;
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerPose > InteractiveMarkerPosePtr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerPose const> InteractiveMarkerPoseConstPtr;
|
||||
|
||||
// constants requiring out of line definition
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator==(const ::visualization_msgs::InteractiveMarkerPose_<ContainerAllocator1> & lhs, const ::visualization_msgs::InteractiveMarkerPose_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return lhs.header == rhs.header &&
|
||||
lhs.pose == rhs.pose &&
|
||||
lhs.name == rhs.name;
|
||||
}
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator!=(const ::visualization_msgs::InteractiveMarkerPose_<ContainerAllocator1> & lhs, const ::visualization_msgs::InteractiveMarkerPose_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
|
||||
} // namespace visualization_msgs
|
||||
|
||||
#endif // VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKERPOSE_H
|
||||
|
|
@ -0,0 +1,110 @@
|
|||
// Generated by gencpp from file visualization_msgs/InteractiveMarkerUpdate.msg
|
||||
// DO NOT EDIT!
|
||||
|
||||
|
||||
#ifndef VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKERUPDATE_H
|
||||
#define VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKERUPDATE_H
|
||||
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
#include <visualization_msgs/InteractiveMarker.h>
|
||||
#include <visualization_msgs/InteractiveMarkerPose.h>
|
||||
|
||||
namespace visualization_msgs
|
||||
{
|
||||
template <class ContainerAllocator>
|
||||
struct InteractiveMarkerUpdate_
|
||||
{
|
||||
typedef InteractiveMarkerUpdate_<ContainerAllocator> Type;
|
||||
|
||||
InteractiveMarkerUpdate_()
|
||||
: server_id()
|
||||
, seq_num(0)
|
||||
, type(0)
|
||||
, markers()
|
||||
, poses()
|
||||
, erases() {
|
||||
}
|
||||
InteractiveMarkerUpdate_(const ContainerAllocator& _alloc)
|
||||
: server_id(_alloc)
|
||||
, seq_num(0)
|
||||
, type(0)
|
||||
, markers(_alloc)
|
||||
, poses(_alloc)
|
||||
, erases(_alloc) {
|
||||
(void)_alloc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _server_id_type;
|
||||
_server_id_type server_id;
|
||||
|
||||
typedef uint64_t _seq_num_type;
|
||||
_seq_num_type seq_num;
|
||||
|
||||
typedef uint8_t _type_type;
|
||||
_type_type type;
|
||||
|
||||
typedef std::vector< ::visualization_msgs::InteractiveMarker_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::visualization_msgs::InteractiveMarker_<ContainerAllocator> >> _markers_type;
|
||||
_markers_type markers;
|
||||
|
||||
typedef std::vector< ::visualization_msgs::InteractiveMarkerPose_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::visualization_msgs::InteractiveMarkerPose_<ContainerAllocator> >> _poses_type;
|
||||
_poses_type poses;
|
||||
|
||||
typedef std::vector<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>> _erases_type;
|
||||
_erases_type erases;
|
||||
|
||||
|
||||
|
||||
// reducing the odds to have name collisions with Windows.h
|
||||
#if defined(_WIN32) && defined(KEEP_ALIVE)
|
||||
#undef KEEP_ALIVE
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(UPDATE)
|
||||
#undef UPDATE
|
||||
#endif
|
||||
|
||||
enum {
|
||||
KEEP_ALIVE = 0u,
|
||||
UPDATE = 1u,
|
||||
};
|
||||
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerUpdate_<ContainerAllocator> > Ptr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerUpdate_<ContainerAllocator> const> ConstPtr;
|
||||
|
||||
}; // struct InteractiveMarkerUpdate_
|
||||
|
||||
typedef ::visualization_msgs::InteractiveMarkerUpdate_<std::allocator<void> > InteractiveMarkerUpdate;
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerUpdate > InteractiveMarkerUpdatePtr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::InteractiveMarkerUpdate const> InteractiveMarkerUpdateConstPtr;
|
||||
|
||||
// constants requiring out of line definition
|
||||
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator==(const ::visualization_msgs::InteractiveMarkerUpdate_<ContainerAllocator1> & lhs, const ::visualization_msgs::InteractiveMarkerUpdate_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return lhs.server_id == rhs.server_id &&
|
||||
lhs.seq_num == rhs.seq_num &&
|
||||
lhs.type == rhs.type &&
|
||||
lhs.markers == rhs.markers &&
|
||||
lhs.poses == rhs.poses &&
|
||||
lhs.erases == rhs.erases;
|
||||
}
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator!=(const ::visualization_msgs::InteractiveMarkerUpdate_<ContainerAllocator1> & lhs, const ::visualization_msgs::InteractiveMarkerUpdate_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
|
||||
} // namespace visualization_msgs
|
||||
|
||||
#endif // VISUALIZATION_MSGS_MESSAGE_INTERACTIVEMARKERUPDATE_H
|
||||
224
visualization_msgs/include/visualization_msgs/Marker.h
Normal file
224
visualization_msgs/include/visualization_msgs/Marker.h
Normal file
|
|
@ -0,0 +1,224 @@
|
|||
// Generated by gencpp from file visualization_msgs/Marker.msg
|
||||
// DO NOT EDIT!
|
||||
|
||||
|
||||
#ifndef VISUALIZATION_MSGS_MESSAGE_MARKER_H
|
||||
#define VISUALIZATION_MSGS_MESSAGE_MARKER_H
|
||||
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
|
||||
#include <std_msgs/Header.h>
|
||||
#include <geometry_msgs/Pose.h>
|
||||
#include <geometry_msgs/Vector3.h>
|
||||
#include <std_msgs/ColorRGBA.h>
|
||||
#include <geometry_msgs/Point.h>
|
||||
|
||||
namespace visualization_msgs
|
||||
{
|
||||
template <class ContainerAllocator>
|
||||
struct Marker_
|
||||
{
|
||||
typedef Marker_<ContainerAllocator> Type;
|
||||
|
||||
Marker_()
|
||||
: header()
|
||||
, ns()
|
||||
, id(0)
|
||||
, type(0)
|
||||
, action(0)
|
||||
, pose()
|
||||
, scale()
|
||||
, color()
|
||||
, lifetime()
|
||||
, frame_locked(false)
|
||||
, points()
|
||||
, colors()
|
||||
, text()
|
||||
, mesh_resource()
|
||||
, mesh_use_embedded_materials(false) {
|
||||
}
|
||||
Marker_(const ContainerAllocator& _alloc)
|
||||
: header(_alloc)
|
||||
, ns(_alloc)
|
||||
, id(0)
|
||||
, type(0)
|
||||
, action(0)
|
||||
, pose(_alloc)
|
||||
, scale(_alloc)
|
||||
, color(_alloc)
|
||||
, lifetime()
|
||||
, frame_locked(false)
|
||||
, points(_alloc)
|
||||
, colors(_alloc)
|
||||
, text(_alloc)
|
||||
, mesh_resource(_alloc)
|
||||
, mesh_use_embedded_materials(false) {
|
||||
(void)_alloc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
|
||||
_header_type header;
|
||||
|
||||
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _ns_type;
|
||||
_ns_type ns;
|
||||
|
||||
typedef int32_t _id_type;
|
||||
_id_type id;
|
||||
|
||||
typedef int32_t _type_type;
|
||||
_type_type type;
|
||||
|
||||
typedef int32_t _action_type;
|
||||
_action_type action;
|
||||
|
||||
typedef ::geometry_msgs::Pose_<ContainerAllocator> _pose_type;
|
||||
_pose_type pose;
|
||||
|
||||
typedef ::geometry_msgs::Vector3_<ContainerAllocator> _scale_type;
|
||||
_scale_type scale;
|
||||
|
||||
typedef ::std_msgs::ColorRGBA_<ContainerAllocator> _color_type;
|
||||
_color_type color;
|
||||
|
||||
typedef robot::Duration _lifetime_type;
|
||||
_lifetime_type lifetime;
|
||||
|
||||
typedef uint8_t _frame_locked_type;
|
||||
_frame_locked_type frame_locked;
|
||||
|
||||
typedef std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::geometry_msgs::Point_<ContainerAllocator> >> _points_type;
|
||||
_points_type points;
|
||||
|
||||
typedef std::vector< ::std_msgs::ColorRGBA_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::std_msgs::ColorRGBA_<ContainerAllocator> >> _colors_type;
|
||||
_colors_type colors;
|
||||
|
||||
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _text_type;
|
||||
_text_type text;
|
||||
|
||||
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _mesh_resource_type;
|
||||
_mesh_resource_type mesh_resource;
|
||||
|
||||
typedef uint8_t _mesh_use_embedded_materials_type;
|
||||
_mesh_use_embedded_materials_type mesh_use_embedded_materials;
|
||||
|
||||
|
||||
|
||||
// reducing the odds to have name collisions with Windows.h
|
||||
#if defined(_WIN32) && defined(ARROW)
|
||||
#undef ARROW
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(CUBE)
|
||||
#undef CUBE
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(SPHERE)
|
||||
#undef SPHERE
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(CYLINDER)
|
||||
#undef CYLINDER
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(LINE_STRIP)
|
||||
#undef LINE_STRIP
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(LINE_LIST)
|
||||
#undef LINE_LIST
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(CUBE_LIST)
|
||||
#undef CUBE_LIST
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(SPHERE_LIST)
|
||||
#undef SPHERE_LIST
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(POINTS)
|
||||
#undef POINTS
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(TEXT_VIEW_FACING)
|
||||
#undef TEXT_VIEW_FACING
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(MESH_RESOURCE)
|
||||
#undef MESH_RESOURCE
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(TRIANGLE_LIST)
|
||||
#undef TRIANGLE_LIST
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(ADD)
|
||||
#undef ADD
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(MODIFY)
|
||||
#undef MODIFY
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(DELETE)
|
||||
#undef DELETE
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(DELETEALL)
|
||||
#undef DELETEALL
|
||||
#endif
|
||||
|
||||
enum {
|
||||
ARROW = 0u,
|
||||
CUBE = 1u,
|
||||
SPHERE = 2u,
|
||||
CYLINDER = 3u,
|
||||
LINE_STRIP = 4u,
|
||||
LINE_LIST = 5u,
|
||||
CUBE_LIST = 6u,
|
||||
SPHERE_LIST = 7u,
|
||||
POINTS = 8u,
|
||||
TEXT_VIEW_FACING = 9u,
|
||||
MESH_RESOURCE = 10u,
|
||||
TRIANGLE_LIST = 11u,
|
||||
ADD = 0u,
|
||||
MODIFY = 0u,
|
||||
DELETE = 2u,
|
||||
DELETEALL = 3u,
|
||||
};
|
||||
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::Marker_<ContainerAllocator> > Ptr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::Marker_<ContainerAllocator> const> ConstPtr;
|
||||
|
||||
}; // struct Marker_
|
||||
|
||||
typedef ::visualization_msgs::Marker_<std::allocator<void> > Marker;
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::Marker > MarkerPtr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::Marker const> MarkerConstPtr;
|
||||
|
||||
// constants requiring out of line definition
|
||||
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator==(const ::visualization_msgs::Marker_<ContainerAllocator1> & lhs, const ::visualization_msgs::Marker_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return lhs.header == rhs.header &&
|
||||
lhs.ns == rhs.ns &&
|
||||
lhs.id == rhs.id &&
|
||||
lhs.type == rhs.type &&
|
||||
lhs.action == rhs.action &&
|
||||
lhs.pose == rhs.pose &&
|
||||
lhs.scale == rhs.scale &&
|
||||
lhs.color == rhs.color &&
|
||||
lhs.lifetime == rhs.lifetime &&
|
||||
lhs.frame_locked == rhs.frame_locked &&
|
||||
lhs.points == rhs.points &&
|
||||
lhs.colors == rhs.colors &&
|
||||
lhs.text == rhs.text &&
|
||||
lhs.mesh_resource == rhs.mesh_resource &&
|
||||
lhs.mesh_use_embedded_materials == rhs.mesh_use_embedded_materials;
|
||||
}
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator!=(const ::visualization_msgs::Marker_<ContainerAllocator1> & lhs, const ::visualization_msgs::Marker_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
|
||||
} // namespace visualization_msgs
|
||||
|
||||
#endif // VISUALIZATION_MSGS_MESSAGE_MARKER_H
|
||||
66
visualization_msgs/include/visualization_msgs/MarkerArray.h
Normal file
66
visualization_msgs/include/visualization_msgs/MarkerArray.h
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
// Generated by gencpp from file visualization_msgs/MarkerArray.msg
|
||||
// DO NOT EDIT!
|
||||
|
||||
|
||||
#ifndef VISUALIZATION_MSGS_MESSAGE_MARKERARRAY_H
|
||||
#define VISUALIZATION_MSGS_MESSAGE_MARKERARRAY_H
|
||||
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
#include <visualization_msgs/Marker.h>
|
||||
|
||||
namespace visualization_msgs
|
||||
{
|
||||
template <class ContainerAllocator>
|
||||
struct MarkerArray_
|
||||
{
|
||||
typedef MarkerArray_<ContainerAllocator> Type;
|
||||
|
||||
MarkerArray_()
|
||||
: markers() {
|
||||
}
|
||||
MarkerArray_(const ContainerAllocator& _alloc)
|
||||
: markers(_alloc) {
|
||||
(void)_alloc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
typedef std::vector< ::visualization_msgs::Marker_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::visualization_msgs::Marker_<ContainerAllocator> >> _markers_type;
|
||||
_markers_type markers;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::MarkerArray_<ContainerAllocator> > Ptr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::MarkerArray_<ContainerAllocator> const> ConstPtr;
|
||||
|
||||
}; // struct MarkerArray_
|
||||
|
||||
typedef ::visualization_msgs::MarkerArray_<std::allocator<void> > MarkerArray;
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::MarkerArray > MarkerArrayPtr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::MarkerArray const> MarkerArrayConstPtr;
|
||||
|
||||
// constants requiring out of line definition
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator==(const ::visualization_msgs::MarkerArray_<ContainerAllocator1> & lhs, const ::visualization_msgs::MarkerArray_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return lhs.markers == rhs.markers;
|
||||
}
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator!=(const ::visualization_msgs::MarkerArray_<ContainerAllocator1> & lhs, const ::visualization_msgs::MarkerArray_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
|
||||
} // namespace visualization_msgs
|
||||
|
||||
#endif // VISUALIZATION_MSGS_MESSAGE_MARKERARRAY_H
|
||||
106
visualization_msgs/include/visualization_msgs/MenuEntry.h
Normal file
106
visualization_msgs/include/visualization_msgs/MenuEntry.h
Normal file
|
|
@ -0,0 +1,106 @@
|
|||
// Generated by gencpp from file visualization_msgs/MenuEntry.msg
|
||||
// DO NOT EDIT!
|
||||
|
||||
|
||||
#ifndef VISUALIZATION_MSGS_MESSAGE_MENUENTRY_H
|
||||
#define VISUALIZATION_MSGS_MESSAGE_MENUENTRY_H
|
||||
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
|
||||
namespace visualization_msgs
|
||||
{
|
||||
template <class ContainerAllocator>
|
||||
struct MenuEntry_
|
||||
{
|
||||
typedef MenuEntry_<ContainerAllocator> Type;
|
||||
|
||||
MenuEntry_()
|
||||
: id(0)
|
||||
, parent_id(0)
|
||||
, title()
|
||||
, command()
|
||||
, command_type(0) {
|
||||
}
|
||||
MenuEntry_(const ContainerAllocator& _alloc)
|
||||
: id(0)
|
||||
, parent_id(0)
|
||||
, title(_alloc)
|
||||
, command(_alloc)
|
||||
, command_type(0) {
|
||||
(void)_alloc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
typedef uint32_t _id_type;
|
||||
_id_type id;
|
||||
|
||||
typedef uint32_t _parent_id_type;
|
||||
_parent_id_type parent_id;
|
||||
|
||||
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _title_type;
|
||||
_title_type title;
|
||||
|
||||
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _command_type;
|
||||
_command_type command;
|
||||
|
||||
typedef uint8_t _command_type_type;
|
||||
_command_type_type command_type;
|
||||
|
||||
|
||||
|
||||
// reducing the odds to have name collisions with Windows.h
|
||||
#if defined(_WIN32) && defined(FEEDBACK)
|
||||
#undef FEEDBACK
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(ROSRUN)
|
||||
#undef ROSRUN
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(ROSLAUNCH)
|
||||
#undef ROSLAUNCH
|
||||
#endif
|
||||
|
||||
enum {
|
||||
FEEDBACK = 0u,
|
||||
ROSRUN = 1u,
|
||||
ROSLAUNCH = 2u,
|
||||
};
|
||||
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::MenuEntry_<ContainerAllocator> > Ptr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::MenuEntry_<ContainerAllocator> const> ConstPtr;
|
||||
|
||||
}; // struct MenuEntry_
|
||||
|
||||
typedef ::visualization_msgs::MenuEntry_<std::allocator<void> > MenuEntry;
|
||||
|
||||
typedef boost::shared_ptr< ::visualization_msgs::MenuEntry > MenuEntryPtr;
|
||||
typedef boost::shared_ptr< ::visualization_msgs::MenuEntry const> MenuEntryConstPtr;
|
||||
|
||||
// constants requiring out of line definition
|
||||
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator==(const ::visualization_msgs::MenuEntry_<ContainerAllocator1> & lhs, const ::visualization_msgs::MenuEntry_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return lhs.id == rhs.id &&
|
||||
lhs.parent_id == rhs.parent_id &&
|
||||
lhs.title == rhs.title &&
|
||||
lhs.command == rhs.command &&
|
||||
lhs.command_type == rhs.command_type;
|
||||
}
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator!=(const ::visualization_msgs::MenuEntry_<ContainerAllocator1> & lhs, const ::visualization_msgs::MenuEntry_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
|
||||
} // namespace visualization_msgs
|
||||
|
||||
#endif // VISUALIZATION_MSGS_MESSAGE_MENUENTRY_H
|
||||
Loading…
Reference in New Issue
Block a user