Lucas De Marchi
c55c07eaf6
ArduPlane: remove check for AVR CPUs
...
Remove the checks for HAL_CPU_CLASS > HAL_CPU_CLASS_16 and
HAL_CPU_CLASS >= HAL_CPU_CLASS_75. Corresponding dead code will be
removed on separate commits.
2015-11-04 12:14:15 +11:00
Lucas De Marchi
1b07dabeb7
Replace prog_char and prog_char_t with char
...
prog_char and prog_char_t are now the same as char on supported
platforms. So, just change all places that use them and prefer char
instead.
AVR-specific places were not changed.
2015-10-30 14:35:30 +09:00
Lucas De Marchi
4ab9821624
Replace use of Log_Write_Message_P() with Log_Write_Message()
2015-10-30 14:35:28 +09:00
Lucas De Marchi
89fc4f4b62
Replace use of send_text_P() with send_text()
2015-10-30 14:35:17 +09:00
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.
2015-10-30 14:35:16 +09:00
Lucas De Marchi
84da1f5039
Rename gcs_send_text_P to gcs_send_text
2015-10-30 14:35:07 +09:00
Lucas De Marchi
84d5fb006f
Remove use of Util::{v,}snprintf_P()
...
These are now the same function as Util::snprintf().
2015-10-30 14:35:05 +09:00
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.
2015-10-30 14:35:04 +09:00
Andrew Tridgell
3c3392aae5
Plane: improve error messages on failed parachute release
2015-10-27 16:06:34 +11:00
Andrew Tridgell
9affddcaa3
Plane: initial support for AP_Parachute library
2015-10-27 16:06:34 +11:00
Randy Mackay
17ed125e41
Plane: add no break comment to suppress compiler warning
2015-10-03 12:56:30 +09:00
Randy Mackay
32c5b0e63c
Plane: support set_home_position message
2015-10-03 12:56:28 +09:00
Randy Mackay
d54e28e129
Plane: send home position when home is set or get-home msg received
2015-10-03 12:56:27 +09:00
Andrew Tridgell
213bed99e1
Plane: use ahrs.send_ekf_status_report()
2015-09-29 10:59:19 +10:00
Andrew Tridgell
017ebc440b
Plane: added SENSOR_RC_RECEIVER reporting in SYS_STATUS
2015-09-28 08:55:24 +10:00
Andrew Tridgell
458e967d06
Plane: added RPM logging
...
useful for seeing if a petrol motor is still running
2015-09-24 20:58:18 +10:00
Randy Mackay
6da53ae3b2
Plane: replace SKIP_GYRO_CAL with INS_GYR_CAL
...
Also calibrate gyros with accel cal and set trim
2015-09-21 17:06:43 +09:00
squilter
7365701d13
Plane: Support do_digicam_x via command_long
2015-09-16 13:06:51 +09:00
Grant Morphett
f953f03916
Plane: Fixing issue 327 - reporting Baro alt instead of GPS
2015-09-08 09:40:39 +10:00
Randy Mackay
8c1212d4a6
Plane: support do-mount-control via command-long
2015-09-06 16:01:31 +09:00
Siddharth Bharat Purohit
aea1db7348
ArduPlane: implement on-board compass cal for arduplane
2015-09-03 16:59:14 +10:00
Randy Mackay
cc68260478
Plane: sanity check do-set-home, do-set-ROI and fence-point locations
2015-08-28 13:14:38 +10:00
squilter
583c087eca
Plane: update severities
2015-08-28 10:04:35 +10:00
Tom Pittenger
204ff7b158
Plane: move statics into new struct
...
removed default case statements
2015-08-23 10:34:18 +10:00
Tom Pittenger
6d0ad05192
GCS_Mavlink: added is_crashed to mavlink heartbeat status which shows EMERGENCY
2015-08-23 10:34:18 +10:00
squilter
d421644f3a
Plane: define and send FIRMWARE_VERSION
2015-08-23 09:21:57 +09:00
Tom Pittenger
86e3116fb6
Plane: implement try send mission_item_reached
...
clean up unreachable code
2015-08-19 15:42:07 +10:00
Andrew Tridgell
58e829553f
Plane: prevent build error with MSG_RPM
2015-08-12 15:03:52 +10:00
Andrew Tridgell
6c07795b63
Plane: added HIL_SUPPORT define
...
disable HIL support on APM2 to save flash space
2015-07-30 11:04:31 +10:00
Randy Mackay
76ccf4043e
Plane: log ahrs home and ekf origin
2015-07-06 12:11:56 +09:00
Tom Pittenger
f1ee129423
Plane: compiler warnings
...
- float to double in gcs_send_test (x2)
- float to bool
2015-07-06 09:30:19 +10:00
Peter Barker
3fce7eb21a
Plane: use common mission logging code
2015-06-30 16:23:35 +10:00
Michael du Breuil
54c06cde02
Plane: Log the steering controller PID state
2015-06-22 15:41:44 +10:00
Andrew Tridgell
248bf8c5a3
Plane: disable geofence on APM2
2015-06-20 14:52:42 +10:00
Andrew Tridgell
2dbe372b2f
Plane: cleanup some coverity warnings
2015-06-20 13:26:34 +10:00
Andrew Tridgell
76c0293a85
Plane: added support for DO_AUTOTUNE_ENABLE
2015-06-15 09:20:55 +10:00
Randy Mackay
814cb5ce18
Plane: add vibration DF logging and send to GCS
2015-06-12 21:36:47 +09:00
Eugene Shamaev
5b34fa4f6a
Plane: added DSM bind support
2015-06-10 17:19:10 +10:00
Andrew Tridgell
6b9854457d
Plane: added PID tuning logging for ground steering
2015-06-09 12:48:56 +10:00
Andrew Tridgell
bf396d7138
Plane: log to tlog when we set home via MAVLink
2015-06-04 13:26:39 +10:00
Andrew Tridgell
09476bf9d3
Plane: added GCS_PID_MASK for realtime pid tuning
2015-05-27 14:28:46 +10:00
Lucas De Marchi
7c4cf41ebc
ArduPlane: use functor macros
...
Functor is not yet being used but let's make is macro fallback to the
previous Delegate implementation for easy of transition between the two.
2015-05-26 13:46:54 +10:00
Andrew Tridgell
97687f04af
Plane: enable messages for MAVLink gimbal support
2015-05-26 08:30:30 +10:00
Andrew Tridgell
78f02634d0
Plane: fixed ins reference in plane object
2015-05-21 07:48:54 +10:00
Andrew Tridgell
554869033f
Plane: disabled rangefinder on APM2
...
this saves 5k of flash space, enough for support to be kept for
another release
2015-05-21 07:48:53 +10:00
Andrew Tridgell
b92c2409e4
Plane: added local millis() and micros() to reduce code size a bit
2015-05-21 07:48:53 +10:00
Andrew Tridgell
18c37935c9
Plane: convert from .pde to .cpp files
2015-05-21 07:48:52 +10:00