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

vision_landing not starting #995

Open
fnoop opened this issue Sep 24, 2020 · 4 comments
Open

vision_landing not starting #995

fnoop opened this issue Sep 24, 2020 · 4 comments
Milestone

Comments

@fnoop
Copy link
Member

fnoop commented Sep 24, 2020

mav[flight] [mav@maverick-nano ~]$ maverick log vision_landing

Maverick - UAV Companion Computer System - Version 1.2.0-beta4

WARNING: Maverick is using branch:master, not stable

Displaying service log: vision_landing
-- Logs begin at Tue 2020-09-22 09:46:41 BST. --
Sep 24 10:50:53 maverick-nano systemd[1]: Started Maverick - Vision Landing System.
Sep 24 10:50:53 maverick-nano vision_landing[22177]: Traceback (most recent call last):
Sep 24 10:50:53 maverick-nano vision_landing[22177]:   File "/srv/maverick/software/vision_landing/vision_landing", line 14, in <module>
Sep 24 10:50:53 maverick-nano vision_landing[22177]:     from dronekit import connect, VehicleMode, LocationGlobal, LocationGlobalRelative
Sep 24 10:50:53 maverick-nano vision_landing[22177]: ImportError: No module named dronekit
Sep 24 10:50:53 maverick-nano systemd[1]: maverick-vision_landing.service: Main process exited, code=exited, status=1/FAILURE
Sep 24 10:50:53 maverick-nano systemd[1]: maverick-vision_landing.service: Failed with result 'exit-code'.
@fnoop
Copy link
Member Author

fnoop commented Sep 24, 2020

[flight] [mav@maverick-nano ~]$ /srv/maverick/software/vision_landing/vision_landing -c /srv/maverick/config/vision/vision_landing.conf
Traceback (most recent call last):
  File "/srv/maverick/software/vision_landing/vision_landing", line 14, in <module>
    from dronekit import connect, VehicleMode, LocationGlobal, LocationGlobalRelative
ImportError: No module named dronekit

@fnoop
Copy link
Member Author

fnoop commented Sep 24, 2020

[flight] [mav@maverick-nano ~]$ pip list |grep dronekit
dronekit                      2.9.2

weird..

@fnoop
Copy link
Member Author

fnoop commented Sep 24, 2020

[flight] [mav@maverick-nano ~]$ python
Python 3.7.8 (tags/v3.7.8:4b47a5b, Jul 21 2020, 19:30:15)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dronekit

it works..

@fnoop
Copy link
Member Author

fnoop commented Sep 24, 2020

ack balls, vision_landing is still python2:
goodrobots/vision_landing#114

add a pip install for dronekit in vision_landing manifest specifically for python2

fnoop added a commit that referenced this issue Sep 24, 2020
@fnoop fnoop added this to the 1.2 milestone Oct 2, 2021
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

1 participant