How to read serial data from external sensor using pixhawk cube?

10 visualizaciones (últimos 30 días)
Alex Peterson
Alex Peterson el 2 de Ag. de 2021
Respondida: Ankur Bose el 11 de Nov. de 2021
I am trying to implement an external sensor (OpenMV H7) connected to the Pixhawk Cube via the Telem 2 port and view the serial data in Simulink. I was able to follow the uORB example to read internal sensors, but I had no luck with external additive sensors. I tried to use Serial Recieve from the PX4 Autopilots Support Package and the Instrument Control toolbox, but am unable to see any data. Has anyone had experience with this?
Any assistance would be appreciated.
  1 comentario
Ankur Bose
Ankur Bose el 3 de Ag. de 2021
Hi Alex,
Can you tell us a bit more about your model? What is the baud rate you are using? Did you try deploying your model on hardware? I am especially curious about what you tried with Instrument Control Toolbox (ICT) since ICT blocks canot be deployed on hardware?

Iniciar sesión para comentar.

Respuestas (1)

Ankur Bose
Ankur Bose el 11 de Nov. de 2021
Alex,
We provided you details about your issue when you reached out to Tech Support about this. Hope that solved your problem. Otherwise feel free to reach out to us

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by