Skip to content

athackst/vscode-ros2-features

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VSCode ROS2 Features

This repo provides a dev container Features for ros2.

Usage

ros2

Running ros2 inside the built container will install ros2 inside of the container.

{
    "image": "mcr.microsoft.com/devcontainers/base:ubuntu",
    "features": {
        "ghcr.io/devcontainers/vscode-ros2-features/ros2:latest": {
            "distro": "humble"
        }
    }
}

License

This package is licensed under the MIT license.

It used the template devcontainers feature starter as a starting template.

It uses installation instructions from ROS2

Developing

Repo and Feature Structure

├── src
│   ├── ros2
│   │   ├── devcontainer-feature.json
│   │   └── install.sh
...

The dev container options are found in the documented dev container properties from the feature's devcontainer-feature.json file, and execute in the install.sh entrypoint script in the container during build time.

Packaging

You can run the dev container locally using an implementing tool. Implementing tools are also free to process attributes under the customizations property as desired.

devcontainer features package -f src

Testing

You can test the dev container locally

devcontainer features test --base-image ubuntu:22.04 .

Tasks

  • test (autogenerated) Run test.sh over autogenerated feature with default options
  • test (scenarios) Test all scenarios
  • test (all) Test both
  • package Package the feature

About

VSCode ROS2 devcontainer features

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •  

Languages