208 void drone_move(
float x_tilt,
float y_tilt,
float z_vel,
float yaw_vel);
Definition: ardrone.h:164
float get_drone_roll(void)
Retrieves the current roll of the AR.Drone, in degrees.
float get_drone_z_velocity(void)
Retrieves the current velocity in the upward or downwards direction.
int set_drone_ssid(const char *const ssid)
float get_drone_y(void)
Retrieves the y value relative to the drones starting position. Negative values indicate the drone ha...
int drone_camera_open(enum drone_camera camera)
Opens the AR.Drone's camera as the camera input device. You must use camera_close() once finished...
void drone_land(void)
This function will be used to land the drone at its current position.
drone_camera
Definition: ardrone.h:162
void drone_move(float x_tilt, float y_tilt, float z_vel, float yaw_vel)
Tells the drone to move with the given parameters.
float get_drone_pitch(void)
Retrieves the current pitch of the AR.Drone, in degrees.
float get_drone_x_velocity(void)
Retrieves the current velocity in the right or left direction.
int get_drone_emergency_stop_enabled(void)
Definition: ardrone.h:165
float get_drone_yaw(void)
Retrieves the current rotation in the clockwise (positive) or counterclockwise (negative) direction...
float get_drone_altitude(void)
Retrieves the current altitude of the AR.Drone, in meters.
float get_drone_x(void)
Retrieves the x value relative to the drones starting position. Negative values indicate the drone ha...
int drone_connect(void)
Establishes a connection between the drone and the Link. This function must be called before any othe...
int get_drone_battery(void)
retrieves the cached battery value
void drone_hover(void)
Tells the drone that it should stop moving and hover at its current location.
void drone_calibrate(void)
Calibrates the drone's accelerometers to understand what "flat" is.
float get_drone_y_velocity(void)
Retrieves the current velocity in the forward or backwards direction.
void drone_takeoff(void)
Makes the drone takeoff and stabilize itself. This command will return immeadiately.
void drone_clear_position()
Clears the accumulated absolute x, y, and z positions of the AR.Drone.
void drone_disconnect(void)
void set_drone_emergency_stop_enabled(int enabled)
int set_drone_mac_address(const char *const address)
Sets the Drone's MAC Address Pair to be the given string.
float get_drone_z(void)
Retrieves the y value relative to the drones starting position. Negative values indicate the drone ha...
int drone_pair(void)
Automatically detects the host MAC Address and pairs the drone with it.
int get_drone_version(void)