Skip to content

Instantly share code, notes, and snippets.

@khssnv
Created October 3, 2019 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khssnv/b54f317bf08f57059c255f1cb4bf3ca8 to your computer and use it in GitHub Desktop.
Save khssnv/b54f317bf08f57059c255f1cb4bf3ca8 to your computer and use it in GitHub Desktop.
Handy ROS2 shell commands

Build one package with symlinks instead of executables

(to use changed python scripts without rebuilding)

colcon build --packages-select <package_name> --symlink-install

Launch a test with verbose output

colcon test --packages-select <package_name> --pytest-args -k <test_function_name> --event-handlers console_direct+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment