|
Jafar
|
the state of an UAV in the formation More...
the state of an UAV in the formation
Definition at line 61 of file formation.hpp.
#include <formation.hpp>
Public Member Functions | |
| State (int id, UAVType type_) | |
| int | getId () const |
| UAVType | getType () const |
| void | setState (std::vector< double > pos, std::vector< double > speed_) |
| void | setState (double x, double y, double z, double vx, double vy, double vz) |
| std::vector< double > | getPosition () const |
| Vect | getPosVect2D () const |
| Vect | getPosVect3D () const |
| std::vector< double > | getSpeed () const |
| Vect | getSpeedVect2D () const |
| Vect | getSpeedVect3D () const |
| void | setHeading (double heading_) |
| double | getHeading () const |
| void | setDistance (double distance_) |
| double | getDistance () const |
| void | setTime (double time_) |
| double | getTime () const |
| void | setJamEWid (std::vector< int > threatId) |
| bool | isJamEWActif () const |
| std::vector< int > | getJamEWid () const |
| void | clearJamEWid () |
| void | setJamTFid (int id, int sector) |
| void | setJamTFid (std::vector< int > threatId) |
| int | getJamTFid (int sector) const |
| std::vector< int > | getJamTFid () const |
| void | clearJamTFid () |
| void | setReward (double reward_) |
| double | getReward () const |
| void | setFreeFlight (bool flight) |
| bool | isFreeFlight () const |
| void | setSlot (Slot slot_) |
| Slot | getSlot () const |
Private Attributes | |
| int | id |
| std::vector< double > | position |
| std::vector< double > | speed |
| double | heading |
| double | distance |
| double | time |
| UAVType | type |
| std::vector< int > | jamEWid |
| std::vector< int > | jamTFid |
| double | reward |
| bool | freeFlight |
| Slot | slot |
| Generated on Wed Oct 15 2014 00:37:44 for Jafar by doxygen 1.7.6.1 |
|