Store data using the "To File" or " to workspace" block when using the PX4 toolbox on Simulink performing code generation
Mostrar comentarios más antiguos
I want to store the data coming from the vehicle_odometry message(positions,velocities,accelerations,euler angles etc...). I'm using the read block to read this message and then a selector to select the messages I want to read. Then I'm using the "To File" or "To workspace" to store it but it doesn't work. When I'm launching the simulation pressing on "Build,deploy and run", (the "Monitor and Tune" does not work, the simulation doesn't even start, I think becouse of my PC hardware(?)) no file is creaded in the home directory and nothing appears on the MATLAB workspace even if the drone is flying in jmavsim simulator.

Above you can see the simulink block that should be able to strore the odometry data "to file" or "to workspace"
How can I fix this problem? How can I read the odometry of the drone after performing simulation on jmavsim?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre UAV en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!