-
Notifications
You must be signed in to change notification settings - Fork 113
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
Dronekit Python's connection to SITL's Plane model does not receive heartbeat #155
Comments
I have the exact same issue. Any progress on this? |
Update: I have narrowed down the problem. It occurs when specifying the plane's model. Here is some example code: from dronekit_sitl import SITL
sitl = SITL()
sitl.download('plane', '3.3.0', verbose=True)
sitl_args = ['--model', 'quad', ]
sitl.launch(sitl_args, await_ready=True, restart=True) And the output (when running this):
This works, but only because I have specified the I assume this is a bug with the |
You are right, there is a bug for plane setup in dronekit-sitl. If I set "drone" I can connect dronekit-sitl via ardupilot mission planner successfully, but if I choose "plane" it is not working. Besides if I attached --model plane, Mission Planner can connect SITL but most of the parameters are wrong for plane .... I am trying to solve the problem during last 2 days. Please inform me if anyone manage to solve it, thanks... |
for my case running command: |
I have the same issue with the latest update to ardupilot repo any updates on the plane issue? |
Hi has anyone solved the problem, I was facing the same issue. |
Probably not. No one is maintaining this. |
Hello,
I am trying to start a Dronekit SITL simulation using the API, and connect to it with Dronekit-Python. Here is the first part of my code:
This code works perfectly when using
sitl.download("copter", "3.3", verbose=True)
as shown in the example. However, the code that starts a plane simulation does not work like so, and there is a connection timeout.Here is the full traceback:
I've already tried:
timeout
andheartbeat_timeout
in theconnect()
function127.0.0.1:5760
)Is there any connection parameter, setting, or option (plane-specific) that I am missing? Any help is appreciated, Thanks a lot!
The text was updated successfully, but these errors were encountered: