[JdeRobot] Connection Problem with Gazebo

s.rey samuel.rey.escudero at gmail.com
Mon Aug 24 15:10:39 CEST 2015


I'm using jderobot 5.

My gazebo output (using the --verbose option) is this:

^Csamuel en samuel-desktop:~/.gazebo/cfg$ gazebo pioneer2dxJde.world  --verbose
Gazebo multi-robot simulator, version 5.1.0
Copyright (C) 2012-2015 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.1.36
Gazebo multi-robot simulator, version 5.1.0
Copyright (C) 2012-2015 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.1.36
[Err] [Plugin.hh:153] Failed to load plugin liblaser.so: liblaser.so: cannot
open shared object file: No such file or directory
[Err] [Plugin.hh:153] Failed to load plugin libcamera_dump.so:
libcamera_dump.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:153] Failed to load plugin libcamera_dump.so:
libcamera_dump.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:153] Failed to load plugin libmotors.so: libmotors.so:
cannot open shared object file: No such file or directory
[Err] [Plugin.hh:153] Failed to load plugin libpose3dencoders.so:
libpose3dencoders.so: cannot open shared object file: No such file or
directory
[Err] [Plugin.hh:153] Failed to load plugin libencoders.so: libencoders.so:
cannot open shared object file: No such file or directory
[Err] [InsertModelWidget.cc:277] Missing model.config for model
"/home/samuel/.gazebo/models/kinect"
[Err] [InsertModelWidget.cc:277] Missing model.config for model
"/home/samuel/.gazebo/models/mapaSimple"
[Err] [InsertModelWidget.cc:277] Missing model.config for model
"/home/samuel/.gazebo/models/turtlebotJde2cam"

And in introrob:

samuel en samuel-desktop:~/myintrorob$ introrob --Ice.Config=introrob.cfg
Network.cpp:2169: Ice::ConnectionRefusedException:
connection refused: Connection refused


The thing is that my installation don't have the folder
/usr/local/share/jderobot/gazebo  and I have get the models and cfg from 
~/jderobot/src/stable/components/gazeboserver


Srinivas wrote
> Hi,
> 
> I just wanted to add few things.
> 
> I have tried running introrob in the past. I followed [1] for doing so.
> [2]
> is the screenshot of the output I had got at that time.
> 
> The process is as described in [1]. You first need to get gazebo running
> with a terminal output similar to the left terminal in [2].
> 
> Then, you launch introrob using a different terminal as shown in [2].
> 
> Could you please try following [1] and paste the terminal outputs you get?
> 
> Could you also mention the version of JdeRobot you are using? I have not
> tried running introrob with the latest release.
> 
> Best,
> Srinivas
> 
> [1]:
> http://jderobot.org/Teaching_robotics_with_jderobot#2._Prepare_the_Gazebo_execution_2
> [2]:
> https://github.com/gsssrao/JdeRobot/blob/master/Gazebo%20running/Terminal%20output.png
> 
> 
> On Mon, Aug 24, 2015 at 4:08 PM Lihang Li <

> licalmer@

> > wrote:
> 
>> Hi,
>>
>> I don't have experience with introrob, however I once run to run
>> kinectPlugin with rgbdViewer, please check [1] and [2] for references.
>>
>> I will try later to see whether introrob works on my PC and let you know.
>>
>> Best,
>> Lihang
>>
>> [1] http://jderobot.org/Hustcalm-colab/weekly-report/week-1
>> [2] http://jderobot.org/Hustcalm-colab/weekly-report/week-2
>>
>> On Mon, Aug 24, 2015 at 6:06 PM, s.rey <

> samuel.rey.escudero@

