source: flair-src/trunk/lib/FlairMeta/src/SimuX4.h @ 165

Last change on this file since 165 was 165, checked in by Sanahuja Guillaume, 5 years ago

modifs

File size: 1020 bytes
Line 
1// %flair:license{
2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
4// %flair:license}
5/*!
6 * \file SimuX4.h
7 * \brief Class defining a simulation x4 uav
8 * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
9 * \date 2016/02/08
10 * \version 4.0
11 */
12
13#ifndef SIMUX4_H
14#define SIMUX4_H
15
16#include "Uav.h"
17
18namespace flair {
19namespace meta {
20 
21/*! \class SimuX4
22*
23* \brief Class defining a simulation x4 uav
24*/
25class SimuX4 : public Uav {
26  public:
27    // simu_id: 0 if simulating only one UAV
28    //>0 otherwise
29    SimuX4(std::string name, uint32_t simu_id = 0,std::string options="",
30           filter::UavMultiplex *multiplex = NULL);
31    ~SimuX4();
32    void StartSensors(void);
33    virtual std::string GetType(void) const{return "x4_simu";}
34
35  private:
36    void ReadCameraResolutionOption(std::string options,std::string cameraName,uint16_t &camWidth,uint16_t &camHeight) const;
37 
38};
39} // end namespace meta
40} // end namespace flair
41#endif // SIMUX4_H
Note: See TracBrowser for help on using the repository browser.