How can I read the rotor velocities in the PX4 read block in Simulink?
Show older comments
I'm developing an open loop system for a quadrotor in Simulink using PX4 toolbox, simulating on jMAVsim. I'm injecting the rotor velocities and I have to read and plot the vehicle odometry(positions,velocities,euler angles etc...). I'm doing this thanks to the PX4 read block on the vehicle_odometry message that contains all this info, but I do not know how to read the rotor velocities in order to check if they are equals to the injected ones. How can I do? Which message do I have to use?
2 Comments
Arun Mathamkode
on 23 May 2023
Can you please clarify how are you injecting the rotor velocities ? Are you using any uORB write blocks?
Salvatore Matteo Mennea
on 23 May 2023
Edited: Salvatore Matteo Mennea
on 23 May 2023
Accepted Answer
More Answers (0)
Categories
Find more on Guidance, Navigation, and Control in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