> >
>> wrote:
>>
>>> I have just followed the instruction in the manual for introrob:
>>>
>>> First I run gazebo:
>>>
>>> samuel en samuel-desktop:~$ cd
>>> jderobot/src/stable/components/gazeboserver/plugins/pioneer/
>>> samuel en samuel-desktop
>>> :~/jderobot/src/stable/components/gazeboserver/plugins/pioneer$
>>> gazebo ../../worlds/pioneer2dxJde.world
>>>
>>> Here I don't have any output. Then I try to connect introrob:
>>>
>>> samuel en samuel-desktop:~$ cd /usr/local/share/jderobot/conf/
>>> samuel en samuel-desktop:/usr/local/share/jderobot/conf$ introrob
>>> --Ice.Config=introrob.cfg
>>> Network.cpp:2169: Ice::ConnectionRefusedException:
>>> connection refused: Connection refused
>>>
>>> The content of the introrob.cfg is the default configuration:
>>> samuel en samuel-desktop:/usr/local/share/jderobot/conf$ cat introrob.cfg
>>> introrob.Motors.Proxy=Motors:tcp -h localhost -p 9999
>>> introrob.Camera1.Proxy=cam_pioneer_left:tcp -h localhost -p 9995
>>> introrob.Camera2.Proxy=cam_pioneer_right:tcp -h localhost -p 9994
>>> introrob.Encoders.Proxy=Encoders:tcp -h localhost -p 9997
>>> introrob.Pose3D.Proxy=Pose3D:tcp -h localhost -p 9989
>>> introrob.Laser.Proxy=Laser:tcp -h localhost -p 9996
>>> introrob.Pose3Dencoders2.Proxy=Pose3DEncoders2:tcp -h localhost -p 9992
>>> introrob.Pose3Dencoders1.Proxy=Pose3DEncoders1:tcp -h localhost -p 9993
>>> introrob.Pose3Dmotors2.Proxy=Pose3DMotors2:tcp -h localhost -p 9990
>>> introrob.Pose3Dmotors1.Proxy=Pose3DMotors1:tcp -h localhost -p 9991
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://jderobot-developer-list.2315034.n4.nabble.com/Connection-Problem-with-Gazebo-tp4642744p4642746.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
>>
> 
> _______________________________________________
> Jde-developers mailing list

> Jde-developers@

> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers


Srinivas wrote
> Hi,
> 
> I just wanted to add few things.
> 
> I have tried running introrob in the past. I followed [1] for doing so.
> [2]
> is the screenshot of the output I had got at that time.
> 
> The process is as described in [1]. You first need to get gazebo running
> with a terminal output similar to the left terminal in [2].
> 
> Then, you launch introrob using a different terminal as shown in [2].
> 
> Could you please try following [1] and paste the terminal outputs you get?
> 
> Could you also mention the version of JdeRobot you are using? I have not
> tried running introrob with the latest release.
> 
> Best,
> Srinivas
> 
> [1]:
> http://jderobot.org/Teaching_robotics_with_jderobot#2._Prepare_the_Gazebo_execution_2
> [2]:
> https://github.com/gsssrao/JdeRobot/blob/master/Gazebo%20running/Terminal%20output.png
> 
> 
> On Mon, Aug 24, 2015 at 4:08 PM Lihang Li <

> licalmer@

> > wrote:
> 
>> Hi,
>>
>> I don't have experience with introrob, however I once run to run
>> kinectPlugin with rgbdViewer, please check [1] and [2] for references.
>>
>> I will try later to see whether introrob works on my PC and let you know.
>>
>> Best,
>> Lihang
>>
>> [1] http://jderobot.org/Hustcalm-colab/weekly-report/week-1
>> [2] http://jderobot.org/Hustcalm-colab/weekly-report/week-2
>>
>> On Mon, Aug 24, 2015 at 6:06 PM, s.rey <

> samuel.rey.escudero@

> >
>> wrote:
>>
>>> I have just followed the instruction in the manual for introrob:
>>>
>>> First I run gazebo:
>>>
>>> samuel en samuel-desktop:~$ cd
>>> jderobot/src/stable/components/gazeboserver/plugins/pioneer/
>>> samuel en samuel-desktop
>>> :~/jderobot/src/stable/components/gazeboserver/plugins/pioneer$
>>> gazebo ../../worlds/pioneer2dxJde.world
>>>
>>> Here I don't have any output. Then I try to connect introrob:
>>>
>>> samuel en samuel-desktop:~$ cd /usr/local/share/jderobot/conf/
>>> samuel en samuel-desktop:/usr/local/share/jderobot/conf$ introrob
>>> --Ice.Config=introrob.cfg
>>> Network.cpp:2169: Ice::ConnectionRefusedException:
>>> connection refused: Connection refused
>>>
>>> The content of the introrob.cfg is the default configuration:
>>> samuel en samuel-desktop:/usr/local/share/jderobot/conf$ cat introrob.cfg
>>> introrob.Motors.Proxy=Motors:tcp -h localhost -p 9999
>>> introrob.Camera1.Proxy=cam_pioneer_left:tcp -h localhost -p 9995
>>> introrob.Camera2.Proxy=cam_pioneer_right:tcp -h localhost -p 9994
>>> introrob.Encoders.Proxy=Encoders:tcp -h localhost -p 9997
>>> introrob.Pose3D.Proxy=Pose3D:tcp -h localhost -p 9989
>>> introrob.Laser.Proxy=Laser:tcp -h localhost -p 9996
>>> introrob.Pose3Dencoders2.Proxy=Pose3DEncoders2:tcp -h localhost -p 9992
>>> introrob.Pose3Dencoders1.Proxy=Pose3DEncoders1:tcp -h localhost -p 9993
>>> introrob.Pose3Dmotors2.Proxy=Pose3DMotors2:tcp -h localhost -p 9990
>>> introrob.Pose3Dmotors1.Proxy=Pose3DMotors1:tcp -h localhost -p 9991
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://jderobot-developer-list.2315034.n4.nabble.com/Connection-Problem-with-Gazebo-tp4642744p4642746.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
>>
> 
> _______________________________________________
> Jde-developers mailing list

