Hi all,

i am trying to set up the laser and camera together with the pioneer robot,
and the world file is as follows. when i set the position of the camera
close to the laser, the laser beams will look like obstructed and become
short (cannot reach the obstacle as before); when i set it far to the laser,
such as <xyz>-2.15 0.2 0.08</xyz> in the below, the laser beams return to
normal. whats wrong?

The second question that i can not add controller to the camera (quoted in
below), something wrong with the interface.

anyone could help? thanks in advance.

<model:physical name="pioneer2dx_model1">
    <xyz>0 0 0.145</xyz>
    <rpy>0.0 0.0 0.0</rpy>

<model:physical name="sonyvid30_model">
      <xyz>-2.15 0.2 0.08</xyz>

<!--
    <controller:generic_camera name="sonyvid30_camera_controller">
      <interface:camera name="camera_iface_0"/>
    </controller:generic_camera>
-->
      <attach>
        <parentBody>chassis_body</parentBody>
        <myBody>sonyvid30_body</myBody>
      </attach>

      <include embedded="true">
        <xi:include href="models/sonyvid30.model" />
      </include>
    </model:physical>

    <model:physical name="laser">
      <xyz>0.15 0 0.18</xyz>

      <attach>
        <parentBody>chassis_body</parentBody>
        <myBody>laser_body</myBody>
      </attach>

      <include embedded="true">
        <xi:include href="models/sicklms200.model" />
      </include>
    </model:physical>

    <include embedded="true">
      <xi:include href="models/pioneer2dx.model" />
    </include>
  </model:physical>
-- 
View this message in context: 
http://old.nabble.com/problem-laser-with-camera-together-tp28805801p28805801.html
Sent from the playerstage-gazebo mailing list archive at Nabble.com.


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to