镇江网站开发公司,做网站除了域名还需要什么,wordpress的替代,罗湖商城网站设计公司ros工程vscode下配置gdb的调试环境需要添加几个配置文件#xff0c;下面贴一下用得到的几个配置文件。
c_cpp_properties.json#xff0c;这个配置作用是方便代码跳转。
{configurations: [{browse: {databaseFilename: ${defau…ros工程vscode下配置gdb的调试环境需要添加几个配置文件下面贴一下用得到的几个配置文件。
c_cpp_properties.json这个配置作用是方便代码跳转。
{configurations: [{browse: {databaseFilename: ${default},limitSymbolsToIncludedHeaders: false},includePath: [/opt/ros/noetic/include/**,/usr/include/**],name: ROS,intelliSenseMode: gcc-x64,compilerPath: /usr/bin/gcc,cStandard: gnu11,cppStandard: c14}],version: 4
}备注需要在vscode中安装ROS插件。
launch.json
{// Use IntelliSense to learn about possible attributes.// Hover to view descriptions of existing attributes.// For more information, visit: https://go.microsoft.com/fwlink/?linkid830387version: 0.2.0,configurations: [{name: Ros Debug,request: launch,preLaunchTask: catkin_make: Debug,target: ${workspaceFolder}/xx.launch,launch: [rviz,gz,gzclient,gzserver],type: ros},{name: Ros RelWithDebInfo,request: launch,preLaunchTask: catkin_make: RelWithDebInfo,target: ${workspaceFolder}/xx.launch,launch: [rviz,gz,gzclient,gzserver],type: ros},{name: Ros Release,request: launch,preLaunchTask: catkin_make: Release,target: ${workspaceFolder}/xx.launch,launch: [rviz,gz,gzclient,gzserver],type: ros}]
}tasks.json
{version: 2.0.0,tasks: [{type: catkin_make_isolated,args: [-DCMAKE_EXPORT_COMPILE_COMMANDS1,--install,--use-ninja,--ignore-pkg,ms_lams,-DCMAKE_BUILD_TYPEDebug ],problemMatcher: [$catkin-gcc],group: {kind: build,isDefault: true},label: catkin_make: Debug},{type: catkin_make_isolated,args: [--install,--use-ninja,--ignore-pkg,ms_lams,-DCMAKE_BUILD_TYPERelWithDebInfo,-DCMAKE_EXPORT_COMPILE_COMMANDS1],problemMatcher: [$catkin-gcc],group: {kind: build,isDefault: true},label: catkin_make: RelWithDebInfo},{type: catkin_make_isolated,args: [--install,--use-ninja,--ignore-pkg,ms_lams, -DCMAKE_BUILD_TYPERelease,-DCMAKE_EXPORT_COMPILE_COMMANDS1 ],problemMatcher: [$catkin-gcc],group: {kind: build,isDefault: true},label: catkin_make: Release}]
}