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

neato laser stop

asked 2017-09-28 12:00:02 -0500

tjadhav gravatar image

I have the neato laser running on my turtlebot2 using the Kobuki base. As soon as turtlebot boots up and the laser receives power from the on board computer via the usb port, it starts spinning. I would like to control the laser startup where I can turn it on only when needed like during gmapping or slam or when running minimal launch. I would like to turn off the laser when I'm not using slam or mapping or when I'm just charging the base. What is/are the ROS recommended ways of doing this ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-09-28 14:14:42 -0500

ahendrix gravatar image

I don't think the neato hardware supports this. In my experience, the neato lidar starts spinning as soon as you apply power.

If you have a third-party controller board for your Neato, you may be able to use it to turn power on and off for your Neato.

edit flag offensive delete link more

Comments

I have the controller board from Get surreal. I'm looking to controller is via software. I may look into turning the power off on the usb port (ACM0 in my case). The board has a button that turns off the power but it doesnt turn it back on like a toggle switch.

tjadhav gravatar image tjadhav  ( 2017-09-28 15:53:23 -0500 )edit

According the this GetSurreal page the controller has motor on and off commands, but I don't see anything in the neato driver that would send those commands.

ahendrix gravatar image ahendrix  ( 2017-09-28 22:58:36 -0500 )edit
1

You will probably need to modify the neato driver to send the on and off commands from a ROS service, or when the node starts and stops.

ahendrix gravatar image ahendrix  ( 2017-09-28 23:15:02 -0500 )edit

Thank you ahendrix!

tjadhav gravatar image tjadhav  ( 2017-09-29 22:06:07 -0500 )edit

I havent written or modified any drivers before. I may look into it.

tjadhav gravatar image tjadhav  ( 2017-09-29 23:44:38 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2017-09-28 12:00:02 -0500

Seen: 289 times

Last updated: Sep 28 '17