Hi folks, I got yarpview installed now after set GUIS option on ccmake environment. Thanks!!!<br><br>Looking at Makefile to compile cpp files I saw the variable ROBOTPKG_BASE point to HOME/openrobots. I don&#39;t have this dir but &quot;googling&quot; it I found the following  site:<br>
<br><a href="http://softs.laas.fr/jrl/hppDoc/share/doc/hppDoc/hppdoc_howtoinstall.html">http://softs.laas.fr/jrl/hppDoc/share/doc/hppDoc/hppdoc_howtoinstall.html</a><br><br>Should I install it? Is it really necessary?<br>
<br>Just to tou know, I work at CEASB: <a href="http://www.pti.org.br/ceasb">http://www.pti.org.br/ceasb</a> and there we intend to construct a robot to inspect the huge wall form ITAIPU dam (<a href="http://www.itaipu.org.br">www.itaipu.org.br</a>). I studying some possibilities and Blender-Robotics looks good to simulate this task. What you think? I&#39;m gonna work on control project but I&#39;d like to know how get 3D simulation working.<br>
<br>Thanks for all.<br><br>Breno<br><br><div class="gmail_quote">2010/1/22 Gilberto Echeverria <span dir="ltr">&lt;<a href="mailto:gilberto.echeverria@laas.fr">gilberto.echeverria@laas.fr</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  

<div text="#000000" bgcolor="#ffffff">
Hi Breno,<br>
<br>
It is true that there is not much that can be done with the simulator
at the moment. But there are a few things you can try.<br>
In the directory $ORS_ROOT/clients/atrv there are a few C programs that
connect with the simulator, to send commands to the robot. You can
compile those programs, and then run them with the appropriate
arguments:<br>
<br>
<tt>atrv_destination-1.0</tt> You run this program with the name of the
robot you want to control as the first parameter. The default name of
the robot is the example files is ATRV (the name of the object
representing the robot chassis). But you have to add the letters OB
before the name of the robot when referring to an object in the Game
Engine. For example, you can run the program as:<br>
$ $ORS_ROOT/clients/atrv/atrv_destination-1.0 OBATRV<br>
Once the program is running, it will ask you for the coordinates where
the robot should go. You enter these as three floating point numbers,
separated by spaces. When you hit ENTER, a marker will move to that
location, and the robot will move near it. The client program can also
read information from the robot. At the moment it reads its location
back, but it can read the output of any of the sensors installed on the
robot, simply by setting it to read the appropriate yarp ports.<br>
<br>
<tt>atrv_dest_cams-1.0</tt> Works nearly the same, but it also takes a
second argument, which is the number of cameras on board of the robot.
To use this example work, you will need yarpview working, and opened to
listen a port with a name in this format:
/img/[robot_name]/[camera_name]<br>
For example, you&#39;ll open yarpview as:<br>
<tt>$ yarpview /img/OBATRV/Camera1</tt><br>
And then run the client program as:<br>
<tt>$ $ORS_ROOT/clients/atrv/atrv_dest_cams-1.0 OBATRV</tt><br>
&gt;From this point, the client program works the same as <tt>atrv_dest_cams-1.0</tt>.
The difference is that in Blender you can now press the spacebar to
toggle the image stream to yarpview on and off. In the yarpview window
you&#39;ll see the image captured by the camera on board the robot.<br>
As  you have seen, pressing the arrow keys in one of the examples makes
the man move. It is set as the target of the robot in that file. So
when you input coordinates for the new destination, the man will
teleport there. However, while the robot is moving, you can move the
human and have the robot chase him.<br>
<br>
These are still only test programs to try the communication of the
simulator with external modules. Eventually we&#39;ll connect the
simulation with the real control systems of the robot.<br>
<br>
Try these programs out, and let us know how it goes. Cheers.<br><font color="#888888">
<br>
Gilberto</font><div><div></div><div class="h5"><br>
<br>
<br>
<br>
On 01/21/2010 09:35 PM, Breno Carneiro Pinheiro wrote:
<blockquote type="cite">Hi all, I got some examples running without errors
reported. But sincerely I could not understand what should I look at
those examples. I mean, is there any control algorithm running? I
pressed up/down and right/left keys and I got a men walking around. Do
you have any tips to improve my experiences with ors? <br>
  <br>
