windows install ok, demos don't run. what do?

asked 2021-08-19 17:06:56 -0500

i-make-robots gravatar image

Began at https://docs.ros.org/en/foxy/Installa...

installed chocolatey in admin powershell.

followed all steps successfully until call C:\dev\ros2_foxy\local_setup.bat

It is normal that the previous command, if nothing else went wrong, outputs “The system cannot find the path specified.” exactly once.

This did not happen.

image description

Tried ros2 run demo_nodes_cpp talker anyways, which failed. could not find ros2. anywhere in the install.

Discovered the alternate install instructions. (Why weren't these first? So much easier!) Ran them with no problem. No message at all when running C:\opt\ros\foxy\x64\local_setup.bat. Again, demos do not run and ros2. does not exist anywhere in the c:\opt\ros* tree.

Now what?

edit retag flag offensive close merge delete

Comments

I'm not a Windows expert, but aren't you supposed to call local_setup.bat instead of executing it? Also: if you're using PowerShell, why run the batch file? There are supposed to be .ps1 files to use in that case.

gvdhoorn gravatar image gvdhoorn  ( 2021-08-20 02:34:21 -0500 )edit