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

[ROS2] Increase publishing frequency of state topics #1056

Open
Everglow0214 opened this issue Sep 5, 2024 · 0 comments
Open

[ROS2] Increase publishing frequency of state topics #1056

Everglow0214 opened this issue Sep 5, 2024 · 0 comments

Comments

@Everglow0214
Copy link

I want to try with a custom controller that computes total thrust and torque for quadrotors. I made a control allocator that computes (total thrust, torque) to rotor PWMs. Currently, the control frequency is 100Hz. I use the Iris model. The drone can track the given reference trajectory but has jitters.

Maybe the control frequency is too low for PWMs. I want to try with a higher control frequency. I obtain drone states from the following topics:

  1. /fmu/out/vehicle_local_position
  2. /fmu/out/vehicle_attitude
  3. /fmu/out/vehicle_angular_velocity

I want to increase the publishing frequency of /fmu/out/vehicle_angular_velocity in Gazebo. How should I do it?

Suggestions related to jitters during flying are also greatly appreciated. Thanks.

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