Rustom Jehangir
4a10156b13
AP_HAL_Linux: Fix RCInput::read from stopping at any zero channel
...
This bug led to issues for us so it may help others to resolve it.
Currently, the AP_HAL_Linux RCInput::read(uint16_t*,uint8_t) function
only returns the first x nonzero channels. Once it hits a channel that
is set to zero, it stops and all remaining channels are returned as
zero, even if they are set. This causes discrepancies between the raw RC
input sent to the GCS and the RC input that is actually used on the
vehicle.
The fixes this issue and makes it behave exactly as it does on the
PX4_HAL code. We ran into this issue when sending rc_override messages
in which there were some channels set to zero.
2016-04-26 22:32:07 -03:00
Andrew Tridgell
197e72acc0
GCS_MAVLink: fixed null termination bug
...
found with ASAN
2016-04-26 18:20:49 +10:00
Andrew Tridgell
69e233a39d
AP_GPS: fixed init string for SBF GPS
...
coverity #125042
2016-04-26 16:51:29 +10:00
Andrew Tridgell
785ad0614a
SITL: fixed coverity 125055
2016-04-26 16:46:06 +10:00
Andrew Tridgell
ed4e8b635a
SITL: fixed fd leak
...
coverity #125056
2016-04-26 16:43:54 +10:00
Andrew Tridgell
97d27ce58f
AP_Math: fixed memory leak
...
found by coverity
2016-04-26 16:41:44 +10:00
Andrew Tridgell
847483d744
SITL: fixed coverity warning
2016-04-26 16:37:17 +10:00
Andrew Tridgell
be41d402b5
AP_InertialSensor: added set of delta angle time for replay
2016-04-26 15:50:46 +10:00
Andrew Tridgell
bcefb45e0a
DataFlash: added DelaT to delta-angle logs
2016-04-26 15:50:29 +10:00
Andrew Tridgell
4401cbec72
AP_InertialSensor: cope with zero delta angle time from Replay
2016-04-26 15:37:11 +10:00
Michael du Breuil
831ae72908
AP_Mission: Remove DO_SET_PARAMETER
2016-04-25 09:59:59 +09:00
mirkix
6e546ba181
AP_HAL_Linux: Fix compiler warning unused hal
2016-04-24 11:09:55 -03:00
mirkix
b381045d5e
AP_HAL: BBBmini rework for dual MPU9250 and external HMC5843 compass
2016-04-24 10:57:57 -03:00
mirkix
c3a6a56ebb
AP_InertialSensor: Add second MPU9250 autodetection to BBBmini
2016-04-24 10:57:57 -03:00
mirkix
3df5a02448
AP_Compass: Add HMC5843 and second AK8963 autodetection to BBBmini
2016-04-24 10:57:57 -03:00
mirkix
2aba5a4643
AP_HAL_Linux: BBBmini add second MPU9250
2016-04-24 10:57:57 -03:00
Randy Mackay
f70072c54b
AP_AccelCal: check return of get_calibrator
...
resolves compiler warning
2016-04-23 23:06:27 -07:00
Randy Mackay
39560f9af8
DataFlash: remove unused num_format_types and _structures
...
resolves compiler warning
2016-04-23 23:06:26 -07:00
Randy Mackay
6ef735c41e
AP_RSSI: use fabsf instead of abs
...
resolves compiler warning
2016-04-23 23:06:26 -07:00
Randy Mackay
7af9892bd1
AP_MotorsMatrix: make const a float
...
resolves compiler warning
2016-04-23 23:06:25 -07:00
Randy Mackay
a50f5bfaf8
AP_L1_Control: replace fabsf with labs
...
resolves a compiler warning
2016-04-23 23:06:25 -07:00
Randy Mackay
b2153fb97f
AP_L1_Control: remove unused _xtrackVelPos
2016-04-23 23:06:24 -07:00
Randy Mackay
58e65c836f
HAL_Linux: remove unused pru_chan_map from RCOutput
2016-04-23 23:06:24 -07:00
Randy Mackay
d6d5bac419
RCInput_UART: remove unused _count, _direction
...
resolves a compiler warning
2016-04-23 23:06:23 -07:00
Randy Mackay
3c7b2232b0
AP_GPS_GSOF: remove unused last_hdop
...
resolves a compiler warning
2016-04-23 23:06:22 -07:00
Randy Mackay
ea3c44f9fa
AP_Frsky_Telem: remove unnecessary abs
...
resolves a compiler warning
2016-04-23 23:06:22 -07:00
Randy Mackay
4aba25d2ef
AP_Compass_AK8963: remove unused _bus_sem, _last_accum_time
...
Resolves a compiler warning
2016-04-23 23:06:21 -07:00
Randy Mackay
04b2e65627
AP_Airspeed: remove unused _last_pin
...
Resolves a compiler warning
2016-04-23 23:06:21 -07:00
Randy Mackay
722095e56d
APM_Control: remove unused _last_error member
...
Resolves a compiler warning
2016-04-23 23:06:20 -07:00
Luis Vale Gonçalves
b64d28b825
Revising ardupilot.com to .org
...
Revising ardupilot.com to .org
2016-04-23 22:49:45 -07:00
Luis Vale Gonçalves
5b60d1514f
Revising ardupilot.com to .org
...
Revising ardupilot.com to .org
2016-04-23 22:49:41 -07:00
Luis Vale Gonçalves
bbbb3047fa
Revising ardupilot.com to .org
...
Revising ardupilot.com to .org
2016-04-23 22:49:40 -07:00
Luis Vale Gonçalves
4e70665f17
Revising ardupilot.com to .org
...
Revising ardupilot.com to .org
2016-04-23 22:49:39 -07:00
Luis Vale Gonçalves
0d9ea7597c
Revising ardupilot.com to .org
...
Revising ardupilot.com to .org
2016-04-23 22:49:38 -07:00
Luis Vale Gonçalves
a16e9b3606
Revising ardupilot.com to .org
...
Revising ardupilot.com to .org
2016-04-23 22:49:36 -07:00
Randy Mackay
72a7f674ec
AP_Motors: protect against out-of-bounds memory access
...
resolves a compiler warning
2016-04-23 21:06:18 +10:00
Andrew Tridgell
54f7aeed83
RC_Channel: extend channel mapping to 16 channels
...
this gives more flexibility, no reason to limit it to 8
2016-04-23 21:03:46 +10:00
Andrew Tridgell
3a5e4c80ca
AP_Mission: support DO_VTOL_TRANSITION command
...
first 16 bit command ID
2016-04-23 21:03:46 +10:00
Andrew Tridgell
09c3c36c00
AP_Mission: allow for 16 bit command IDs
...
this uses command ID 0 to allow for 16 bit command IDs. When used it
limits the content to just 10 bytes.
2016-04-23 21:03:45 +10:00
Tom Pittenger
bcc2838a37
APM_OBC: changed param RC_FAIL_MS to RC_FAIL_TIME in float seconds
2016-04-22 16:05:07 -07:00
Tom Pittenger
f2d744b7c9
APM_OBC: non-functional change - cleaned up logic
2016-04-22 16:05:02 -07:00
James Stoyell
48a7363608
APM_OBC: Added params for AUVSI student competition
2016-04-22 11:48:31 -07:00
Francisco Ferreira
af6d8e3c36
AP_Param: explicitly cast to float to avoid Clang warning
...
/home/travis/build/ArduPilot/ardupilot/libraries/AP_Param/AP_Param.h:542:22: warning: using floating point absolute value function 'fabsf' when argument is of integer type [-Wabsolute-value]
bool force = fabsf(_value - v) < FLT_EPSILON;
2016-04-22 17:33:06 +01:00
Randy Mackay
71692044f8
AP_Parachute: resolve compile warning re init order
2016-04-22 21:32:35 +09:00
Tom Pittenger
431b3c7160
AP-TECS: constrain proportion to 0-1 for spdweight scale so it doesn't grow backup after land point
2016-04-21 21:31:02 -07:00
Tom Pittenger
25c3367341
AP_L1 - add a stale flag
...
threading bug fix. When a mission wp updates, but the L1 controller had not yet, the data is stale. Example, On Plane when NAV_LAND starts for a moment your xtrack and bearing is most likely bear zero regardless if you have a big turn or not until 10 Hz later when the update() gets called and updates those values with correct values for the new waypoint.
2016-04-21 21:30:57 -07:00
Tom Pittenger
2ce964c8ac
AP_L1_Controller: add accessor for xtrack_error_integrator
2016-04-21 21:30:54 -07:00
Tom Pittenger
595badce3e
AP_TECS: rely on single flag for all land stage differences
...
recent fixes in Plane have made the stage more accurate so exceptions/hacks are no longer needed to differentiate between knowing if executing NAV_LAND vs being in stage_approach.
2016-04-21 21:30:52 -07:00
Tom Pittenger
0af878703f
AP_TECS: move target land_airspeed logic to top layer
2016-04-21 21:30:49 -07:00
Tom Pittenger
525c7b24e3
AP_TECS: created accessor for TECS_LAND_ARSPD param
2016-04-21 21:30:48 -07:00