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 Commento

dpb
dpb il 9 Mar 2026 alle 20:00
Modificato: dpb il 9 Mar 2026 alle 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.

Accedi per commentare.

 Risposta accettata

Arun Mathamkode
Arun Mathamkode il 10 Mar 2026 alle 5:03

0 voti

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

Più risposte (0)

Prodotti

Release

R2025b

Tag

Richiesto:

il 9 Mar 2026 alle 15:06

Risposto:

il 10 Mar 2026 alle 5:03

Community Treasure Hunt

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

Start Hunting!

Translated by