[Robotics] Blender + YARP: first steps...

Benoit Bolsee benoit.bolsee at online.be
Fri Apr 17 16:34:13 CEST 2009


Hi,

I don't know if this is relevant but the gameengine provides a
VideoTexture module that can be used to efficiently retrieve camera
render in Python. The VideoTexture module is primarly designed to push
video images to the GPU to get animated textures but there is also a
render to texture mode where you can intercept the rendering of a camera
in the form of a frame buffer. There is a wiki about VideoTexture
although it does not include this capability yet:
http://wiki.blender.org/index.php/Dev:Source/GameEngine/VideoTexture 

Another use is to get life camera images into the gameengine for further
processing by Artoolkit for example. VideoTexture can get video images
from video4linux or dv1392 or video4windows sources. That feature works
in multi-thread mode so it provides excellent performance.
 
/Benoit

> -----Original Message-----
> From: robotics-bounces at blender.org 
> [mailto:robotics-bounces at blender.org] On Behalf Of Séverin Lemaignan
> Sent: vendredi 17 avril 2009 15:21
> To: Blender and Robotics
> Cc: Rachid Alami; Arnaud Degroote; Simon Lacroix
> Subject: [Robotics] Blender + YARP: first steps...
> 
> 
> Hello,
> 
> With a lot of help from Paul Fitzpatrick, I've been able to setup a 
> mini-simulation where a robot outputs its camera as a YARP 
> image stream.
> 
> I've made a screencast which some annotations: 
> http://www.youtube.com/watch?v=OT1Ck_RE5Wg
> 
> To summarize: full Python, no particular optimization, acceptable 
> framerate (+/- 10Hz in 300 X 170)
> 
> I need to do some clean up in the code and soon after I'll 
> document the 
> procedure on the wiki.
> 
> Have a good afternoon (for the European teams, at least :-) ) Séverin
> 



More information about the Robotics mailing list