Andrew Tridgell
79ca1e76c0
HAL_ChibiOS: improve reliability of reboot
7 years ago
Andrew Tridgell
d1fe9e6c67
uavcan: fixed short spin times with uavcan on ChibiOS
...
allow for less than 1ms wait times
7 years ago
Andrew Tridgell
99ca0ea913
AP_BoardConfig: moved BRD_PWM_COUNT to common code
...
this allows all boards to configure some PWM outputs as GPIOs
7 years ago
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
7 years ago
Pierre Kancir
0fd8d94924
SITL: Fix printf format warning
7 years ago
Pierre Kancir
053f124492
GCS_MAVLink: fix FALLTHROUGH warning
7 years ago
Michael du Breuil
177c4c2d44
Tools: Accept mAh as a unit
7 years ago
Michael du Breuil
d73c16698a
AP_BattMonitor: Update param docs to be more UX friendly
7 years ago
Pierre Kancir
9ada804489
AP_ADSB: fix snprintf warning
7 years ago
apinxiko
a1fd1cb9b2
Copter: avoid keeping buzzing while in holding at waypoint
7 years ago
Randy Mackay
938dc2e47d
GCS_MAVLink: resolve compiler warnings correct_offboard_timestamp
...
applies only to SITL
7 years ago
Andrew Tridgell
fbd80ef897
AP_UAVCAN: fixed build on revo
7 years ago
Andrew Tridgell
91d2b19e23
AP_UAVCAN: use take_blocking() method
7 years ago
Andrew Tridgell
e2ea654b77
AP_HAL: added take_blocking() method
...
this avoids the need to check return result
7 years ago
Andrew Tridgell
49dfccbcee
AP_UAVCAN: fixed build of example on px4
7 years ago
Andrew Tridgell
92cda24659
AP_UAVCAN: efficiency improvements
...
this allows us to support 800Hz main loop rate with UAVCAN ESCs on
copter
7 years ago
Andrew Tridgell
438a7dd79a
AP_UAVCAN: increase message timeout to 2ms
...
this reduces the number of msg timeouts
7 years ago
Andrew Tridgell
b8ae43c30b
AP_UAVCAN: added a servo rate limit parameter
...
this allows for servos at 50Hz while keeping ESCs at higher rates
7 years ago
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
7 years ago
Andrew Tridgell
0dc77421e8
AP_UAVCAN: a simple UAVCAN sniffer based on AP_HAL
7 years ago
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
7 years ago
Tom Pittenger
4c51edfaca
AP_UAVCAN: move UAVCAN code from SRV to UAVCAN files
7 years ago
Tom Pittenger
1a15a2e749
SRV_Channel: move UAVCAN code from SRV to UAVCAN files
7 years ago
Eugene Shamaev
66438041ad
SRV_Channels: helper func
7 years ago
Eugene Shamaev
938f19c154
SRV_Channel: move push_UAVCAN to private
7 years ago
Eugene Shamaev
60db4016a7
AP_HAL_VRBRAIN: UAVCAN servo removal
7 years ago
Eugene Shamaev
94f8c81d84
AP_HAL_PX4: UAVCAN servo removal
7 years ago
Eugene Shamaev
1a888c16f4
AP_UAVCAN: Change for servo and ESC interface from RCOutput to SRV_Channels
7 years ago
Eugene Shamaev
afce24e45d
SRV_Channels: integration of UAVCAN Servos and ESCs
7 years ago
Eugene Shamaev
c410feefa1
AP_HAL: add CAN bus declaration for the intel aero board
7 years ago
Eugene Shamaev
68ec9f4119
Tools: add CAN bus declaration for the intel aero board
7 years ago
Tom Pittenger
7134a4bdf6
AP_Avoidance: track src with correct label - use MAVLink label
7 years ago
timo
8cea9a3beb
HAL_F4Light: Fixed I2C initalization for Airspeed sensor on MatekF405CTR board
7 years ago
night-ghost
06da94dcea
HAL_F4Light: fixed non-inverted SBUS parsing
7 years ago
night-ghost
6d3a879219
HAL_F4Light: fixed ADC field description
7 years ago
night-ghost
7d6d9d4f3d
HAL_F4Light: changed pin definitions from #defines to enum
7 years ago
Alexander Malishev
47451be875
AP_RCProtocol: add support for non-inverted s-bus
7 years ago
Randy Mackay
70cef2f61e
Rover: report set-attitude-target capability
...
rover accepts the set-attitude-target mavlink messages
7 years ago
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.
7 years ago
Michael du Breuil
3a62bca7d0
AP_HAL_ChibiOS: Make redefined pins an error, fix FMUv3
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
8427b569b6
GCS_MAVLink: replace /* fall through */ with FALLTHROUGH;
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
594911f0b4
DataFlash: replace /* fall through */ with FALLTHROUGH;
7 years ago
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.
7 years ago
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.
7 years ago
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.
7 years ago
Lucas De Marchi
ff6e76ea6a
AP_HAL_Linux: add custom storage directory
7 years ago
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.
7 years ago
Lucas De Marchi
a56106cccb
AP_HAL: use buildsystem for default directories
7 years ago
Lucas De Marchi
2916a3f40c
build: add --apstatedir for Linux boards
...
This is the --localstatedir that is found on other
buildsystems/programs + the package directory. We could provide a
--localstatedir instead to be similar to the others, but I thought it
would be too confusing for the help message.
7 years ago
Lucas De Marchi
1e7ad72909
AP_HAL: use default storage for more boards
...
Boards from Emlid, Erle Robotics and BBB-like ones were agreed to be
changed #7100 . Here I'm also change some more, just because they appear
to be using the old default just because of copy and paste. We can
always revert back if we get complains and it seems something trivial.
Almost all boards now are using the the default path for logs, terrain
and params, except those that have restrictions to do so, like ones
using custom distros.
7 years ago