Michael du Breuil
b42b1c08c4
Copter: Support new AP_Vehicle::set_mode
2019-10-25 08:48:22 +08:00
Peter Barker
b4537bebd8
Copter: move control_mode_t into being Mode::Number enum class
...
Fixes this compiler error:
In file included from ../../ArduCopter/sensors.cpp:1:
In file included from ../../ArduCopter/Copter.h:195:
../../ArduCopter/mode.h:1291:9: fatal error: declaration shadows a variable in the global namespace [-Wshadow]
AUTO, // after A and B defined, pilot toggle the switch from one side to the other, vehicle flies autonomously
^
../../ArduCopter/defines.h:38:5: note: previous declaration is here
AUTO = 3, // fully automatic waypoint control using mission commands
^
1 error generated.
2019-09-13 13:12:08 +09:00
Peter Barker
6dce39cbe1
Copter: use AP_Arming methods to arm and disarm vehicle
...
Really just changing the namespace of init_arm_motors
2019-05-30 07:37:30 +09:00
Tom Pittenger
7824b64ad6
Copter: rename dataflash to logger
2019-03-28 16:40:57 +11:00
Peter Barker
c7e21d95ef
Copter: move Log_Write_Error into library
2019-03-27 12:36:40 +11:00
Peter Barker
1412921561
Copter: move sending of fence_status message up
2019-01-31 13:44:29 +09:00
chobitsfan
7f6b7dab2f
Copter: support fence actions SmartRTL and Brake
2019-01-25 15:43:18 +09:00
Raouf
f78ffefd66
Copter: Handle always land mode
2018-07-26 10:11:12 +09:00
chobits
75c2a2b02a
Copter: check for fence breaches when disarmed
2018-06-11 11:41:10 +09:00
Peter Barker
cb129fbdaf
Copter: remove argument to check()
...
Also, check() was check_fence()
2017-12-28 15:38:37 +00:00
Peter Barker
4dcb5aa3de
Copter: stop setting home distance in fence
2017-12-15 01:42:49 +00:00
Peter Barker
5d33cf08e1
Copter: eliminate calc_home_distance_and_bearing
...
Calling update_simple_mode_bearing calls get-heading
rather than the other way around
This will have the advantage of not calculating home bearing
when we stop calling update_simple_mode_bearing unnecesarily
2017-12-09 16:26:09 +09:00
Peter Barker
7b637334f4
Copter: eliminate mode_has_manual_throttle
2017-12-06 10:09:58 +09:00
khancyr
743d9ec65f
Copter: report polygon fence breach
2017-07-21 09:47:00 +09:00
Andrew Tridgell
0f6d0c5ba9
Copter: combined tri, single, coax and multicopter into a single build
...
this allows copter to be just 2 builds, one for heli, and one for
everything else
2017-01-12 17:39:37 +11:00
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.
2016-10-24 09:42:01 -02:00
Jonathan Challinger
1356deab8b
Copter: add control_mode_reason
2016-04-14 12:24:04 +09:00
Randy Mackay
290cdcf6fb
Copter: check fence when disarmed
...
this allows catching fence breaches as part of arming checks
2015-07-08 15:27:57 +09:00
Andrew Tridgell
278883c521
Copter: finished conversion to .cpp files
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2015-05-30 15:21:19 +09:00
Andrew Tridgell
356ece3402
Copter: rename .pde files to .cpp files
2015-05-30 15:21:15 +09:00