ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

ROS driver for Lightware SF-40/C laser scanner

asked 2016-02-11 14:34:44 -0600

updated 2016-02-11 14:38:40 -0600

Has anyone written a ROS driver for the Lightware SF-40/C laser scanner
I found one for SF-10/C altimeter here https://github.com/wavelab/ros_lightware . Not sure if this will work for SF-40/C as well.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-02-11 15:22:48 -0600

stevenwaslander gravatar image

Looks probable, we don't have one to test, but the interface looks the same.

edit flag offensive delete link more

Comments

Thanks for the quick help! I ll test soon and get back to you.

ratneshmadaan gravatar image ratneshmadaan  ( 2016-02-11 21:18:34 -0600 )edit

rosrun altitude_sensor altitude_sensor_node

INFO 1455503400.766892744: The serial port is opened. ERROR 1455503401.768272992: Timeout!

ERROR 1455503402.769572975: Timeout!

^Cterminate called after throwing an instance of 'cereal::Exception' what(): po

ratneshmadaan gravatar image ratneshmadaan  ( 2016-02-14 20:32:11 -0600 )edit

^Cterminate called after throwing an instance of 'cereal::Exception'

what(): poll failed -- error = 4: Interrupted system call (in cereal::CerealPort::readBytes)

Aborted (core dumped)

ratneshmadaan gravatar image ratneshmadaan  ( 2016-02-14 20:34:40 -0600 )edit

Able to read the data via minicom. Also the lightware terminal doesn't work with Wine on Ubuntu. Did you happen to try it?

ratneshmadaan gravatar image ratneshmadaan  ( 2016-02-14 21:54:07 -0600 )edit

The code works by reading a fixed number of bytes, and is not receiving those bytes. You may need to set it to streaming mode first. Did not try lightware terminal in Wine. This is a pretty basic driver, shouldn't take too long to figure out the differences.

stevenwaslander gravatar image stevenwaslander  ( 2016-02-15 08:31:16 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-02-11 14:34:44 -0600

Seen: 945 times

Last updated: Feb 11 '16