[Jderobot] [Jderobot-dev] mundo pioneer2dxJde

Alejandro Hernández ahcorde en gmail.com
Mie Sep 25 17:19:17 CEST 2013


Tienes que lanzar Gazebo desde el mismo sitio que tengas los ficheros de
configuración. Si te fijas en la traza no encuentra los .cfg. Tipicamente
se lanza desde el build:

>> gazebo ../mundo.world

Alejandro Hernández Cordero

<http://www.linkedin.com/in/ahcorde/en>  <https://twitter.com/ahcorde>
<https://plus.google.com/u/0/114434050324725472734/posts>
  <http://github.com/ahcorde>

Visit and play my Curriculum vitae ->
https://googledrive.com/host/0BytBL_SySiIjX19Pd1o5dlZaRHc/Game.html


El 25 de septiembre de 2013 17:16, Aitor Martínez <
aitor.martinez.fernandez en gmail.com> escribió:

> hola,
> con lo que me has dicho he solucionado los fallos que me daba pero ahora me
> sale esto mientras esta funcionando gazebo:
>
> Gazebo multi-robot simulator, version 1.9.1
> Copyright (C) 2013 Open Source Robotics Foundation.
> Released under the Apache 2 License.
> http://gazebosim.org
>
> Gazebo multi-robot simulator, version 1.9.1
> Copyright (C) 2013 Open Source Robotics Foundation.
> Released under the Apache 2 License.
> http://gazebosim.org
>
> Msg Waiting for master.Warning [parser.cc:340] Converting a deprecated
>
> source[/home/aitor/proyecto/trunk/src/stable/components/gazeboserver/build-independent/../pioneer2dxJde.world].
> Warning [Converter.cc:59]   Version[1.3] to Version[1.4]
>   Please use the gzsdf tool to update your SDF files.
>     $ gzsdf convert [sdf_file]
> Warning [parser.cc:340] Converting a deprecated
> source[/home/aitor/.gazebo/models/sun/model.sdf].
> Warning [Converter.cc:59]   Version[1.2] to Version[1.4]
>   Please use the gzsdf tool to update your SDF files.
>     $ gzsdf convert [sdf_file]
> Warning [parser.cc:340] Converting a deprecated
> source[/home/aitor/.gazebo/models/pioneer2dxJde/model.sdf].
> Warning [Converter.cc:59]   Version[1.3] to Version[1.4]
>   Please use the gzsdf tool to update your SDF files.
>     $ gzsdf convert [sdf_file]
> Msg Waiting for master
> Msg Connected to gazebo master @ http://127.0.0.1:11345
> Msg Publicized address: 192.168.1.44
>
> Msg Connected to gazebo master @ http://127.0.0.1:11345
> Msg Publicized address: 192.168.1.44
> Load: -380474952 default::cam_sensor_left(0)
> Load: 1429194536 default::cam_sensor_right(1)
> LaserDump Constructor
> PropertiesI.cpp:392: Ice::FileException:
> file exception: No such file or directory
> path: cam_sensor_left.cfg
> PropertiesI.cpp:392: Ice::FileException:
> file exception: No such file or directory
> path: cam_sensor_right.cfg
> constructor Motors
> Error [Events.hh:141] Events::ConnectWorldUpdateStart is deprecated in v
> 1.5.0. Please use Events::ConnectWorldUpdateBegin
> Wheel Separation:0.28
> Wheel Diameter:0.220005
> constructor pose3dencoders
> Error [Events.hh:141] Events::ConnectWorldUpdateStart is deprecated in v
> 1.5.0. Please use Events::ConnectWorldUpdateBegin
> constructor Encoders
> Error [Events.hh:141] Events::ConnectWorldUpdateStart is deprecated in v
> 1.5.0. Please use Events::ConnectWorldUpdateBegin
> motors name pioneer2dx
> GetName() encoders: pioneer2dx
> PropertiesI.cpp:392: Ice::FileException:
> file exception: No such file or directory
> path: pioneer2dx_pose3dencoders.cfg
> PropertiesI.cpp:392: Ice::FileException:
> file exception: No such file or directory
> path: pioneer2dxEncoders.cfg
> PropertiesI.cpp:392: Ice::FileException:
> file exception: No such file or directory
> path: pioneer2dxMotors.cfg
>  laser: pioneer2dx::laser
> PropertiesI.cpp:392: Ice::FileException:
> file exception: No such file or directory
> path: pioneer2dx_laser.cfg
>
>
>
>
> Luis Roberto Morales wrote
> > Hola,
> > eso suele pasar cuando el orden de librerías en compilación no es el
> > correcto o faltan librerías por enlazar en un componente; en el caso de
> > los
> > ejecutables salta el fallo durante el enlazado, pero en las librerías
> > dinámicas el enlazador no puede determinar si te estás dejando algo.
> >
> > En este caso concreto, se debe a que las librerías de Ice en el
> > CMakeLists.txt de build-independent se enlazan mediante CMAKE_CXX_FLAGS
> en
> > lugar de en su sitio, ya que ${ZeroCIce_LIBRARIES} no contiene ningún
> > valor
> > [1].
> >
> >
> > Tendrías que comentar en el CMakeLists.txt la línea de CMAKE_CXX_FLAGS y,
> > por cada librería añade
> >  Ice IceUtil
> >
> > en lugar de
> >  ${ZeroCIce_Libraries}
> >
> >
> >
> > Es posible que después de solucionar esto tengas problemas de enlazado
> con
> > OpenCV (algo del estilo "undefined symbol: _ZN2cv3Mat6createEiPKii"). Si
> > es
> > así, prueba a añadir en el CMakeLists.txt
> > FIND_PACKAGE(OpenCV REQUIRED)
> >
> > y a cambiar todos los ${opencv_LIBRARIES} por ${OpenCV_LIBRARIES}.
> >
> >
> > Un saludo,
> > Roberto
> >
> > [1] debería rellenarlo "Deps/ice/FindZeroCIce.cmake", pero los
> > build-independent no llaman a los ficheros de Deps.
> >
> >
> > 2013/9/25 Aitor Martínez &lt;
>
> > aitor.martinez.fernandez@
>
> > &gt;
> >
> >> Hola Alejandro,
> >> el mundo se carga pero siguen saliendo los mismos errores
> >>
> >>
> >> Alejandro Hernández wrote
> >> > Hola Aitor,
> >> >
> >> > asegúrate de tener en ~/.bashrc la siguiente linea:
> >> >
> >> > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/jderobot
> >> >
> >> > para recargar el .bashrc ejecuta:
> >> >
> >> > source ~/.bashrc
> >> >
> >> > Saludos
> >> >
> >> > Alejandro Hernández Cordero
> >> >
> >> > &lt;http://www.linkedin.com/in/ahcorde/en&gt;
> >> > &lt;https://twitter.com/ahcorde&gt;
> >> > &lt;https://plus.google.com/u/0/114434050324725472734/posts&gt;
> >> >   &lt;http://github.com/ahcorde&gt;
> >> >
> >> > Visit and play my Curriculum vitae ->
> >> > https://googledrive.com/host/0BytBL_SySiIjX19Pd1o5dlZaRHc/Game.html
> >> >
> >> >
> >> > 2013/9/25 Aitor Martínez &lt;
> >>
> >> > aitor.martinez.fernandez@
> >>
> >> > &gt;
> >> >
> >> >> hola, cuando intento cargar el cualquier mundo en gazebo me salen los
> >> >> siguientes errores:
> >> >>
> >> >> aitor en Zack
> >> >>
> >> :~/proyecto/trunk/src/stable/components/gazeboserver/build-independent$
> >> >> gazebo ../pioneer2dxJde.world
> >> >> Gazebo multi-robot simulator, version 1.9.1
> >> >> Copyright (C) 2013 Open Source Robotics Foundation.
> >> >> Released under the Apache 2 License.
> >> >> http://gazebosim.org
> >> >>
> >> >> Gazebo multi-robot simulator, version 1.9.1
> >> >> Copyright (C) 2013 Open Source Robotics Foundation.
> >> >> Released under the Apache 2 License.
> >> >> http://gazebosim.org
> >> >>
> >> >> Msg Waiting for master.Warning [parser.cc:340] Converting a
> deprecated
> >> >>
> >> >>
> >>
> source[/home/aitor/proyecto/trunk/src/stable/components/gazeboserver/build-independent/../pioneer2dxJde.world].
> >> >> Warning [Converter.cc:59]   Version[1.3] to Version[1.4]
> >> >>   Please use the gzsdf tool to update your SDF files.
> >> >>     $ gzsdf convert [sdf_file]
> >> >> Warning [parser.cc:340] Converting a deprecated
> >> >> source[/home/aitor/.gazebo/models/sun/model.sdf].
> >> >> Warning [Converter.cc:59]   Version[1.2] to Version[1.4]
> >> >>   Please use the gzsdf tool to update your SDF files.
> >> >>     $ gzsdf convert [sdf_file]
> >> >> Warning [parser.cc:340] Converting a deprecated
> >> >> source[/home/aitor/.gazebo/models/pioneer2dxJde/model.sdf].
> >> >> Warning [Converter.cc:59]   Version[1.3] to Version[1.4]
> >> >>   Please use the gzsdf tool to update your SDF files.
> >> >>     $ gzsdf convert [sdf_file]
> >> >> Msg Waiting for master
> >> >> Msg Connected to gazebo master @ http://127.0.0.1:11345
> >> >> Msg Publicized address: 192.168.1.44
> >> >>
> >> >> Msg Connected to gazebo master @ http://127.0.0.1:11345
> >> >> Msg Publicized address: 192.168.1.44
> >> >> Warning [InsertModelWidget.cc:244] The manifest.xml for a Gazebo
> model
> >> is
> >> >> deprecated. Please rename manifest.xml to model.config for model
> >> >> "/home/aitor/.gazebo/models/mapaSimple"
> >> >> Error [Plugin.hh:127] Failed to load plugin libcamera_dump.so:
> >> >> /usr/local/lib/jderobot/libJderobotInterfaces.so: undefined symbol:
> >> >> _ZNK3Ice6ObjecteqERKS0_
> >> >> Error [Plugin.hh:127] Failed to load plugin libcamera_dump.so:
> >> >> /usr/local/lib/jderobot/libJderobotInterfaces.so: undefined symbol:
> >> >> _ZNK3Ice6ObjecteqERKS0_
> >> >> Error [Plugin.hh:127] Failed to load plugin liblaser.so:
> >> >> /usr/local/lib/jderobot/libJderobotInterfaces.so: undefined symbol:
> >> >> _ZNK3Ice6ObjecteqERKS0_
> >> >> Error [Plugin.hh:127] Failed to load plugin libmotors.so:
> >> >> /usr/local/lib/jderobot/libJderobotInterfaces.so: undefined symbol:
> >> >> _ZNK3Ice6ObjecteqERKS0_
> >> >> Error [Plugin.hh:127] Failed to load plugin libpose3dencoders.so:
> >> >> /usr/local/lib/jderobot/libJderobotInterfaces.so: undefined symbol:
> >> >> _ZNK3Ice6ObjecteqERKS0_
> >> >> Error [Plugin.hh:127] Failed to load plugin libencoders.so:
> >> >> /usr/local/lib/jderobot/libJderobotInterfaces.so: undefined symbol:
> >> >> _ZNK3Ice6ObjecteqERKS0_
> >> >>
> >> >> alguien me puede ayudar?
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://jderobot-developer-list.2315034.n4.nabble.com/Jderobot-dev-mundo-pioneer2dxJde-tp4641307p4641600.html
> >> >> Sent from the Jderobot Developer List mailing list archive at
> >> Nabble.com.
> >> >> _______________________________________________
> >> >> Jde-developers mailing list
> >> >>
> >>
> >> > Jde-developers@
> >>
> >> >> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
> >> >>
> >> >
> >> > _______________________________________________
> >> > Jde-developers mailing list
> >>
> >> > Jde-developers@
> >>
> >> > http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
> >>
> >>
> >>
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://jderobot-developer-list.2315034.n4.nabble.com/Jderobot-dev-mundo-pioneer2dxJde-tp4641307p4641602.html
> >> Sent from the Jderobot Developer List mailing list archive at
> Nabble.com.
> >> _______________________________________________
> >> Jde-developers mailing list
> >>
>
> > Jde-developers@
>
> >> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
> >>
> >
> > _______________________________________________
> > Jde-developers mailing list
>
> > Jde-developers@
>
> > http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>
>
>
>
>
> --
> View this message in context:
> http://jderobot-developer-list.2315034.n4.nabble.com/Jderobot-dev-mundo-pioneer2dxJde-tp4641307p4641608.html
> Sent from the Jderobot Developer List mailing list archive at Nabble.com.
> _______________________________________________
> Jde-developers mailing list
> Jde-developers en gsyc.es
> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20130925/bf856492/attachment-0001.htm 


More information about the Jde-developers mailing list