How can I read signal when I build a controller on PX4 host target(SITL) after the simulation in jMAVsim?
Show older comments
I've a created a new topic write_data.msg to read some data into my controller in Simulink. I'm write the data into this msg write_data.msg but how can I read this data after I run the simulation in jMAVsim when I use "build,deploy and run"?
There's the block PX4 Ulog but it can be used only on HIL on Pixhawk Series controller. I'm performing SITL on PX4 host target. I'm looking for a way to read the signal inside the controller that it is build after the execution. How can I do it?
This is the message I'm writing but how can I read the data logged inside? I took the .ulg file that are created after the simulation but there's no write_data topic inside them. I've tried to use a uORB Read and send the data into a "to file" block, but no file is created. I've also tried with a "to workspace" block but no data in the workspace is created.
How can I read signals from the built controller after simulation in jMAVsim?
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!