I installed yarp following INSTALL file but I didn&#39;t get yarpview
installed. I think it&#39;s fundamental to get properly advantages from
some examples.<br>
  <br>
Thanks,<br>
  <br>
Breno     <br>
  <br>
  <div class="gmail_quote">2010/1/19 Breno Carneiro Pinheiro <span dir="ltr">&lt;<a href="mailto:brenodee@gmail.com" target="_blank">brenodee@gmail.com</a>&gt;</span><br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
Nicolas, thanks for your support. I did all recommendations listed
INSTALL file inside /ors dir. That means that my blender is 2.6, my
python is also 2.6 and ACE is 5.6.3  I got ors file with bzr command
from the repository mentioned by Gilberto.<br>
    <br>
Hope I get it through to you!!!<br>
    <br>
Thanks a lot,<br>
    <br>
Breno <br>
    <br>
 <br>
    <br>
    <br>
    <div class="gmail_quote">2010/1/18 Nicolas Lassabe <span dir="ltr">&lt;<a href="mailto:Nicolas.Lassabe@onera.fr" target="_blank">Nicolas.Lassabe@onera.fr</a>&gt;</span>
    <div>
    <div><br>
    <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
      <div text="#000000" bgcolor="#ffffff">
Hi,<br>
      <br>
Could you check if you have the blender 2.49 for python 2.6 because
there is also blender 2.49 for 2.5 ?<br>
But I don&#39;t think the problem from this... Could you give us also the
repository version you have ?<br>
      <br>
thanks,<br>
      <font color="#888888">Nicolas</font>
      <div>
      <div><br>
      <br>
On 01/16/2010 03:58 AM, Breno Carneiro Pinheiro wrote:
      <blockquote type="cite">Hi, thanks for your support!!! I
installed python 2.6.4
and I&#39;m using blender 2.49b.<br>
        <br>
I grab the first scenarii in ors dir and the following steps before
press P on blender environment is below:<br>
        <br>
        <br>
root@breno-HP:/usr/local/blender# yarp server &amp;<br>
[5] 31759<br>
yarp: Port /root active at tcp://<a href="http://192.168.1.3:10000" target="_blank">192.168.1.3:10000</a><br>
Name server can be browsed at <a href="http://192.168.1.3:10000/" target="_blank">http://192.168.1.3:10000/</a><br>
root@breno-HP:/usr/local/blender# yarp: Bootstrap server listening at
mcast://<a href="http://224.2.1.1:10001" target="_blank">224.2.1.1:10001</a><br>
        <br>
root@breno-HP:/usr/local/blender# Detected GL_ARB_texture_env_combine<br>
Detected GL_ARB_texture_cube_map<br>
Detected GL_ARB_multitexture<br>
Detected GL_ARB_vertex_program<br>
Detected GL_ARB_depth_texture<br>
Detected GL_EXT_separate_specular_color<br>
shaders not supported!<br>
        <br>
        <br>
Then I press P and I got:<br>
Blender Game Engine Started<br>
        <br>
Python script error from controller &quot;Initialize#CONTR#1&quot;:<br>
Traceback (most recent call last):<br>
  File &quot;Scene_Initialize.py&quot;, line 16, in &lt;module&gt;<br>
  File
&quot;/home/breno/Diversos/ors/scripts/middleware/independent/IndependentBlender.py&quot;,
line
16, in &lt;module&gt;<br>
    from middleware.yarp.YarpBlender import *<br>
  File
&quot;/home/breno/Diversos/ors/scripts/middleware/yarp/YarpBlender.py&quot;, line
96<br>
    except KeyError as detail:<br>
                     ^<br>
SyntaxError: invalid syntax<br>
Python script error from controller &quot;Initialize#CONTR#1&quot;:<br>
Traceback (most recent call last):<br>
  File &quot;Basic_Init.py&quot;, line 2, in &lt;module&gt;<br>
KeyError: &#39;requested item &quot;motion_actuator&quot; does not exist&#39;<br>
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server
&quot;:0.0&quot;<br>
      after 5794 requests (5794 known processed) with 0 events
