@@ -63,21 +63,20 @@ _* Not verified. Anyone who is able to verify that this driver works or not is e
6363#### Prerequisites
6464
6565* Internet connection
66- * [ ROS] ( http ://wiki .ros.org/ROS/ Installation) _ Indigo _ or _ Jade _
67- * Ubuntu packages: ` python -rosdep` , ` python-catkin-tools `
66+ * [ ROS] ( https ://index .ros.org/doc/ros2/ Installation) _ Foxy _
67+ * Ubuntu packages: ` python3 -rosdep` , ` python3-colcon-common-extensions `
6868
6969``` bash
70- $ sudo apt-get install python -rosdep python-catkin-tools
70+ $ sudo apt install python3 -rosdep python3-colcon-common-extensions
7171```
7272
7373#### Compiling
7474
75- 1 . Create a catkin workspace
75+ 1 . Create a colcon workspace
7676 ``` bash
7777 $ cd ~
7878 $ mkdir -p create_ws/src
79- $ cd create_ws
80- $ catkin init
79+ $ cd create_ws
8180 ```
8281
83822. Clone this repo
@@ -96,7 +95,7 @@ $ sudo apt-get install python-rosdep python-catkin-tools
96954. Build
9796 ` ` ` bash
9897 $ cd ~ /create_ws
99- $ catkin build
98+ $ colcon build
10099 ` ` `
101100# ### USB Permissions
1021015. In order to connect to Create over USB, ensure your user is in the dialout group
@@ -112,7 +111,7 @@ $ sudo apt-get install python-rosdep python-catkin-tools
112111
1131121. After compiling from source, don' t forget to source your workspace:
114113 ``` bash
115- $ source ~/create_ws/devel /setup.bash
114+ $ source ~/create_ws/install /setup.bash
116115 ```
117116
1181172. Connect computer to Create' s 7-pin serial port
@@ -124,17 +123,17 @@ $ sudo apt-get install python-rosdep python-catkin-tools
124123
125124For Create 2 (Roomba 600/700 series):
126125``` bash
127- $ roslaunch create_bringup create_2.launch
126+ $ ros2 launch create_bringup create_2.launch
128127```
129128
130129For Create 1 (Roomba 500 series):
131130``` bash
132- $ roslaunch create_bringup create_1.launch
131+ $ ros2 launch create_bringup create_1.launch
133132```
134133
135134For Roomba 400 series:
136135``` bash
137- $ roslaunch create_bringup roomba_400.launch
136+ $ ros2 launch create_bringup roomba_400.launch
138137```
139138
140139#### Launch file arguments
@@ -145,7 +144,7 @@ $ roslaunch create_bringup roomba_400.launch
145144For example, if you would like to disable the robot description and provide a custom configuration file:
146145
147146```bash
148- $ roslaunch create_bringup create_2.launch config:=/abs/path/to/config.yaml desc:=false
147+ $ ros2 launch create_bringup create_2.launch config:=/abs/path/to/config.yaml desc:=false
149148```
150149
151150### Parameters
@@ -222,7 +221,7 @@ angular.z (+) Rotate counter-clockwise (rad/s)
222221` create_bringup` comes with a launch file for teleoperating Create with a joystick.
223222
224223` ` ` bash
225- $ roslaunch create_bringup joy_teleop.launch [joy_config:= xbox360]
224+ $ ros2 launch create_bringup joy_teleop.launch [joy_config:= xbox360]
226225` ` `
227226
228227There exists configuration files for the [Xbox 360 wired controller](https://www.amazon.ca/Microsoft-Xbox-360-Wired-Controller/dp/B003ZSN600) and the [Logitech F710 controller](http://gaming.logitech.com/en-ca/product/f710-wireless-gamepad). You can adapt these files for your preferred joystick configuration.
0 commit comments