Peter Barker
d31700c310
Rover: rename directory from APMrover2
5 years ago
Peter Barker
937bbeb66d
Rover: correct comment on CPU failsafe strategy
5 years ago
Peter Barker
98c999d0de
APMrover2: log disarm method
5 years ago
Tatsuya Yamaguchi
5ec1f95ee4
Rover: display the type of failsafe on GCS
5 years ago
Michael du Breuil
a1acc75e11
Rover: Support new AP_Vehicle::set_mode
5 years ago
Randy Mackay
9456fe4d70
Rover: failsafe check format fix
...
adding some brackets perhaps makes it a little clearer
5 years ago
Henry Wurzburg
006004be13
Rover: FS_OPTION allows failsafe from hold mode
5 years ago
Peter Barker
a0ba9986a2
Rover: correct compilation when AFS enabled
6 years ago
Randy Mackay
a5c76b614e
Rover: resolve send_text compiler warnings
6 years ago
Peter Barker
9851ec1ddb
Rover: move arming-related functionality into parent classes
...
Logging moves up
arming via mavlink moves up
arming via switch moves up
6 years ago
Tom Pittenger
6f5497cac3
Rover: rename dataflash to logger
6 years ago
Tatsuya Yamaguchi
32ba248c73
Rover: add continue-in-auto option to failsafe
6 years ago
Tatsuya Yamaguchi
44360a769d
Rover: fix to use defined value of failsafe action
6 years ago
Randy Mackay
2408538bdf
Rover: failsafe clears rc-overrides
6 years ago
Randy Mackay
047f704236
Rover: last_heartbeat_ms moved to failsafe structure
6 years ago
Peter Barker
0b1091231c
Rover: remove rcmap member from AP_AdvancedFailsafe
...
Also correct constructor for barometer
Also make it compile again
7 years ago
Michael du Breuil
b761a57da3
Rover: Support new battery interface
7 years ago
Peter Barker
211e7416a9
Rover: use scheduler ticks in place of mainloop_count
7 years ago
khancyr
c3fb985ec5
Rover: add fence support
7 years ago
Dylan Herman
9d7eb188d1
Rover: enter Hold on failure to enter RTL fs action
7 years ago
Dylan Herman
f3b794f698
Rover: Add SmartRTL failsafe action
...
Add failsafe actions SmartRTL or RTL and SmartRTL or Hold
7 years ago
khancyr
2be28ddb1e
Rover: fixup cpu failsafe
...
remove copying of rc input to servo output
disarm after 2 seconds
8 years ago
khancyr
23532bf45c
Rover: add reason to set_mode
8 years ago
Peter Barker
07f4603533
Rover: integrate mode class
8 years ago
Peter Barker
9509f7f1bf
Rover: use send_text method on the GCS singleton
8 years ago
Pierre Kancir
0017485ee7
Rover: move failsafe_trigger from system to failsafe
8 years ago
Pierre Kancir
83bf1fdca5
APMrover2: remove useless variable
8 years ago
Pierre Kancir
20cc336885
APMRover2: const correctness
8 years ago
Pierre Kancir
b634fe548d
APMRover2: Use c++ cast
8 years ago
Pierre Kancir
99ba8bdc08
APMRover2: add advance failsafe
8 years ago
Andrew Tridgell
93d6b012c2
Rover: convert to new SRV_Channel API
8 years ago
Pierre Kancir
fa0b007efb
Rover: failsafe.cpp correct whitespace, remove tabs
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
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.
9 years ago
Andrew Tridgell
b47a09b709
Rover: fixed build of .cpp files
10 years ago
Andrew Tridgell
2b6835d187
Rover: rename all .pde files to .cpp files
10 years ago
Andrew Tridgell
b731ebfd9e
Rover: coversion to class now complete
10 years ago
Andrew Tridgell
adbf9c362e
Rover: automatic substitution for class members
10 years ago
Andrew Tridgell
20ae1b7bc3
Rover: removed demo_servos()
...
doesn't do much good on rovers, and just slows boot
11 years ago
Andrew Tridgell
3538e1190c
Rover: updates for AP_HAL::MemberProc
12 years ago
Andrew Tridgell
19651373d0
Rover: use new scheduler API
12 years ago
Andrew Tridgell
5a9485a419
Rover: support RCMAP_* mapping for steering/throttle
12 years ago
Andrew Tridgell
ef4198bcb4
Rover: don't do failsafe if throttle is below failsafe level
12 years ago
Andrew Tridgell
b284d4c21e
Rover: first cut at porting rover to AP_HAL
12 years ago
Jean-Louis Naudin
77eea3a893
APMrover v2.0 - tested on Traxxas Monster Jam Grinder XL-5 3602
...
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
13 years ago
Andrew Tridgell
c805f2a0c3
failsafe: make sure we clear any RC override in manual failsafe
13 years ago
Andrew Tridgell
29fa78214b
APM: added failsafe support
...
we now pass all channels through at 50Hz if the main loop stops
running, regardless of why. This gives us a reasonable failsafe, as
long as the low level RC library is still working, and interrupts
don't get completely disabled.
13 years ago