remaining.<br>
        <br>
        <br>
I think is missing a lot of thing because all others example is not
working with deferents errors each one. But please help to solve one by
one so that I can start doing by myself.<br>
        <br>
        <br>
Thanks for all,<br>
        <br>
Breno <br>
        <br>
        <br>
        <div class="gmail_quote">2010/1/15 Gilberto Echeverria <span dir="ltr">&lt;<a href="mailto:gilberto.echeverria@laas.fr" target="_blank">gilberto.echeverria@laas.fr</a>&gt;</span><br>
        <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
          <div text="#000000" bgcolor="#ffffff">Hi Breno,<br>
          <br>
I just tried to find out what could be the problem, and honestly I
couldn&#39;t make that code work myself. The blender file you are using is
a bit outdated now, since we have made lots of changes to the whole
framework. Our yarp-blender bindings have changed a lot, and so, they
don&#39;t work anymore with this file.<br>
          <br>
Can you try downloading the latest files from:<br>
          <a href="https://code.launchpad.net/%7Eblender-for-robotics/openrobots-simulator/ors" target="_blank">https://code.launchpad.net/~blender-for-robotics/openrobots-simulator/ors</a><br>
To install, the instructions are in:<br>
          <a href="https://answers.launchpad.net/openrobots-simulator/+faq/844" target="_blank">https://answers.launchpad.net/openrobots-simulator/+faq/844</a><br>
          <br>
Let us know if you have any problems installing or running this code.<br>
All the best.<br>
          <font color="#888888"><br>
Gilberto</font>
          <div>
          <div><br>
          <br>
          <br>
On 01/14/2010 03:05 AM, Breno Carneiro Pinheiro wrote:
          <blockquote type="cite">Hi Nicolas, I tried what you said but
I
still get some
repeatedly import errors as the messages below:<br>
            <br>
ImportError: No module named middleware.yarp<br>
Python script error from controller &quot;object_pick#CONTR#4&quot;:<br>
Traceback (most recent call last):<br>
  File &quot;object_pick&quot;, line 4, in &lt;module&gt;<br>
AttributeError: &#39;module&#39; object has no attribute &#39;selectedObject&#39;<br>
Python script error from controller &quot;object_pick#CONTR#4&quot;:<br>
Traceback (most recent call last):<br>
  File &quot;object_pick&quot;, line 4, in &lt;module&gt;<br>
AttributeError: &#39;module&#39; object has no attribute &#39;selectedObject&#39;<br>
Python script error from controller &quot;object_pick#CONTR#4&quot;:<br>
Traceback (most recent call last):<br>
  File &quot;object_pick&quot;, line 4, in &lt;module&gt;<br>
AttributeError: &#39;module&#39; object has no attribute &#39;selectedObject&#39;<br>
Python script error from controller &quot;check_visibility#CONTR#5&quot;:<br>
Traceback (most recent call last):<br>
  File &quot;check_visibility&quot;, line 4, in &lt;module&gt;<br>
            <br>
            <br>
I was looking for middleware.yarp but I didn&#39;t find it yet. Another
issue is why I can&#39;t edit Yarp_python_simulator.blend file. I mean I
tried to change some pieces of code but It&#39;s not allowed to change
anything. Do you have any idea about it? My python is 2.5.<br>
            <br>
Thanks agaiin<br>
            <br>
Breno<br>
            <br>
            <br>
            <div class="gmail_quote">2009/12/21 Nicolas Lassabe <span dir="ltr">&lt;<a href="mailto:Nicolas.Lassabe@onera.fr" target="_blank">Nicolas.Lassabe@onera.fr</a>&gt;</span><br>
            <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
Breno,<br>
              <br>
Did you copy the yarp.py and _yarp.so ? Do you have the same version of
python to run blender and for yarp-python ? It should be python 2.5 or
2.6.<br>
              <br>
$ sudo cp yarp.py /usr/lib/python2.5/site-package/<br>
$ sudo cp _yarp.so /usr/lib/python2.5/site-package/_yarp.so<br>
              <br>
              <br>
Nicolas<br>
              <div>
              <div><br>
              <br>
