4 #include "Graphic-pkg.h"
5 #include <boost/bind.hpp>
6 #include <boost/function.hpp>
8 #include "API/Device/robot.hpp"
11 #include <QtCore/QObject>
80 static void drawHUD(
void);
82 double textSize()
const;
83 double textSize3d()
const;
85 void setAgentStaticInfoDefault();
86 const std::map<Robot *, std::string> &agentStaticInfo()
const;
87 void setAgentStaticInfo(
const std::map<Robot *, std::string> &agentStaticInfo);
89 bool getDrawAgentInfo()
const;
90 bool getDrawCost()
const;
91 bool getDrawAdvancedCost()
const;
92 bool getDrawSearchStatus()
const;
107 void printAgentInfo();
109 void printAdvancedCost();
110 void printSearchStatus();
113 static std::set<HUD*> _hud_to_draw;
116 std::map<Robot*,std::string> _agentStaticInfo;
123 bool _drawAdvancedCost;
124 bool _drawSearchStatus;
bool found
is the path found
Definition: HUD.h:30
void setDrawCost(bool drawCost)
draw the cost of the currently scene (through global_costSpace)
Definition: HUD.cpp:249
unsigned int nbFails
nb of configurations shot and discarded (in collision or too expansive)
Definition: HUD.h:26
bool plannerTRRT
is there a planner ?
Definition: HUD.h:25
void setDraw(bool enable)
setDraw to enable or disable this HUD
Definition: HUD.cpp:318
The PlanningStatus struct groups data about a planner state.
Definition: HUD.h:20
static PlanningStatus getPlanningStatus()
getPlanningStatus fetch information about the planner
Definition: HUD.cpp:205
This file implements macros to help with the logging, in a way similar to ROS, using log4cxx...
double temperature
for T-RRT, Simulated Annealing temperature
Definition: HUD.h:29
double gap
distance between the last added node and the goal, or something else when using Bi-RRT ...
Definition: HUD.h:27
The HUD class aims at providing, centralizing and managing information displayed in the scene...
Definition: HUD.h:38
void setTextSize(double textSize)
set global text size used for displaying 2d info on the screen
Definition: HUD.cpp:279
double initTargetDist
distance separing the initial and target configurations (configuration space)
Definition: HUD.h:28
void setDrawAgentInfo(bool drawAgentInfo)
enable the drawing of agents shortnames above their head
Definition: HUD.cpp:259
static void initHUD()
initialize the HUD class so any existing or future HUD can be displayed (creates the interface with g...
Definition: HUD.cpp:35
virtual void draw()
draw this HUD taking into account its options
Definition: HUD.cpp:47
void setTextSize3d(double textSize3d)
set text size for drawing 3d text in the scene
Definition: HUD.cpp:289
void setDrawSearchStatus(bool drawSearchStatus)
enable the drawing of planning status (through global_Move3DPlanner, RRT, T-RRT)
Definition: HUD.cpp:228
static HUD * getHUD()
get the main HUD (acts like a singleton)
Definition: HUD.cpp:27
void setDrawAdvancedCost(bool drawAdvancedCost)
enable the drawing of advanced cost information (throug HRICS::CostManager)
Definition: HUD.cpp:239