22 #include <gazebo/gazebo.hh> 23 #include <ignition/math/Vector3.hh> 25 #if GAZEBO_MAJOR_VERSION >= 8 26 #include <ignition/msgs.hh> 27 #include <ignition/transport.hh> 54 public:
void Load(sdf::ElementPtr _sdf);
67 public:
bool DrawMarker(
int _marker_id,
double _x,
double _y,
68 double _yaw, std::string _text =
"");
71 private: std::string
ns;
77 private: ignition::math::Vector3d
scaling;
82 #if GAZEBO_MAJOR_VERSION >= 8 83 ignition::transport::Node
node;
bool IsAvailable()
Returns if markers are available for current system.
std::string material
Name of Gazebo material for marker.
WaypointMarkers(std::string _namespace)
Constructor.
double height
Height of marker above water.
void Load(sdf::ElementPtr _sdf)
Load marker parameters from SDF.
This class is used to display waypoint markers. Cylindrical Gazebo markers are drawn with text on top...
std::string ns
Namespace for Gazebo markers.
bool DrawMarker(int _marker_id, double _x, double _y, double _yaw, std::string _text="")
Draw waypoint marker in Gazebo.
ignition::math::Vector3d scaling
Scaling factor for cylinder marker.