Breno Carneiro Pinheiro wrote:<br>
&gt; Hi folks I started learning a little bit about YARP and its<br>
&gt; integration with Blender.<br>
&gt;<br>
&gt; I decided to run some examples like the one posted here:<br>
&gt; <a href="http://wiki.blender.org/index.php?title=Robotics:Middleware/YARP/Python_Simulator_Example&amp;useskin=monobook#Image_grabbing_and_output_with_YARP" target="_blank">http://wiki.blender.org/index.php?title=Robotics:Middleware/YARP/Python_Simulator_Example&amp;useskin=monobook#Image_grabbing_and_output_with_YARP</a><br>

&gt; &lt;<a href="http://wiki.blender.org/index.php?title=Robotics:Middleware/YARP/Python_Simulator_Example&amp;useskin=monobook#Image_grabbing_and_output_with_YARP" target="_blank">http://wiki.blender.org/index.php?title=Robotics:Middleware/YARP/Python_Simulator_Example&amp;useskin=monobook#Image_grabbing_and_output_with_YARP</a>&gt;<br>

&gt; but a I got a lot of difficulties to runs it properly. I&#39;m gonna<br>
&gt; explain what I did:<br>
&gt;<br>
&gt; 1 - Yarp 2.2.5 installation: passed ok! I compiled as suggested
here:<br>
&gt; <a href="http://wiki.blender.org/index.php/Robotics:Middleware/YARP" target="_blank">http://wiki.blender.org/index.php/Robotics:Middleware/YARP</a>
and<br>
&gt; everything looks fine!<br>
&gt;<br>
&gt; 2 - Yarp check is ok!<br>
&gt;<br>
&gt; 3 - Yarp read and write is ok!<br>
&gt;<br>
&gt; 4 - I set the variable  BLENDER_ROBOTICS_ROOT to<br>
&gt; /my-path/blender_robotics/scripts where are place the files:<br>
&gt;<br>
&gt;<br>
&gt; check_visibility  finalization  image_grabber_yarp  initialization<br>
&gt; middleware  object_pick  object_selection
 Yarp_python_simulator.blend<br>
&gt;<br>
&gt; and the middleware dir.<br>
&gt;<br>
&gt; 5 - Then I downloaded the  Yarp_python_simulator.blend that&#39;s
place in<br>
&gt; another dir.<br>
&gt;<br>
&gt; 6 - I open this .blend file with blender 2.49.<br>
&gt;<br>
&gt; 7- Then I followed the instructions on the pege mentioned. The<br>
&gt; instructions are:<br>
&gt;<br>
&gt; To test that:<br>
&gt;<br>
&gt;     * Start | yarp server|<br>
&gt;     * Launch | yarp read /reader|<br>
&gt;     * Launch the GameEngine (key P)<br>
&gt;     * Connect them with | yarp connect /blender_simu/cog_map
/reader|<br>
&gt;<br>
&gt; everything seems to be ok until I press key P at blender
environment.<br>
&gt; When I do it a error message appear repeatedly:<br>
&gt;<br>
&gt; Python script error from controller &quot;image_grabber#CONTR#6&quot;:<br>
&gt; Traceback (most recent call last):<br>
&gt;   File &quot;image_grabber_yarp&quot;, line 1, in &lt;module&gt;<br>
&gt; ImportError: No module named yarp<br>
&gt; Python script error from controller &quot;image_grabber#CONTR#6&quot;:<br>
&gt; Traceback (most recent call last):<br>
&gt;   File &quot;image_grabber_yarp&quot;, line 1, in &lt;module&gt;<br>
&gt; ImportError: No module named yarp<br>
&gt; Python script error from controller &quot;image_grabber#CONTR#6&quot;:<br>
&gt; Traceback (most recent call last):<br>
&gt;   File &quot;image_grabber_yarp&quot;, line 1, in &lt;module&gt;<br>
&gt; ImportError: No module named yarp<br>
&gt; Python script error from controller &quot;check_visibility#CONTR#5&quot;:<br>
&gt; Traceback (most recent call last):<br>
&gt;   File &quot;check_visibility&quot;, line 4, in &lt;module&gt;<br>
&gt; ImportError: No module named middleware.yarp<br>
&gt;<br>
&gt;  Then if I execute the | yarp connect /blender_simu/cog_map /reader<br>
&gt;<br>
&gt; |I got the message: Cannot find port named /blender_simu/cog_map<br>
&gt;<br>
&gt; Besides that errors I would like to know why I can&#39;t edit the
scripts<br>
&gt; at Yarp_python_simulator.blend<br>
&gt; file. I mean when I try to change something like scriptRoot and ask<br>
&gt; for save  It asks me: CreateNewFile and then say that is unable to<br>
&gt; save the file.<br>
&gt;<br>
&gt; Could anybody give me some help on all that issues?<br>
&gt;<br>
&gt; Thanks a lot!!<br>
&gt; --<br>
&gt; Breno Carneiro Pinheiro<br>
              </div>
              </div>
