Flair
Framework Libre Air
flair::simulator::Simulator Class Reference
+ Inheritance diagram for flair::simulator::Simulator:

Public Member Functions

 Simulator (std::string name, int optitrack_mstime=10, float yaw_deg=30, int port=3883)
 
void RunSimu (void)
 
float Yaw (void) const
 
core::Quaternion ToVRPNReference (core::Quaternion quat_in)
 
core::Vector3D< double > ToVRPNReference (core::Vector3D< double > point_in)
 
- Public Member Functions inherited from flair::core::FrameworkManager
 FrameworkManager (std::string name)
 Constructor. More...
 
 ~FrameworkManager ()
 Destructor. More...
 
void SetupConnection (std::string address, uint16_t port, Time watchdogTimeout=(Time) 1500000000, size_t rcv_buf_size=10000)
 Setup the connection with ground station. More...
 
void SetupUserInterface (std::string xml_file)
 Setup the user interface. More...
 
gui::TabWidgetGetTabWidget (void) const
 Get TabWidget. More...
 
void SetupLogger (std::string log_path, uint32_t stackSize=1024 *32)
 Logger setup. More...
 
std::string GetLogPath (void) const
 Get log path. More...
 
void AddDeviceToLog (IODevice *device)
 Add log element. More...
 
bool IsDeviceLogged (const IODevice *device) const
 Is device logged. More...
 
void StartLog (void)
 Start logging. More...
 
void StopLog (void)
 Stop logging. More...
 
bool IsLogging (void) const
 Is logging? More...
 
void UpdateSendData (const gui::SendData *obj)
 Notify that SendData's period has changed. More...
 
void BlockCom (void)
 Block communication. More...
 
void UnBlockCom (void)
 Unblock communication. More...
 
bool ConnectionLost (void) const
 Is connection lost? More...
 
void DisableErrorsDisplay (bool value)
 Disable errors display. More...
 
bool IsDisplayingErrors (void) const
 Is displaying errors? More...
 
- Public Member Functions inherited from flair::core::Object
 Object (const Object *parent=NULL, std::string name="", std::string type="")
 Constructor. More...
 
virtual ~Object ()
 Destructor. More...
 
std::string ObjectName (void) const
 Name. More...
 
std::string ObjectType (void) const
 Type. More...
 
const ObjectParent (void) const
 Parent. More...
 
std::vector< const Object * > * TypeChilds (void) const
 Childs of the same type. More...
 
std::vector< const Object * > * Childs (void) const
 Childs. More...
 
void Information (const char *function, int line, const char *format,...) const
 Formatted information. More...
 
void Warning (const char *function, const char *format,...) const
 Formatted warning. More...
 
void Error (const char *function, const char *format,...) const
 Formatted error. More...
 
bool ErrorOccured (bool recursive=true) const
 Has an errror occured? More...
 

Additional Inherited Members

- Public Types inherited from flair::core::Object
enum  color_t { Auto = 0, Red = 31, Green = 32, Orange = 33 }