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

IMU Frequency Issue #10

Open
bhaskar-glitch opened this issue Aug 15, 2024 · 5 comments
Open

IMU Frequency Issue #10

bhaskar-glitch opened this issue Aug 15, 2024 · 5 comments

Comments

@bhaskar-glitch
Copy link

I am using Nxt FC v2 with Jetson Nano, and I am experiencing an issue where mavros/imu/data_raw is publishing at 250+ Hz, but mavros/imu/data is only coming in at 20 Hz. I have followed all the steps provided in the documentation but cannot resolve this discrepancy. How can I increase the frequency of /mavros/imu/data

@Luxru
Copy link

Luxru commented Aug 15, 2024

recompile your px4 firmware with this setup: ZJU-FAST-Lab/Fast-Drone-250#83

@himani-glitch
Copy link

recompile your px4 firmware with this setup: ZJU-FAST-Lab/Fast-Drone-250#83

I tried the same, i tried making changes in mavlink_main.cpp file to 200.0f, but it dosent work. The mavros/imu/data is still 20hz, although the mavros/imu/data_raw is 250+ hz.

Can you please share your complied px4 firmware, also which you are using. the official one or this one https://github.com/Peize-Liu/PX4-Autopilot/tree/5ba2e91ff227fe4da0133371e88dc81b038bb81e

@Luxru
Copy link

Luxru commented Aug 16, 2024

Did you change the rate of ATTITUDE_QUATERNION to 200Hz? I’m using https://github.com/PX4/PX4-Autopilot/tree/v1.14.3

7db5143ece146a4540aca1236161203d

@bhaskar-glitch
Copy link
Author

Yes

Did you change the rate of ATTITUDE_QUATERNION to 200Hz? I’m using https://github.com/PX4/PX4-Autopilot/tree/v1.14.3

7db5143ece146a4540aca1236161203d

Yes i changed the ATTITUDE_QUATERNION TO 200hz in manvlink_main.cpp file. Is that only file in which i should make changes?
We are using v1.14.0

@bhaskar-glitch
Copy link
Author

Yes

Did you change the rate of ATTITUDE_QUATERNION to 200Hz? I’m using https://github.com/PX4/PX4-Autopilot/tree/v1.14.3
7db5143ece146a4540aca1236161203d

Yes i changed the ATTITUDE_QUATERNION TO 200hz in manvlink_main.cpp file. Is that only file in which i should make changes? We are using v1.14.0

I tried the same with v1.14.3, its not working, still the hz is slow

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

3 participants