> Jde-developers@

> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers


Srinivas wrote
> Hi,
> 
> I just wanted to add few things.
> 
> I have tried running introrob in the past. I followed [1] for doing so.
> [2]
> is the screenshot of the output I had got at that time.
> 
> The process is as described in [1]. You first need to get gazebo running
> with a terminal output similar to the left terminal in [2].
> 
> Then, you launch introrob using a different terminal as shown in [2].
> 
> Could you please try following [1] and paste the terminal outputs you get?
> 
> Could you also mention the version of JdeRobot you are using? I have not
> tried running introrob with the latest release.
> 
> Best,
> Srinivas
> 
> [1]:
> http://jderobot.org/Teaching_robotics_with_jderobot#2._Prepare_the_Gazebo_execution_2
> [2]:
> https://github.com/gsssrao/JdeRobot/blob/master/Gazebo%20running/Terminal%20output.png
> 
> 
> On Mon, Aug 24, 2015 at 4:08 PM Lihang Li <

> licalmer@

> > wrote:
> 
>> Hi,
>>
>> I don't have experience with introrob, however I once run to run
>> kinectPlugin with rgbdViewer, please check [1] and [2] for references.
>>
>> I will try later to see whether introrob works on my PC and let you know.
>>
>> Best,
>> Lihang
>>
>> [1] http://jderobot.org/Hustcalm-colab/weekly-report/week-1
>> [2] http://jderobot.org/Hustcalm-colab/weekly-report/week-2
>>
>> On Mon, Aug 24, 2015 at 6:06 PM, s.rey <

> samuel.rey.escudero@

> >
>> wrote:
>>
>>> I have just followed the instruction in the manual for introrob:
>>>
>>> First I run gazebo:
>>>
>>> samuel en samuel-desktop:~$ cd
>>> jderobot/src/stable/components/gazeboserver/plugins/pioneer/
>>> samuel en samuel-desktop
>>> :~/jderobot/src/stable/components/gazeboserver/plugins/pioneer$
>>> gazebo ../../worlds/pioneer2dxJde.world
>>>
>>> Here I don't have any output. Then I try to connect introrob:
>>>
>>> samuel en samuel-desktop:~$ cd /usr/local/share/jderobot/conf/
>>> samuel en samuel-desktop:/usr/local/share/jderobot/conf$ introrob
>>> --Ice.Config=introrob.cfg
>>> Network.cpp:2169: Ice::ConnectionRefusedException:
>>> connection refused: Connection refused
>>>
>>> The content of the introrob.cfg is the default configuration:
>>> samuel en samuel-desktop:/usr/local/share/jderobot/conf$ cat introrob.cfg
>>> introrob.Motors.Proxy=Motors:tcp -h localhost -p 9999
>>> introrob.Camera1.Proxy=cam_pioneer_left:tcp -h localhost -p 9995
>>> introrob.Camera2.Proxy=cam_pioneer_right:tcp -h localhost -p 9994
>>> introrob.Encoders.Proxy=Encoders:tcp -h localhost -p 9997
>>> introrob.Pose3D.Proxy=Pose3D:tcp -h localhost -p 9989
>>> introrob.Laser.Proxy=Laser:tcp -h localhost -p 9996
>>> introrob.Pose3Dencoders2.Proxy=Pose3DEncoders2:tcp -h localhost -p 9992
>>> introrob.Pose3Dencoders1.Proxy=Pose3DEncoders1:tcp -h localhost -p 9993
>>> introrob.Pose3Dmotors2.Proxy=Pose3DMotors2:tcp -h localhost -p 9990
>>> introrob.Pose3Dmotors1.Proxy=Pose3DMotors1:tcp -h localhost -p 9991
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://jderobot-developer-list.2315034.n4.nabble.com/Connection-Problem-with-Gazebo-tp4642744p4642746.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
>>
> 
> _______________________________________________
> Jde-developers mailing list

