Skip to content

Commit cfb5180

Browse files
authored
Removing unnecessary repos for Humble and small instructions update (Kinovarobotics#218)
1 parent 9516831 commit cfb5180

File tree

5 files changed

+10
-23
lines changed

5 files changed

+10
-23
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,19 +108,19 @@ If the bug fix you need isn't in a released version or If you want to build this
108108
3. Pull relevant packages:
109109
```
110110
cd $COLCON_WS
111-
git clone https://github.com/PickNikRobotics/ros2_kortex.git src/ros2_kortex
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
111+
git clone https://github.com/Kinovarobotics/ros2_kortex.git src/ros2_kortex
112+
vcs import src --skip-existing --input src/ros2_kortex/ros2_kortex.$ROS_DISTRO.repos
113+
vcs import src --skip-existing --input src/ros2_kortex/ros2_kortex-not-released.$ROS_DISTRO.repos
114114
```
115115

116116
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
117117
```
118-
vcs import src --skip-existing --input simulation.humble.repos
118+
vcs import src --skip-existing --input src/ros2_kortex/simulation.humble.repos
119119
```
120120

121121
otherwise
122122
```
123-
vcs import --skip-existing --input src simulation.repos
123+
vcs import --skip-existing --input src/ros2_kortex/simulation.repos
124124
```
125125

126126
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.
@@ -132,6 +132,11 @@ If the bug fix you need isn't in a released version or If you want to build this
132132
source install/setup.bash
133133
```
134134

135+
By default, colcon will use as much resources as possible to build the ROS2 workspace. This can temporarily freeze or even crash your machine. You can limit the number of threads used to avoid this issue, we found a good tradeoff between build time and resource utilisation by setting it to 3 :
136+
```
137+
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release --parallel-workers 3
138+
```
139+
135140
## Simulation Issues
136141

137142
Please note, at this time there are two known issues you with simulation

ros2_kortex.humble.repos

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ repositories:
77
type: git
88
url: https://github.com/ros-controls/ros2_control.git
99
version: humble
10-
ros2_control_demos:
11-
type: git
12-
url: https://github.com/ros-controls/ros2_control_demos.git
13-
version: master
1410
ros2_controllers:
1511
type: git
1612
url: https://github.com/ros-controls/ros2_controllers.git

ros2_kortex.repos

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ repositories:
77
type: git
88
url: https://github.com/ros-controls/ros2_control.git
99
version: master
10-
ros2_control_demos:
11-
type: git
12-
url: https://github.com/ros-controls/ros2_control_demos.git
13-
version: master
1410
ros2_controllers:
1511
type: git
1612
url: https://github.com/ros-controls/ros2_controllers.git

simulation.humble.repos

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,3 @@ repositories:
1414
type: git
1515
url: https://github.com/gazebosim/ros_gz.git
1616
version: humble
17-
18-
ros2_control_demos:
19-
type: git
20-
url: https://github.com/ros-controls/ros2_control_demos.git
21-
version: master

simulation.repos

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ repositories:
1515
url: https://github.com/ignitionrobotics/ros_ign.git
1616
version: ros2
1717

18-
ros2_control_demos:
19-
type: git
20-
url: https://github.com/ros-controls/ros2_control_demos.git
21-
version: master
22-
2318
ros_ign:
2419
type: git
2520
url: https://github.com/ignitionrobotics/ros_ign.git

0 commit comments

Comments
 (0)