Rev | Line | |
---|
[10] | 1 | // %flair:license{
|
---|
[15] | 2 | // This file is part of the Flair framework distributed under the
|
---|
| 3 | // CECILL-C License, Version 1.0.
|
---|
[10] | 4 | // %flair:license}
|
---|
[7] | 5 | /*!
|
---|
| 6 | * \file SimuX4.h
|
---|
[22] | 7 | * \brief Class defining a simulation x4 uav
|
---|
[7] | 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 |
|
---|
[15] | 18 | namespace flair {
|
---|
| 19 | namespace meta {
|
---|
[160] | 20 |
|
---|
[15] | 21 | /*! \class SimuX4
|
---|
| 22 | *
|
---|
[22] | 23 | * \brief Class defining a simulation x4 uav
|
---|
[15] | 24 | */
|
---|
| 25 | class SimuX4 : public Uav {
|
---|
[160] | 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);
|
---|
[165] | 33 | virtual std::string GetType(void) const{return "x4_simu";}
|
---|
[160] | 34 |
|
---|
| 35 | private:
|
---|
| 36 | void ReadCameraResolutionOption(std::string options,std::string cameraName,uint16_t &camWidth,uint16_t &camHeight) const;
|
---|
| 37 |
|
---|
[15] | 38 | };
|
---|
[7] | 39 | } // end namespace meta
|
---|
| 40 | } // end namespace flair
|
---|
| 41 | #endif // SIMUX4_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.