ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

ROS for windows / VScode or Visual Studio

asked 2018-11-09 09:53:01 -0600

goupil35000 gravatar image

updated 2018-12-12 12:39:47 -0600

jayess gravatar image

Hello, I'm working on ros melodic for windows. I would like to understand which of these 2 editors is the best to develop ROS nodes:

  • Visual Studio Community edition 2017;
  • VScode with ROS VSCode Extension.

I don't really understand how really ROS VSCode extension works (and if it's working under windows) and if this extension really simplify the development of ROS nodes. Maybe this extension also works in visual studio.

Thanks for reply

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-12-11 23:15:19 -0600

OoeyGUI gravatar image

Hi there, (I'm sorry I missed your message, I was looking for the Windows tag, not 2.windows10)

Visual Studio Code is great for code editing. There is a plugin for Visual Studio code for ROS in the marketplace. We're working to improve that plugin so that it works better with ROS on Windows.

Visual Studio Code can be used to debug python nodes. Visual Studio is great for debugging C++ nodes; but you have to launch devenv from within a ROS command line in order to attach or start a node.

I'm working on a walk through videos showing how to use ROS on Windows, and will show how to set up Visual Studio to debug a C++ node and Visual Studio code to debug a Python node.

edit flag offensive delete link more

Comments

hi @OoeyGUI may I know the address of your videos? If so that will be great helpful!

odoncn gravatar image odoncn  ( 2019-01-03 19:56:09 -0600 )edit

We've been focusing on finishing ROS1 for Windows before transitioning to Tools and ROS2; the extension fell behind. The first set of videos are filmed and narrated; we're just editing them now.

Here's the channel for Windows IoT - https://www.youtube.com/channel/UCL7w... .

OoeyGUI gravatar image OoeyGUI  ( 2019-01-04 12:21:31 -0600 )edit

Hi OoeyGUI, do you have the walkthrough videos on how to set up Visual Studio to debug a C++ node or any such document that can be shared?

Rajesh gravatar image Rajesh  ( 2019-11-15 06:48:12 -0600 )edit

I just realized I've been promising videos for a long time. We're finally set up to start releasing videos, so I'll start publishing them.

OoeyGUI gravatar image OoeyGUI  ( 2019-11-18 14:41:05 -0600 )edit

Hello, @OoeyGUI. I took a look at the YouTube channel you have provided. It seems that there still doesn't exist a walkthrough video. It would be great if you could share them. :D

shrinivas96 gravatar image shrinivas96  ( 2020-04-20 11:46:24 -0600 )edit

Would be definitely nice. I am currently coding ROD nodes in Visual Studio in Windows and do not know hot to debug, any resource?

hect1995 gravatar image hect1995  ( 2020-05-03 08:39:03 -0600 )edit

Question Tools

4 followers

Stats

Asked: 2018-11-09 09:53:01 -0600

Seen: 4,241 times

Last updated: Dec 11 '18