ros2 on windows 10 - sourcing

asked 2022-03-02 09:16:09 -0500

Jt3d gravatar image

Hi guys,

I have used ros on ubuntu without any real issues but I need to get ros2 working on windows 10 for a project.

Most of the problems I have are to do with setting up the environment correctly

I decided to follow this tutorial just to make sure everything is set up ok

I can get it to work but I have to do the following in order to source the environments in command prompts

  1. I have to open command prompt as admin
  2. I have to give the full path to "C:\dev_ws\install\setup.bat" and I have to be in the directory c:\windows\system32 on the command prompt

If I go to the dev_ws folder I can't get even source ros2 using call "C:\dev\ros2_galactic\local_setup.bat"

Obviously something silly going on - just not sure how to rectify - is it just adding to path for ros2.exe in system environment?

I used this link as the procedure to install ros2 on windows 10

thanks in advance

edit retag flag offensive close merge delete