Andrew Tridgell
9cb672e85e
SRV_Channel: added doc values for dspoilers
...
and fix missing Motor9 to Motor12 values
8 years ago
Andrew Tridgell
7627246ff8
SRV_Channels: added 4 channel dspoiler support
8 years ago
Andrew Tridgell
907534d55f
SITL: added dspoiler support
8 years ago
Andrew Tridgell
6b3bb29398
SRV_Channel: rename flaperon1 and flaperon2 to flaperon_left and flaperon_right
...
this makes it more consistent with elevons and vtails
8 years ago
Randy Mackay
edc9d4db5b
AP_InertialSensor: increase accel filter to 20hz
8 years ago
Peter Barker
7b3db490be
DataFlash: correct examples
8 years ago
Peter Barker
9c2a2a3d94
AP_Module: correct example
8 years ago
Peter Barker
cbe9627bf5
AP_GPS: correct example
8 years ago
Peter Barker
12b4f2c4b6
AP_AHRS: correct example
8 years ago
Peter Barker
7258cfd20b
AP_GPS: check dataflash to see if we should log backend gps messages
8 years ago
Peter Barker
6ae86a0b8c
AP_InertialSensor: use DataFlash should_log to determine raw logging
8 years ago
Peter Barker
4dfdffde43
DataFlash: move should_log check of log bitmask into DataFlash
8 years ago
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);
^
8 years ago
ebethon
005dbf41a7
AP_GPS: Add SBP EXT_EVENT Message to dataflash log
8 years ago
ebethon
526d5a4c44
DataFlash: Add SBP EXT_EVENT Message
8 years ago
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
8 years ago
ebethon
0b5dad33f2
DataFlash: 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
8 years ago
Miguel Arroyo
7cea21afa2
AP_Math: Moves rand_vec3f from SITL_State.
8 years ago
Miguel Arroyo
86b9942d51
AP_HAL_SITL: move SITL Compass to standard sensor backend model
8 years ago
Miguel Arroyo
ee328c9683
AP_Compass: move SITL Compass to standard sensor backend model
8 years ago
Georgii Staroselskii
0203b4c1b1
AP_Notify: RCOutputRGBLed: remove cork()
...
cork()/push() will be called in the vehicle code.
The issue that led to this fix was as follows:
- on a Linux board (Navio 2) usage of this class didn't yield any PWM on
the expected outputs on Rover (Copter and Plane worked as expected)
After dicsussion at #6339 rover code was changed (541538f) to use make
proper use of SRV_Channels API.
This fix is also the consequence of the discussion. TL;DR: the output is
only done when commanded by the vehicle.
8 years ago
Peter Barker
ad17709390
DataFlash: handle knowledge of in_log_download in DataFlash
8 years ago
Peter Barker
4c1aff03a3
GCS_MAVLink: move send-logs-via-mavlink code into DataFlash
8 years ago
Peter Barker
305531952f
DataFlash: move send-logs-via-mavlink code into DataFlash
8 years ago
Peter Barker
cbbee995b6
GCS_MAVLink: move GCS_Logs into DataFlash directory
8 years ago
Rob Ratcliff
60c6f8ad60
AP_GPS: fix bug when injecting messages bigger than 255 bytes
...
Commit 5261654
changed the used injection method so change this method signature to use uint16 for message length like previous injection method did
8 years ago
priseborough
9d0fa09d39
AP_NavEKF3: Fix calculation of predicted LOS rate in terrain estimator
8 years ago
priseborough
c69c5440a0
AP_NavEKF2: Fix calculation of predicted LOS rate in terrain estimator
8 years ago
Francisco Ferreira
a83457ab07
AP_BattMonitor: complement commit d3314d7684
by adding to second battery monitor too
8 years ago
Miguel Arroyo
4394c5145b
AP_HAL_SITL: Fixes bug with uartF.
...
uartF _timer_tick() was not being called in the scheduler.
8 years ago
fsherratt
d3314d7684
AP_BattMonitor: param desc explicitly list Pixhawk 2 PM1 pins
...
There is confusion over which pins to use with the pixhawk 2, updated documentation to explicitly state the PM1 pins as being the same as the original pixhawk
8 years ago
priseborough
a4d18696a7
AP_NavEKF3: Improve variable names and documentation
...
Also remove unnecessary calculation of innov * gain
8 years ago
priseborough
368983ed5a
AP_NavEKF3: Clean up aiding mode logic using switch statements
8 years ago
priseborough
2a9eceaf10
AP_NavEKF3: Fix bugs causing height drift when using range beacons
8 years ago
Miguel Arroyo
6cf9b870b5
AP_Baro: AP_Baro_SITL more accurately simulates real sensor backend.
8 years ago
Pierre Kancir
ccbf281137
AP_RangeFinder: allow to set rangefinder type for mavlink
8 years ago
Leonard Hall
ed0063d10d
AC_AttControl: save accel max using shorter set_and_save
...
no functional change
8 years ago
Leonard Hall
0544cf1d82
AC_AttControl: add step input for autotune
8 years ago
Michael du Breuil
249849dfa4
AP_GPS: Add an enum for _auto_config
8 years ago
Michael du Breuil
5f8633e322
AP_GPS: Allow backends to report their lag confidences
8 years ago
priseborough
7659e9c31f
AP_NavEKF3: Improve checking of time delay validity when setting buffers
...
This change means that provided the GPS_DELAY_MS parameters are set for each GPS receiver attached, the EKF will not have to wait for the configuration of each receiver to be determined before it can start.
This significantly reduces start-up times when the delay parameters are set.
8 years ago
priseborough
7d63286088
AP_NavEKF3: update to match AP_GPS interface change
8 years ago
priseborough
fa5534502a
AP_AHRS: Update to match AP_GPS interface change
8 years ago
priseborough
5dcfc94371
AP_GPS: Add validity boolean to GPS lag reporting
8 years ago
priseborough
bd0229b7bc
AP_GPS: Fix bug in calculation of blended GPS delay
8 years ago
Francisco Ferreira
da5060964b
AP_Math: uniformize template type parameter keyword
...
Use typename everywhere instead of class
8 years ago
Francisco Ferreira
1ffe12008c
AP_Math: adapt test for new norm method API
8 years ago
Francisco Ferreira
7b98f41947
AP_Math: correct norm to need two arguments
...
Correctly use sqrtf instead of the double version
Stop casting to float since sq already returns one
8 years ago
Andrew Tridgell
f3d995a716
AP_Compass: improved robustness of BMM150 detection code
...
cope with bus errors on startup
8 years ago
Andrew Tridgell
68460144df
AP_Compass: added retries on init in BMM150
8 years ago