Skip to content

orise-robotics/vscode_ros2_ws

Repository files navigation

vscode_ros2_ws

ORise Robotics' VSCode workspace. It provides a .code-workspace configuration to be used inside a ros2 ORise container

How to setup

Basically, the workspace file requires the definition of an environment variabled called COLCON_WORKSPACE_FOLDER, which is assumed to be the place where the formatting configuration folder .vscode-format and the colcon base-folders (build, install, log) live.

To work with containers, this package provides the helper script setup_workspace.sh: it copies the ros2.code-workspace file and the .vscode-format/ folder to inside the specified container, which is assumed to be running. It also creates a named remote container configuration file to allow attaching to the container as an specific user (orise by default).

Run setup_workspace.sh --help for more details about the script usage.

Workspace features

Recommend convenient extensions, configure formatting and linting tools, and provide helper tasks and build/test/debug launchs.

Formatting & linting configurations

The workspace try to offer full formatting and linting tools to accomplish the rules defined by ament_lint_common

Tasks & Launch

Adapt tasks and launchs from athackst/vscode_ros2_workspace

Releases

No releases published

Packages

No packages published