ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version | answered 2019-04-19 15:43:06 -0500 Anonymous |
The solution I found was to type the following at the command line from my ROS shortcut:
choco upgrade ros-melodic-desktop -y
choco upgrade ros-melodic-desktop_full -y
For reference, the shortcut target is:
C:\Windows\System32\cmd.exe /k "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 && c:\opt\ros\melodic\x64\setup.bat
I'm not sure if only one of those commands was needed, but I ran both. After that I appended the location of my workspace batch file to the shortcut target listed above:
&& %USERPROFILE%\catkin_ws\devel\setup.bat
Doing these things gave me access to the normal ROS syntax (rospack, rosrun, etc.) for my packages. Please note that you have to use the shortcut to open your command line window in order for it to work.
2 | No.2 Revision |
The solution I found was to type the following at the command line from my ROS shortcut:
choco upgrade ros-melodic-desktop For reference, the shortcut target is:
C:\Windows\System32\cmd.exe /k "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 && I'm not sure if only one of those commands was needed, but I ran both. After that I appended the location of my workspace batch file to the shortcut target listed above:
&& Doing these things gave me access to the normal ROS syntax (rospack, rosrun, etc.) for my packages. Please note that you have to use the shortcut to open your command line window in order for it to work.