I am using the Ardupilot Mega 2650 and the Ardupilot to control an RC-Car based Rover in comibination with ROS (robot operating system, ros.org/).
Everything is working quite fine and I am using the MAVLINK protocol for communication. It is possible to teleop the rover over ROS and MAVLINK and to read the sensor data provided by the arduino board (gyro, accelerometer, gps,…).
The bad thing is, that the gyro and accelerometer data, that i can read from MAVLINK, only comes out at about 2 Hz, which is really slow… I want to speed this up to 10 or 20 Hz, which would be sufficient for my needs.
Since i was told, that the gyroscope of the MPU 6000 can deliver data at rates from 4 - 8000hz , can anyone give me a hint where and what I have to change to speed it up?