ToppingXu
35e0554ace
navigator: fix save mission state. ( #12468 )
5 years ago
Daniel Agar
04ea84908e
Update submodule mavlink v2.0 to latest Sun Oct 13 08:37:21 EDT 2019
...
- mavlink v2.0 in PX4/Firmware (c09ea2a9b0
): 31cc5bb39e
- mavlink v2.0 current upstream: c549ee3298
- Changes: 31cc5bb39e...c549ee3298
5 years ago
Matthias Grob
c09ea2a9b0
arch.sh: don't execute pip as root
...
otherwise packages get installed in
/root/.local/lib/python3.7/site-packages
5 years ago
Matthias Grob
50c5150471
arch.sh: work around gazebo AUR build error and correct comments
5 years ago
Matthias Grob
bba464d722
arch.sh: enable multicore gazebo compilation
5 years ago
Matthias Grob
7dd1be65ca
arch.sh: add gazebo installation
5 years ago
Beat Küng
803a71928f
fmu-v3: enable DShot
...
Disables RX DMA on TEL4 and IO debug serial port
5 years ago
Beat Küng
82106105b7
parameters: defer auto-saving to after disarming for flash-based params
...
This is especially important for DShot, that does not update when the CPU
stalls.
5 years ago
Beat Küng
67500123e3
fmu-v5: add dshot support
...
But only on the first 4 FMU outputs, as the next ones conflict with px4io
serial dma (UART8_RX)
RX DMA is disabled on the GPS port as well (conflicts with TIM1).
5 years ago
Beat Küng
8a9744d05a
dshot: allow boards to enable dshot only on a subset of the timers
5 years ago
Beat Küng
93a12436a3
parameters: update perf counter for flash-based param_save_default()
5 years ago
Beat Küng
a545f7ee16
mixer_module: extend printf status output
5 years ago
Beat Küng
b080679146
kakutef7, kopis airframe: enable dshot & telemetry
5 years ago
Beat Küng
d0a7490222
dshot: update timer generation before DMA request
...
This reloads the timer configuration before triggering DMA. Without that,
in rare cases, there were 17 bits sent instead of 16.
The 1. bit (1. pulse) was always wrong (too much), the rest of the bits
were the correct DShot packet that was meant to be sent.
5 years ago
Beat Küng
7445c25fcc
dshot: check if DMA still in progress
...
No other functional change, just restructuring.
5 years ago
Beat Küng
182efaa757
dshot: reduce static buffer size
...
And handle failures of up_dshot_init().
On Omnibus: reduces memory usage if dshot is enabled by ~1.0KB.
The buffer is roughly 1KB in size.
5 years ago
Beat Küng
e78250ab8d
dshot telemetry: retrieve & print ESC info with 'dshot esc_info' CLI command
5 years ago
Beat Küng
26648ad0b9
dshot: add support to send commands via CLI
...
This enables the possibility to permanently reverse motor directions :)
5 years ago
Beat Küng
65f3c7f93d
dshot: add telemetry and publish esc_status message
5 years ago
Beat Küng
d44302c03b
module_schema.yaml: add 'decimal' and 'increment' for floats
5 years ago
Beat Küng
4c4ce09005
esc_status: trim the message and remove unused fields
5 years ago
Beat Küng
69c10dcaac
dshot: move implementation to a separate directory & library
...
So that the static memory overhead is not added to targets w/o dshot
5 years ago
Beat Küng
775916ef11
kakutef7: enable dshot
5 years ago
Beat Küng
23dbd9426a
dshot: handle dcache, flush cache before DMA transfer
5 years ago
Beat Küng
3234aca53b
px4_micro_hal: add PX4_ARCH_DCACHE_LINESIZE definition
5 years ago
Beat Küng
132dcdaf25
beta75x airframe: enable DShot600
5 years ago
Igor Mišić
543a057f80
fmu-v4: add dshot timer config
5 years ago
Beat Küng
ac82c5114b
omnibusf4sd: add dshot timer config
5 years ago
Beat Küng
d8ef1b59b9
ROMFS: add dshot startup support
5 years ago
Beat Küng
a161be6ec8
dshot: add dshot driver
...
Supports all DShot modes, but no telemetry yet.
It includes the modes and capture configuration from FMU so that it serves
as drop-in replacement.
5 years ago
Beat Küng
f3eea85bef
MOT_ORDERING, MC_AIRMODE: move param def to mixer_module and 'Mixer Output' group
5 years ago
Beat Küng
2a492a8e47
fmu: remove unused include and variable
5 years ago
Igor Mišić
5bd9659301
stm32 timers: add dshot implementation
5 years ago
TSC21
061ee15139
update sitl_gazebo submodule (10/10/2019)
5 years ago
Dusan Zivkovic
ab2e235333
Commander: bugfix: get all available messages on the subsystem_info topic
5 years ago
Dusan Zivkovic
b6f21fa76e
voted_sensors_update: fix style
5 years ago
Dusan Zivkovic
316a188e8e
voted_sensors_update: parameter CAL_*_EN enables sensor with id CAL_*_ID
5 years ago
Dusan Zivkovic
d3e79c4726
voted_sensors_update: set priority properly in case of late mag subscriptions or sensors enabled param changes
5 years ago
Matthias Grob
7f63ed8202
Arch setup script ( #13111 )
...
* ubuntu.sh: fix space and capitalization
* Add setup script for Arch Linux
* arch.sh: remove numerous confirmations, added some base packages
* setup scripts: adjust messages according to review
5 years ago
Julian Oes
307dc3e32d
mavlink: fix boot complete without lockstep
...
Without lockstep the actual monotonic clock of the host computer is
used. Therefore, this time is likely much more than 20 seconds and the
check if the boot complete happened in time will fail immediately.
Therefore, it probably makes more sense to count the time from the first
mavlink creation.
5 years ago
Julian Oes
ea35923d3a
navigator: bugfix to prevent NaN setpoints
...
The asinf function is NaN outside of -1 to 1. Therefore, it probably
makes sense to constrain the input to prevent NaN setpoints further down
the line.
5 years ago
Matthias Grob
ca711fecc7
Commander: improve message for RC override event
5 years ago
mcsauder
f9a5c91f8c
Deprecate vehicle_attitude_sub from MulticopterLandDetector as it is no longer utilized.
5 years ago
Lasse
5ac0a3043b
Clarify Documentation of THR_MDL_FAC
...
The documentation of the thrust model parameter `THR_MDL_FAC` did not
mention both thrust and "PWM" being relative values. Also the use of the
term PWM could be misleading, since the model is applicable to CAN ESCs
as well.
This commit rephrases the user documentation string and a few source
code comments, but no logic changes are made.
Closes PX4/Firmware#13105
5 years ago
Matthias Grob
c1faea8d32
Commander: add const qualifiers for clarity
5 years ago
Matthias Grob
63f2c009c7
PreflightCheck: refactor failureDetectorCheck return value
5 years ago
Matthias Grob
8e0ee88e0a
PreflightCheck: add const qualifiers to parameters
...
to help readability
5 years ago
Matthias Grob
c570dc9315
PreflightCheck: remove goto from imu consistency check
5 years ago
mcsauder
6066300757
Set a default signal_quality value in the MavlinkReciever::handle_message_distance_sensor() method.
5 years ago
mcsauder
5ccba5541d
Added missing fields and a TODO with commented field to the MavlinkReciever::handle_message_distance_sensor().
5 years ago