Michael du Breuil
cb1b9b6674
AP_GPS: Fix SBF race condition on start
...
Unsure what the underlying problem is, but the length of the first string in
the initilisation_blob increasing resulted in a race condition, waiting
longer before retrying the message resolves it, but we still need to identify
the underlying problem. This patch just results in the GPS working with current
configurations. Tested against AsteRx-M firmware 3.6.3
2017-07-11 09:40:02 +09:00
Jacob Walser
20889ff8a9
APMotors6DOF: Add motor reverse parameters for motors 9-12
...
Fix overruns found in coverity 145496-99
2017-07-11 09:34:40 +09:00
Andrew Tridgell
dd7c96a6cc
AP_Radio: reseve an ID for AP_Radio
...
as discussed with Randy
2017-07-10 17:07:36 +10:00
Randy Mackay
bd2ba1565c
AC_WPNav: minor format fix
2017-07-10 13:26:37 +09:00
Peter Barker
02532af64b
GCS_MAVLink: a send_text method on the GCS singleton
2017-07-09 17:17:29 -04:00
Peter Barker
ca6e34dfbd
GCS_MAVLink: use Notify singleton for sending statustext
2017-07-09 17:17:29 -04:00
Peter Barker
eb1f22fc67
AP_Notify: add singleton
2017-07-09 17:17:29 -04:00
Randy Mackay
d636e85eac
AP_Proximity: SF40c driver treats zero distances as invalid
2017-07-08 14:09:17 +09:00
Randy Mackay
6982e58cf2
Baro: health check that values are changing
2017-07-08 08:40:19 +09:00
Randy Mackay
d64b2fcbf0
AP_NavEKF3: final mag reset at 2.5m
2017-07-08 08:39:43 +09:00
Randy Mackay
7e7f78d4b5
AP_NavEKF2: final mag reset at 2.5m
2017-07-08 08:39:43 +09:00
Peter Barker
c1264cf60a
DataFlash: Use GCS_Dummy GCS singleton
2017-07-07 16:18:37 +01:00
Peter Barker
3e0ed6deae
AP_AHRS: Use GCS_Dummy GCS singleton
2017-07-07 16:18:37 +01:00
Peter Barker
3f43789742
GCS_MAVLINK: provide a GCS singleton for examples and tools to use
2017-07-07 16:18:37 +01:00
Peter Barker
db27346fd7
GCS_MAVLink: move GCS functions up from GCS_Plane
2017-07-07 16:18:37 +01:00
Peter Barker
c163915f6e
AP_HAL: correct storage example
2017-07-07 16:18:37 +01:00
Randy Mackay
51fa8fb0bd
AP_InertialSensor: resolve member init order compiler warning
2017-07-07 17:27:23 +09:00
Eugene Shamaev
43e9c8370f
AP_BoardConfig: increase start delay to 5 seconds
2017-07-03 11:44:32 +01:00
Eugene Shamaev
c6df13c795
AP_UAVCAN: changes to servo bitmasks to support multiple instances, baro, compass, gps changes for several CAN interfaces
2017-07-03 11:44:32 +01:00
Eugene Shamaev
a7921a273b
AP_BoardConfig: move of CAN parameters into separate group and support of several interfaces
2017-07-03 11:44:32 +01:00
Eugene Shamaev
36655310b3
AP_HAL_PX4: support for several CAN interfaces and drivers, filtering support
2017-07-03 11:44:32 +01:00
Eugene Shamaev
ec8aa2e23f
SRV_Channel: move of CAN bitmasks into AP_UAVCAN
2017-07-03 11:44:32 +01:00
Eugene Shamaev
5341e51f45
AP_GPS: support for multiple instances on different interfaces
2017-07-03 11:44:32 +01:00
Eugene Shamaev
aa1f6a7587
AP_Compass: united enumeration on startup, multiple CAN drivers, correct dev_id based on network and node ID
2017-07-03 11:44:32 +01:00
Eugene Shamaev
6e6efa7e1b
AP_Baro: enumeration and multiple interfaces support
2017-07-03 11:44:32 +01:00
Eugene Shamaev
8f2306fd19
AP_HAL: support of several CAN managers (virtual drivers)
2017-07-03 11:44:32 +01:00
Andrew Tridgell
ca8a2a1f34
AP_RSSI: support receiver based RSSI protocols
2017-07-03 11:22:21 +10:00
Andrew Tridgell
a88693c487
HAL_PX4: support RSSI from receiver protocols
2017-07-03 11:22:21 +10:00
Andrew Tridgell
9868ffe13b
HAL_Linux: support receiver based RSSI
2017-07-03 11:22:21 +10:00
Andrew Tridgell
94b5a9c6f0
AP_HAL: added RSSI interface for RCInput
2017-07-03 11:22:21 +10:00
Andrew Tridgell
64f722876f
RC_Channel: use set_and_save_ifchanged
2017-07-03 11:17:42 +10:00
Andrew Tridgell
1d41dc034d
SRV_Channel: deprecate aileron_with_input and elevator_with_input
2017-07-03 11:17:42 +10:00
Andrew Tridgell
b50ab75f4c
RC_Channel: added set_and_save_trim()
2017-07-03 11:17:42 +10:00
Andrew Tridgell
cde4afd28e
SRV_Channel: added set_trim_to_servo_out_for()
...
this will be used for new TRIM_AUTO functionality in plane
2017-07-03 11:17:42 +10:00
Andrew Tridgell
9cb672e85e
SRV_Channel: added doc values for dspoilers
...
and fix missing Motor9 to Motor12 values
2017-07-03 11:17:42 +10:00
Andrew Tridgell
7627246ff8
SRV_Channels: added 4 channel dspoiler support
2017-07-03 11:17:42 +10:00
Andrew Tridgell
907534d55f
SITL: added dspoiler support
2017-07-03 11:17:42 +10:00
Andrew Tridgell
6b3bb29398
SRV_Channel: rename flaperon1 and flaperon2 to flaperon_left and flaperon_right
...
this makes it more consistent with elevons and vtails
2017-07-03 11:17:42 +10:00
Randy Mackay
edc9d4db5b
AP_InertialSensor: increase accel filter to 20hz
2017-07-03 09:38:15 +09:00
Peter Barker
7b3db490be
DataFlash: correct examples
2017-06-29 15:43:39 +01:00
Peter Barker
9c2a2a3d94
AP_Module: correct example
2017-06-29 15:43:39 +01:00
Peter Barker
cbe9627bf5
AP_GPS: correct example
2017-06-29 15:43:38 +01:00
Peter Barker
12b4f2c4b6
AP_AHRS: correct example
2017-06-29 15:43:38 +01:00
Peter Barker
7258cfd20b
AP_GPS: check dataflash to see if we should log backend gps messages
2017-06-29 15:43:38 +01:00
Peter Barker
6ae86a0b8c
AP_InertialSensor: use DataFlash should_log to determine raw logging
2017-06-29 15:26:27 +01:00
Peter Barker
4dfdffde43
DataFlash: move should_log check of log bitmask into DataFlash
2017-06-29 15:26:27 +01:00
Francisco Ferreira
f35f0d59dd
AP_GPS: fix SBP2 driver build warnings by using memcpy
...
Build gave the following warnings:
../../libraries/AP_GPS/AP_GPS_SBP2.cpp: In member function ‘void AP_GPS_SBP2::_sbp_process_message()’:
../../libraries/AP_GPS/AP_GPS_SBP2.cpp:181:78: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
last_heartbeat = *((struct sbp_heartbeat_t*)parser_state.msg_buff);
^
../../libraries/AP_GPS/AP_GPS_SBP2.cpp:181:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
last_heartbeat = *((struct sbp_heartbeat_t*)parser_state.msg_buff);
^
../../libraries/AP_GPS/AP_GPS_SBP2.cpp:186:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
last_gps_time = *((struct sbp_gps_time_t*)parser_state.msg_buff);
^
../../libraries/AP_GPS/AP_GPS_SBP2.cpp:186:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
last_gps_time = *((struct sbp_gps_time_t*)parser_state.msg_buff);
^
../../libraries/AP_GPS/AP_GPS_SBP2.cpp:190:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
last_vel_ned = *((struct sbp_vel_ned_t*)parser_state.msg_buff);
^
../../libraries/AP_GPS/AP_GPS_SBP2.cpp:190:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
last_vel_ned = *((struct sbp_vel_ned_t*)parser_state.msg_buff);
^
../../libraries/AP_GPS/AP_GPS_SBP2.cpp:194:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
last_pos_llh = *((struct sbp_pos_llh_t*)parser_state.msg_buff);
^
../../libraries/AP_GPS/AP_GPS_SBP2.cpp:194:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
last_pos_llh = *((struct sbp_pos_llh_t*)parser_state.msg_buff);
^
../../libraries/AP_GPS/AP_GPS_SBP2.cpp:198:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
last_dops = *((struct sbp_dops_t*)parser_state.msg_buff);
^
../../libraries/AP_GPS/AP_GPS_SBP2.cpp:198:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
last_dops = *((struct sbp_dops_t*)parser_state.msg_buff);
^
../../libraries/AP_GPS/AP_GPS_SBP2.cpp:202:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
last_event = *((struct sbp_ext_event_t*)parser_state.msg_buff);
^
../../libraries/AP_GPS/AP_GPS_SBP2.cpp:202:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
last_event = *((struct sbp_ext_event_t*)parser_state.msg_buff);
^
2017-06-29 15:18:09 +01:00
ebethon
005dbf41a7
AP_GPS: Add SBP EXT_EVENT Message to dataflash log
2017-06-29 15:18:05 +01:00
ebethon
526d5a4c44
DataFlash: Add SBP EXT_EVENT Message
2017-06-29 15:18:05 +01:00
ebethon
4779a8f1f1
AP_GPS: Rename SBR1/SBR2 to SBRH/SBRM and change format
...
Add (sender_id, msg_len) in SBRM message
Add index/pages in SBRH/SBRM messages
Change format to integers to avoid GCS string parsing
Decrease data size in SBRH
2017-06-29 15:14:54 +01:00