Andrew Tridgell
bee487e9da
AP_HAL: added uartH
6 years ago
Siddharth Purohit
c50912ed6a
AP_HAL: define HAL_HAVE_DUAL_USB_CDC if not defined
6 years ago
Siddharth Purohit
7f297a43dc
SerialManager: add support for SLCAN protocol as parameter
6 years ago
Siddharth Purohit
fe44384c95
BoardConfig_CAN: return serial port with switch between parameter and passthrough
6 years ago
Siddharth Purohit
eabb93f842
AP_Bootloader: change to using serusbcfg1
6 years ago
Siddharth Purohit
dcf17e5bc2
HAL_ChibiOS: hwdef: add support for dual cdc on CubeYellow and CubeOrange
6 years ago
Siddharth Purohit
2f0d1336e6
HAL_ChibiOS: add support for dual usd cdc
6 years ago
murata
89484a8f64
AP_Beacon: Common modbus crc method
6 years ago
murata
d7b2271197
AP_RangeFinder: Common modbus crc method
6 years ago
murata
c5a471e778
AP_Math: Common modbus crc method
6 years ago
Randy Mackay
27e802eaa6
AP_Scripting: add AP_AHRS method get_roll, pitch, yaw
6 years ago
Randy Mackay
32e25d8b57
AP_AHRS: add accessor for roll, pitch and yaw
6 years ago
anbello
b65f5bf632
ChibiOS: hwdef revo-mini correct IMU rotation
6 years ago
Peter Barker
bd50f288a1
Tools: autotest: get mavproxy to heartbeat at speedup rate
...
This should resolve a race condition we have with guided position modes.
MAVProxy's heartbeat rate defaults to 1Hz.
When GCS failsafe is active on Copter because we're in GUIDED (or
GUIDED_NOGPS mode) we require a heartbeat every 5 seconds. At speedup
8, we can only expect a heartbeat every 8 seconds of sim time.
We also only check for this heartbeat every 3 seconds - leading to this
awesome race condition.
6 years ago
Peter Barker
87e43d6e44
Tools: autotest: add option to disable breakpoints at sim startup
6 years ago
Andrew Tridgell
5987131958
Tools: update IO firmware for heater dither
6 years ago
Andrew Tridgell
d2fe47d2e0
HAL_ChibiOS: dither heater pins to prevent magnetic impact
6 years ago
Andrew Tridgell
76a8d494c3
AP_IOMCU: dither heater pin to prevent 1Hz impact on mags
...
with the simpler duty cycle code we see a 1Hz 25 mGauss cycle in the
internal mags
6 years ago
Leonard Hall
77f8ec9f43
AP_Motors: formatting fixes
6 years ago
Tatsuya Yamaguchi
4321a987f2
Tools: fix the help message
6 years ago
Tatsuya Yamaguchi
ba1903708b
Tool: fix the switch-to-uart function in TFMiniPlus script
6 years ago
Lyuyang Hu
5f37ed2bb8
Rover: rename APMrover2.cpp to Rover.cpp
6 years ago
Lyuyang Hu
43719d5e5d
Rover: move contents of Rover.cpp to APMrover2.cpp
6 years ago
Peter Barker
ef8baf28ad
AP_Airspeed: clarify mavlink packet assembly is re-ordered field order
...
This makes it clear that the fields must be arranged according to the
order in the header file rather than that in the message definition
6 years ago
Pierre Kancir
12cb09a3f4
Tools: factorize sitl rangefinder setup
6 years ago
Pierre Kancir
daaf769055
Tools: add arm/disarm testing on all modes
6 years ago
Andrew Tridgell
b12cc57c64
HAL_ChibiOS: switched on fast sampling on IMU3 by default on hex cubes
...
as some people are flying with EK2_IMU_MASK=7 this reduces the risk of
aliasing on IMU3
6 years ago
Andrew Tridgell
634db441f8
AP_NavEKF3: origin handling fixes from Francisco
6 years ago
Andrew Tridgell
2427440e13
AP_NavEKF2: origin handling fixes from Francisco
6 years ago
Justin
3dfaa5f021
Sub: Changed the MAV_SEVERITY of the motor test timed out message to INFO so that it wont be read out loud everytime the user ends the motor test
6 years ago
Peter Barker
eb9e65fd28
Copter: add GUIDED_NOGPS to failsafe checks
6 years ago
Peter Barker
567ba799f1
Copter: rewrite gcs-failsafe check for clarity
6 years ago
Peter Barker
6cb8fcc466
GCS_MAVLink: move use of AP_AHRS_NAVEKF_AVAILABLE into cpp file
...
This is defined in AP_AHRS which we only get transitively in the header
6 years ago
Peter Barker
9f33fb6085
AP_Terrain: add missing AP_AHRS include
6 years ago
Peter Barker
00cfea03bc
AP_Airspeed: add missing includes for AHRS
6 years ago
Peter Barker
ec0a93ff9c
AC_Avoidance: add missing includes for AP_AHRS
6 years ago
Peter Barker
0af3ecca70
Sub: split RC_CHANNELS messages onto separate ap_message ids
6 years ago
Peter Barker
37014bdfe1
Plane: split RC_CHANNELS messages onto separate ap_message ids
6 years ago
Peter Barker
6435a867f5
Copter: split RC_CHANNELS messages onto separate ap_message ids
6 years ago
Peter Barker
9910a44dcc
Tracker: split RC_CHANNELS messages onto separate ap_message ids
6 years ago
Peter Barker
a4a54dc0cd
Rover: split RC_CHANNELS messages onto separate ap_message ids
6 years ago
Peter Barker
1ebbe45fe1
GCS_MAVLink: split sending of RC_CHANNELS and RC_CHANNELS_RAW
...
Before this patch is applied we may never send the second message
because there's not room for it in the buffer and we can't return
failure-to-send (always interpreted as "retry") as we're in a void function.
Further, if you are on a mavlink2 connection we will not send out the
RC_CHANNELS_RAW message, depriving the user of any RC_CHANNELS messages.
This patch does have the drawback of doing more work on a mavlink1
connection - it has to fetch the data twice. On the other hand, it also
allows the GCS to set the message rates independently for both
RC_CHANNELS and RC_CHANNELS_RAW so one or the other can be squelched.
That could be handy for reducing bandwidth if you know you're not using
more than 8 input channels.
6 years ago
Peter Barker
41bddf682f
AP_Camera: remove unused includes
6 years ago
Pierre Kancir
9850d1afec
Tools: update with flake8
...
W605 invalid escape sequence '\s'
F402 import 'time' from line 10 shadowed by loop variable
E101 indentation contains mixed spaces and tabs
E703 statement ends with a semicolon
6 years ago
Peter Barker
a966c75deb
SITL: remove unused forward declaration of AP_Logger
6 years ago
Peter Barker
b7fa43e630
AP_Tuning: tidy includes
6 years ago
Peter Barker
c0f25a96fb
AP_TECS: move include of logger to .cpp file
6 years ago
Peter Barker
ce4cdfd497
AP_SpdHgtControl: remove unused includes
6 years ago
Peter Barker
a5ff46950c
AP_Soaring: move include of logger to .cpp file
6 years ago
Peter Barker
a037920de4
AP_Mount: tidy use of AP_Logger.h
6 years ago