#include <OfflineUav.h>
Public Member Functions | |
OfflineUav () | |
Default constructor. | |
OfflineUav (const string &id, const string &fn, const string &timeF, const string &cof, const string &sf, const string >tf, const string >f, const string &vf) | |
Complete constructor. | |
string | getObjectName () const |
Gets the name of the object. | |
bool | getMyTime (Time &instant, int &index) |
Check if the given time in input is close to a time stored in this class. | |
Orientation3D | getMyAttitude (const int &index) const |
Get the current attitude of the UAV. | |
Decimal | getMyRoll (const int &index) const |
Get the current attitude of the UAV. | |
Decimal | getMyPitch (const int &index) const |
Get the current attitude of the UAV. | |
Decimal | getMyYaw (const int &index) const |
Get the current attitude of the UAV. | |
Velocity3DArma | getMyLinearVelocity (const int &index) const |
Get the linear velocity provided by an optic flow (as example). | |
Velocity3DArma | getMyAngularVelocity (const int &index) const |
Get the angular velocity provided by an optic flow (as example). | |
Decimal | getMySonar (const int &index) const |
Get the measurement given by the sonar. | |
vector< Position2DArma > | getMyObs (const int &index) const |
Get the measurement provided by a camera on its own image plane. | |
bool | getMyGroundTruth (Time &instant, Pose3DArma &myPose, int &index) |
Get the actual ground truth for the UAV. | |
Decimal | getMyStartingTime () const |
Get the starting time of this class (the maximum time between the starting time of each mandatory file). |
MipResources::OfflineUav::OfflineUav | ( | ) |
Default constructor.
MipResources::OfflineUav::OfflineUav | ( | const string & | id, | |
const string & | fn, | |||
const string & | timeF, | |||
const string & | cof, | |||
const string & | sf, | |||
const string & | gttf, | |||
const string & | gtf, | |||
const string & | vf | |||
) |
Complete constructor.
string MipResources::OfflineUav::getObjectName | ( | ) | const [inline, virtual] |
bool MipResources::OfflineUav::getMyTime | ( | Time & | instant, | |
int & | index | |||
) |
Check if the given time in input is close to a time stored in this class.
[in] | &instant | Time of the requested data |
[out] | &index | Index of the vector associated with time |
Orientation3D MipResources::OfflineUav::getMyAttitude | ( | const int & | index | ) | const |
Get the current attitude of the UAV.
[in] | index | Index of the vector |
Decimal MipResources::OfflineUav::getMyRoll | ( | const int & | index | ) | const |
Get the current attitude of the UAV.
[in] | index | Index of the vector |
Decimal MipResources::OfflineUav::getMyPitch | ( | const int & | index | ) | const |
Get the current attitude of the UAV.
[in] | index | Index of the vector |
Decimal MipResources::OfflineUav::getMyYaw | ( | const int & | index | ) | const |
Get the current attitude of the UAV.
[in] | index | Index of the vector |
Velocity3DArma MipResources::OfflineUav::getMyLinearVelocity | ( | const int & | index | ) | const |
Get the linear velocity provided by an optic flow (as example).
[in] | index | Index of the vector |
Velocity3DArma MipResources::OfflineUav::getMyAngularVelocity | ( | const int & | index | ) | const |
Get the angular velocity provided by an optic flow (as example).
[in] | index | Index of the vector |
Decimal MipResources::OfflineUav::getMySonar | ( | const int & | index | ) | const |
Get the measurement given by the sonar.
[in] | index | Index of the vector |
vector< Position2DArma > MipResources::OfflineUav::getMyObs | ( | const int & | index | ) | const |
Get the measurement provided by a camera on its own image plane.
[in] | index | Index of the vector |
bool MipResources::OfflineUav::getMyGroundTruth | ( | Time & | instant, | |
Pose3DArma & | myPose, | |||
int & | index | |||
) |
Get the actual ground truth for the UAV.
Decimal MipResources::OfflineUav::getMyStartingTime | ( | ) | const |
Get the starting time of this class (the maximum time between the starting time of each mandatory file).