Andre Kjellstrup
e5ffc834e9
AP_Arming: Parameter check is not unused
4 years ago
Andrew Tridgell
46976c4358
HAL_ChibiOS: fixed remapping of ioline_t with BRD_ALT_CONFIG
...
when a peripheral is made available via BRD_ALT_CONFIG we need to
remap the existing ioline_t in the UART and I2C drivers to use the new
pin.
This fixes an issue with half-duplex, inverted, swapped UART pins for
protocols like FPort and FPort2
4 years ago
Andrew Tridgell
2dd58c8ed1
AP_RCProtocol: send null pkts for FPort2
...
when we have no data to send, we should send an empty packet to ensure
the receiver schedules us for data as often as possible
4 years ago
Iampete1
97b44dfe71
AP_Scripting: add DIR_DISABLE param
4 years ago
Iampete1
2bdcadd785
AP_Scripting: examples to load and save missions to the SD card
4 years ago
Randy Mackay
b726630ef4
AP_NavEKF3: pos timeout or glitch does not reset vel if fusing successfully
...
vel is not reset if GPS velocity, optical flow, visual odometry or wheel
encoders are successfully being fused
4 years ago
Randy Mackay
3b38aa6d7b
AP_NavEKF3: GPS change pos reset uses ResetPositonNE and ResetPositionD
...
Using these existing functions removes some code duplicate
non-functional change
4 years ago
Siddharth Purohit
73dea6d29c
AP_CANManager: return max number of drivers for get_num_drivers
4 years ago
Oliver Walters
917f7d8797
AP_PiccoloCAN: Update timeout values to use 64-bit calls
...
- Prevent premature overflow due to 32-bit variables
4 years ago
Oliver Walters
491499ad16
AP_PiccoloCAN: Fixed license text in auto-generated files
...
- License file had been replaced due to re-generation of protocol files
- Original license file and header text reverted
4 years ago
Oliver Walters
479df2e20b
AP_PiccoloCAN: Prevent thread from getting stuck in an infinite loop
...
- Previous code would get stuck in the CAN Tx loop
- New approach is to simply increase the timeout on frame transmission
4 years ago
Oliver Walters
6786e832a1
AP_PiccoloCAN: Provide compatibility for "Gen 2" Velociy ESC ICD
...
- The "Gen 2" Velocity ESC provides much more telemetry data
- The new ICD changes are compatible (i.e. legacy and modern ESCs can be on the CAN bus at the same time)
- Decode legacy packets and convert them to modern data structures
- Supports decoding of newer telemetry packets
- Supports decoding of new warning / error packets
4 years ago
Andrew Tridgell
d8337cf9e5
SITL: allow loading of model from ROMFS
4 years ago
Andrew Tridgell
e07cecb264
SITL: added support for simulated battery discharge
4 years ago
Andrew Tridgell
e8f21d3458
AP_InertialSensor: fixed rpm indexing for vtol motors
...
quadplane vtol motors start at 1
4 years ago
Andrew Tridgell
a0bc9d3148
SITL: fixed quadplane mass and rpm indexing
4 years ago
Andrew Tridgell
767773da5e
SITL: improved multicopter simulation
...
this takes account of motor expo, velocity of air over propellers,
mass, size and other factors
It also allows for frame parameters to be supplied as an external json file
4 years ago
Andrew Tridgell
c2661a0f09
SITL: added picojson.h header
...
will be used for custom frame parameters
4 years ago
Randy Mackay
7b898ee001
AP_NavEKF3: minor comment and format fixes
4 years ago
Randy Mackay
fccc1fcb72
AP_NavEKF2: minor comment fix
4 years ago
Andrew Tridgell
20c4f1950b
AP_RCProtocol: added FPort protocol test
4 years ago
Andrew Tridgell
df5105e20b
AP_RCProtocol: added FPort2 protocol test
4 years ago
Andrew Tridgell
a8770a5a82
AP_RCProtocol: added FPort2 protocol support
4 years ago
Andrew Tridgell
747b48d0a8
AP_Math: added crc_sum8
...
for FPort/FPort2
4 years ago
Andrew Tridgell
66596dcf25
AP_Logger: allow for retry of log open with LOG_DISARMED=1
...
if booting without a microSD and with LOG_DISARMED=1 then this allows
for a retry of opening the log every 5s
4 years ago
Rishabh
cd8404f80c
AP_BattMonitor: Update @value field in param to be increasing order
4 years ago
Vinicius Juvinski
36204e5dae
AP_HAL_Linux: Fix PWM FS to follow the Kernel's 4.X instead 3.9
...
Checking the ToneAlarm under AP_HAL_Linux(BBBMINI is using that) I realize was using old kernek
3.9 device tree, so I updated to 4.X - this will affect only BBBMINI and
Blue boards.
4 years ago
Randy Mackay
eb880a2657
AP_Scripting: copter-wall-climber fix for climb rate limiting
4 years ago
Randy Mackay
eab7c9520c
AP_Scripting: copter-wall-climber accel limiting
...
reduces climb rate slowly so it can stop before next interval
also fixup formatting of altitude output to user
4 years ago
Randy Mackay
2ab860b8b7
AP_Scripting: copter-wall-climber format and comment fixes
...
replaced tab with spaces
also fixed comment
4 years ago
giacomo892
640990a7c7
AP_Compass: Fix TYPEMASK bitmask
4 years ago
Tatsuya Yamaguchi
e1126d4fd6
GCS_MAVLink: use micro64 instead of micros for time_usec
4 years ago
Iampete1
7aad83ccca
AP_Airspeed: add MATLAB based NMEA sensor example
4 years ago
Iampete1
0e41b821e8
AP_Airspeed: defualt to type none on sub
4 years ago
Iampete1
73594cb19b
GCS_MAVLink: send airspeed temp in scaled_pressure
4 years ago
Iampete1
2aff8787c1
AP_Airspeed: add NMEA water speed backend
4 years ago
Iampete1
9884c2c2ce
AP_SerialManager: add airspeed type
4 years ago
Iampete1
8996c4cee0
AP_Scripting: NMEA example updated decoding
4 years ago
Iampete1
662d4640ef
AP_Airspeed: add dedicated MAX_WIND param
4 years ago
Iampete1
d7e8ad1c13
AP_AHRS: add ARSPD_OPTION note to WIND_MAX
4 years ago
murata
22b8ed5adf
AP_Baro: Delete unnecessary return processing
4 years ago
Andrew Tridgell
6f92abea63
AP_Filesystem: fixed build on gcc 9.3
4 years ago
Andrew Tridgell
45af37298b
AP_BoardConfig: use AP_Filesystem for sdcard mount
4 years ago
Andrew Tridgell
ee50eaf3c9
HAL_ChibiOS: go via AP_Filesystem for mount/unmount operations
...
this fixes a deadlock where a mount/unmount could access FATFS without
holding the AP_Filesystem semaphore
4 years ago
Andrew Tridgell
2596875ceb
AP_HAL: removed fs_init()
...
this must go via AP_Filesystem
4 years ago
Andrew Tridgell
e429d578fa
AP_Filesystem: added interface for mount/unmount
...
we need to hold the FATFS semaphore when doing mount/unmount, which
means we must go via AP_Filesystem_FATFS
4 years ago
Michael du Breuil
1a1a5e69dd
AP_Scripting: Add setmetatable back to the lua sandbox
4 years ago
Peter Barker
9aec1e48af
AP_Frsky_Telem: tidy mavlite message handling
...
Including calling into reboot-vehicle rather than the hal reboot method.
4 years ago
Peter Barker
e0f8e003ec
AP_Frsky_Telem: move mavlite message handling to own object
4 years ago
Peter Barker
b4e12da2c8
AP_Frsky_Telem: rework SPort-to-MAVlite conversion
...
Breaks the single object into three distinct parts objects, and hidesas
much information from the other parts as possible.
4 years ago