Robotics StackExchange | Archived questions

Trying to make my first ROS program using Visual Studio

Hi there,

I am trying to write my very first ROS Porgram (Hello world) using Visual Studio 2022.

I am using my Windows 10 computer. I managed to install ROS (noetic) on my computer and create a terminal window for it on windows terminal.

I saw this tutorial and try to give it a shot, however I have doubts if I am on the right track.

https://github.com/Brabalawuka/RosOnWindows

I managed to create my catkin ws and direct it to src like so:

c:\catkinws\helloworld\src>

However I was not able to run devel\setup.bat .

This is what it look like in my documents, hope this helps I try to showcase this the best way I can:

Local Disk (C:) -> catkinws -> helloworld ->src -> CMakeLists

Local Disk (C:) -> catkinws -> helloworld -> include

Local Disk (C:) -> catkinws -> helloworld -> CMakeLists

Local Disk (C:) -> catkinws -> helloworld -> package

Local Disk (C:) - > catkin_ws -> build

Local Disk (C:) - > catkin_ws -> devel

Local Disk (C:) - > catkin_ws -> src

Local Disk (C:) - > catkin_ws -> CMakeLists

Can you please help me. I don't think I am far away.

Kind regards

Asked by Blade25 on 2022-08-29 04:10:37 UTC

Comments

I discourage using an IDE at the beginning/learning stage. This is because an IDE encapsulates/hides most of the information/steps essential for understanding the ROS (or any other software). Instead, I suggest following the ROS tutorials wiki page.

Asked by ravijoshi on 2022-08-29 20:53:45 UTC

Answers