dronekit / dronekit-python

DroneKit-Python library for communicating with Drones via MAVLink.
https://readthedocs.org/projects/dronekit-python/
Apache License 2.0
1.59k stars 1.44k forks source link

Dronekit delivery example does not exit on Windows #538

Open hamishwillee opened 8 years ago

hamishwillee commented 8 years ago

When I want to exit the example on Windows I do Ctrl+C but nothing happens. To exit I need to shut down the command prompt.

Ideally there should be some sort of exit mechanism.

deksprime commented 8 years ago

Dear Sir,

I am able to Ctrl+C to exit. What I do to open the example is as follows

cd ~/ardupilot/ArduCopter then sim_vehicle.sh

on another command prompt i do

cd ~/dronekit-python/examples/drone_delivery sudo python drone_delivery.py

and the example works. Then when I do Ctrl+C the program exits, is it maybe that I don't have the updated version of the example?

hamishwillee commented 8 years ago

@deksprime I have clarified - the error occurs on Windows only.