使用vscode调试ros
https://blog.csdn.net/u012254599/article/details/106143540/
CMakeLists.txt
set(CMAKE_BUILD_TYPE "RelWithDebInfo")
单独文件调试
launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "ROS: Attach",
"request": "attach",
"type": "ros"
}
]
}
launch文件调试
launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "ROS: Launch",
"type": "ros",
"request": "launch",
"target": "/home/penuel/ros_test/src/grid_path_searcher/launch/demo.launch"
}
]
}