Jacob Walser
1ee1c01e43
Sub: Remove two unused functions
8 years ago
Jacob Walser
4112fd1316
Sub: Remove mode header
8 years ago
Jacob Walser
ed87bd9e59
Sub: fixes from rebase on ArduPilot master
8 years ago
Rustom Jehangir
9198b8cb29
Sub: Changes to match recent Copter updates.
8 years ago
Rustom Jehangir
26d0a922c1
Sub: Changes to match recent Copter updates.
8 years ago
Rustom Jehangir
83ff3931b8
Sub: Refactor "Copter" to "Sub".
8 years ago
Rustom Jehangir
3da7c95e9b
Sub: New vehicle type, derived from ArduCopter.
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
mirkix
e3934fac80
ArduCopter: Delete (wrong) filename out of header
9 years ago
Randy Mackay
cb9ca94dd1
Copter: remove unused pv_location_to_vector_with_default
9 years ago
Randy Mackay
e0bf08abe0
Copter: fixes to guided mode target check is within fence
...
guided altitude targets are converted to alt-above-home
remove unnecessary fence_status local variable from guided_set_destination methods
log failures to set guided target under a new failure code: ERROR_CODE_DEST_OUTSIDE_FENCE (5)
rename pv_get_home_destination_distance_mc to pv_distance_to_home_cm
9 years ago
Saloni Jain
bc22419286
Copter : Modified set_guided_destination() to reject requests for guided waypoints outside the fence.
9 years ago
dgrat
41661f815f
AP_Math: Replace the pythagorous* functions with a variadic template
...
The new function can deal with a variable number of function parameters.
Additionally, I renamed the functions to norm(), because this is the
standard name used in several other projects.
9 years ago
Andrew Tridgell
278883c521
Copter: finished conversion to .cpp files
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
10 years ago
Andrew Tridgell
356ece3402
Copter: rename .pde files to .cpp files
10 years ago
Tom Pittenger
5704a5a2a7
Copter: Compiler warnings: nuke fast_atan2()
...
per Randy's suggestion, fast_atan2() is no longer necessary over atan2() because only copter uses it and copter is no longer supported on future builds of APM
ccd578664f (commitcomment-11025083)
10 years ago
Jonathan Challinger
920ac12214
Copter: pv_location_to_vector use pv_alt_above_origin
10 years ago
Randy Mackay
cb66bf8b98
Copter: functions to convert alt-above-home vs alt-above-origin
10 years ago
Jonathan Challinger
4311fa8952
Copter: 90-atan2(-x,y) is the same as atan2(y,x)
10 years ago
Jonathan Challinger
9c2865f6a8
Copter: update pv_location_to_vector to use get_origin instead of get_home
10 years ago
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