Skip to content

Commit

Permalink
fix: setup.bash
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuyaOguma18 committed Feb 17, 2025
1 parent 959061a commit e4cd681
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,18 @@ else
echo "source /opt/ros/jazzy/setup.bash" >>~/.bashrc
fi

# shellcheck disable=SC1091
source /opt/ros/jazzy/setup.bash

# aptでインストール可能なパッケージをインストール
sudo apt install python3-colcon-mixin mold ccache cpplint clang-format cmake-format doxygen python3-rosdep yamllint npm just pipx
colcon mixin add default https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
sudo apt install python3-colcon-mixin mold ccache cpplint clang-format cmake-format doxygen python3-rosdep yamllint npm just pipx python3-vcstool python3-colcon-common-extensions
colcon mixin add default https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml || echo "already installed 'default' continuing"
colcon mixin update default

# pipxでインストール可能なパッケージをインストール
pipx install rosdoc2 pre-commit
pipx inject rosdoc2 sphinxcontrib-mermaid

# 依存関係の解消
sudo rosdep init || echo "already initialized 'rosdep'"
just deps

0 comments on commit e4cd681

Please sign in to comment.