Andrew Tridgell
7b720aae46
HAL_ChibiOS: allow printf() to work on systems without debug console
...
map to hal.console once initialised
2018-05-26 19:06:25 +10:00
Andrew Tridgell
dbe0f3c575
HAL_ChibiOS: fixed assert in reboot
...
with asserts enabled we can't sleep with interrupts off
2018-05-26 17:23:46 +10:00
Andrew Tridgell
79ca1e76c0
HAL_ChibiOS: improve reliability of reboot
2018-05-26 15:53:25 +10:00
Andrew Tridgell
d1fe9e6c67
uavcan: fixed short spin times with uavcan on ChibiOS
...
allow for less than 1ms wait times
2018-05-26 12:35:13 +10:00
Andrew Tridgell
99ca0ea913
AP_BoardConfig: moved BRD_PWM_COUNT to common code
...
this allows all boards to configure some PWM outputs as GPIOs
2018-05-26 12:08:54 +10:00
Andrew Tridgell
7e897c16c0
HAL_ChibiOS: maintain rcout state beyond BRD_PWM_COUNT
...
allow channels beyond BRD_PWM_COUNT to be sent over SBUS or DShot
distribution
2018-05-26 12:08:54 +10:00
Pierre Kancir
0fd8d94924
SITL: Fix printf format warning
2018-05-26 09:13:29 +09:00
Pierre Kancir
053f124492
GCS_MAVLink: fix FALLTHROUGH warning
2018-05-26 09:13:29 +09:00
Michael du Breuil
177c4c2d44
Tools: Accept mAh as a unit
2018-05-26 08:49:02 +09:00
Michael du Breuil
d73c16698a
AP_BattMonitor: Update param docs to be more UX friendly
2018-05-26 08:49:02 +09:00
Pierre Kancir
9ada804489
AP_ADSB: fix snprintf warning
2018-05-25 12:54:25 -07:00
apinxiko
a1fd1cb9b2
Copter: avoid keeping buzzing while in holding at waypoint
2018-05-25 14:02:13 +09:00
Randy Mackay
938dc2e47d
GCS_MAVLink: resolve compiler warnings correct_offboard_timestamp
...
applies only to SITL
2018-05-25 14:00:00 +09:00
Andrew Tridgell
fbd80ef897
AP_UAVCAN: fixed build on revo
2018-05-25 13:53:17 +10:00
Andrew Tridgell
91d2b19e23
AP_UAVCAN: use take_blocking() method
2018-05-25 13:53:17 +10:00
Andrew Tridgell
e2ea654b77
AP_HAL: added take_blocking() method
...
this avoids the need to check return result
2018-05-25 13:53:17 +10:00
Andrew Tridgell
49dfccbcee
AP_UAVCAN: fixed build of example on px4
2018-05-25 13:53:17 +10:00
Andrew Tridgell
92cda24659
AP_UAVCAN: efficiency improvements
...
this allows us to support 800Hz main loop rate with UAVCAN ESCs on
copter
2018-05-25 13:53:17 +10:00
Andrew Tridgell
438a7dd79a
AP_UAVCAN: increase message timeout to 2ms
...
this reduces the number of msg timeouts
2018-05-25 13:53:17 +10:00
Andrew Tridgell
b8ae43c30b
AP_UAVCAN: added a servo rate limit parameter
...
this allows for servos at 50Hz while keeping ESCs at higher rates
2018-05-25 13:53:17 +10:00
Andrew Tridgell
afb36ec168
HAL_ChibiOS: run can loop much more often
...
this allows for much higher ESC and servo rates, as it gives more
changes for frames to get out
2018-05-25 13:53:17 +10:00
Andrew Tridgell
0dc77421e8
AP_UAVCAN: a simple UAVCAN sniffer based on AP_HAL
2018-05-25 13:53:17 +10:00
Andrew Tridgell
5f8bff8f3e
AP_UAVCAN: set timeout for periodic msgs to 1
...
this stops us keeping messages for resend for too long, which fixes a
major memory leak
2018-05-25 13:53:17 +10:00
Tom Pittenger
4c51edfaca
AP_UAVCAN: move UAVCAN code from SRV to UAVCAN files
2018-05-25 13:53:17 +10:00
Tom Pittenger
1a15a2e749
SRV_Channel: move UAVCAN code from SRV to UAVCAN files
2018-05-25 13:53:17 +10:00
Eugene Shamaev
66438041ad
SRV_Channels: helper func
2018-05-25 13:53:17 +10:00
Eugene Shamaev
938f19c154
SRV_Channel: move push_UAVCAN to private
2018-05-25 13:53:17 +10:00
Eugene Shamaev
60db4016a7
AP_HAL_VRBRAIN: UAVCAN servo removal
2018-05-25 13:53:17 +10:00
Eugene Shamaev
94f8c81d84
AP_HAL_PX4: UAVCAN servo removal
2018-05-25 13:53:17 +10:00
Eugene Shamaev
1a888c16f4
AP_UAVCAN: Change for servo and ESC interface from RCOutput to SRV_Channels
2018-05-25 13:53:17 +10:00
Eugene Shamaev
afce24e45d
SRV_Channels: integration of UAVCAN Servos and ESCs
2018-05-25 13:53:17 +10:00
Eugene Shamaev
c410feefa1
AP_HAL: add CAN bus declaration for the intel aero board
2018-05-25 13:53:17 +10:00
Eugene Shamaev
68ec9f4119
Tools: add CAN bus declaration for the intel aero board
2018-05-25 13:53:17 +10:00
Tom Pittenger
7134a4bdf6
AP_Avoidance: track src with correct label - use MAVLink label
2018-05-25 12:44:59 +09:00
timo
8cea9a3beb
HAL_F4Light: Fixed I2C initalization for Airspeed sensor on MatekF405CTR board
2018-05-25 12:06:49 +10:00
night-ghost
06da94dcea
HAL_F4Light: fixed non-inverted SBUS parsing
2018-05-25 12:06:49 +10:00
night-ghost
6d3a879219
HAL_F4Light: fixed ADC field description
2018-05-25 12:06:49 +10:00
night-ghost
7d6d9d4f3d
HAL_F4Light: changed pin definitions from #defines to enum
2018-05-25 12:06:49 +10:00
Alexander Malishev
47451be875
AP_RCProtocol: add support for non-inverted s-bus
2018-05-25 12:05:50 +10:00
Randy Mackay
70cef2f61e
Rover: report set-attitude-target capability
...
rover accepts the set-attitude-target mavlink messages
2018-05-25 10:40:49 +09:00
Peter Barker
f668d0dc57
GCS_MAVLink: enhance TIMESYNC handling
...
GCS_MAVLink: use de-jittered timestamp for our timesync responses
GCS_MAVLink: periodically send timesync request packets
Currently no use is made of the result of these requests, however,
having the result present in telemetry logs will be useful data.
2018-05-25 11:36:17 +10:00
Michael du Breuil
3a62bca7d0
AP_HAL_ChibiOS: Make redefined pins an error, fix FMUv3
2018-05-25 09:57:18 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
8427b569b6
GCS_MAVLink: replace /* fall through */ with FALLTHROUGH;
2018-05-25 08:41:07 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
594911f0b4
DataFlash: replace /* fall through */ with FALLTHROUGH;
2018-05-25 08:41:07 +09:00
Lucas De Marchi
88dc17fe6e
AP_HAL_Linux: Storage: fix initialization
...
Use init() to lazily create/open storage directory and keep fd open
afterwards. This avoids duplicate code opening the storage in several
places.
2018-05-24 08:00:33 -07:00
Lucas De Marchi
1f3b7b5687
AP_HAL_Linux: Storage: fix writing garbage while creating file
...
By the time we create the storage we hadn't still initialized the
buffer. Remove the writes during storage creation since ftruncate() will
take care of the file size aspect and MAX storage write chunk is taken
care by Linux according to the media/fs that is there.
2018-05-24 08:00:33 -07:00
Lucas De Marchi
5526997d45
AP_HAL_Linux: Storage: prefer custom storage
...
If ardupilot was started with --storage-directory option, use that
directory to save/load parameters.
2018-05-24 08:00:33 -07:00
Lucas De Marchi
ff6e76ea6a
AP_HAL_Linux: add custom storage directory
2018-05-24 08:00:33 -07:00
Lucas De Marchi
9e538632b3
AP_HAL_Linux: use AP_HAL_STORAGE_DIRECTORY
...
Add mkdir_p implementation copied from kmod and create the directory
with all possible components.
2018-05-24 08:00:33 -07:00
Lucas De Marchi
a56106cccb
AP_HAL: use buildsystem for default directories
2018-05-24 08:00:33 -07:00