Tom Pittenger
fc710d8a81
RC_Channel: remove UINT16_MAX check, moved to mavlink handler
6 years ago
Tom Pittenger
4c641c6e2b
GCS_MAVLink: comply with mavlink spec to ignore rc_override UINT16_MAX
6 years ago
Andrew Tridgell
ce9e9d8670
HAL_ChibiOS: end scheduler boost on expected delay
...
we want timer thread to be higher priority than main thread while in a
long operation
6 years ago
Rajat Singhal
2c519d5176
SITL: Fix to sync to JSBSim simulation time
...
SITL: Additional fix to remove time-lag in JSBSim
6 years ago
Rajat Singhal
dedb7e108f
SITL: Added <time> tag to JSBSim output directive
...
Instructs JSBSim to transmit current simulation time which is used to sync with Ardupilot
6 years ago
Rajat Singhal
2317e73e0b
SITL: JSBSim: Use rate_hz to specify timestep
6 years ago
Rajat Singhal
732f2e7a2e
SITL: Change JSBSim mode to Batch mode, specify nice sleeptime
...
Previously it was run in realtime mode which doesn't support iterate command. Without setting sleeptime, defaults to 0.01s which slows down a lot
6 years ago
Phillip Kocmoud
069d054e5c
AP_Baro.cpp: support DPS280 on SPI
6 years ago
Phillip Kocmoud
1f827004be
AP_Compass: Enable AK09916 inside the ICM20948
6 years ago
Phillip Kocmoud
6665e4c0a7
AP_InertialSensor: probe IMUs for mRoControlZeroF7
6 years ago
Phillip Kocmoud
a24bbe0b13
AP_Baro: support DPS280 on SPI
6 years ago
Phillip Kocmoud
db57b6c4f3
AP_HAL: added DPS280 on SPI / added board type for mRoControlZeroF7
6 years ago
Phillip Kocmoud
16f1ec8ce2
HAL_ChibiOS: added missing AF functions for F777
6 years ago
Phillip Kocmoud
9709401595
HAL_ChibiOS: added hwdef for mRoControlZeroF7
6 years ago
Andrew Tridgell
893b49d145
AP_InertialSensor: disable register checking in invensensev2 driver
...
register checking doesn't work for the banked registers used in the
invensensev2 register layout. It ends up setting the wrong register
value in some cases, which can either cause the sensor to stop working
or in the worst case give bad data
6 years ago
Randy Mackay
b0f0b16135
AR_WPNav: remove unnecessary temp variable
...
also heading-unknown made a const
also minor comment fix
also removed unused include
6 years ago
Peter Barker
6f97f56726
AR_WPNav: add WARN_IF_UNUSED to various methods, fix for same
6 years ago
Randy Mackay
56c344ae94
AR_WPNav: rover navigation library
6 years ago
Randy Mackay
4e68d16526
AR_AttitudeControl: use speed_control_active in get_desired_speed_accel_limited
...
also minor formatting fixes
this is a non-functional change
6 years ago
Randy Mackay
6d4d1bc20a
AR_AttitudeControl: add get_turn_rate_from_heading
6 years ago
Randy Mackay
8907b727f6
AR_AttitudeControl: add get_turn_rate_from_lat_accel
6 years ago
Peter Barker
dd62489f5e
AC_PrecLand: stop ignoring return values on methods
6 years ago
Peter Barker
71d16557fa
AP_Common: Location: add WARN_IF_UNUSED to boolean methods
6 years ago
Randy Mackay
b668c6f855
AC_Circle: improve target heading
6 years ago
Peter Barker
0c24810a48
AP_AHRS: fix example
6 years ago
Peter Hall
a0d8c04f3e
AC_AutoTune: add public reset method
6 years ago
Andrew Tridgell
e4f6ffe719
AP_NavEKF3: fixed bug in EKF lane selection
...
this fixes an issue in selecting the best lane to change to when we
have 3 or more EKF cores. The bug is that if the current lane is
unhealthy it would always choose the last healthy lane instead of
choosing the lane with the lowest score
6 years ago
Andrew Tridgell
cc62998d40
AP_NavEKF2: fixed bug in EKF lane selection
...
this fixes an issue in selecting the best lane to change to when we
have 3 or more EKF cores. The bug is that if the current lane is
unhealthy it would always choose the last healthy lane instead of
choosing the lane with the lowest score
6 years ago
Peter Hall
505e1d8c1d
APM_Control: AP_RollContorller: move rate limit
6 years ago
Andrew Tridgell
2b0a30a2c5
HAL_ChibiOS: ensure we don't overflow bootloader area
...
this modifies the ld script to use the maximum size available for the
bootloader, so we can't accidentially grow the bootloader beyond its
max size
6 years ago
Michael du Breuil
85da4955b6
AP_Rangefinder: Enforce checking I2C status on VL53L1X
6 years ago
Randy Mackay
415042e557
AR_AttitudeControl: minor declaration ordering change
6 years ago
Randy Mackay
f6f5967a82
AR_AttitudeControl: minor param desc fix
6 years ago
Tom Pittenger
fbe43dba5c
RC_Channel: refactor stick_mixing to library
6 years ago
Andrew Tridgell
11021bbaa9
HAL_ChibiOS: fixed LEDs on new CUAVv5 revision
6 years ago
Andrew Tridgell
8d2f016cc8
HAL_ChibiOS: fixed LEDs on CUAVv5Nano
...
need to be opendrain
6 years ago
Andrew Tridgell
0e28f66761
AP_Notify: don't use pinMode for pixracer LEDs
...
this is needed for LEDs that are driven by 5V, which means they need
to use OPENDRAIN.
6 years ago
Peter Hall
26a6cccf21
AP_HAL_ChibiOS: KakuteF7 add two PWM pin options
6 years ago
Andrew Tridgell
ef5f83d0b5
AP_IOMCU: remove 2s delay on boot and skip crc check on watchdog
...
thanks to @Jaaaky for the suggestion in #11232
6 years ago
Jaaaky
6ed8b2aad9
AP_Baro: Fix not healthy by watchdog reset
6 years ago
Andrew Tridgell
4deb2c38f6
HAL_ChibiOS: fixed brick2 valid status in POWR flags for fmuv5
...
and fixed sense of VBUS
6 years ago
Jaaaky
971e3af826
GCS_MAVLink: prgama away address-of-packed-member only for g++ >= 9
6 years ago
Andrew Tridgell
48aacb9462
HAL_Linux: removed use of RCInput_SBUS and RCInput_115200
6 years ago
Andrew Tridgell
1c322d296f
HAL_Linux: switch Disco to using AP_RCProtocol library for RCIN
...
this is the first step to using AP_RCProtocol for most (or all) RC
input on Linux boards. It also fixes a major bug on Disco where the
old SBUS decoder didn't use strict enough timing checks to filter out
bad frames when video capture is running. That led to erratic flight
mode changes and sometimes loss of control.
6 years ago
Lucas De Marchi
5520b397c2
AP_HAL_Linux: allow disco to use RCInput_UDP
...
This allows to use any device to send RCInput to Disco via network.
Particularly this is useful when paired to additional changes on
SkyController 2 so it can be used to control Ardupilot.
This was tested with https://github.com/lucasdemarchi/dema-rc running
on SkyController 2.
6 years ago
Peter Barker
9273ac3631
GCS_MAVLink: pragma away address-of-packed-member
...
g++-9 throws a lot of warnings for taking addresses of packed members.
We can have this warning for our ArduPilot code, but there's way too
many issues within MAVLink to put up with.
6 years ago
Peter Barker
900d9f71f6
AP_HAL_SITL: stop taking address of packed members
6 years ago
Pierre Kancir
427a88a1fe
AP_Compass: fix AP_Compass_test
6 years ago
Pierre Kancir
ff5cedc49f
AP_AHRS: add missing include
6 years ago
Pierre Kancir
deb6aafcbe
AP_GPS: fix GPS_AUTO_test
6 years ago