Skip to content

Ashrith5321/vs_code_ros2_extension

Repository files navigation

ROS 2 Helper (VS Code Extension)

Scaffold ROS 2 packages/nodes and insert common publisher/subscriber/service code for rclcpp & rclpy. Adds colcon build tasks.

Quickstart

  1. Clone this repo and open in VS Code.
  2. npm i && npm run watch.
  3. Press F5 to launch the Extension Development Host.
  4. Run commands from the palette:
  • ROS2: Setup Workspace
  • ROS2: Create Package (C++/Python)
  • ROS2: New Node
  • ROS2: Add Publisher/Subscriber/Service
  1. Use task ROS2: colcon build.

Settings

  • ros2Helper.envScript: Path to your ROS 2 setup script, e.g. /opt/ros/jazzy/setup.bash.

Dev

  • TypeScript sources in src/, compiled to out/.
  • Snippets in snippets/.
  • Package with npm run package -> .vsix.

License

Apache-2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors