Michael du Breuil
fba185cefb
DataFlash: Fix GPS units
7 years ago
Hyungsub
97b93920b3
AP_HAL_Linux: fix memory leaks
...
Fixes #8642
7 years ago
Hyungsub
8ae2729022
AP_HAL_ChibiOS: fix memory leaks
...
Fixes #8644
7 years ago
Andrew Tridgell
1c4bf3d804
HAL_ChibiOS: fixed build warning
7 years ago
Lucas De Marchi
46213eb97e
chibios_hwdef: fix wrong uart index
...
calling uart_list.index() will find the first element with that name,
which is not really what we want when we have multiple EMPTY uarts.
7 years ago
Andrew Tridgell
00d919018b
HAL_ChibiOS: added RTC clock implementation
7 years ago
Andrew Tridgell
1283b92cb7
DataFlash: fix for new AP_RTC API
7 years ago
Peter Barker
312ac7dc73
AP_RTC: return 0 from get_utc_usec if rtc not set
7 years ago
Peter Barker
f83e65e04e
AP_RTC: add parameter for source types we will set the system time from
7 years ago
Peter Barker
22a94addd5
AP_BoardConfig: add parameters for AP_RTC
7 years ago
Peter Barker
f5eb281efd
AP_HAL: use AP_RTC
...
Also add a define as to whether set_time / get_time can be used
7 years ago
Peter Barker
00153f513c
AP_HAL_SITL: use OS clock for get_hw_rtc
7 years ago
Peter Barker
973fe57827
AP_Stats: use AP_RTC
7 years ago
Peter Barker
5b41db5120
AP_GPS: use AP_RTC
...
set the system time from a GPS if we have a 3D fix or better
7 years ago
Peter Barker
721feaf40f
GCS_MAVLink: use AP_RTC
...
GCS_MAVLINK: Add SYSTEM_TIME handle (Patrick José Pereira)
7 years ago
Peter Barker
f6eb7e2ba5
AP_HAL_F4Light: remove un-needed methods
7 years ago
Peter Barker
89d532b557
AP_HAL_VRBRAIN: use common methods for setting time
7 years ago
Peter Barker
3bdbe3b63c
AP_HAL_PX4: use common methods for setting time
7 years ago
Peter Barker
c9dbdd7a5c
AP_HAL_Linux: clarify method name, use common methods for setting time
7 years ago
Peter Barker
59d1d8aecc
AP_BoardConfig: instantiate an RTC
...
AP_BoardConfig: set RTC from hw clock at startup
7 years ago
Peter Barker
ece7ff874c
AP_RTC: a library to handle epoch-time
7 years ago
Peter Barker
6af0dcfed0
AP_Math: create a constrain_int64
...
The template system doesn't work across 32/64 bit builds (SITL
vs fmuv4), probably because int is typedef'd to int64
7 years ago
Peter Barker
01e0c03a12
AP_Scheduler: add singleton
7 years ago
Michael du Breuil
676f60333a
DataFlash: Fix power units
7 years ago
Andrew Tridgell
5d20699975
HAL_F4Light: removed ST licensed files from HAL_F4Light
7 years ago
Andrew Tridgell
c0bfc77701
HAL_F4Light: removed submodules
7 years ago
Andrew Tridgell
777b4c8cfe
DataFlash: avoid stat of current log file
...
this avoids getting invalid data base for stat() for the current log
file.
It also only gives up writing to a log file if writes fail for 2
seconds. This avoids a temporary write failure causing the log to be
closed (that can happen on ChibiOS with directory listing while writing)
7 years ago
Andrew Tridgell
8a2f1fdb3d
AP_Airspeed: fixed airspeed filtering issue
...
this fixes an issue where an airspeed sensor that becomes unhealthy
can have an undue effect after the sensor becomes healthy again.
In a recent flight log the MS4525 airspeed sensor went unhealthy for a
few seconds, and at the same time gave a reading of 12m/s. The plane
was flying at 24m/s. While the sensor was unhealthy the code correctly
switched to the airspeed estimate, which was fine.
When the airspeed sensor become healthy again the IIR filter in
AP_Airspeed meant that the speed read at 12m/s initially, then came up
to 24m/s over a couple of seconds. This caused the VTOL motors to come
on for a few seconds.
7 years ago
Andrew Tridgell
10ca1e78e8
HAL_ChibiOS: switched to Mode3 on SPI1
...
this is now working correctly
7 years ago
Andrew Tridgell
9d248456e4
HAL_ChibiOS: re-enable I2C4 DMA for F765
...
now we have fixed the error from the datasheet we can do DMA
7 years ago
Andrew Tridgell
ad3eca4e6b
HAL_ChibiOS: fixed I2C4 DMA streams
...
There is an error in the datasheet. See
https://community.st.com/thread/50484-documentation-error-on-dma-channels-for-i2c4-on-stm32f7
7 years ago
Andrew Tridgell
62e8fbb9d3
HAL_ChibiOS: fixed OMNIBUSF7V2 hwdef.dat
7 years ago
Andrew Tridgell
e068106669
HAL_ChibiOS: support I2C devices on STM32F7 without DMA
...
this allows us to support I2C4 on fmuv5
7 years ago
chobits
0d2b70e607
GCS_MAVLink: fix ATT_POS_MOCAP timestamp handle
7 years ago
Randy Mackay
5e7b37f0b2
AR_AttitudeControl: remove constraint on steering output
7 years ago
Michael du Breuil
95eda5d9b7
RC_Channel: Remove unneeded interfaces
7 years ago
Andrew Tridgell
b225868711
AP_Compass: detect conflict between AK09916 and ICM20948
...
this detects if we have both a AK09916 and an ICM20948 on the same i2c
bus. If that is found then the ICM20948 is disabled as it otherwise we
will have two devices on the same i2c address
7 years ago
Jacob Walser
c4175be7aa
AP_Camera: explicitly specify floats
7 years ago
Peter Barker
b0aeec4b6a
GCS_MAVLink: move handling of MAV_CMD_DO_GRIPPER up
7 years ago
Peter Barker
8a3df17a07
AP_Gripper: add singleton
7 years ago
Alexander Malishev
289b93c3d0
HAL_ChibiOS: added parse_timer to chibios_hwdef.dat
7 years ago
murata
4d5e258b19
AP_NavEKF3: Delete unused definitions
7 years ago
murata
a9b2b9dddf
AP_NavEKF2: Delete unused definitions
7 years ago
Ammarf
b614ca9b75
AR_AttitudeControl: disable limits when _ACCEL_MAX is zero
7 years ago
Carlos Martínez Úbeda
30e0c7f746
AP_HAL_SITL: use FD_CLOEXEC instead of linux SOCK_CLOEXEC for socket
7 years ago
Eugene Shamaev
56cc0d3ef7
AP_BoardConfig: comments
7 years ago
Eugene Shamaev
2055f264e5
AP_HAL_ChibiOS: helper func
7 years ago
Eugene Shamaev
df6b7ed5ea
AP_Compass_UAVCAN: update
7 years ago
Eugene Shamaev
9985d4a937
AP_GPS: uniform naming
7 years ago
Eugene Shamaev
13954f97cf
AP_Baro: helper func
7 years ago