Giter Site home page Giter Site logo

rmackay9 / ardupilot-balloon-finder Goto Github PK

View Code? Open in Web Editor NEW
52.0 52.0 46.0 143 KB

Code meant to be run on an Odroid to allow an ArduCopter Pixhawk based multicopter to find red balloons for Sparkfun's AVC 2014 competition

License: GNU General Public License v3.0

Python 98.39% Shell 1.55% Batchfile 0.06%

ardupilot-balloon-finder's People

Contributors

geeksville avatar krufab avatar proficnc avatar rmackay9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ardupilot-balloon-finder's Issues

camera can't open

camera can't open, I ensure running ‘sudo raspi-congig’ enable camera.

connecting to vehicle on /dev/ttyACM0, baud=921600

APM:Copter V3.6-dev (0626d105)
PX4: fc469199 NuttX: 1bcae90b
PX4v2 002C002E 33355114 39383934
Frame: QUAD
mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)
mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1)
Process Process-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/home/farsight/pi/ardupilot-balloon-finder/scripts/balloon_video.py", line 155, in image_capture_background
self.init_camera()
File "/home/farsight/pi/ardupilot-balloon-finder/scripts/balloon_video.py", line 80, in init_camera
self.camera = PiCamera()
File "/usr/lib/python2.7/dist-packages/picamera/camera.py", line 415, in init
self._init_camera(camera_num, stereo_mode, stereo_decimate)
File "/usr/lib/python2.7/dist-packages/picamera/camera.py", line 444, in _init_camera
"Camera is not enabled. Try running 'sudo raspi-config' "
PiCameraError: Camera is not enabled. Try running 'sudo raspi-config' and ensure that the camera has been enabled.
fetching mission..
retrieved mission with 0 commands
waiting for home location..
fetching mission..
retrieved mission with 0 commands

python script cant't run

I using Raspberry 3B and checked serial port connect correct . when I run start_balloon_finder.sh or balloon_strategy.py appera this problem:

=========================================================
farsight@linux:~/ardupilot-balloon-finder/startup$ sudo ./start_balloon_finder.sh
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/bin:/sbin:/usr/bin:/usr/local/bin:/home/farsight/ardupilot-balloon-finder:/home/farsight/ardupilot-balloon-finder/scripts
PYTHONPATH: :/home/farsight/ardupilot-balloon-finder/scripts
Traceback (most recent call last):
File "balloon_strategy.py", line 13, in
from find_balloon import balloon_finder
File "/home/farsight/ardupilot-balloon-finder/scripts/find_balloon.py", line 19, in
from web_server import Webserver
File "/home/farsight/ardupilot-balloon-finder/scripts/web_server.py", line 1, in
import cherrypy
File "/home/farsight/.local/lib/python2.7/site-packages/cherrypy/init.py", line 73, in
from ._cptools import default_toolbox as tools, Tool
File "/home/farsight/.local/lib/python2.7/site-packages/cherrypy/_cptools.py", line 31, in
from cherrypy.lib import cptools, encoding, auth, static, jsontools
File "/home/farsight/.local/lib/python2.7/site-packages/cherrypy/lib/auth.py", line 2, in
from cherrypy.lib import httpauth
File "/home/farsight/.local/lib/python2.7/site-packages/cherrypy/lib/httpauth.py", line 27, in
from six.moves.urllib.request import parse_http_list, parse_keqv_list
ImportError: cannot import name parse_http_list
start_balloon_finder.sh done

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.