-
Notifications
You must be signed in to change notification settings - Fork 44
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
Set Guided mode with MAVSDK-java #130
Comments
I think that the equivalent to "guided" in PX4 is "offboard". Did you try the offboard plugin? Not sure if it works with Ardupilot though 🤔. Worth trying with a simulator! 😊 |
Hi Jonas, |
Calling _system_impl->set_flight_mode(FlightMode::Offboard) which ends up translating that to an Ardupilot flight mode here: make_command_ardupilot_mode(flight_mode, component_id); which e.g. for a copter will translate to case FlightMode::Offboard:
return ardupilot::CopterMode::Guided; So I think it should work. The problem is that at least the last part is not available in MAVSDK v1.4.16 (latest release, see here), only on the I see
|
Thank you Jonas I will try to follow your advice! 😊 |
The MAVSDK plugins set the mode as required. For instance the mission plugin will set the mission mode, the action plugin will set the RTL, takeoff, land mode, etc. |
Hello everyone,
I'm developing an android mobile app with mavsdk-java to control my ardupilot drone, in this days I've been trying to set the guided mode in order to takeoff autonomously.
Can you please tell me what can I do?
Many thanks in advance
The text was updated successfully, but these errors were encountered: