-
Beta Was this translation helpful? Give feedback.
Answered by
noelex
Apr 5, 2023
Replies: 1 comment 1 reply
-
You need to source If you would like to debug the project in Visual Stuidio, you can modify For example: {
"profiles": {
"Foxy": {
"commandName": "Project",
"environmentVariables": {
"ROS_DISTRO": "foxy",
"ROS_LOCALHOST_ONLY": "0",
"ROS_PYTHON_VERSION": "3",
"ROS_VERSION": "2",
"PATH": "D:/sdk/ros/foxy/bin;C:/Program Files/OpenSSL-Win64/bin;C:/ProgramData/chocolatey/lib/tinyxml2/lib",
"AMENT_PREFIX_PATH": "D:/sdk/ros/foxy"
}
}
}
} Note: Change the paths to match your system's setup. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kinrep71
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to source
setup.bat
of the ROS distro you wish to use before running the application.If you would like to debug the project in Visual Stuidio, you can modify
launchSettings.json
to manually setup ROS environment variables.For example:
Note: Change the paths to match your system…