Skip to content

kamatajinkya/vscode-ros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vscode-ros

Setup for developing ROS packages using vs-code

Installation

Just clone the repo to the root of the workspace in a folder named .vscode

git clone [email protected]:kamatajinkya/vscode-ros.git .vscode

Prerequisites

  1. Install vscode.
  2. Install Microsoft ROS extension from the vscode marketplace.
  3. Install Microsoft C++ Extension from the vscode marketplace.

Usage

Opening a previously opened workspace

  1. Navigate to the workspace using the terminal.
  2. Source the ROS setup file source devel/setup.zsh.
  3. Use code . to launch vscode.

Building Packages

  1. Press ctrl+shift+b.
  2. Select Built task from the dropdown menu
  3. Output should be visible in the terminal pane. Press ctrl+` otherwise.

Debugging Packages

Current, debug configuration can be relaunched by pressing F5.

Attaching a process

  1. SelectROS:Attach from the debug pane
  2. Hit run and select process from the menu

Launching a process from a launchfile

Vscode ROS Extension Debug Support

Opening a workspace for the first time

  1. Open vscode
  2. Run catkin: build using instructions on building packages
  3. Close vscode and open workspace using instructions above

Other Useful Plugins

About

Setup for developing ROS packages using vs-code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages