Lucas De Marchi
b62e8909c4
AP_GPS: add missing fallthrough
2017-09-01 13:45:22 -07:00
Lucas De Marchi
cb9c626577
AP_ADSB: fix getting a copy rather than a reference
...
These have been caught by making constructors private and enforcing
calling a create() method to create objects are supposed to be
statically allocated only.
The Vector3f reference was just nearby and was a change copied from
similar PR from Peter Barker (#6873 ).
2017-09-01 13:45:22 -07:00
Lucas De Marchi
2c72fc94ba
AP_HAL: change aerofc baud to 921600
2017-09-01 07:55:47 -07:00
Peter Barker
698f18566b
AP_Terrain: cast to int32_t to avoid warning about signedness
...
../../libraries/AP_Terrain/TerrainIO.cpp: In member function ‘void
AP_Terrain::open_file()’:
../../libraries/AP_Terrain/TerrainIO.cpp:176:46: warning: format ‘%u’
expects argument of type ‘unsigned int’, but argument 5 has type
‘__gnu_cxx::__enable_if<true, double>::__type {aka double}’ [-Wformat=]
abs((uint32_t)block.lon_degrees));
^
../../libraries/AP_Terrain/TerrainIO.cpp:176:46: warning: format ‘%u’
expects argument of type ‘unsigned int’, but argument 7 has type
‘__gnu_cxx::__enable_if<true, double>::__type {aka double}’ [-Wformat=]
2017-09-01 13:30:56 +01:00
Peter Barker
6ad3541a24
DataFlash: clean up public interface
2017-09-01 10:58:07 +01:00
Peter Barker
ac806b650f
GCS_MAVLink: move handling of do_send_banner up
2017-08-30 15:54:47 +01:00
Peter Barker
1544a92f8b
GCS_MAVLink: factor out a send_banner
2017-08-30 15:54:47 +01:00
Peter Barker
2e078f7c5e
GCS_MAVLink: send fw_string, px4 git hash and nuttx hash on param request
2017-08-30 15:54:47 +01:00
Peter Barker
8a7a1b77dd
GCS_MAVLink: handle param_request_list in GCS_MAVLINK base class
2017-08-30 15:54:47 +01:00
Peter Barker
50242178b3
GCS_MAVLink: handle param_set in GCS_MAVLINK base class
2017-08-30 15:54:47 +01:00
Peter Barker
95ff94bfad
GCS_MAVLink: factor out a handle_common_param_message
2017-08-30 15:54:47 +01:00
Peter Barker
add1743c12
GCS_MAVLink: move send_autopilot_request calls up to GCS base class
2017-08-30 15:54:46 +01:00
Peter Barker
e9204a66ee
GCS_MAVLink: include version for AP_FWVersion
2017-08-30 15:54:46 +01:00
Peter Barker
f32651a38c
DataFlash: include version for AP_FWVersion
2017-08-30 15:54:46 +01:00
Peter Barker
445777429b
AP_FWVersion: add structure to hold firmware version
2017-08-30 15:54:46 +01:00
Randy Mackay
aaac6b3692
AP_Common: Bitmask formatting fix
2017-08-30 20:07:04 +09:00
ChrisBird
46c982d64f
AP_Mission: add OPTIONS parameter
...
First option added now is to clear the mission on reboot
Fixes #5743
2017-08-29 21:28:19 +01:00
Michael du Breuil
a895d69b42
GCS_MAVLink: Correct a bug in the FOR_EACH_ACTIVE_CHANNEL macro
2017-08-29 13:27:27 -07:00
Jacob Walser
e492c733d8
AP_Baro: fixup Keller LD comments
2017-08-29 12:30:32 -04:00
Michael du Breuil
db6d8c9c43
AP_Mission: Use a static assert to check content size
2017-08-29 14:37:56 +01:00
Jacob Walser
f4dfbb9dad
AP_JSButton: input_hold_toggle -> input_hold_set
2017-08-29 08:10:05 -04:00
Jacob Walser
07e00de549
AP_Baro: Tweak Keller LD driver for better performance after initial tests
2017-08-29 08:08:16 -04:00
Jacob Walser
2a71afd3ba
AP_Baro: Remove superfluous casts
2017-08-29 08:08:16 -04:00
Jacob Walser
a08da4ecc4
AP_Baro: New AP_Baro_Keller device driver
2017-08-29 08:08:16 -04:00
Andrew Tridgell
7e1368f7a5
AP_InertialSensor: implement notch filter on gyro
2017-08-29 13:52:29 +10:00
Andrew Tridgell
50dcca39bd
Filter: added a notch filter
...
maths from Leonard
2017-08-29 13:52:29 +10:00
Peter Barker
0f22f923e1
AC_InputManager: remove MAIN_LOOP_RATE in favour of parameter value
2017-08-29 08:41:07 +09:00
Andrew Tridgell
4aa068d63d
SITL: added simple launch sim for plane
...
allow for bungee, catapult and hand launches
2017-08-29 07:35:04 +10:00
Peter Barker
9783c0c3ba
DataFlash: log dataflash-file statistics periodically
2017-08-28 22:05:44 +01:00
Peter Barker
776d88bb6b
DataFlash: remove duplicate variables
2017-08-28 22:05:44 +01:00
Andrew Tridgell
29fe432dd7
AP_SerialManager: enable debug console use for other protocols
...
this allows SERIAL5_PROTOCOL to be set on FMUv2 and FMUv3 for use by
other protocols
2017-08-28 17:57:28 +10:00
Andrew Tridgell
d09b549144
HAL_PX4: allow uart5 to be used for non-nsh on FMUv2/FMUv3
2017-08-28 17:57:28 +10:00
Andrew Tridgell
0155434057
RC_Channel: fixed bug in manual with TRIM == MIN
...
This fixes the bug described here:
https://discuss.ardupilot.org/t/arduplane-reverse-thrust-setup/18324/5
which otherwise would prevent output with TRIM == MIN or TRIM == MAX
2017-08-26 20:30:54 +10:00
Peter Barker
2f9fb581fe
DataFlash: remove bad FALLTHROUGH causing compilation failure
2017-08-24 15:49:15 +09:00
Peter Barker
921985fe27
GCS_MAVLink: allow statustext logging from any source system
...
Turns out this is terribly useful for companion computers if
you allow them to log things when they're not your GCS.
The original check was bogus; if someone is talking to you via
mavlink they can do much worse than fill your logs!
2017-08-23 15:58:47 +01:00
Jacob Walser
e8f5967682
GCS_MAVLink: Add MSG_NAMED_FLOAT ap_message id
2017-08-23 13:40:52 +01:00
Lucas De Marchi
3414883f05
AP_GPS: remove tabs and fix coding style
2017-08-22 23:59:13 -07:00
Lucas De Marchi
927289aa64
DataFlash: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
2017-08-22 23:59:13 -07:00
Lucas De Marchi
7b0d6166e1
AP_RangeFinder: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
2017-08-22 23:59:13 -07:00
Lucas De Marchi
b37ca322f1
AP_Landing: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
2017-08-22 23:59:13 -07:00
Lucas De Marchi
0e502d89a3
AP_HAL: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
2017-08-22 23:59:13 -07:00
Lucas De Marchi
8389158d76
AP_GPS: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
2017-08-22 23:59:13 -07:00
Lucas De Marchi
7c6f9a004e
AP_Baro: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
2017-08-22 23:59:13 -07:00
Lucas De Marchi
e2e836f676
AP_Airspeed: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
2017-08-22 23:59:13 -07:00
Lucas De Marchi
3102247a85
AP_Common: add FALLTHROUGH define
2017-08-22 23:59:13 -07:00
Randy Mackay
e13f4d0d56
DataFlash: removed unused optFlowEnabled from Log_Write_EKF
2017-08-23 11:19:14 +09:00
Randy Mackay
59ffc3cd65
AP_OpticalFlow: minor order declaration change
...
non-functional change
2017-08-23 11:19:14 +09:00
Randy Mackay
cf24eef359
AP_OpticalFlow: init checks if enabled
2017-08-23 11:19:14 +09:00
Randy Mackay
bc38affcb1
AP_OpticalFlow: px4flow retries init 10 times at startup
...
This resolves an issue in which some px4flow sensors are slow to startup
2017-08-23 11:19:14 +09:00
Randy Mackay
fdb4c7b5ee
AP_OpticalFlow: failure to init leaves enabled unchanged
2017-08-23 11:19:14 +09:00