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

Roomba + C++ direction sensorPacket reset

asked 2012-08-24 03:11:36 -0600

Strider2009 gravatar image

updated 2014-04-20 14:09:32 -0600

ngrennan gravatar image

So we are currently trying to control a iRobot Create (roomba) with ROS. The problem we are having is that our int16 distance (in the driver) is overflowing and we cant figure out how to reset the distance being read from the roomba.

We have tried to publish a new value to the driver, but it reads the information from teh roomba so it just over rights it..

Thanks

edit retag flag offensive close merge delete

Comments

The driver was not clearing the distance value, this meant each time it read teh sensor information from the iCreate it would increment this value. FIX: self.create.clear() - add after line def Twist located for me at "/opt/ros/fuerte/stacks/brown_drivers/irobot_create_2_1/bin/driver.py

Strider2009 gravatar image Strider2009  ( 2012-08-28 22:06:49 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-08-29 01:58:09 -0600

Lorenz gravatar image

You could try turtlebot_node. It should support the roomba now. You just need to set the parameter robot_type to roomba.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-08-24 03:11:36 -0600

Seen: 298 times

Last updated: Aug 29 '12