Writing /var/lib/dokuwiki/data/meta/tutorials/ros2_in_debian_unstable.meta failed
tutorials:ros2_in_debian_unstable
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorials:ros2_in_debian_unstable [2019/11/05 20:25] – admin | tutorials:ros2_in_debian_unstable [2022/09/20 00:08] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 24: | Line 24: | ||
| python3-vcstool \ | python3-vcstool \ | ||
| wget | wget | ||
| - | # install some pip packages needed for testing | + | |
| - | python3 -m pip install -U \ | + | python3 -m pip install -U \ |
| argcomplete \ | argcomplete \ | ||
| flake8 \ | flake8 \ | ||
| Line 42: | Line 42: | ||
| pytest-runner \ | pytest-runner \ | ||
| setuptools | setuptools | ||
| - | # install Fast-RTPS dependencies | + | |
| - | sudo apt install --no-install-recommends -y \ | + | sudo apt install --no-install-recommends -y \ |
| libasio-dev \ | libasio-dev \ | ||
| libtinyxml2-dev | libtinyxml2-dev | ||
| - | # install CycloneDDS dependencies | + | |
| - | sudo apt install --no-install-recommends -y \ | + | sudo apt install --no-install-recommends -y \ |
| libcunit1-dev | libcunit1-dev | ||
| Line 61: | Line 61: | ||
| sudo rosdep init | sudo rosdep init | ||
| rosdep update | rosdep update | ||
| - | rosdep install --from-paths src --ignore-src --rosdistro dashing -y --skip-keys " | + | rosdep install |
| + | |||
| + | * Configure the system to use gcc and g++ version 8 instead of version 9: | ||
| + | |||
| + | sudo apt-get install gcc-8 g++-8 | ||
| + | sudo update-alternatives --install / | ||
| + | sudo update-alternatives --install / | ||
| * Build the code in the workspace | * Build the code in the workspace | ||
| Line 67: | Line 73: | ||
| cd ~/ | cd ~/ | ||
| colcon build --symlink-install | colcon build --symlink-install | ||
| + | |||
| + | * Try some examples | ||
| + | * In one terminal: | ||
| + | |||
| + | . ~/ | ||
| + | ros2 run demo_nodes_cpp talker | ||
| + | |||
| + | * In another terminal: | ||
| + | |||
| + | . ~/ | ||
| + | ros2 run demo_nodes_py listener | ||
tutorials/ros2_in_debian_unstable.1572985502.txt.gz · Last modified: 2022/09/20 00:08 (external edit)