当前位置:网站首页>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 .
边栏推荐
- Shell编程规范与变量
- Server operation management system
- Alibaba Sentinel - 工作流程及原理解析
- Learn more than 4000 words, understand the problem of this pointing in JS, and handwrite to realize call, apply and bind
- C traps and defects Chapter 2 syntax "traps" 2.6 problems caused by "hanging" else
- 逐步分析类的拆分之案例——五彩斑斓的小球碰撞
- Introduction and advanced level of MySQL (11)
- makefile详解
- What is SOA (Service Oriented Architecture)?
- C陷阱与缺陷 第3章 语义“陷阱” 3.4 避免“举偶法”
猜你喜欢

【科技1】

Self study notes on Apache file management -- mapping folders and configuring Apache virtual machines based on single IP and multi domain names

How to deploy sentinel cluster of redis

Verilog: blocking assignment and non blocking assignment

复现20字符短域名绕过以及xss相关知识点

3D advanced renderer: artlandis studio 2021.2 Chinese version

Alibaba Sentinel - 工作流程及原理解析

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

Unity game special effects

A case of gradually analyzing the splitting of classes -- colorful ball collisions
随机推荐
Singleton and invariant modes of concurrent mode
Leetcode 1331 array sequence number conversion [map] the leetcode path of heroding
Multi table (Association) query of SQL query data
Example analysis of while, repeat and loop loops in MySQL process control
ShardingSphere之水平分表实战(三)
12_ UE4 advanced_ Change a more beautiful character model
Regular expression bypasses WAF
【打开新世界大门】看测试老鸟如何把API 测试玩弄在鼓掌之间
MYSQL入门与进阶(十二)
C陷阱与缺陷 第2章 语法“陷阱” 2.6 “悬挂”else引发的问题
How dare you write a resume that is proficient in concurrent programming? Why do you use a two-way linked list in AQS?
正则表达绕过waf
How close can QA be to business code Direct exposure of defects through codediff
01-sdram: Code of initialization module
C obtains JSON format data asynchronously from the web address
逐步分析类的拆分之案例——五彩斑斓的小球碰撞
生产部署zabbix5.0笔记
C and pointer Chapter 3 semantic "trap" 3.5 null pointer is not a string
What if MySQL forgets the password
Typescript学习(一)