Git Product home page Git Product logo

jevois--python-tracking's Introduction

JeVois--Python-Tracking

Python Scripting to read Jevois XY and transmit over Mavling Precision_Landing Messages

This is a set of scripts to control an ArduPilot based quadcopter to track Aruco Codes using JeVois smart camera

JeVois.py: Reads Jevois serial x-y signal from serial.Serial(port='/dev/ttyAMA0',baudrate=9600, timeout = 0.2) and outputs as Found, X , Y and Tag Code (The balloon reference to the opentracker code, where it has been copied)

Precision_Landing_Jevois.py: Take the x-y coordinates, calibrate and adjust gain and transmit to vehicle = connect('/dev/ttyUSB0', baud = 57600), using a USB-Serial FDTI converter.

On the Flight controler, you need to read mavlink message @ 57600 bauds and have precision_landing enabled http://ardupilot.org/copter/docs/precision-landing-with-irlock.html

On the Jevois , you need to configure https://github.com/patrickpoirier51/JeVois--Python-Tracking/blob/master/initscript.cfg#L21 Add the associated video mapping https://github.com/patrickpoirier51/JeVois--Python-Tracking/blob/master/videomappings.cfg#L281

You need to power the camera with 5V Min 3Amps on a Mini-Usb Connector Read the signal using the JST connector (Ground - Tx Data)

jevois--python-tracking's People

Contributors

patrickpoirier51 avatar

Stargazers

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

Watchers

 avatar

jevois--python-tracking's Issues

please clearify the example.

@patrickpoirier51 Thank you for the example file.

I am trying to understand what you did here:

you do "setmapping2 YUYV 1280 1024 15.0 JeVois DemoArUco"
in https://github.com/patrickpoirier51/JeVois--Python-Tracking/blob/master/initscript.cfg#L21

however, in the videomappings.cfg, and your is quite different from today's version
there is no mention of what is changed in : https://github.com/patrickpoirier51/JeVois--Python-Tracking/blob/master/videomappings.cfg#L281

I would expect to see a change for mentioning "YUYV 1280 1024" , but the only reference to that is commented out.

I see no reference to the filename https://github.com/patrickpoirier51/JeVois--Python-Tracking/blob/master/Precision_Landing_Jevois.py

  • how is that uploaded/executed?

Also: the file mention resolution of 320x240 .. this adds to my confusion, the initscript.cfg clearly mentioned 1280 x1024.
Can you please help clarify ?

I am attaching a link to a current videomappings.cfg: https://gist.github.com/AndKe/7dad5191481a6b4613e5ee82069d65fb

Great Application for using JeVois

hi Patrick,
This is Kai from iLab(the lab that creates JeVois). I am working on the drone and tried to use JeVois to stabilize the indoor flying. I am wondering if possible to create an auto takeoff using the same method you did for the landing. Also, I am also working on JeVois visual odometry and hope it can replace PX4Flow as well. Do you have any contact info that I can talk to you?

Thanks.

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.