Trying to make my first ROS program using Visual Studio

asked 2022-08-29 04:10:37 -0500

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/RosOnW...

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

c:\catkin_ws\hello_world\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:) -> catkin_ws -> hello_world ->src -> CMakeLists

Local Disk (C:) -> catkin_ws -> hello_world -> include

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

Local Disk (C:) -> catkin_ws -> hello_world -> 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

edit retag flag offensive close merge delete

Comments

1

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.

ravijoshi gravatar image ravijoshi  ( 2022-08-29 20:53:45 -0500 )edit