haru
ad6fca8e57
Tools: Update GIT_Success.txt
2018-06-16 11:15:37 +09:00
murata
a970eacf49
Copter: Do not use the Delay method wrapper.
2018-06-16 09:40:47 +09:00
Andrew Tridgell
1c4bf3d804
HAL_ChibiOS: fixed build warning
2018-06-15 11:26:40 +10:00
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.
2018-06-15 08:21:40 +10:00
Andrew Tridgell
a976d105c6
ChibiOS: submodule update
...
disable internal get_fattime()
2018-06-15 08:01:22 +10:00
Andrew Tridgell
00d919018b
HAL_ChibiOS: added RTC clock implementation
2018-06-15 08:01:22 +10:00
Andrew Tridgell
1283b92cb7
DataFlash: fix for new AP_RTC API
2018-06-15 08:01:22 +10:00
Peter Barker
312ac7dc73
AP_RTC: return 0 from get_utc_usec if rtc not set
2018-06-15 08:01:22 +10:00
Peter Barker
f83e65e04e
AP_RTC: add parameter for source types we will set the system time from
2018-06-15 08:01:22 +10:00
Peter Barker
22a94addd5
AP_BoardConfig: add parameters for AP_RTC
2018-06-15 08:01:22 +10:00
Peter Barker
f5eb281efd
AP_HAL: use AP_RTC
...
Also add a define as to whether set_time / get_time can be used
2018-06-15 08:01:22 +10:00
Peter Barker
00153f513c
AP_HAL_SITL: use OS clock for get_hw_rtc
2018-06-15 08:01:22 +10:00
Peter Barker
973fe57827
AP_Stats: use AP_RTC
2018-06-15 08:01:22 +10:00
Peter Barker
9824832523
Plane: use AP_RTC
...
Plane: AP_GPS now sets the system time directly
2018-06-15 08:01:22 +10:00
Peter Barker
9f6d186bea
Tracker: use AP_RTC
...
Tracker: AP_GPS now sets the system time directly
2018-06-15 08:01:22 +10:00
Peter Barker
4cc236b8a7
Sub: use AP_RTC
...
Sub: AP_GPS now sets the system time directly
Sub: use AP_RTC for delays in missions
2018-06-15 08:01:22 +10:00
Peter Barker
078d90132c
Copter: use AP_RTC
...
Co-authored-by: patrickelectric@gmail.com
Copter: AP_GPS now sets the system time directly
Copter: use AP_RTC for mission delays
Copter: Remove ap_t bits counter (Patrick José Pereira)
Change bits in ap_t to bool and add a static assert
2018-06-15 08:01:22 +10:00
Peter Barker
9b269b1b56
Rover: use AP_RTC
...
Rover: AP_GPS now sets the system time directly
2018-06-15 08:01:22 +10:00
Peter Barker
5b41db5120
AP_GPS: use AP_RTC
...
set the system time from a GPS if we have a 3D fix or better
2018-06-15 08:01:22 +10:00
Peter Barker
721feaf40f
GCS_MAVLink: use AP_RTC
...
GCS_MAVLINK: Add SYSTEM_TIME handle (Patrick José Pereira)
2018-06-15 08:01:22 +10:00
Peter Barker
f6eb7e2ba5
AP_HAL_F4Light: remove un-needed methods
2018-06-15 08:01:22 +10:00
Peter Barker
89d532b557
AP_HAL_VRBRAIN: use common methods for setting time
2018-06-15 08:01:22 +10:00
Peter Barker
3bdbe3b63c
AP_HAL_PX4: use common methods for setting time
2018-06-15 08:01:22 +10:00
Peter Barker
c9dbdd7a5c
AP_HAL_Linux: clarify method name, use common methods for setting time
2018-06-15 08:01:22 +10:00
Peter Barker
e92b3f0a63
mk: always include AP_RTC in builds
2018-06-15 08:01:22 +10:00
Peter Barker
09a9abb3a8
Tools: include AP_RTC in all waf builds
2018-06-15 08:01:22 +10:00
Peter Barker
59d1d8aecc
AP_BoardConfig: instantiate an RTC
...
AP_BoardConfig: set RTC from hw clock at startup
2018-06-15 08:01:22 +10:00
Peter Barker
ece7ff874c
AP_RTC: a library to handle epoch-time
2018-06-15 08:01:22 +10:00
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
2018-06-15 08:01:22 +10:00
Peter Barker
01e0c03a12
AP_Scheduler: add singleton
2018-06-15 08:01:22 +10:00
Michael du Breuil
676f60333a
DataFlash: Fix power units
2018-06-14 17:50:27 +10:00
Andrew Tridgell
5d20699975
HAL_F4Light: removed ST licensed files from HAL_F4Light
2018-06-14 16:55:21 +10:00
Andrew Tridgell
c0bfc77701
HAL_F4Light: removed submodules
2018-06-14 16:55:21 +10:00
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)
2018-06-14 14:55:41 +10:00
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.
2018-06-14 09:13:30 +10:00
Andrew Tridgell
10ca1e78e8
HAL_ChibiOS: switched to Mode3 on SPI1
...
this is now working correctly
2018-06-13 20:05:26 +10:00
Andrew Tridgell
b9528afcd2
ChibiOS: submodule update
...
fixed Mode3 on SPI1 and I2C4 DMA channels
2018-06-13 20:05:26 +10:00
Andrew Tridgell
9d248456e4
HAL_ChibiOS: re-enable I2C4 DMA for F765
...
now we have fixed the error from the datasheet we can do DMA
2018-06-13 20:05:26 +10:00
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
2018-06-13 20:05:26 +10:00
Andrew Tridgell
62e8fbb9d3
HAL_ChibiOS: fixed OMNIBUSF7V2 hwdef.dat
2018-06-13 20:05:26 +10:00
Andrew Tridgell
f4f086d208
ChibiOS: submodule update
...
support non-DMA mode for I2C
2018-06-13 20:05:26 +10:00
Andrew Tridgell
e068106669
HAL_ChibiOS: support I2C devices on STM32F7 without DMA
...
this allows us to support I2C4 on fmuv5
2018-06-13 20:05:26 +10:00
Randy Mackay
2af8e673cc
Copter: add cork-push to esc calibration
...
Also remove unnecessary duplicate call to motors::set_throttle_passthrough_for_esc_calibration
2018-06-13 13:20:08 +09:00
Randy Mackay
41767e0458
Copter: esc calibration fix
2018-06-13 13:20:08 +09:00
chobits
0d2b70e607
GCS_MAVLink: fix ATT_POS_MOCAP timestamp handle
2018-06-13 09:43:42 +09:00
Patrick José Pereira
d3da8f2914
Sub: Add attitude control with althold via mavlink
...
Allow ordinary attitude positions without a gps system
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-12 17:27:56 -04:00
Patrick José Pereira
3701fc0937
Sub: Move from micros() to AP_HAL::micros()
...
AP_HAL::micros() is a more common style around the rest of the project
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-12 17:27:56 -04:00
Patrick José Pereira
4de371743e
Sub: Move from millis() to AP_HAL::millis()
...
AP_HAL::millis() is a more common style around the rest of the project
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-12 17:27:56 -04:00
Patrick José Pereira
a856f747aa
Sub: Organize descend climb_rate calc
...
Make it more clear to read
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-12 17:27:56 -04:00
Randy Mackay
3ca520021b
Rover: version to 3.4.2-dev
2018-06-12 20:57:25 +09:00