|
NASA Astrobee Robot Software
0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
|
Go to the documentation of this file.
19 #ifndef MAPPER_VISUALIZATION_FUNCTIONS_H_
20 #define MAPPER_VISUALIZATION_FUNCTIONS_H_
22 #include <octomap/octomap.h>
23 #include <octomap/OcTree.h>
25 #include <visualization_msgs/MarkerArray.h>
26 #include <ff_msgs/Zone.h>
27 #include <ff_msgs/SetZones.h>
28 #include <ff_msgs/GetZones.h>
38 class Color :
public std_msgs::ColorRGBA {
40 Color() : std_msgs::ColorRGBA() {}
65 const double &life_time,
66 visualization_msgs::MarkerArray *markers);
72 const std::string &frame_id,
73 visualization_msgs::MarkerArray *marker_array);
76 const std::string &frame_id,
77 const double &resolution,
78 visualization_msgs::MarkerArray *marker_array);
81 const std::vector<Eigen::Vector3d> points,
82 const std::string& frame_id,
83 const double resolution,
84 visualization_msgs::MarkerArray *marker_array);
87 const std::string &frame_id,
88 const double &resolution,
89 visualization_msgs::MarkerArray *marker_array);
92 const std::string &frame_id,
93 const double &resolution,
94 visualization_msgs::MarkerArray *marker_array);
96 void DrawNodes(
const std::vector<Eigen::Vector3d> &points,
97 const std::string &frame_id,
98 const std::string &ns,
99 const double &resolution,
100 const std_msgs::ColorRGBA &color,
101 const double &transparency,
102 visualization_msgs::MarkerArray *marker_array);
104 void DrawNodes(
const std::vector<octomap::point3d> &points,
105 const std::string &frame_id,
106 const std::string &ns,
107 const double &resolution,
108 const std_msgs::ColorRGBA &color,
109 const double &transparency,
110 visualization_msgs::MarkerArray *marker_array);
113 const std::string &frame_id,
114 const std::string &ns,
115 const double &resolution,
116 const std_msgs::ColorRGBA &color,
117 const double &transparency,
118 const int &seqNumber,
119 visualization_msgs::Marker *marker);
122 const std::vector<Eigen::Vector3d> &waypoints,
123 visualization_msgs::MarkerArray* markers);
126 const std::vector<Eigen::Vector3d> &waypoints,
127 const std_msgs::ColorRGBA &color,
128 const std::string &ns,
129 visualization_msgs::MarkerArray* markers);
133 const std_msgs::ColorRGBA &color,
134 const double &diameter,
135 visualization_msgs::Marker* marker);
139 #endif // MAPPER_VISUALIZATION_FUNCTIONS_H_
void DeleteMarkersTemplate(const std::string &frame_id, visualization_msgs::MarkerArray *marker_array)
Definition: visualization_functions.cc:40
static const Color Chartreuse()
Definition: visualization_functions.h:58
static const Color Blue()
Definition: visualization_functions.h:54
Color(double red, double green, double blue)
Definition: visualization_functions.h:41
static const Color Red()
Definition: visualization_functions.h:52
static const Color White()
Definition: visualization_functions.h:49
static const Color Teal()
Definition: visualization_functions.h:59
void MarkerNode(const Eigen::Vector3d &point, const std::string &frame_id, const std::string &ns, const double &resolution, const std_msgs::ColorRGBA &color, const double &transparency, const int &seqNumber, visualization_msgs::Marker *marker)
Definition: visualization_functions.cc:173
void DrawTreeNodes(const std::vector< Eigen::Vector3d > points, const std::string &frame_id, const double resolution, visualization_msgs::MarkerArray *marker_array)
void PathVisualization(const std::vector< Eigen::Vector3d > &total_path, const std::vector< Eigen::Vector3d > &waypoints, visualization_msgs::MarkerArray *markers)
Definition: visualization_functions.cc:201
Definition: visualization_functions.h:38
static const Color Black()
Definition: visualization_functions.h:50
static const Color Gray()
Definition: visualization_functions.h:51
static const Color Green()
Definition: visualization_functions.h:53
void DrawNodes(const std::vector< Eigen::Vector3d > &points, const std::string &frame_id, const std::string &ns, const double &resolution, const std_msgs::ColorRGBA &color, const double &transparency, visualization_msgs::MarkerArray *marker_array)
Definition: visualization_functions.cc:85
static const Color Purple()
Definition: visualization_functions.h:57
Eigen::Vector3d Vector3d(const PointType &point)
Definition: utilities.h:328
Definition: visualization_functions.h:35
Color(double red, double green, double blue, double alpha)
Definition: visualization_functions.h:42
static const Color Yellow()
Definition: visualization_functions.h:55
void DrawArrowPoints(const Eigen::Vector3d &p1, const Eigen::Vector3d &p2, const std_msgs::ColorRGBA &color, const double &diameter, visualization_msgs::Marker *marker)
Definition: visualization_functions.cc:261
void DrawObstacleNodes(const std::vector< Eigen::Vector3d > &points, const std::string &frame_id, const double &resolution, visualization_msgs::MarkerArray *marker_array)
Definition: visualization_functions.cc:57
static const Color Pink()
Definition: visualization_functions.h:60
uint8_t green
Definition: signal_lights.h:62
void SetMarkersForDeletion(visualization_msgs::MarkerArray *marker_array)
Definition: visualization_functions.cc:52
static const Color Orange()
Definition: visualization_functions.h:56
void SetMarkerProperties(const std_msgs::Header &header, const double &life_time, visualization_msgs::MarkerArray *markers)
Definition: visualization_functions.cc:27
uint8_t blue
Definition: signal_lights.h:63
uint8_t red
Definition: signal_lights.h:61
void DrawCollidingNodes(const std::vector< Eigen::Vector3d > &points, const std::string &frame_id, const double &resolution, visualization_msgs::MarkerArray *marker_array)
Definition: visualization_functions.cc:71
Color()
Definition: visualization_functions.h:40