Daniel Agar
bcfed93c57
github actions: fix airframe_metadata
4 years ago
Beat Küng
e644036325
drivers: use updated I2C SPI driver interface
4 years ago
Beat Küng
c5aef9d512
i2c_spi_buses: add support for multiple instances of the same device on a bus
...
This also simplifies the API a bit, since we anyway have to change the
drivers to pass additional information (the bus device index).
The orientation flag is merged with the rotation.
4 years ago
Daniel Agar
e4983ab88c
px4_platform_common: atomic support larger types with critical sections (on NuttX)
4 years ago
Beat Küng
32fe63916d
mixers: exclude FX79.main.mix from px4_fmu-v2
4 years ago
Igor Mišić
376450ccf0
navigator: reduce traffic alert messages
4 years ago
Sam Chamberlin
496e3fe2e0
afbr-s50: added gate for processing distance measurements
...
updating variable naming convention
publish data when measurements are invalid, just set them to zero
add quality to distance measurements
4 years ago
Beat Küng
dfd6999643
px4/fmu-v5: disable dumpfile & motor_ramp commands in optimized.cmake
...
Reduce flash
4 years ago
Beat Küng
5670db033d
ark/can-gps: add EXTERNAL_METADATA
...
It has no mavlink, so no use in adding the metadata in the first place.
4 years ago
Beat Küng
d9aec564f3
px_process_events.py: canonicalize + remove duplicate source files
4 years ago
Beat Küng
7f2bab9b0f
px4/fmu-v6x: remove some modules to reduce flash
4 years ago
Beat Küng
d30720c960
airframes: exclude some mixers + airframes (HIL, vtol) from fmu-v2
...
To reduce flash
4 years ago
Beat Küng
e3972d563a
cmake: ensure generated source files exist before extracting events
...
Only needed for Makefile-based builds:
gmake[3]: *** No rule to make target 'src/modules/flight_mode_manager/FlightTasks_generated.hpp', needed by 'events/px4.json'. Stop.
4 years ago
Beat Küng
b12b884f4c
ci: update container version to 2021-05-04
4 years ago
Beat Küng
c6eccd4518
requirements.txt: add jsonschema (required for events json validation)
4 years ago
Beat Küng
594f47c9f8
mission: switch to events
4 years ago
Beat Küng
38ee923658
px4io: switch to events
4 years ago
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
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
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