uos / sick_tim

A ROS driver for the SICK TiM series of laser scanners.
http://wiki.ros.org/sick_tim
47 stars 90 forks source link

TIM 561 launch file throwing runtime exception #76

Closed Megh-Thakkar closed 5 years ago

Megh-Thakkar commented 5 years ago

I am new to ROS and am using a sick TIM 561 scanner with a USB on a linux system. While launching the scanner using

$ roslaunch sick_tim sick_tim551_2050001.launch

it is throwing an exception (screenshot attached). Please help me with the same.

Screenshot from 2019-03-26 17-44-13

mintar commented 5 years ago

You probably have the parameter use_sim_time set to true. To fix this, run:

rosparam set use_sim_time false

... and then restart the launch file.

mintar commented 5 years ago

I've added a commit that should avoid the runtime error and print a more helpful warning.

Megh-Thakkar commented 5 years ago

Thanks a lot for your prompt response. It worked perfectly.