Create Setup
By default, the turtlebot hydro software is configured to work with Kobuki. If you have an old Create style Turtlebot and want to get it working with the hydro software, you are in the right place.
Configuration
The instructions differ depending on whether you have a prepared usb derived release, from debs, or from source.
Live USB Installation
This is pending information/testing of the live usb release. |
Deb Installation
The software currently uses environment variables to determine the hardware configuration. Export the following variables before you source setup.bash.
> export TURTLEBOT_BASE=create > export TURTLEBOT_STACKS=circles > export TURTLEBOT_3D_SENSOR=kinect # alternatively asus_xtion_pro > export TURTLEBOT_SERIAL_PORT=/dev/ttyUSB0 # may appear under another ttyUSBn
Putting it in ~/.bashrc or appended to your own workspace's setup.sh are good candidates for convenience. You should do it if you don't want to write it every time you open a terminal. You can edit bashrc by doing
> nano ~/.bashrc
and adding the 3 previous lines. If the nano text editor is not working, try emacs or vi.
Source Installation
The software currently uses environment variables to determine the hardware configuration. Export the following variables before you source setup.bash.
> echo "export TURTLEBOT_BASE=create" >> ~/turtlebot/devel/setup.sh > echo "export TURTLEBOT_STACKS=circles" >> ~/turtlebot/devel/setup.sh > echo "export TURTLEBOT_3D_SENSOR=kinect" >> ~/turtlebot/devel/setup.sh > echo "export TURTLEBOT_SERIAL_PORT=/dev/ttyUSB0" >> ~/turtlebot/devel/setup.sh > source ~/turtlebot/devel/setup.bash
Note that the serial port may be under another /dev/ttyUSBn value. Do check. Also, kinect could be replaced with asus_xtion_pro if you're using that sensor instead.
Notes
You can see exactly how this is working in turtlebot_bringup/launch/minimal.launch.