#include <AC_Circle.h>
Definition at line 14 of file AC_Circle.h.
◆ AC_Circle()
◆ calc_velocities()
| void AC_Circle::calc_velocities |
( |
bool |
init_velocity | ) |
|
|
private |
◆ get_angle_total()
| float AC_Circle::get_angle_total |
( |
| ) |
const |
|
inline |
get_angle_total - return total angle in radians that vehicle has circled
Definition at line 44 of file AC_Circle.h.
◆ get_bearing_to_target()
| int32_t AC_Circle::get_bearing_to_target |
( |
| ) |
const |
|
inline |
get bearing to target in centi-degrees
Definition at line 65 of file AC_Circle.h.
◆ get_center()
| const Vector3f& AC_Circle::get_center |
( |
| ) |
const |
|
inline |
get_circle_center in cm from home
Definition at line 33 of file AC_Circle.h.
◆ get_closest_point_on_circle()
| void AC_Circle::get_closest_point_on_circle |
( |
Vector3f & |
result | ) |
|
◆ get_distance_to_target()
| float AC_Circle::get_distance_to_target |
( |
| ) |
const |
|
inline |
get horizontal distance to loiter target in cm
Definition at line 62 of file AC_Circle.h.
◆ get_pitch()
| int32_t AC_Circle::get_pitch |
( |
| ) |
const |
|
inline |
◆ get_radius()
| float AC_Circle::get_radius |
( |
| ) |
|
|
inline |
get_radius - returns radius of circle in cm
Definition at line 36 of file AC_Circle.h.
◆ get_roll()
| int32_t AC_Circle::get_roll |
( |
| ) |
const |
|
inline |
get desired roll, pitch which should be fed into stabilize controllers
Definition at line 50 of file AC_Circle.h.
◆ get_yaw()
| int32_t AC_Circle::get_yaw |
( |
| ) |
const |
|
inline |
◆ init() [1/2]
| void AC_Circle::init |
( |
const Vector3f & |
center | ) |
|
init - initialise circle controller setting center specifically caller should set the position controller's x,y and z speeds and accelerations before calling this
Definition at line 52 of file AC_Circle.cpp.
◆ init() [2/2]
init - initialise circle controller setting center using stopping point and projecting out based on the copter's heading caller should set the position controller's x,y and z speeds and accelerations before calling this
Definition at line 74 of file AC_Circle.cpp.
◆ init_start_angle()
| void AC_Circle::init_start_angle |
( |
bool |
use_heading | ) |
|
|
private |
◆ set_center()
| void AC_Circle::set_center |
( |
const Vector3f & |
center | ) |
|
|
inline |
set_circle_center in cm from home
Definition at line 30 of file AC_Circle.h.
◆ set_radius()
| void AC_Circle::set_radius |
( |
float |
radius_cm | ) |
|
|
inline |
set_radius - sets circle radius in cm
Definition at line 38 of file AC_Circle.h.
◆ set_rate()
| void AC_Circle::set_rate |
( |
float |
deg_per_sec | ) |
|
◆ update()
| void AC_Circle::update |
( |
| ) |
|
◆ _ahrs
◆ _angle
◆ _angle_total
| float AC_Circle::_angle_total |
|
private |
◆ _angular_accel
| float AC_Circle::_angular_accel |
|
private |
◆ _angular_vel
| float AC_Circle::_angular_vel |
|
private |
◆ _angular_vel_max
| float AC_Circle::_angular_vel_max |
|
private |
◆ _center
◆ _flags
◆ _inav
◆ _pos_control
◆ _radius
| AP_Float AC_Circle::_radius |
|
private |
◆ _rate
| AP_Float AC_Circle::_rate |
|
private |
◆ _yaw
◆ var_info
The documentation for this class was generated from the following files: