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

Revision history [back]

If you look at the ROS on Windows installation in step 6: http://wiki.ros.org/Installation/Windows

C:\Windows\System32\cmd.exe /k "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64&& set ChocolateyInstall=c:\opt\chocolatey&& c:\opt\ros\noetic\x64\setup.bat

It's calling for 2 .bat files, you can add your .bat file to this startup script by adding && then the name the path of your .bat file.

To learn how to create .bat file, check this tutorial: https://www.makeuseof.com/tag/write-simple-batch-bat-file/

Then you can add export TURTLEBOT3_MODEL=waffle so you don't have to do it in every terminal.

If you look at the ROS on Windows installation in step 6: http://wiki.ros.org/Installation/Windows

C:\Windows\System32\cmd.exe /k "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64&& set ChocolateyInstall=c:\opt\chocolatey&& c:\opt\ros\noetic\x64\setup.bat

It's calling for 2 .bat files, you can add your .bat file to this startup script by adding && && then the name the path of your .bat file.

To learn how to create .bat file, check this tutorial: https://www.makeuseof.com/tag/write-simple-batch-bat-file/

Then you can add export set TURTLEBOT3_MODEL=waffle so you don't have to do it in every terminal.