I would like to create some plots in matlab referencing to my flightlogs and my rosbags.
So to get .csv files is quite easy and loading them in my matlab workspace is a piece of cake.
But to compare these different data-sets is challenging. The rosdata and the ulogdata have different timestamps - so I thought maybe I can compare the arming-state in ROS/mavros/state and start when arming to look at the ulogs (which start to auto record on arming) but the ulog time was in my case around 20.6sec while the ros time (starting with arming up to disarming) was only 19.013sec - so yeah I know it is not as bad but it is still not the same and while the record frequency is so diverging I have no better idea how to improve (reduce the time offset)…
Does anyone of you validate their data via matlab for specific checks/plots - and can help? Flight Review is nice but to get some more data plots would be quite useful.
Or does there any mavros command exist to trigger the ulog-generation? That would help for any new measurements, if I can create some kind of launch-file to start rosbag and the ulog simultaneously.
Thanks and kind regards