connecting to laser too long and nothing happens (after reinstallation virtualbox & ubuntu)
hi everyone,
i have lms100 laser scanner, a few days ago i can connect with laser by "rosrun lms1xx LMS1xx_node" code. yesterday i decided to delete everything like ubuntu in virtualbox and virtualbox itself ( because i have not enough space and didnt manage to expand actual size). Then i installed everything again (vitualbox, ubuntu, ros and ofcourse lms1xx). Everything was ok, but when i try to connect laser by the same way, it said "connecting to laser at <ip of="" laser="">" but nothings happen, the process is sooo long, after ~5 min it says [ WARN] [1462876612.290873681]: Unable to connect, retrying.
i dont know what's wrong, what did i forget to do?
update: i checked in "rostopic list" in another terminal, and it responds like
/rosout /rosout_agg /scan
so i tried "rostopic info /scan" and respond was
Type: sensor_msgs/LaserScan
Publishers: * /lms1xx ( http://basak-VirtualBox:43812/ )
Subscribers: None
Thanks, Basak
Can you connect other USB devices to Virtualbox?
I didnt try before because i didnt need it. I connect laser sensor via ethernet...but now i tried to connect usb and it can connect
What are Virtual Computer's and laser scanner's IPs?
I know the IP's of laser scanner and when i made a connection with laser scanner in ros i wrote the IP of laser but i dont know what is the IP of virtual computer...you think my problem is because of IP's?
May be. You can see your ip via
ifconfig
command. You should probably see theeth0
section. Also You don't need port number if you are using port in your launch file. (for ex:192.168.0.1:<PORT_NUMBER>
).And be sure your laser and computer on the same network (Both IPs are
192.168.1.x
or Both192.168.0.x
etc.)is "inet addr" my virtual computer's IP? if so, they are different...but i'm sure the IP of LMS100, i checked from its own program SOPAS...what should i do? kafayı yemek üzereyim :D
Yes, it is your ip adress. And it's be same without last part of it(
192.168.1.x
). Try ping command to your laser for finding what's going on, just open terminal on ubuntu and type:ping <ip of laser>
. And Forum's language is English, We must use English only :)