Skip to content

Commit

Permalink
🔨 Modified README.md commands to adhere to higher cross-platform comp…
Browse files Browse the repository at this point in the history
…atibility.

Signed-off-by: Bey Hao Yun <[email protected]>
  • Loading branch information
cardboardcode committed Aug 18, 2022
1 parent c28b70a commit fe2e913
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions dummy_robot/dummy_map_server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,12 @@ The illustration above shows an example of an occupancy grid where the **bolded
## **Build**

```bash
cd $HOME
mkdir demo_ws/src
cd ~/demo_ws/src
git clone https://github.com/ros2/demos.git
cd ~/demo_ws
source /opt/ros/<DISTRO_NAME>/setup.bash
colcon build --packages-up-to dummy_map_server
```

## **Run**

```bash
cd $HOME
cd ~/demo/src
source install/setup.bash
ros2 run dummy_map_server dummy_map_server
```

Expand All @@ -51,8 +42,6 @@ ros2 run dummy_map_server dummy_map_server
A similar terminal output should be seen after running `ros2 run dummy_map_server` and the following commands:

```bash
# Open new terminal.
source /opt/ros/<DISTRO_NAME>/setup.bash
ros2 topic echo /map
```

Expand Down

0 comments on commit fe2e913

Please sign in to comment.