30 float life_time = -1.0f,
31 bool persistent_lines =
true);
36 float thickness = 0.1f,
38 float life_time = -1.0f,
39 bool persistent_lines =
true);
42 const geom::Location &begin,
43 const geom::Location &end,
44 float thickness = 0.1f,
45 float arrow_size = 0.1f,
47 float life_time = -1.0f,
48 bool persistent_lines =
true);
51 const geom::BoundingBox &box,
52 const geom::Rotation &rotation,
53 float thickness = 0.1f,
55 float life_time = -1.0f,
56 bool persistent_lines =
true);
59 const geom::Location &location,
60 const std::string &text,
61 bool draw_shadow =
false,
63 float life_time = -1.0f,
64 bool persistent_lines =
true);
void ClearDebugString()
Clear every persistent debug string currently shown in the HUD.
void DrawString(const geom::Location &location, const std::string &text, bool draw_shadow=false, Color color=Color{255u, 0u, 0u}, float life_time=-1.0f, bool persistent_lines=true)
void DrawLine(const geom::Location &begin, const geom::Location &end, float thickness=0.1f, Color color=Color{255u, 0u, 0u}, float life_time=-1.0f, bool persistent_lines=true)
detail::EpisodeProxy _episode
void DrawArrow(const geom::Location &begin, const geom::Location &end, float thickness=0.1f, float arrow_size=0.1f, Color color=Color{255u, 0u, 0u}, float life_time=-1.0f, bool persistent_lines=true)
void ClearDebugShape()
Clear every persistent debug shape (lines, points, boxes, arrows) previously drawn from this world.
sensor::data::Color Color
void DrawPoint(const geom::Location &location, float size=0.1f, Color color=Color{255u, 0u, 0u}, float life_time=-1.0f, bool persistent_lines=true)
DebugHelper(detail::EpisodeProxy episode)
void DrawBox(const geom::BoundingBox &box, const geom::Rotation &rotation, float thickness=0.1f, Color color=Color{255u, 0u, 0u}, float life_time=-1.0f, bool persistent_lines=true)
This file contains definitions of common data structures used in traffic manager.