Hi folks I started learning a little bit about YARP and its integration with Blender.<br><br>I decided to run some examples like the one posted here: <a href="http://wiki.blender.org/index.php?title=Robotics:Middleware/YARP/Python_Simulator_Example&useskin=monobook#Image_grabbing_and_output_with_YARP">http://wiki.blender.org/index.php?title=Robotics:Middleware/YARP/Python_Simulator_Example&useskin=monobook#Image_grabbing_and_output_with_YARP</a> but a I got a lot of difficulties to runs it properly. I'm gonna explain what I did:<br>
<br>1 - Yarp 2.2.5 installation: passed ok! I compiled as suggested here: <a href="http://wiki.blender.org/index.php/Robotics:Middleware/YARP">http://wiki.blender.org/index.php/Robotics:Middleware/YARP</a> and everything looks fine!<br>
<br>2 - Yarp check is ok!<br><br>3 - Yarp read and write is ok!<br><br>4 - I set the variable BLENDER_ROBOTICS_ROOT to /my-path/blender_robotics/scripts where are place the files:<br><br><br clear="all">check_visibility finalization image_grabber_yarp initialization middleware object_pick object_selection Yarp_python_simulator.blend<br>
<br>and the middleware dir.<br><br>5 - Then I downloaded the Yarp_python_simulator.blend that's place in another dir.<br><br>6 - I open this .blend file with blender 2.49.<br><br>7- Then I followed the instructions on the pege mentioned. The instructions are:<br>
<p>To test that:
</p>
<ul><li> Start <code> yarp server</code>
</li><li> Launch <code> yarp read /reader</code>
</li><li> Launch the GameEngine (key <span class="hotkey">P</span>)
</li><li> Connect them with <code> yarp connect /blender_simu/cog_map /reader</code></li></ul>everything seems to be ok until I press key P at blender environment. When I do it a error message appear repeatedly:<br><br>Python script error from controller "image_grabber#CONTR#6":<br>
Traceback (most recent call last):<br> File "image_grabber_yarp", line 1, in <module><br>ImportError: No module named yarp<br>Python script error from controller "image_grabber#CONTR#6":<br>Traceback (most recent call last):<br>
File "image_grabber_yarp", line 1, in <module><br>ImportError: No module named yarp<br>Python script error from controller "image_grabber#CONTR#6":<br>Traceback (most recent call last):<br> File "image_grabber_yarp", line 1, in <module><br>
ImportError: No module named yarp<br>Python script error from controller "check_visibility#CONTR#5":<br>Traceback (most recent call last):<br> File "check_visibility", line 4, in <module><br>ImportError: No module named middleware.yarp<br>
<br> Then if I execute the <code> yarp connect /blender_simu/cog_map /reader<br><br></code>I got the message: Cannot find port named /blender_simu/cog_map<br><br>Besides that errors I would like to know why I can't edit the scripts at Yarp_python_simulator.blend<br>
file. I mean when I try to change something like scriptRoot and ask for save It asks me: CreateNewFile and then say that is unable to save the file. <br><br>Could anybody give me some help on all that issues?<br><br>Thanks a lot!! <br>
-- <br>Breno Carneiro Pinheiro<br>