Skip to content

Commit 9516831

Browse files
authored
Updating installation instructions (Kinovarobotics#215)
* Removing unnecessary packages * Updating instructions
1 parent 366675a commit 9516831

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed

README.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,18 +105,28 @@ If the bug fix you need isn't in a released version or If you want to build this
105105
mkdir -p $COLCON_WS/src
106106
```
107107

108-
3. Pull relevant packages, install dependencies, compile, and source the workspace by using:
108+
3. Pull relevant packages:
109109
```
110110
cd $COLCON_WS
111111
git clone https://github.com/PickNikRobotics/ros2_kortex.git src/ros2_kortex
112-
rosdep install --ignore-src --from-paths src -y -r
113-
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
114-
source install/setup.bash
112+
vcs import src --skip-existing --input ros2_kortex-not-released.$ROS_DISTRO.repos
113+
vcs import src --skip-existing --input ros2_kortex.$ROS_DISTRO.repos
114+
```
115+
116+
If you plan on simulating the robot with ignition or gazebo, make sure to pull the additional simulation packages. If you're on ROS2 Humble, run
115117
```
118+
vcs import src --skip-existing --input simulation.humble.repos
119+
```
120+
121+
otherwise
122+
```
123+
vcs import --skip-existing --input src simulation.repos
124+
```
125+
126+
If you plan on using MoveIt, you must make sure that you have it already [installed](https://moveit.ros.org/install-moveit2/binary/) either from binaries or by building it from source.
116127

117-
4. To simulate the robot with ignition or gazebo make sure to pull and build additional packages:
128+
4. Install dependencies, compile, and source the workspace:
118129
```
119-
vcs import src --skip-existing --input src/ros2_kortex/simulation.repos
120130
rosdep install --ignore-src --from-paths src -y -r
121131
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
122132
source install/setup.bash

ros2_kortex-not-released.rolling.repos

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ repositories:
33
type: git
44
url: https://github.com/ros-controls/ros2_control.git
55
version: master
6-
ros2_control_demos:
7-
type: git
8-
url: https://github.com/ros-controls/ros2_control_demos.git
9-
version: master
106
ros2_controllers:
117
type: git
128
url: https://github.com/ros-controls/ros2_controllers.git

ros2_kortex.rolling.repos

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,3 @@ repositories:
33
type: git
44
url: https://github.com/picknikrobotics/picknik_controllers.git
55
version: main
6-
ros2_control_demos:
7-
type: git
8-
url: https://github.com/ros-controls/ros2_control_demos.git
9-
version: master

0 commit comments

Comments
 (0)