> Jde-developers@

> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers


Srinivas wrote
> Hi,
> 
> I just wanted to add few things.
> 
> I have tried running introrob in the past. I followed [1] for doing so.
> [2]
> is the screenshot of the output I had got at that time.
> 
> The process is as described in [1]. You first need to get gazebo running
> with a terminal output similar to the left terminal in [2].
> 
> Then, you launch introrob using a different terminal as shown in [2].
> 
> Could you please try following [1] and paste the terminal outputs you get?
> 
> Could you also mention the version of JdeRobot you are using? I have not
> tried running introrob with the latest release.
> 
> Best,
> Srinivas
> 
> [1]:
> http://jderobot.org/Teaching_robotics_with_jderobot#2._Prepare_the_Gazebo_execution_2
> [2]:
> https://github.com/gsssrao/JdeRobot/blob/master/Gazebo%20running/Terminal%20output.png
> 
> 
> On Mon, Aug 24, 2015 at 4:08 PM Lihang Li <

> licalmer@

> > wrote:
> 
>> Hi,
>>
>> I don't have experience with introrob, however I once run to run
>> kinectPlugin with rgbdViewer, please check [1] and [2] for references.
>>
>> I will try later to see whether introrob works on my PC and let you know.
>>
>> Best,
>> Lihang
>>
>> [1] http://jderobot.org/Hustcalm-colab/weekly-report/week-1
>> [2] http://jderobot.org/Hustcalm-colab/weekly-report/week-2
>>
>> On Mon, Aug 24, 2015 at 6:06 PM, s.rey <

> samuel.rey.escudero@

> >
>> wrote:
>>
>>> I have just followed the instruction in the manual for introrob:
>>>
>>> First I run gazebo:
>>>
>>> samuel en samuel-desktop:~$ cd
>>> jderobot/src/stable/components/gazeboserver/plugins/pioneer/
>>> samuel en samuel-desktop
>>> :~/jderobot/src/stable/components/gazeboserver/plugins/pioneer$
>>> gazebo ../../worlds/pioneer2dxJde.world
>>>
>>> Here I don't have any output. Then I try to connect introrob:
>>>
>>> samuel en samuel-desktop:~$ cd /usr/local/share/jderobot/conf/
>>> samuel en samuel-desktop:/usr/local/share/jderobot/conf$ introrob
>>> --Ice.Config=introrob.cfg
>>> Network.cpp:2169: Ice::ConnectionRefusedException:
>>> connection refused: Connection refused
>>>
>>> The content of the introrob.cfg is the default configuration:
>>> samuel en samuel-desktop:/usr/local/share/jderobot/conf$ cat introrob.cfg
>>> introrob.Motors.Proxy=Motors:tcp -h localhost -p 9999
>>> introrob.Camera1.Proxy=cam_pioneer_left:tcp -h localhost -p 9995
>>> introrob.Camera2.Proxy=cam_pioneer_right:tcp -h localhost -p 9994
>>> introrob.Encoders.Proxy=Encoders:tcp -h localhost -p 9997
>>> introrob.Pose3D.Proxy=Pose3D:tcp -h localhost -p 9989
>>> introrob.Laser.Proxy=Laser:tcp -h localhost -p 9996
>>> introrob.Pose3Dencoders2.Proxy=Pose3DEncoders2:tcp -h localhost -p 9992
>>> introrob.Pose3Dencoders1.Proxy=Pose3DEncoders1:tcp -h localhost -p 9993
>>> introrob.Pose3Dmotors2.Proxy=Pose3DMotors2:tcp -h localhost -p 9990
>>> introrob.Pose3Dmotors1.Proxy=Pose3DMotors1:tcp -h localhost -p 9991
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://jderobot-developer-list.2315034.n4.nabble.com/Connection-Problem-with-Gazebo-tp4642744p4642746.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
>>
> 
> _______________________________________________
> 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/Connection-Problem-with-Gazebo-tp4642744p4642749.html
Sent from the Jderobot Developer List mailing list archive at Nabble.com.


More information about the Jde-developers mailing list