说明:
前提条件:
步骤:
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"


- choco
-
- Chocolatey v1.1.0
- Please run 'choco -?' or 'choco
-?' for help menu.

mkdir c:\opt\chocolatey
- set PYTHONNOUSERSITE=1
- set ChocolateyInstall=c:\opt\chocolatey
- choco source add -n=ros-win -s="https://aka.ms/ros/public" --priority=1
- choco upgrade ros-foxy-desktop -y --execution-timeout=0
call C:\opt\ros\foxy\x64\local_setup.bat
- ros2 topic list
-
- /parameter_events
- /rosout