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

Revision history [back]

click to hide/show revision 1
initial version

I actually solved the problem, well technically the problem wasn't a recognition problem. The problem was the environment variables in ROS on Windows 10 does not get updated for the new terminal windows.

Well this is dumb I must say, but it is what it is.

So if you made a mistake like me and decided to use ROS on windows this is what you must do to work properly.

So, after using catkin_make you need to call setup.bat which is in the \devel folder but, BEFORE calling setup.bat you must open several terminal windows to use later or you can only use current terminal for the catkin package operations.

You can check if the the environment variable is updated by using command:

echo %ROS_PACKAGE_PATH%

And you will see that in the new terminal windows It will only print out:

C:\opt\ros\melodic\x64\share

while in the previously open terminals it will print out:

C:/Users/<your user="" name="">/<your catkin="" folder="">/src;C:\opt\ros\melodic\x64\share

I actually solved the problem, well technically the problem wasn't a recognition problem. The problem was the environment variables in ROS on Windows 10 does not get updated for the new terminal windows.

Well this is dumb I must say, but it is what it is.

So if you made a mistake like me and decided to use ROS on windows this Windows 10, the procedure below is what you must do to work properly.

So, after using catkin_make you need to call setup.bat which is in the \devel folder but, BEFORE calling setup.bat you must open several terminal windows to use later or you can only use current terminal for the catkin package operations.

You can check if the the environment variable is updated by using command:

echo %ROS_PACKAGE_PATH%

And you will see that in the new terminal windows It will only print out:

C:\opt\ros\melodic\x64\share

while in the previously open terminals it will print out:

C:/Users/<your user="" name="">/<your catkin="" folder="">/src;C:\opt\ros\melodic\x64\share

I actually solved the problem, well technically the problem wasn't a recognition problem. The problem was the environment variables in of ROS on Windows 10 does not get updated for the new terminal windows.

Well this is dumb I must say, but it is what it is.

So if you made a mistake like me and decided to use ROS on Windows 10, the procedure below is what you must do to work properly.

So, after using catkin_make you need to call setup.bat which is in the \devel folder but, BEFORE calling setup.bat you must open several terminal windows to use later or you can only use current terminal for the catkin package operations.

You can check if the the environment variable is updated by using command:

echo %ROS_PACKAGE_PATH%

And you will see that in the new terminal windows It will only print out:

C:\opt\ros\melodic\x64\share

while in the previously open terminals it will print out:

C:/Users/<your user="" name="">/<your catkin="" folder="">/src;C:\opt\ros\melodic\x64\share