I am making some python code on the RPi on the ROV, but i have a question about sensor readings.
Right now i get the sensor values through this commmand:
and then i search the msg for certain strings like “RAW_IMU”. The problem is that the sensor readings are slow. I need to make a controller for the ROV for a project, but the sensor readings come once every 1-5 sec, but i need like 10 Hz.
And also i use commands from here http://mavlink.org/messages/common and i use COMMAND_LONG and the MAV_CMD id and parameters, those make sense, but how do you use the rest? FX MAV_DATA_STREAM is it a function, or how is it supposed to be used? I have tired looking around in the forums and the internet, but i do not get a clear awnser.