Skip to content

Commit 0f13ffe

Browse files
authored
Changed ROS docker command in core tutorials. (#208)
* Changed ROS docker command in core tutorials. * Change location of pip installation.
1 parent 3d46627 commit 0f13ffe

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎_includes/first_application_common/build_system.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ To do so from binaries, via Debian packages, follow the instructions detailed
88
the purpose is the container run by the command:*
99

1010
```bash
11-
docker run -it --net=host ros:foxy
11+
docker run -it --net=host -v /dev:/dev --privileged ros:foxy
1212
```
1313

1414
Once you have a ROS 2 installation in the computer, follow these steps to install the micro-ROS build system:
@@ -22,13 +22,13 @@ mkdir microros_ws
2222
cd microros_ws
2323
git clone -b $ROS_DISTRO https://github.com/micro-ROS/micro-ros-build.git src/micro-ros-build
2424

25-
# Install pip
26-
sudo apt-get install python3-pip
27-
2825
# Update dependencies using rosdep
2926
sudo apt update && rosdep update
3027
rosdep install --from-path src --ignore-src -y
3128

29+
# Install pip
30+
sudo apt-get install python3-pip
31+
3232
# Build micro-ROS tools and source them
3333
colcon build
3434
source install/local_setup.bash

0 commit comments

Comments
 (0)