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

kobuki_ftdi create_udev_rules not found

asked 2013-02-18 21:16:33 -0500

Anis gravatar image

updated 2013-02-22 15:45:10 -0500

tfoote gravatar image

Hello

I received mu turtlebot with Kobuki and I followed the ROS (Groovy) tutorial for installing Turtlebot and Kobuki There is a problem with this command

rosrun kobuki_ftdi create_udev_rules

Actually there is no "create_udev_rules" node in the package kabuki_ftdi. So the command does not work. There are other nodes such as find_device, flasher, ftdi_kobuki, … But not create_udev_rules. Is there any new process that makes the rules?

I did the following command roscd kobuki_ftdi make udev That I found in installation tutorial And it make Kobuki appears as /dev/kobuki. But still when I run get_serial_number, I get this output

1 device found Something went wrong. Did you run with sudo?

When I try rosrun with sudo, it does not accept to execute rosrun with sudo.

When I run minimal launch, it works but gives a problem with the battery.

I hope you can help in fixing this issue.

Thanks Anis

edit retag flag offensive close merge delete

Comments

create_udev_rules is still in ros-shadow-fixed awaiting a push into the ros repo. Just running 'make udev' will work in the interim.

Daniel Stonier gravatar image Daniel Stonier  ( 2013-02-24 12:43:11 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2013-02-24 13:15:36 -0500

Daniel Stonier gravatar image

Sudo does not work with rosrun (or any ros command) because it does not carry across all the ros environment variables. Bad idea anyway, as it saves all your logs and other temporaries as root.

Just try calling it directly with sudo (i.e. without ros) should work.

Having said that, we just catkinized kobuki, so once that deb reaches ros public repo, that binary will be in /opt/ros/groovy/lib/kobuki_ftdi. We'll get that moved into /opt/ros/groovy/bin so it's easier to find and run and update the wiki instructions this week.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-02-18 21:16:33 -0500

Seen: 611 times

Last updated: Feb 24 '13