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
Randy Mackay
0aab175051
Copter: move proximity to g2
8 years ago
Jonathan Challinger
f2ef8eec8c
Copter: use velocity output from AC_PrecLand
8 years ago
Randy Mackay
a07ecfe2b3
Copter: log proximity sensor at 10hz
...
This is current in the Copter vehicle code but we can move to the dataflash library when other vehicles start using this type of sensor. Until then adding it to common will just increase the dependencies unnecessarily for other vehicles.
8 years ago
Peter Barker
68630a86fe
Copter: fix logging after log download
...
Downloading a log causes DataFlash to stop logging.
Restart logging when we are not downloading and start_logging is called.
9 years ago
Randy Mackay
575795fa84
Copter: CTUN logging checks return value of height_above_terrain
...
This resolves a Covarity warning but it was actually safe before
No functional change
9 years ago
Randy Mackay
f4f13bbe6b
Copter: add throw mode logging
9 years ago
Lucas De Marchi
c0b49f6aeb
ArduCopter: Remove i2c lockup count
...
This was returned only for a single bus and on all supported platforms
this is hardcoded to 0.
9 years ago
Randy Mackay
543d5701e7
Copter: remove unused log_write_startup
9 years ago
Randy Mackay
5d5a85c38e
Copter: log rally points on startup
9 years ago
Andrew Tridgell
6737bc21b9
Copter: fixed typo
9 years ago
Leonard Hall
9864750336
Copter: rename CTUN desired_velocity to target_velocity
...
No functional change
9 years ago
Randy Mackay
a614a17b3a
Copter: log hover throttle in CTUN message
9 years ago
Tom Pittenger
a96abde4bf
Copter: do not log CURR.Throttle because it's already logged elsewhere
9 years ago
Randy Mackay
5ac13c0355
Copter: move rangefinder variables into structure
...
moved in rangefinder_alt, rangefinder_alt_health and rangefinder_enabled
9 years ago
Randy Mackay
7689315ba2
Copter: rename sonar to rangefinder
9 years ago
dgrat
76362caee0
AP_Math: Replace wrap_* functions with template versions
9 years ago
Andrew Tridgell
9da3b8db60
Copter: only log baro, gps and mag if ekf not logging them
9 years ago
Lucas De Marchi
352e103f1a
ArduCopter: use separate header for version macro
...
Having the version macro in the config.h and consequently in the main
vehicle header means that whenever the version changes we need to
compiler the whole vehicle again. This would not be so bad if we weren't
also appending the git hash in the version. In this case, whenever we
commit to the repository we would need to recompile everything.
Move to a separate header that is include only by its users. Then
instead of compiling everything we will compile just a few files.
9 years ago
Randy Mackay
f45c69e7ad
Copter: log terrain altitude in CTUN message
9 years ago
Andrew Tridgell
a39a4a6243
Copter: mark a few more log messages as critical
9 years ago
Andrew Tridgell
f32b7684a0
Copter: removed unused startup log message
9 years ago
Andrew Tridgell
5149a49daa
Copter: added logging of dropped log messages in PM message
9 years ago
Jonathan Challinger
8ded496f8b
Copter: log mode change reason
9 years ago
Randy Mackay
f0575de776
Copter: tradheli logs rotors speed in 0 to 1 range
9 years ago
Leonard Hall
76a8de8a53
Copter: CTUN logs throttle_in, angle boost in 0 to 1 range
9 years ago
Andrew Tridgell
31000ac756
Copter: moved Log_Write_Rate() to common code
9 years ago
Randy Mackay
0dffeec07f
Copter: use ahrs.get_origin instead of ekf.getOriginLLH
...
This ensures we get the origin from the active EKF
9 years ago
Andrew Tridgell
4efb9bd785
ArduCopter: update for changed AP_Camera API
9 years ago
Dario Lindo Andres
90bf13279b
ArduCopter: Added precise camera trigger logging
...
Added update_trigger and check_digital_pin functions
added camera trigger precise time mark
detect camera feedback pin status
added support for simple digital pin
included support for digital pin. Already included in
APMrover2.
added support for TRIGGER MSG
corrected according to defines.h
9 years ago
Randy Mackay
89c147184f
Copter: log guided mode targets
9 years ago
Jonathan Challinger
709fcf37cc
Copter: call renamed functions in AC_AttitudeControl
9 years ago
Luis Vale Gonçalves
3199829d45
Copter: revisions to text strings sent to GCS
9 years ago
Caio Marcelo de Oliveira Filho
c7acc46d09
Copter: use millis/micros/panic functions
9 years ago
Andrew Tridgell
0c92331762
Copter: fixed build for SITL changes
9 years ago
lvale
549695181c
Copter: revised and uniformization of severity messages
9 years ago
Andrew Tridgell
99b448d1bb
Copter: make EV log messages critical
...
these should be a high priority
9 years ago
Lucas De Marchi
4ab9821624
Replace use of Log_Write_Message_P() with Log_Write_Message()
9 years ago
Lucas De Marchi
20c6ffc5e3
Replace use of UARTDriver::printf_P() with UARTDriver::printf()
...
This also starts to show warnings on places that were already using
wrong printf format strings.
9 years ago
Lucas De Marchi
6f4904189b
Replace use of println_P() with println()
9 years ago
Lucas De Marchi
831d8acca5
Remove use of PROGMEM
...
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:
git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'
The 2 commands were done so we don't leave behind spurious spaces.
AVR-specific places were not changed.
9 years ago
Lucas De Marchi
6f0db45b57
Replace use of strcasecmp_P() with strcasecmp()
9 years ago
Lucas De Marchi
84da1f5039
Rename gcs_send_text_P to gcs_send_text
9 years ago
Lucas De Marchi
2c38e31c93
Remove use of PSTR
...
The PSTR is already define as a NOP for all supported platforms. It's
only needed for AVR so here we remove all the uses throughout the
codebase.
This was automated with a simple python script so it also converts
places which spans to multiple lines, removing the matching parentheses.
AVR-specific places were not changed.
9 years ago
Peter Barker
080c31c15e
Copter: use simple log entry numbers to download logs
9 years ago
Peter Barker
1103451d36
Copter: ensure 10% free space when initialising logging
10 years ago
Peter Barker
51a761656e
Copter: DFMessageWriter; ability to trickle messages out to DF
10 years ago
Randy Mackay
0da38ba2bf
Copter: add Precision Landing log message
10 years ago
Robert Lefebvre
161ce5c11d
Copter: Change name of rotor speed function to match that in library
10 years ago
squilter
767b4da5b6
Copter: update send text severities
10 years ago