PX4-Autopilot
PX4-Autopilot copied to clipboard
[Bug] Cannot modify UORB topic queue_size (vehicle_odometry)
Describe the bug
I would like to set the vehicle_odometry queue_size to 1
. To do so I am changing all advertisers of the topic to something like uORB::Publication<vehicle_odometry_s, 1>
. However, after these changes uorb top
still reports a #Q
of 16.
To Reproduce
Change advertisers to uORB::Publication<vehicle_odometry_s, 1>
.
Expected behavior
uorb top
reports a #Q
of 1.
Screenshot / Media
Flight Log
https://review.px4.io/plot_app?log=1e650313-3cc9-4b24-88ae-8076cf30ec15
Software Version
A fork off of 1.14
pxh> ver all
HW arch: MODALAI_VOXL2
PX4 git-hash: a2e11b12ba41205903bd293f334d8a1e04656801
PX4 version: 1.14.0 0 (17694720)
PX4 git-branch: feature/body-odom-and-timing
Vendor version: 2.0.36 0 (33563648)
OS: Linux
OS version: Release 4.19.125 (68386303)
Build datetime: Jan 8 2024 20:12:32
Build uri: localhost
Build variant: default
Toolchain: GNU GCC, 7.5.0
PX4GUID: 100a41444f4d5649414c324c584f30303030
UNKNOWN MCU
Flight controller
VOXL2
Vehicle type
None
How are the different components wired up (including port information)
No response
Additional context
No response