by tinmarok » Mon Dec 06, 2010 8:36 pm
by tinmarok
Mon Dec 06, 2010 8:36 pm
Here is a proper post about my project :
- out of the box KHR-3HV
- IGEPv2 with custom ubuntu 9.04
- Logitech C200 cam
Libraries used :
- pykondo from libkondo4 (thanks to chrisvo)
http://bitbucket.org/vo/libkondo4/wiki/Home
- python-openCV
http://opencv.willowgarage.com/wiki/PythonInterface, sudo apt-get install python-opencv
- tornado web server,
http://www.tornadoweb.org/
The first part is a http server producing jQuery Mobile UI and basic interactions with the RCB4. It allows basic moves (up, right left, back, go down and raise up) and all the basics motions.
About OpenCV, the server just capture a cam picture and send it to the UI. Purpose of openCV will be to help the bot to go towards movement objects, I don't have decided yet in fact.
Example of 3D representation of the robot, but i have to work on the inverse kinetic javascript code ^^
Project hosted here
http://code.google.com/p/pykondohttpd/
SWIG interface file used for libKondo4 :
- Code: Select all
%module pykondo
%{
#include "rcb4.h"
#include "ics.h"
%}
int kondo_read_analog(KondoRef ki, int *INOUT, UINT num);
%include "rcb4.h"
%include "ics.h"
todo :
- args to disable some functionnality, eg disable OpenCV or other part
- python thread class to check regurarly the position of the bot and send it to the UI.
- curses visualisation of the robot state when the server is launched on console
thanks to the community here that helped me a lot about every steps, from bot choice to now
Here is a proper post about my project :
- out of the box KHR-3HV
- IGEPv2 with custom ubuntu 9.04
- Logitech C200 cam
Libraries used :
- pykondo from libkondo4 (thanks to chrisvo)
http://bitbucket.org/vo/libkondo4/wiki/Home
- python-openCV
http://opencv.willowgarage.com/wiki/PythonInterface, sudo apt-get install python-opencv
- tornado web server,
http://www.tornadoweb.org/
The first part is a http server producing jQuery Mobile UI and basic interactions with the RCB4. It allows basic moves (up, right left, back, go down and raise up) and all the basics motions.
About OpenCV, the server just capture a cam picture and send it to the UI. Purpose of openCV will be to help the bot to go towards movement objects, I don't have decided yet in fact.
Example of 3D representation of the robot, but i have to work on the inverse kinetic javascript code ^^
Project hosted here
http://code.google.com/p/pykondohttpd/
SWIG interface file used for libKondo4 :
- Code: Select all
%module pykondo
%{
#include "rcb4.h"
#include "ics.h"
%}
int kondo_read_analog(KondoRef ki, int *INOUT, UINT num);
%include "rcb4.h"
%include "ics.h"
todo :
- args to disable some functionnality, eg disable OpenCV or other part
- python thread class to check regurarly the position of the bot and send it to the UI.
- curses visualisation of the robot state when the server is launched on console
thanks to the community here that helped me a lot about every steps, from bot choice to now