Commit Graph

29 Commits

Author SHA1 Message Date
Peter Barker 0eb03ba7d5 Copter: make SuperSimple type-safe 2020-06-16 19:39:42 +10:00
Randy Mackay c4b5d47e1f Copter: white space fixes 2020-04-23 13:17:11 +09:00
Rishabh 4995a9b274 Copter: Added Toy Mode logger documentation 2020-04-07 08:05:10 +09:00
Peter Barker 9f87962cf4 Copter: correct toymode compilation for recent compass changes 2020-03-03 21:56:33 +09:00
Peter Barker ce5f23810b ArduCopter: log disarm method 2020-02-22 12:16:29 +11:00
Peter Barker d1b402ab04 Copter: correct compilation with toymode enabled 2019-11-06 16:36:35 +11: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 4b870d752f Copter: fix toy-mode build
handle_message changed signature a few months ago but this is protected
by pragmas such that it is only ubild on SkyViper
2019-08-19 14:36:16 +10:00
Pierre Kancir c330b87592 ArduCopter: pass mavlink_message_t by const reference 2019-07-16 20:51:42 +10:00
Peter Barker ebbd2b971b Copter: correct compilation under toymode 2019-07-08 09:55:46 +10: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
Peter Barker f189860162 Copter: use enum class for ArmingMethod and ArmingRequired 2019-03-12 19:48:14 +11:00
Peter Barker 66416a5289 Copter: make toymode parameter descriptions consistent
Also correct "home button" -> "left (Mode button)"
2019-02-22 11:36:28 +09:00
Tom Pittenger b8ee535fb4 Copter: unify singleton naming to _singleton and get_singleton() 2019-02-10 19:09:58 -07:00
Peter Barker 6fc76a32af GLOBAL: use AP::logger() and strip redundant Log_ from methods 2019-01-18 18:08:20 +11:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
murata 7a3f84566a Copter: Delete the last newline of the message. 2018-11-07 11:59:58 +09:00
Andrew Tridgell 1978a0cb94 ArduCopter: fixed build warnings 2018-10-17 12:54:22 +11:00
Peter Barker 62d0bc986a Copter: toymode: correct static-vs-singleton compilation error 2018-08-08 09:00:11 +10:00
Peter Barker df83cb034e Copter: use ArmingMethod enumeration 2018-07-03 15:16:38 +10:00
Pierre Kancir aa8a90271e ArduCopter : HAL_RCINPUT_WITH_AP_RADIO definition 2018-05-22 08:35:01 +09:00
Michael du Breuil d96919ed21 Copter: Use RC_Channels instead of hal.rcin 2018-04-11 21:47:07 +01:00
Dr.-Ing. Amilcar do Carmo Lucas d78c2a1015 Copter: Fix copy-paste error in toy_mode 2018-03-20 08:13:06 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas ed36ec3c29 Copter: add option to disable THROW mode 2018-03-15 07:38:14 +09:00
Peter Barker dc5ef168fd Copter: toymode: correct compilation with fence is disabled 2018-02-22 10:26:37 +10:00
Andrew Tridgell 348a757cc6 Copter: re-enable FLOWHOLD mode on skyviper 2018-02-14 18:27:00 +11:00
Peter Barker 40d74584ac Copter: remove shims used in scheduler 2018-02-12 11:19:34 +09:00
Andrew Tridgell 9261e1cbde Copter: enable F412 toymode button setup
different button mapping for new controller
2018-02-08 17:36:33 +11:00
Andrew Tridgell af4f0c29ba Copter: enable TMODE (ToyMode) support
this is for the skyviper button based transmitter control
2018-02-08 17:36:33 +11:00