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 Comment

dpb
dpb on 9 Mar 2026 at 20:00
Edited: dpb on 9 Mar 2026 at 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.

Sign in to comment.

 Accepted Answer

Arun Mathamkode
Arun Mathamkode on 10 Mar 2026 at 5:03
Reading specific uORB instances is not supported by the uORB read/write blocks at the moment.

More Answers (0)

Products

Release

R2025b

Tags

Community Treasure Hunt

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

Start Hunting!