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

Parameter Error with set_maximum_speed and get_maximum_speed #733

Open
Ziaad03 opened this issue Oct 19, 2024 · 5 comments
Open

Parameter Error with set_maximum_speed and get_maximum_speed #733

Ziaad03 opened this issue Oct 19, 2024 · 5 comments
Labels

Comments

@Ziaad03
Copy link

Ziaad03 commented Oct 19, 2024

I encountered an issue when using the set_maximum_speed and get_maximum_speed functions in MAVSDK. Whenever I attempt to use these methods, I receive a parameter error, and the command fails. I also want to mention that I am using Arduopilot. Also, when using the set_current_speed method the speed of the drone stays the same at 10 m/s even though ArduoPilot acknowledges the command.

@julianoes
Copy link
Collaborator

@Ziaad03
Copy link
Author

Ziaad03 commented Oct 21, 2024

Ok, do you have any idea how the speed can be changed other than using these methods?

@julianoes
Copy link
Collaborator

Check the ArduPilot docs and parameters.

@Ziaad03
Copy link
Author

Ziaad03 commented Oct 22, 2024

There is a parameter called WPNAV_SPEED that controls the drone speed in auto mode only but it only change the speed to a value under 10 m/s . If I try to give it a value above 10 , the speed will not change and stay at 10 m/s. Also, I want to say that I really appreciate your help, and I want to thank you for your efforts.

@julianoes
Copy link
Collaborator

Thank you for your kind words.

I have to say I'm somewhat tempted to remove this MAVSDK API because:

  • it is misleading for ArduPilot, as you just found
  • it only works for PX4 multirotor but not for fixedwing, so it can again be misleading.

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

No branches or pull requests

2 participants