&gt;
------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Robotics mailing list<br>
&gt; <a href="mailto:Robotics@blender.org" target="_blank">Robotics@blender.org</a><br>
&gt; <a href="http://lists.blender.org/mailman/listinfo/robotics" target="_blank">http://lists.blender.org/mailman/listinfo/robotics</a><br>
&gt;<br>
              <br>
_______________________________________________<br>
Robotics mailing list<br>
              <a href="mailto:Robotics@blender.org" target="_blank">Robotics@blender.org</a><br>
              <a href="http://lists.blender.org/mailman/listinfo/robotics" target="_blank">http://lists.blender.org/mailman/listinfo/robotics</a><br>
            </blockquote>
            </div>
            <br>
            <br clear="all">
            <br>
-- <br>
Breno Carneiro Pinheiro<br>
            <pre><fieldset></fieldset>
_______________________________________________
Robotics mailing list
<a href="mailto:Robotics@blender.org" target="_blank">Robotics@blender.org</a>
<a href="http://lists.blender.org/mailman/listinfo/robotics" target="_blank">http://lists.blender.org/mailman/listinfo/robotics</a>
  </pre>
          </blockquote>
          <br>
          </div>
          </div>
          </div>
          <br>
_______________________________________________<br>
Robotics mailing list<br>
          <a href="mailto:Robotics@blender.org" target="_blank">Robotics@blender.org</a><br>
          <a href="http://lists.blender.org/mailman/listinfo/robotics" target="_blank">http://lists.blender.org/mailman/listinfo/robotics</a><br>
          <br>
        </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
-- <br>
Breno Carneiro Pinheiro<br>
        <pre><fieldset></fieldset>
_______________________________________________
Robotics mailing list
<a href="mailto:Robotics@blender.org" target="_blank">Robotics@blender.org</a>
<a href="http://lists.blender.org/mailman/listinfo/robotics" target="_blank">http://lists.blender.org/mailman/listinfo/robotics</a>
  </pre>
      </blockquote>
      <br>
      </div>
      </div>
      </div>
      <br>
_______________________________________________<br>
Robotics mailing list<br>
      <a href="mailto:Robotics@blender.org" target="_blank">Robotics@blender.org</a><br>
      <a href="http://lists.blender.org/mailman/listinfo/robotics" target="_blank">http://lists.blender.org/mailman/listinfo/robotics</a><br>
      <br>
    </blockquote>
    </div>
    </div>
    </div>
    <br>
    <br clear="all">
    <br>
-- <br>
    <font color="#888888">Breno Carneiro Pinheiro<br>
    </font></blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
Breno Carneiro Pinheiro<br>
  <pre><fieldset></fieldset>
_______________________________________________
Robotics mailing list
<a href="mailto:Robotics@blender.org" target="_blank">Robotics@blender.org</a>
<a href="http://lists.blender.org/mailman/listinfo/robotics" target="_blank">http://lists.blender.org/mailman/listinfo/robotics</a>
  </pre>
</blockquote>
<br>
</div></div></div>

<br>_______________________________________________<br>
Robotics mailing list<br>
<a href="mailto:Robotics@blender.org">Robotics@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/robotics" target="_blank">http://lists.blender.org/mailman/listinfo/robotics</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Breno Carneiro Pinheiro<br>