uORB read topic instance

Hi. In the support package for PX4 autopilots, when I use uORB Read for sensors, e.g. SensorAccel, i am unable to specify which instance to use, i.e. there are 2 accelerometers publishing data, and i want to receive separately on 2 blocks from instance 0 and instance 1. There should be a possibility to select which instance for multi instance topics, but it does not show up in the block?

1 个评论

dpb
dpb 2026-3-9,20:00
编辑:dpb 2026-3-9,23:18
"In the support package for PX4 autopilots,"
Post a link; not many (if ay) are going to know anything about specifics.
I suspect if the doc's/examples don't show and there isn't additional specific information from the product vendor you'll have to request support from Mathworks and/or the vendor depending on who supplied the support package.

请先登录,再进行评论。

 采纳的回答

Arun Mathamkode
Arun Mathamkode 2026-3-10,5:03

0 个投票

Reading specific uORB instances is not supported by the uORB read/write blocks at the moment.

更多回答(0 个)

产品

版本

R2025b

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by