Using dronekit with native SITL on PX4
See original GitHub issueI’m trying to use Dronekit and interact with native SITL by using the code given here : http://dev.px4.io/dronekit-example.html
However, the connection doesn’t work. It keeps saying and then timeouts :
`>>> Exception in message handler for HEARTBEAT
mode 65536 not available on mavlink definition`
Issue Analytics
- State:
- Created 8 years ago
- Comments:13 (4 by maintainers)
Top Results From Across the Web
DroneKit - PX4 User Guide
DroneKit. DroneKit is no longer recommended. You should instead use MAVSDK (opens new window) with PX4, as this is far better in almost ......
Read more >Setting up a Simulated Vehicle (SITL) - DroneKit-Python
The SITL (Software In The Loop) simulator allows you to create and test DroneKit-Python apps without a real vehicle (and from the comfort...
Read more >dronekit/dronekit-python - Gitter
My guess would be that you're using native SITL without loading a good parameter file. The approach you're using is correct - you...
Read more >Setting up ArduPilot SITL Simulator for Testing with MAVProxy ...
I put this tutorial together as I've been experimenting with ArduPilot SITL both with MAVProxy and DroneKit. My hope is that we can...
Read more >Setting up SITL on Windows — Dev documentation - ArduPilot
It can also be run on a virtual machine (Linux) hosted on Windows, Mac OSX, or Linux or by using the Windows Subsystem...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am also trying to get DroneKit running with PX4 SITL. Installed the newest DroneKit version, have the newest version of the PX4 Firmware and am following the instructions given in http://dev.px4.io/dronekit-example.html. Like others, I am repeatedly getting the following error message:
Additionally, I occasionally see
All of these messages are also visible in the console where I am running the PX4 mainapp. I’m not sure why I’m getting these freefall and landing messages, but that’s a PX4 problem. But at least I see that DroneKit is getting messages from PX4.
What is the status on this issue? It doesn’t look like a lot has happened since it was opened a couple of months ago. Is this being worked on?
DroneKit looks quite interesting, but with the current state it doesn’t look like a usable tool for anybody developing with PX4.
I haven’t used dronekit for python. However, dronekit for android works well with SITL on PX4 as shown here.