Skip to content
3wnbr1 edited this page May 9, 2020 · 1 revision

Upgrading colcon on macOS / Win

pip3 install --upgrade colcon-common-extensions --upgrade-strategy=eager

Use clang_complete

export CC=$(pwd)/tools/clang_complete/cc
export CXX=$(pwd)/tools/clang_complete/g++

Then run a normal colcon build

Code formating

ament_clang_format --config ".clang-format" --reformat $(colcon list -p)

ament_flake8 --linelength 160 .

ament_lint_cmake .

ament_xmllint .
Clone this wiki locally