Beat Küng
7bb123c65e
voted_sensors_update: switch to events
4 years ago
Beat Küng
6d26cabdbb
github ci: deploy airframes metadata to s3
4 years ago
Beat Küng
ab701ae502
rtl: switch to events
4 years ago
Beat Küng
59f359f7dc
events: add custom (px4-specific) enums json file
4 years ago
Beat Küng
14d3582d38
events parser: make '/* EVENT' optional, but prevent 'using namespace events'
...
Allows for more compact code for very simple events w/o description
4 years ago
Beat Küng
e1852a7a9a
github ci: deploy events metadata
4 years ago
Beat Küng
60850fa528
metadata: add extract_events target
...
This will collect the events from the whole source tree
4 years ago
Beat Küng
38f3b8d356
mavlink & system: add events interface
...
- sending protocol
- uorb event message & template methods for argument packing
- libevents submodule to send common events and handle json files
- cmake maintains a list of all (PX4) source files for the current build
(PX4 modules + libs), which is used to extract event metadata and
generate a json file
4 years ago
Beat Küng
7c5838116a
Tools: add parser to extract event definitions in source & generate json output
...
Example definition:
/* EVENT
* @description
* test description
* @arg1 : test
*/
events::send<uint8_t>(events::ID("test_event"),
"test message", events::Log::Error, 0);
4 years ago
mcsauder
fef2c43395
Modify occurrences of control_mode to vehicle_control_mode in MulticopterPositionControl.cpp/hpp to reflect the existing naming convention in the files.
4 years ago
Daniel Agar
1ee3484827
drivers/gps: close port if configure fails
...
- open if necessary at beginning of each iteration
4 years ago
JacobCrabill
3143756d97
uavcan_v1: Cleanup _uavcan_subs in SubMgr
...
Remove hard-coding of PX4 param names - use subject name and instance
instead
Also cleanup duplicates of CANARD_PORT_ID_UNSET/MAX vars
4 years ago
JacobCrabill
8f55c960b6
uavcan_v1: Change '_PID' params to '_SUB' for clarity
4 years ago
JacobCrabill
10019bbccc
fmu-v5_uavcanv1: Increase CAN FIFOSIZE to 32
4 years ago
JacobCrabill
fce809841f
uavcan_v1: Revert HeapSize to 8192
4 years ago
JacobCrabill
a644cf19c5
uavcan_v1: Update SubscriptionManager
...
Make _uavcan_subs struct 'const' again
Refactor updateDynamicSubscriptions()
Add getSubjectName(), getInstance() to BaseSubscriber class
4 years ago
JacobCrabill
ab46b8026c
uavcan_v1: Don't re-subscribe to fixed port ID subscribers
4 years ago
JacobCrabill
a99b657f03
uavcan_v1: Fix SubscriptionManager dynamic update
4 years ago
JacobCrabill
db460daf46
uavcan_v1: Bugfix: pop timed-out transfers from tx queue
4 years ago
JacobCrabill
c9f743049b
uavcan_v1: Increase _uavcan_heap size
4 years ago
JacobCrabill
4ba1f966e5
uavcan_v1: Add update and print support to SubscriptionManager
4 years ago
JacobCrabill
74d0f46279
uavcan_v1: Publisher: Fix port_id update
4 years ago
Daniel Agar
1b5e65df04
gyro_fft: change default length 1024 -> 512 to decrease latency
...
- change default FFT length (1024 -> 512)
- this doubles the update rate because half the number of samples are required for each
- decrease number of peaks (4 -> 3)
- so far 3 seems to be sufficient on most vehicles
- increase median filter window (3 -> 5)
- decrease SNR requirement (likely needs to be configurable)
4 years ago
Daniel Agar
ca4932cfc0
EKF: initialize vertical position and velocity variables
...
- otherwise checkVerticalAccelerationHealth() can fail if GPS or EV
aren't available to correctly set vertical velocity fusion time and
innovation ratio
4 years ago
Oleg Evseev
f296a41737
cdev: fixes hardfaults when device get disconnected ( #17846 )
...
check if inode is not unlinked before use
4 years ago
Daniel Agar
a5ee28883a
gyro_fft: track FFT peaks and median filter frequency
4 years ago
alexklimaj
72389c2306
Increase hp work priority. Turn on SPI2 DMA for AFBR.
4 years ago
Paul Riseborough
0c15624a0c
EKF: Fix clang-tidy complaint
4 years ago
Daniel Agar
9524e8ec03
drivers/px4io: mirror PWM_MAIN_OUT support
4 years ago
Daniel Agar
6dd0a58302
[at24c] free perf counter if px4_at24c_initialize fails
...
- add driver prefix to perf counter naming
4 years ago
murata
c9b5e488f5
NCP5623C: Change the class name to the device name
4 years ago
David Sidrane
9dee09b81b
NuttX and Apps updated w/ALL backports
4 years ago
David Sidrane
962f02220a
nxp_fmuk66-v3:DMA Poll not needed
4 years ago
David Sidrane
39d684958d
nxp_fmuk66-e:DMA Poll not needed
4 years ago
David Sidrane
2a7c95d7ac
nxp_fmuk66-v3:Use eDMA
4 years ago
David Sidrane
cd8182ba3c
nxp_fmuk66-e:Use SPI DMA
4 years ago
David Sidrane
5ea4b7dc9e
NuttX with Kinetis eDMA (SPI, Serial) Backports
4 years ago
Matthias Grob
acf848ba99
PWM: Draft implementation to respect PWM_OUT when loading defaults
4 years ago
Beat Küng
50b0f0e392
iridiumsbd: disable module until everything is fixed
...
There seem to be more issues in combination with MAVLink.
4 years ago
Beat Küng
fcf3bb5af9
fix iridiumsbd: use ModuleBase
...
fixes hardfaults, e.g. when device not connected
4 years ago
Beat Küng
9b7170551c
ModuleBase: allow configurable timeout for wait_until_running()
4 years ago
Peter van der Perk
cf524cd2c9
[UAVCANv1] Added uORB actuator_outputs publisher
4 years ago
Beat Küng
6a44fc7cac
fix vtol_att_control: set _current_max_pwm_values to current values on init
4 years ago
Beat Küng
894ecac8da
px4io: ensure pwm params are loaded before any other module starts
...
The vtol module will read them later on.
4 years ago
alexklimaj
962c2cc960
Add fmuv6x to vscode cmake variants
4 years ago
David Sidrane
3e00450052
NuttX with SDMMC BACKPORT
4 years ago
Thies Lennart Alff
cacab75b42
define decimals for uuv_att_control gains
...
decimal for the uuv_att_control gain parameters was not defined. So
QGroundControl displays them as integers what is rather unhandy.
4 years ago
Daniel Agar
0aa14deb5d
drivers/distance_sensor/broadcom/afbrs50: minimize IRQ_LOCK()/IRQ_UNLOCK() calls
4 years ago
Matthias Grob
62546350f1
battery: use local instead of global member battery_status message
4 years ago
Matthias Grob
fa976f84b1
battery: clear interface for determineWarning()
4 years ago