Questions about "UAV Toolbox Support Package for PX4 Autopilots" toolbox.
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Recently, I use UAV Toolbox Support Package for PX4 Autopilots toolbox to design control algorithm using Matlab2023b and pixhawk1. After following the steps of toolbox, I successfully upload Firmware into my pixhawk1. However, when I get acceleration data, the output shows 0,0,0. Then I run the simulation, the situation is shown below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1578566/image.png)
There is no error when running, so where the problem comes from? Thanks!
0 comentarios
Respuestas (1)
Arun Mathamkode
el 4 de En. de 2024
This means that the sensor modules are not publishing the corresponding uORB message. For example, Accelerometer block reads 'sensor_accel' uORB message to get the accelerometer values. If that uORB messag is never published, then what you are seeing can happen. One possibility is that your Hardware is set to HITL mode and in HITL all sensor modules are disbaled.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!