Randy Mackay
1b64dd2280
Copter: clarify pv_location_to_vector param name
...
Also update function description
10 years ago
Clay McClure
a897c14255
Copter: ensure lat, lon, alt all zero is handled
...
Use default position when waypoint lat/lon are zero,
and default altitude when waypoint alt is zero, for
both spline and straight-line waypoints.
Fixes #1145 .
10 years ago
Randy Mackay
b027c71491
Copter: restore pv_get_horizontal_distance_cm function
11 years ago
Randy Mackay
d0194b7a9d
Copter: remove home variable
...
home has moved to ahrs
saves 15 bytes of RAM
11 years ago
Randy Mackay
083f2898a9
Copter: use fast_atan2 for bearings to home and next WP
11 years ago
Randy Mackay
0b5ff80b3e
Copter: remove unused pos vector functions
...
removed pv_latlon_to_vector, pv_get_lat, pv_get_lon.
it would probably be best if these were moved into the Math library
11 years ago
Tobias
a7e7084f27
Copter/position_vector: remove const specifiers on objects returned by
...
value
11 years ago
Andrew Tridgell
086c7d70d8
Copter: use const references for Vector3f parameters
...
this is more efficient than passing a whole structure on the stack
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
12 years ago
Randy Mackay
07b6efafd8
Copter: use DEGX100 constant for position_vector calcs
12 years ago
Randy Mackay
49828eba7d
Copter: integrate AC_WPNav
12 years ago
Randy Mackay
e0506bd622
Copter: inav circle initial implementation
12 years ago