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
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
Matthias Grob
f41c294028
BatterySimulator: No need to explicitly mention throttle being set to zero
4 years ago
Matthias Grob
b824f33ae9
battery: publish measured values also when battery not connected
4 years ago
Matthias Grob
a99ddd0845
battery: don't reset on every loop iteration
4 years ago
Matthias Grob
8d74e52bb7
battery: omit separate publish() function
4 years ago
Matthias Grob
9c0c85c9e2
battery_status: naming consistency current_filtered_a -> current_average_a
4 years ago
Matthias Grob
41cc73e555
battery: simplify battery_initialized condition
4 years ago
Matthias Grob
a51d47f8e8
battery: connected check outside of determineWarning()
4 years ago
Jaeyoung-Lim
e45b862f1d
Specify orientaiton of ADIS16448 IMU from rc.sensors
...
Specify orientaiton of ADIS16448 IMU for from the rc.sensors
WIP: Currently only handling one orientation
4 years ago
Daniel Agar
d87cd171f4
sensors/vehicle_imu: continue integrating gyro if there's a gap in data
...
- minor improvement that helps to determine the sensor publication rate
as soon as possible
4 years ago
Daniel Agar
7ddcb7fe3c
adis16470: disable debug
4 years ago