Michael du Breuil
2894b7cbea
L1_Control: Ensure that LIM_BANK passes a sea level sanity check
...
This fixes #6637 where the LIM_BANK can be set such that the vehicle demands a radius at sea level that is much higher then the loiter radius was configured to be. This effectively feels like a fly away and is due to bad parameters usually. If this happens just fall back to the simple EAS2TAS scaling of the radius.
8 years ago
Peter Barker
975d2fd0d1
DataFlash: add debug for io thread failure
8 years ago
Peter Barker
b4688bd3d4
GCS_MAVLink: move common mavlink camera handling up
8 years ago
Peter Barker
bb06b02df6
AP_Camera: add const to some parameters
8 years ago
Peter Barker
a94bf851eb
AP_Camera: use multiplication in place of division
8 years ago
Peter Barker
9390539231
AP_Camera: tidy up usage of trigger_pic
8 years ago
Peter Barker
84ef63edc7
AP_Camera: camera is responsible for taking distance-based-images and logging
8 years ago
Peter Barker
7f59279670
AP_GPS: make time_epoch_usec const
8 years ago
priseborough
db7c8439c6
AP_NavEKF3: Fix bug in wheel odometry timestamp correction
8 years ago
Matt
5b605d6e1c
AP_Notify: Fix for Oreo LED gyro init inidication
...
If parameter INS_GYRO_CAL is disabled, usually because operator is
arming on a moving vehicle such as a boat, the Oreo LEDs would wait
indefinitely for a gyro calibration that will never happen. This
removes that dependency. The LEDs will strobe blue only when gyros are
actually initializing. Not before. Consequently, this greatly
simiplifies that portion of the code.
8 years ago
khancyr
f583121433
AC_Fence: reset fences breach on disable
...
Also rename enable function parameter
8 years ago
Peter Barker
e7ff5107fb
AP_GPS: tidy mavlink message handling using switch statement
8 years ago
Peter Barker
2ad453fc89
AP_GPS: handle inject packets as part of handle_msg
8 years ago
Peter Barker
60ffe00164
GCS_MAVLink: move gps inject handling up
...
Also, make AP_GPS responsible for decoding inject packets
8 years ago
priseborough
c7f6d52065
AP_NavEKF3: Add wheel encoder odometry
...
Uses the existing body frame odometry observation model.
Handles each sensored wheel as a separate sensor.
8 years ago
priseborough
cbe8f97489
AP_NavEKF3: rename struct used for velocity odometry observations
...
Do this so we can add other odometry observation types.
8 years ago
priseborough
08a3f55c90
AP_NavEKF3: Fix error in scaling of observation error
8 years ago
priseborough
593437ca95
AP_NavEKF3: Add tuning of visual odometry observation error
...
Also adjust default values based on replay analysis.
8 years ago
Randy Mackay
eaf8aad5ad
AP_WheelEncoder: last_reading is last update time instead of system time
8 years ago
Randy Mackay
2c7b9d9cf7
AP_WheelEncoder: add get_delta_angle
...
The total angular change measured by the wheel encoder in radians
8 years ago
Randy Mackay
a53e254bd0
AP_WheelEncoder: replace scaling with CPR and radius
...
CPR is the wheel encoder's counts per revolution of the wheel
radius is the radius of the wheel in meters
8 years ago
Randy Mackay
cd71984705
AP_WheelEncoder: 3d position offset
8 years ago
Randy Mackay
1ddf38869a
AP_AHRS: set AP_Notify gps_glitching flag
8 years ago
Randy Mackay
0d5c98ad45
AP_Notify: add gps glitch notification
8 years ago
Randy Mackay
9123b6034e
SRV_Channel: update_aux_servo_function first checks function is valid
...
This resolves a bug in which the board could become unresponsive if an invalid function is selected
8 years ago
Patrick José Pereira
1eeea82e31
AP_Parachute: Add function to return _release_in_progress status
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
8 years ago
Randy Mackay
572df8b859
SRV_Channel: minor formatting fixes
...
no functional change
8 years ago
Randy Mackay
298eaaeb3e
SRV_Channels: rename SERVO_DEF_RATE to SERVO_RATE
8 years ago
Randy Mackay
687ec98e5d
AP_HAL_PX4: set default servo update rate only when changed
...
This removes the chance a small switch occurring whenever this function is called
8 years ago
Peter Barker
85a0da6178
GCS_MAVLink: handle common GPS messages in base GCS_MAVLINK class
8 years ago
Randy Mackay
a657daf635
Compass: disable QMC5883 compass driver by default
...
This driver causes occasional heading issues so disabling until these are resolved
8 years ago
khancyr
2d0bce18a8
AP_Baro: rename all local variable with prefix
...
fix last missing spaces
8 years ago
khancyr
35ac86ff8d
AP_Baro: fix some style and const correctness
8 years ago
khancyr
0e895f5c74
AP_Baro: fix instance shadowing
8 years ago
khancyr
42516f7079
DataFlash: simplify Log_Write_Proximity
8 years ago
khancyr
8abcb7a0e3
GCS_MAVLink: simplify send_proximity
8 years ago
khancyr
603621f2c4
DataFlash: move proximity log from Copter (NFC)
8 years ago
khancyr
ec2ea1c903
GCS_MAVLink: move send_proximity to GCS common code (NFC)
...
Also clean two comments
8 years ago
Andrew Tridgell
4ca3546551
SRV_Channel: added SERVO_DEF_RATE parameter
...
this allows for the default rate of servo outputs to be set. This is
needed for some planes where 50Hz isn't enough (eg. tailsitters)
8 years ago
Andrew Tridgell
5b43698e25
HAL_PX4: added rcout set_detault_rate()
8 years ago
Andrew Tridgell
0188d6463d
AP_HAL: added rcout set_detault_rate()
8 years ago
Kevin Lopez Alvarez
df406c4389
AP_Compass : increase max possible offset
8 years ago
Kevin Lopez Alvarez
17f2393c1b
AP_Compass: Decrease LIS3MDL ODR and timer
8 years ago
Kevin Lopez Alvarez
16a96b0643
HAL_PX4: Adjust SPI params for ppro
...
Add SPI prescalers for 180 MHz and decrease LIS3MDL SPI speed
8 years ago
Kevin Lopez Alvarez
08b531e6a8
AP_Compass: LIS3MDL correct orientation
8 years ago
Kevin Lopez Alvarez
cf8c1c2665
AP_Compass: Remove comments and use correct board number
8 years ago
Kevin Lopez Alvarez
a5a5bd3a95
AP_BoardConfig: Remove comments and use correct board number
8 years ago
Kevin Lopez Alvarez
ca3627c140
AP_InertialSensor: add ppro support
8 years ago
Kevin Lopez Alvarez
88958b2dbf
HAL_PX4: add ppro support
8 years ago
Kevin Lopez Alvarez
1467daee2a
AP_Compass: add ppro support
...
disable lis3mdl for now
8 years ago