Skip to content
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

sitl issue on raspberry pi #119

Open
sameenashaikh29 opened this issue Dec 19, 2017 · 1 comment
Open

sitl issue on raspberry pi #119

sameenashaikh29 opened this issue Dec 19, 2017 · 1 comment

Comments

@sameenashaikh29
Copy link

This is the error i am getting when i try to run a python code on my raspberry pi interfacing the pixhawk through serial pins. Any help appreciated.

pi@raspberrypi:~ $ python hello.py
Start simulator (SITL)
Starting copter simulator (SITL)
SITL already Downloaded and Extracted.
Ready to boot.
Failed to run (/home/pi/.dronekit/sitl/copter-3.3/apm)
Traceback (most recent call last):
File "hello.py", line 3, in
sitl = dronekit_sitl.start_default()
File "/home/pi/.local/lib/python2.7/site-packages/dronekit_sitl/init.py", line 454, in start_default
sitl.launch(sitl_args, await_ready=True, restart=True)
File "/home/pi/.local/lib/python2.7/site-packages/dronekit_sitl/init.py", line 253, in launch
caps = ArdupilotCapabilities(self.path)
File "/home/pi/.local/lib/python2.7/site-packages/dronekit_sitl/init.py", line 165, in init
self.has_defaults_path = "--defaults path" in helptext
UnboundLocalError: local variable 'helptext' referenced before assignment
pi@raspberrypi:~ $

@peterbarker
Copy link
Contributor

peterbarker commented Dec 19, 2017 via email

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

No branches or pull requests

2 participants