#include <asctecUav.h>
Public Member Functions | |
void | dataLoop () |
void | ctrlLoop () |
asctecUav (int argc, const char **argv) | |
Constructor with arguments. | |
~asctecUav () | |
Destructor. | |
ResourcePlate | getPlate () const |
Mandatory getPlate function (inherited from Resource class). | |
Position3D | getPosition (Time &t) |
Gets Uav position. | |
Orientation3D | getAttitude (Time &t) |
Gets Uav attitude. | |
HummingBirdUavComm * | getCom () |
Gets asctecUavComm pointer. | |
bool | setStatus (Orientation3D &pDes, Decimal &tDes) |
Sets Uav status. | |
bool | setThrust (Decimal tDes) |
Sets Uav thrust. | |
bool | setControllersGains (Decimal height_pid_des[3]) |
Sets asctec Controllers Gains (see HBstructs.h). | |
bool | setFiltersGains (Decimal sonar_h_filt_des[2]) |
Sets asctec Filters Gains (see HBstructs.h). | |
bool | setYaw (Angle yaw) |
Sets Uav yaw. | |
bool | setPose (Pose3D &pDes, short ctrlIn) |
Sets Uav pose. | |
bool | setAttitude (Orientation3D &oDes) |
Sets Uav attitude. | |
bool | setPosition (Position3D p, Velocity3D v=Velocity3D(0.0, 0.0, 0.0), Acceleration3D a=Acceleration3D(0.0, 0.0, 0.0)) |
Sets position value. | |
bool | setVelocity (Velocity3D p, Acceleration3D a) |
Sets speed value. | |
bool | setAcceleration (Acceleration3D p) |
Sets acceleration value. | |
bool | readPosition () |
Gets pose. | |
bool | readVelocity () |
Gets velocity. | |
bool | readAttitude () |
Gets attitude. |