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

Turtlebot navigation on Hydro, OSX

asked 2014-04-29 02:21:24 -0600

karthik_ms gravatar image

updated 2014-05-28 06:35:02 -0600

I see that there are clear instructions given to install turtlebot navigation, such as the one here

I would like to use my machine with OS X 10.8 and ROS Hydro(Installed already) to communicate to the turtlebot through the turtlebot navigation stack.

Can someone give instructions on how I can install the turtlebot stack on my current setup?

Right now this is the procedure I am trying to follow.

$ mkdir ~/turtlebot_ws
$ cd ~/turtlebot_ws
$ source /path/to/hydro/install/setup.bash
$ rosinstall_generator turtlebot_launch --deps --exclude RPP --tar > turtlebot-hydro.rosinstall
$ wstool init src -j8 openni-hydro.rosinstall
$ rosdep install --from-paths ./src --ignore-src -y --skip-keys "libopenni-dev libopenni-sensor-primesense-dev ftdi-eeprom avahi-daemon avahi-utils libftdi-dev libavahi-core-dev redis-server libusb-dev libavahi-client-dev"

If you see the last command, there are too many keys that need to be skipped because there occurs an error like this for each of the package specified above.

zeroconf_avahi: No definition of [libavahi-client-dev] for OS [osx]

after this I did

$ catkin_make install

Expectedly, I got the following errors, since I had skipped all the packages while I was installing the dependencies through rosdep.

Users/Siva/turtlebot_ws/src/kobuki_core/kobuki_ftdi/src/ftdi_kobuki.cpp:60:10: fatal error: 'ftdi.h' file not found
#include <ftdi.h>
In file included from /Users/Siva/turtlebot_ws/src/kobuki_core/kobuki_ftdi/src/find_devices.cpp:16:
/Users/Siva/turtlebot_ws/src/kobuki_core/kobuki_ftdi/include/kobuki_ftdi/scanner.hpp:45:10: fatal error: 'usb.h' file not found
#include <usb.h>
In file included from /Users/Siva/turtlebot_ws/src/kobuki_core/kobuki_ftdi/src/flasher.cpp:15:
/Users/Siva/turtlebot_ws/src/kobuki_core/kobuki_ftdi/src/../include/kobuki_ftdi/scanner.hpp:45:10: fatal error

Kindly help.

edit retag flag offensive close merge delete


I don't know what software is involved to get this level of Turtlebot support working. The general process for installing any ROS package on OS X is similar to my answer to your other question:

William gravatar image William  ( 2014-04-29 09:14:24 -0600 )edit

Upvote the question. I fail to build one of turtlebot_simulator dependecies: create_gazebo_plugins

anaderi gravatar image anaderi  ( 2014-05-26 09:47:52 -0600 )edit

Hi, Can you post the error that you are encountering. Please add another question for that.

karthik_ms gravatar image karthik_ms  ( 2014-05-26 10:04:37 -0600 )edit

Hi, I need the actual turtlebot packages to run my turtlebot and teleop it with my keyboard. Kindly guide me on that.

karthik_ms gravatar image karthik_ms  ( 2014-05-28 04:17:30 -0600 )edit

Have you tried to follow the instructions that @William suggested in the comments above (replacing openni_camera with whatever packages you need)?

demmeln gravatar image demmeln  ( 2014-05-28 04:35:13 -0600 )edit

@demmeln Edited the question with my results.

karthik_ms gravatar image karthik_ms  ( 2014-05-28 06:35:29 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-05-29 20:07:56 -0600

demmeln gravatar image

Like in my answer for the other question, make sure that you call rosdep update regularly, in particular if you notice keys are not being resolved (OS X is far less covered than e.g. Ubuntu). If you ignore keys, you often have to still install libraries yourself. brew search ftdi and brew search usb helps. In this case you need brew install libftdi0 libusb.

Once you find out the correct resolution of a missing key, you can always edit this file to contribute to the rosdep rules for OS X:

I have recently added libftdi and libusb has been there also for some time.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-04-29 02:21:24 -0600

Seen: 594 times

Last updated: May 29 '14