Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

No GUIDED mode #415

Open
EstebanGameDevelopment opened this issue Nov 12, 2019 · 3 comments
Open

No GUIDED mode #415

EstebanGameDevelopment opened this issue Nov 12, 2019 · 3 comments

Comments

@EstebanGameDevelopment
Copy link

Hello,

I'm trying to develop with Python with DroneKit. The examples that I work with always ask to set up the mode to GUIDED, but with Intel Areo is nowhere to be seen. Am I missing any configuration in order for this option to appear or it's no longer an available mode?

MavLink: Image where I show how there is no GUIDED mode available

Any help would be appreciated.

Thanks.

@lucasdemarchi
Copy link
Collaborator

In ardupilot it's called guided mode. In px4 it's offboard

@EstebanGameDevelopment
Copy link
Author

EstebanGameDevelopment commented Nov 14, 2019

In ardupilot it's called guided mode. In px4 it's offboard

Thanks for the reply. I seem to be able to change the mode with DroneKit by:

from dronekit import connect, VehicleMode, LocationGlobalRelative
import time
from pymavlink import mavutil
vehicle = connect('tcp:127.0.0.1:5760', wait_ready=False)
vehicle.mode = VehicleMode("OFFBOARD")

Next, I'm able to arm the drone:

vehicle.armed = True

But when I send the command:

vehicle.simple_takeoff(aTargetAltitude)

it's ignored and I don't know why.

Also another thing that worries me even more is that when I try to use MAVProxy commands in order to perform operations to take off in OFFBOARD mode there is no way that the drone accepts the command:

MAVProxy try to change the mode to OFFBOARD does not work

Does anyone have made MAVProxy commands to change mode to OFFBOARD?

arm throttle works but that is useless because I need change the mode.

@EstebanGameDevelopment
Copy link
Author

Could be possible that any of you could share a python DroneKit script that really works on Intel Aero? So far I have not been successful to fully perform any operation aside arming the drone.

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

No branches or pull requests

2 participants