Commit Graph

32 Commits

Author SHA1 Message Date
Michael du Breuil a1acc75e11 Rover: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Randy Mackay 9456fe4d70 Rover: failsafe check format fix
adding some brackets perhaps makes it a little clearer
2019-10-05 07:30:17 +09:00
Henry Wurzburg 006004be13 Rover: FS_OPTION allows failsafe from hold mode 2019-10-05 07:30:17 +09:00
Peter Barker a0ba9986a2 Rover: correct compilation when AFS enabled 2019-08-22 10:52:18 +09:00
Randy Mackay a5c76b614e Rover: resolve send_text compiler warnings 2019-07-30 08:44:06 +09:00
Peter Barker 9851ec1ddb Rover: move arming-related functionality into parent classes
Logging moves up
arming via mavlink moves up
arming via switch moves up
2019-05-30 07:37:30 +09:00
Tom Pittenger 6f5497cac3 Rover: rename dataflash to logger 2019-03-28 16:40:57 +11:00
Tatsuya Yamaguchi 32ba248c73 Rover: add continue-in-auto option to failsafe 2018-11-14 20:24:01 +09:00
Tatsuya Yamaguchi 44360a769d Rover: fix to use defined value of failsafe action 2018-11-14 11:18:43 +09:00
Randy Mackay 2408538bdf Rover: failsafe clears rc-overrides 2018-11-02 10:31:37 +09:00
Randy Mackay 047f704236 Rover: last_heartbeat_ms moved to failsafe structure 2018-11-02 10:31:37 +09:00
Peter Barker 0b1091231c Rover: remove rcmap member from AP_AdvancedFailsafe
Also correct constructor for barometer

Also make it compile again
2018-05-05 18:06:31 +09:00
Michael du Breuil b761a57da3 Rover: Support new battery interface 2018-03-27 22:12:21 +01:00
Peter Barker 211e7416a9 Rover: use scheduler ticks in place of mainloop_count 2018-02-13 17:15:05 +11:00
khancyr c3fb985ec5 Rover: add fence support 2018-01-22 17:18:41 +09:00
Dylan Herman 9d7eb188d1 Rover: enter Hold on failure to enter RTL fs action 2018-01-19 09:26:45 +09:00
Dylan Herman f3b794f698 Rover: Add SmartRTL failsafe action
Add failsafe actions SmartRTL or RTL and SmartRTL or Hold
2018-01-19 09:26:45 +09:00
khancyr 2be28ddb1e Rover: fixup cpu failsafe
remove copying of rc input to servo output
disarm after 2 seconds
2017-08-26 13:13:18 +09:00
khancyr 23532bf45c Rover: add reason to set_mode 2017-07-31 18:01:17 +09:00
Peter Barker 07f4603533 Rover: integrate mode class 2017-07-21 10:13:20 +09:00
Peter Barker 9509f7f1bf Rover: use send_text method on the GCS singleton 2017-07-09 17:17:29 -04:00
Pierre Kancir 0017485ee7 Rover: move failsafe_trigger from system to failsafe 2017-06-24 13:17:35 +09:00
Pierre Kancir 83bf1fdca5 APMrover2: remove useless variable 2017-04-26 08:43:09 +10:00
Pierre Kancir 20cc336885 APMRover2: const correctness 2017-04-26 08:43:09 +10:00
Pierre Kancir b634fe548d APMRover2: Use c++ cast 2017-04-26 08:43:09 +10:00
Pierre Kancir 99ba8bdc08 APMRover2: add advance failsafe 2017-01-31 17:12:37 +11:00
Andrew Tridgell 93d6b012c2 Rover: convert to new SRV_Channel API 2017-01-12 17:39:37 +11:00
Pierre Kancir fa0b007efb Rover: failsafe.cpp correct whitespace, remove tabs 2016-12-30 09:20:24 +09: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
Caio Marcelo de Oliveira Filho ee073787c8 Rover: use millis/micros/panic functions
Instead of going through 'hal' then 'scheduler', use directly the AP_HAL
functions. Besides removing indirection that is not necessary for such
functions, this patch ends up reducing the code size in the call sites.

For example, building ArduCopter for PX4 with this change (compared to
before introduction of the functions) yields almost 3k bytes of code
size.

    # ArduCopter build before the functions (1b29a1af46)
       text	   data	    bss	    dec	    hex	filename
     895264	   2812	  62732	 960808	  ea928	/.../px4fmu-v2_APM.build/firmware.elf

    # ArduCopter build after this patch
       text	   data	    bss	    dec	    hex	filename
     892264	   2812	  62732	 957808	  e9d70	/.../px4fmu-v2_APM.build/firmware.elf

A later patch will remove the unused functions in the Schedulers.
2015-11-20 12:26:14 +09:00
Andrew Tridgell b47a09b709 Rover: fixed build of .cpp files 2015-05-21 07:48:49 +10:00
Andrew Tridgell 2b6835d187 Rover: rename all .pde files to .cpp files 2015-05-21 07:48:49 +10:00