当前位置:网站首页>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 .
边栏推荐
- A case of gradually analyzing the splitting of classes -- colorful ball collisions
- C traps and defects Chapter 2 syntax "traps" 2.6 problems caused by "hanging" else
- STC MCU drive 1.8 'TFT SPI screen demonstration example (including data package)
- Server operation management system
- What is eplato cast by Plato farm on elephant swap? Why is there a high premium?
- Shell编程规范与变量
- C陷阱与缺陷 第3章 语义“陷阱” 3.8 运算符&&、||和!
- 3D高级渲染器:Artlantis studio 2021.2中文版
- Introduction and advanced level of MySQL (12)
- 力扣刷题之分数加减运算(每日一题7/27)
猜你喜欢

「PHP基础知识」输出圆周率的近似值

力扣刷题之分数加减运算(每日一题7/27)

How to solve the time zone problem in MySQL timestamp

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

What is SOA (Service Oriented Architecture)?

数字图像处理 第10章——图像分割

Verilog:阻塞赋值和非阻塞赋值

How does DataGrid export and recover the entire database data, using a single SQL file

Digital image processing Chapter 10 - image segmentation

Rongyun IM & RTC capabilities on new sites
随机推荐
GJB common confused concepts
Unity 之游戏特效
Introduction and advanced level of MySQL (11)
Reproduce 20 character short domain name bypass and XSS related knowledge points
C语言基础知识点汇总
MYSQL入门与进阶(十四)
单例模式(饿汉式 懒汉式)
Redis配置缓存过期监听事件触发
2022-07-28 第四小组 修身课 学习笔记(every day)
How dare you write a resume that is proficient in concurrent programming? Why do you use a two-way linked list in AQS?
【打开新世界大门】看测试老鸟如何把API 测试玩弄在鼓掌之间
反脆弱·从不确定性中获益---管理?
Redis configuration cache expiration listening event trigger
照片比例校正工具:DxO ViewPoint 3 直装版
2022-07-28 顾宇佳 学习笔记
Producer consumer model of concurrent model
MYSQL入门与进阶(十三)
[open the door to the new world] see how the old bird of testing plays API testing between applause
正则表达绕过waf
Typescript学习(一)