Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase IMU rate in ROS on Intel Aero RTF with PX4 #9579

Closed
szebedy opened this issue Jun 1, 2018 · 1 comment
Closed

Increase IMU rate in ROS on Intel Aero RTF with PX4 #9579

szebedy opened this issue Jun 1, 2018 · 1 comment

Comments

@szebedy
Copy link

szebedy commented Jun 1, 2018

I cannot increase the IMU rate in ROS on my Intel Aero RTF with PX4. When I check the frequency of the /mavros/imu/data topic with rostopic hz /mavros/imu/data, it's always 50 no matter what I do.

Since I'm using mavros, the first thing I've tried is rosservice call /mavros/set_stream_rate 1 200 1. Then I've found out that this service is not supported on PX4.

Therefore I've moved on the the PX4 documentation and found out that with the mavlink module it is possible to change the rate of different streams. Therefore I've tried the command mavlink stream -u 14556 -s HIGHRES_IMU -r 200 in QGroundControl, but still no effect.

I've also tried the MAV_CMD_GET_MESSAGE_INTERVAL, command on MAVLINK_MSG_ID_HIGHRES_IMU, again no success.

Has anyone succeeded in increasing the rate? I'd need this for visual-inertial odometry.

@szebedy
Copy link
Author

szebedy commented Jun 1, 2018

Solution here: mavlink/mavros#1035

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant