#include <ardrone.hpp>
Enumerator |
---|
Off |
|
Front |
|
Bottom |
|
Enumerator |
---|
Disconnected |
|
Landed |
|
Flying |
|
Camera ARDrone::activeCamera |
( |
| ) |
const |
void ARDrone::clearPosition |
( |
| ) |
|
std::map<std::string, std::string> ARDrone::configuration |
( |
| ) |
const |
bool ARDrone::connect |
( |
const char *const |
ip = "192.168.1.1" , |
|
|
const double |
timeout = 3.0 |
|
) |
| |
void ARDrone::disconnect |
( |
| ) |
|
Disconnects from the AR.Drone. The AR.Drone will perform an emergency landing (violently falling).
void ARDrone::flatTrim |
( |
| ) |
|
Tells the AR.Drone to hover. This is equivalent to move(0.0f, 0.0f, 0.0f, 0.0f)
- See also
- move
static ARDrone* ARDrone::instance |
( |
| ) |
|
|
static |
bool ARDrone::isEmergencyStopEnabled |
( |
| ) |
const |
void ARDrone::move |
( |
const float |
x, |
|
|
const float |
y, |
|
|
const float |
z, |
|
|
const float |
yaw |
|
) |
| |
void ARDrone::rawImage |
( |
cv::Mat & |
image | ) |
const |
void ARDrone::setActiveCamera |
( |
const Camera |
activeCamera | ) |
|
void ARDrone::setEmergencyStopEnabled |
( |
const bool |
emergencyStopEnabled | ) |
|
void ARDrone::setOwnerAddress |
( |
const char *const |
address | ) |
|
void ARDrone::setSsid |
( |
const char *const |
ssid | ) |
|
Sets the SSID of the drone. The drone must be rebooted for this change to take effect.
- Parameters
-
void ARDrone::takeoff |
( |
| ) |
|
Gets the version of the connected AR.Drone
The documentation for this class was generated from the following file: