https://github.com/puku0x/ros2-starter
「ROS2ではじめよう次世代ロボットプログラミング」の練習
https://github.com/puku0x/ros2-starter
colcon cpp python ros2
Last synced: 3 months ago
JSON representation
「ROS2ではじめよう次世代ロボットプログラミング」の練習
- Host: GitHub
- URL: https://github.com/puku0x/ros2-starter
- Owner: puku0x
- Created: 2019-09-14T09:20:08.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-15T11:37:48.000Z (almost 7 years ago)
- Last Synced: 2025-07-31T00:26:22.001Z (11 months ago)
- Topics: colcon, cpp, python, ros2
- Language: C++
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ROS2 Starter
## Prerequirements
- Ubuntu 18.04
- build-essential
- cmake
- git
- wget
```bash
$ sudo apt update
$ sudo apt install -y build-essential cmake git wget
```
## Install ROS2
```bash
$ ./install.sh
```
## Build
```bash
$ rosdep install --from-paths src --ignore-src -r -y
$ colcon build
```
## Run
```bash
$ . ./install/setup.bash
$ ros2 launch hello_world talker_listener.launch.py
```
## References
- [ros2 cheat sheet](https://github.com/artivis/ros2_cheats_sheet/blob/master/cli/cli_cheats_sheet.pdf)
```bash
# Examples
$ ros2 package create hello_world
$ ros2 run
$ ros2 topic
```
- [colcon doc](https://colcon.readthedocs.io)
```bash
# Examples
$ colcon build
$ colcon test
```