当前位置:网站首页>Configure vscade to realize ROS writing
Configure vscade to realize ROS writing
2022-07-29 03:21:00 【Believe yourself!!!】
First step : Download the necessary plug-ins

The second step : Configure compilation shortcuts
Ctrl+Shift+B
First Ctrl+Shift+B Call up as shown in the following figure , Click again catkin_make:build The rear pinion will appear tasks.json file .

take tasks.json Replace the file with the following :

{
"version": "2.0.0",
"tasks": [
{
"label": "catkin_make: build",
"type": "shell",
"command":"catkin_make",
"args": [],
"group":{"kind": "build","isDefault": true},
"presentation": {
"reveal": "always",
},
"problemMatcher":"$msCompile"
}
]
}Shortcut keys can be achieved after saving Ctrl+Shift+B Compile .
The third step : Solve the problem that the code cannot be completed automatically
Start by opening c_cpp_properties.json file

Add the following to the file :
{
"configurations": [
{
"browse": {
"databaseFilename": "",
"limitSymbolsToIncludedHeaders": true
},
"includePath": [
"/home/zhangpeng/kinova_ws/devel/include/**",
"/home/zhangpeng/catkin_ws/devel/include/**",
"/opt/ros/kinetic/include/**",
"/home/zhangpeng/catkin_ws/src/aruco_ros/aruco/include/**",
"/home/zhangpeng/catkin_ws/src/aruco_ros/aruco_ros/include/**",
"/home/zhangpeng/KinectDK_ws/src/Azure_Kinect_ROS_Driver/include/**",
"/home/zhangpeng/kinova_ws/src/kinova-ros/kinova_moveit/inverse_kinematics_plugins/ikfast/j2n6s300_ikfast/include/**",
"/home/zhangpeng/kinova_ws/src/kinova-ros/kinova_moveit/inverse_kinematics_plugins/ikfast/j2s6s300_ikfast/include/**",
"/home/zhangpeng/kinova_ws/src/kinova-ros/kinova_moveit/inverse_kinematics_plugins/ikfast/j2s7s300_ikfast/include/**",
"/home/zhangpeng/catkin_ws/src/iai_kinect2/kinect2_bridge/include/**",
"/home/zhangpeng/catkin_ws/src/iai_kinect2/kinect2_calibration/include/**",
"/home/zhangpeng/catkin_ws/src/iai_kinect2/kinect2_registration/include/**",
"/home/zhangpeng/kinova_ws/src/kinova-ros/kinova_moveit/kinova_arm_moveit_demo/include/**",
"/home/zhangpeng/kinova_ws/src/kinova-ros/kinova_driver/include/**",
"/home/zhangpeng/catkin_wsone/src/learning_communication/include/**",
"/home/zhangpeng/kinova_ws/src/kinova-ros/kinova_moveit/inverse_kinematics_plugins/ikfast/m1n6s300_ikfast/include/**",
"/home/zhangpeng/catkin_ws/src/vision_visp/visp_bridge/include/**",
"/usr/include/**"
],
"name": "ROS",
"cppStandard": "c++17"
}
],
"version": 4
}The most important ones are these lines :
"cppStandard": "c++17"Then you can complete the code .
边栏推荐
- Unity game special effects
- Flask的创建的流程day05-06之创建项目
- Singleton and invariant modes of concurrent mode
- 美联储再加息,75基点 鲍威尔“放鸽”,美股狂欢
- 4000 多字学懂弄通 js 中 this 指向问题,顺便手写实现 call、apply 和 bind
- C和指针 第3章 语义“陷阱” 3.5 空指针并非字符串
- 军品技术文件划分及说明
- shell脚本总结
- [open the door to the new world] see how the old bird of testing plays API testing between applause
- C陷阱与缺陷 第3章 语义“陷阱” 3.9 整数溢出
猜你喜欢

Watermelon book learning Chapter 6 -- SVM

Flask creation process day05-06 creation project

【打开新世界大门】看测试老鸟如何把API 测试玩弄在鼓掌之间

A case of gradually analyzing the splitting of classes -- colorful ball collisions

mycat读写分离配置

Shell programming specifications and variables

今晚7:30 | 连界、将门、百度、碧桂园创投四位大佬眼中的AI世界,是继续高深还是回归商业本质?...

12_ UE4 advanced_ Change a more beautiful character model

Introduction to JVM foundation I (memory structure)

Tonight at 7:30 | is the AI world in the eyes of Lianjie, Jiangmen, Baidu and country garden venture capital continue to be advanced or return to the essence of business
随机推荐
Military product development process - transition phase
C traps and defects Chapter 3 semantic "traps" 3.2 pointers to non arrays
接口自动化测试实践指导(上):接口自动化需要做哪些准备工作
Makefile details
MySQL operation database data error: fatal error encoded during command execution
生产部署zabbix5.0笔记
Chapter 2 VRP command line
MySQL installation and configuration super detailed tutorial and simple database and table building method
数字图像处理 第10章——图像分割
C陷阱与缺陷 第3章 语义“陷阱” 3.9 整数溢出
【C】数组
原理知识用得上
Incremental real-time disaster recovery notes
Flask creation process day05-06 creation project
C陷阱与缺陷 第2章 语法“陷阱” 2.6 “悬挂”else引发的问题
04 | background login: login method based on account and password (Part 1)
July 28, 2022 Gu Yujia's study notes
C and pointer Chapter 3 semantic "trap" 3.5 null pointer is not a string
STC MCU drive 1.8 'TFT SPI screen demonstration example (including data package)
C traps and defects Chapter 2 syntax "traps" 2.6 problems caused by "hanging" else