windows install ok, demos don't run. what do?
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.
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?
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.