Attempting to set static IP address of robot in URSim generates error - /sbin/easybot-controller no such file or directory

I am in the process of attempting to install URSim Polyscope 5.10 in a VM running Ubuntu 18.04.

I have managed to get around the mess of Java version issues, and copied over the /sbin/net-statistics file from the non-linux offline simulator (not sure where I was meant to get this file from…)

When I try to set a static ip address in the system section of the polyscope settings, the IP address is changed back to 0.0.0.0 when I hit apply, and an error pops up on the terminal running the URSim stating that it cannot find “/sbin/easybot-controller”.

Any ideas what that file is, why that error comes up?

Also more on topic, any pointers to how I can set an IP address for URSim? Happy to dump outputs of any other commands etc if that would help

--- 127.0.0.53 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.035/0.035/0.035/0.000 ms
/tmp/8fbc918a-5e06-40f1-a757-34d83ddf02a6.sh: line 1: /sbin/easybot-controller: No such file or directory
Mode:static
Net up
Address:
Mask:
Gateway:10.0.2.2
nameserver1:127.0.0.53
nameserver2:
Hostname:4230
PING 127.0.0.53 (127.0.0.53) 56(84) bytes of data.
64 bytes from 127.0.0.53: icmp_seq=1 ttl=64 time=0.022 ms
$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.0.2.15  netmask 255.255.255.0  broadcast 10.0.2.255
        inet6 fe80::f861:b562:1233:c600  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:41:a0:4c  txqueuelen 1000  (Ethernet)
        RX packets 16938  bytes 12485092 (12.4 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12614  bytes 1662612 (1.6 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 1673892  bytes 1356654443 (1.3 GB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1673892  bytes 1356654443 (1.3 GB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Maybe you can get some inspiration from Installing on Ubuntu 16.04.
I’m not sure why you insist on configuring network through polyscope. Just configure it with usual ubuntu tools. Network settings tab is only useful on real robot.

Thanks for the link, I found that along the way of installing URSim and it helped fix some of the bugs/flaws in the installation process.

I am attempting to connect ROS to the URSim, which requires an IP address.

I managed to get ROS connected to the URSim on ip 0.0.0.0 but I am still having a few issues with ROS that I am in the process of trying to work through.

The VM environment is probably already assigning an IP address. If you open a command prompt within the same VM as polyscope you should be able to issue an ifconfig command and see what the IP address is for polyscope. Setting it from polyscope will not work.

Turns out the net-statistics script, which is required by the URSim but not provided with the linux installation (that + java 8 vs 11 issues really needs fixing…) was incompatible with Ubuntu 18.04. I updated the parser and URSim behaves as expected with obtaining the local IP address. Fix bug in ifconfig parsing · ljden/URSim_Install_Guides@ae6c220 · GitHub

I’m still having other (possibly) network related issues, but I will open a new thread for those

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.