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 commentaire

dpb
dpb le 9 Mar 2026 à 20:00
Modifié(e) : dpb le 9 Mar 2026 à 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.

Connectez-vous pour commenter.

 Réponse acceptée

Arun Mathamkode
Arun Mathamkode le 10 Mar 2026 à 5:03

0 votes

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

Plus de réponses (0)

Produits

Version

R2025b

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by