Scaffold ROS 2 packages/nodes and insert common publisher/subscriber/service code for rclcpp & rclpy. Adds colcon build tasks.
- Clone this repo and open in VS Code.
npm i && npm run watch.- Press F5 to launch the Extension Development Host.
- Run commands from the palette:
ROS2: Setup WorkspaceROS2: Create Package (C++/Python)ROS2: New NodeROS2: Add Publisher/Subscriber/Service
- Use task
ROS2: colcon build.
ros2Helper.envScript: Path to your ROS 2 setup script, e.g./opt/ros/jazzy/setup.bash.
- TypeScript sources in
src/, compiled toout/. - Snippets in
snippets/. - Package with
npm run package->.vsix.
Apache-2.0