Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sick_tim sick_mrs1000: Edit in launch file is not working #62

Closed
danzijl opened this issue Apr 25, 2018 · 3 comments
Closed

Sick_tim sick_mrs1000: Edit in launch file is not working #62

danzijl opened this issue Apr 25, 2018 · 3 comments
Assignees

Comments

@danzijl
Copy link

danzijl commented Apr 25, 2018

I was trying to connect the MRS1000 with ubuntu 16.04.
I edited the launch file to my scanners ip-adres and port. (169.254.146.33) (2112)
screenshot from 2018-04-25 13-52-51

I also added a network as can be seen:
screenshot from 2018-04-25 13-46-04

when trying to run the launch file i get the following error:

`dvzijl@dvzijl-VirtualBox:~$ roslaunch sick_tim sick_mrs1000.launch
... logging to /home/dvzijl/.ros/log/a1a92df0-487d-11e8-a03d-080027e11e98/roslaunch-dvzijl-VirtualBox-8584.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://dvzijl-VirtualBox:34491/

SUMMARY

PARAMETERS

  • /rosdistro: kinetic
  • /rosversion: 1.12.13
  • /sick_mrs1000/hostname: 192.168.0.1
  • /sick_mrs1000/port: 2111

NODES
/
sick_mrs1000 (sick_tim/sick_mrs1000)

auto-starting new master
process[master]: started with pid [8594]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to a1a92df0-487d-11e8-a03d-080027e11e98
process[rosout-1]: started with pid [8607]
started core service [/rosout]
process[sick_mrs1000-2]: started with pid [8617]
[ INFO] [1524656505.957309267]: Waiting 5 seconds for device to connect.
[ERROR] [1524656505.958788048]: Failed to connect to 192.168.0.1:2111
[FATAL] [1524656505.958812768]: Could not connect to host 192.168.0.1:2111
[FATAL] [1524656505.958830097]: Failed to init device: 1
[ERROR] [1524656505.959843522]: write error for command: �sEN LMDscandata 0�

SOPAS - Error stopping streaming scan data!
sick_tim driver exiting.
[ INFO] [1524656505.984143105]: Waiting 5 seconds for device to connect.
[ERROR] [1524656505.985229911]: Failed to connect to 192.168.0.1:2111
[FATAL] [1524656505.985249588]: Could not connect to host 192.168.0.1:2111
[FATAL] [1524656505.985288035]: Failed to init device: 1
[ERROR] [1524656505.985955430]: write error for command: �sEN LMDscandata 0�`

While i edited the launch file i still get the error with it trying to connect to 192.168.0.1:2111?

I can access the lidar with SOPAS but i also can't ping it from ubuntu.

@spuetz spuetz self-assigned this Apr 25, 2018
@danzijl
Copy link
Author

danzijl commented Apr 26, 2018

I got to fix the above problem but now a new problem occurs.
when running: roslaunch /usr/lib/sick_tim/launch/sick_mrs1000.launch
i get the following error:

`dvzijl@dvzijl-VirtualBox:~$ roslaunch /usr/lib/sick_tim/launch/sick_mrs1000.launch
... logging to /home/dvzijl/.ros/log/2bd921d0-4958-11e8-81d4-080027e11e98/roslaunch-dvzijl-VirtualBox-9941.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://dvzijl-VirtualBox:33583/

SUMMARY

PARAMETERS

  • /rosdistro: kinetic
  • /rosversion: 1.12.13
  • /sick_mrs1000/hostname: 192.168.235.5:
  • /sick_mrs1000/port: 2112
  • /sick_mrs1000/timelimit: 500

NODES
/
sick_mrs1000 (sick_tim/sick_mrs1000)

auto-starting new master
process[master]: started with pid [9951]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 2bd921d0-4958-11e8-81d4-080027e11e98
process[rosout-1]: started with pid [9964]
started core service [/rosout]
process[sick_mrs1000-2]: started with pid [9971]
[FATAL] [1524750368.115701764]: Could not resolve host: ... (1)(Host not found (authoritative))
[FATAL] [1524750368.115831039]: Failed to init device: 1
[ERROR] [1524750368.116895532]: sendSOPASCommand: socket not open

SOPAS - Error stopping streaming scan data!
sick_tim driver exiting.
[FATAL] [1524750368.164510980]: Could not resolve host: ... (1)(Host not found (authoritative))
[FATAL] [1524750368.164656278]: Failed to init device: 1
[ERROR] [1524750368.166250218]: sendSOPASCommand: socket not open
`

when i ping the sensor i get the following:
dvzijl@dvzijl-VirtualBox:~$ ping 192.168.235.5 PING 192.168.235.5 (192.168.235.5) 56(84) bytes of data. 64 bytes from 192.168.235.5: icmp_seq=1 ttl=64 time=0.250 ms 64 bytes from 192.168.235.5: icmp_seq=2 ttl=64 time=0.239 ms 64 bytes from 192.168.235.5: icmp_seq=3 ttl=64 time=0.252 ms 64 bytes from 192.168.235.5: icmp_seq=4 ttl=64 time=0.499 ms 64 bytes from 192.168.235.5: icmp_seq=5 ttl=64 time=0.265 ms ^C --- 192.168.235.5 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4094ms rtt min/avg/max/mdev = 0.239/0.301/0.499/0.099 ms
I can also see the lidar working in sopas so i hope someone can help me with this.

@jspricke
Copy link
Member

I would propose to install Ubuntu without virtualization.

@mintar
Copy link
Member

mintar commented Jul 12, 2018

Closing due to inactivity.

@mintar mintar closed this as completed Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants