当前位置:网站首页>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 .
边栏推荐
- Introduction to JVM foundation I (memory structure)
- 简历竟然敢写精通并发编程,那你说说AQS为什么要用双向链表?
- Calculation of array serial number of force deduction questions (daily question 7/28)
- 【C】 Array
- Singleton mode (hungry and lazy)
- Shell编程规范与变量
- 增量实时灾备笔记
- STC单片机驱动1.8‘TFT SPI屏幕演示示例(含资料包)
- 12_ UE4 advanced_ Change a more beautiful character model
- 04 | background login: login method based on account and password (Part 1)
猜你喜欢

【C】数组

【科技1】

简历竟然敢写精通并发编程,那你说说AQS为什么要用双向链表?

Apache文件管理自学笔记——映射文件夹和基于单ip多域名配置apache虚拟机

Reproduce 20 character short domain name bypass and XSS related knowledge points

How dare you write a resume that is proficient in concurrent programming? Why do you use a two-way linked list in AQS?

Redis configuration cache expiration listening event trigger

Digital image processing Chapter 10 - image segmentation

美联储再加息,75基点 鲍威尔“放鸽”,美股狂欢

2022-07-28 第四小组 修身课 学习笔记(every day)
随机推荐
一种简单通用的获取函数栈空间大小的方法
Flask的创建的流程day05-06之创建项目
C traps and defects Chapter 3 semantic "traps" 3.9 integer overflow
Shell script summary
多行文本省略
Unity game special effects
Typescript学习(一)
makefile详解
年内首个“三连跌” 95号汽油回归“8元时代“
LeetCode 1331 数组序号转换[Map] HERODING的LeetCode之路
[freeswitch development practice] unimrcp compilation and installation
01-sdram: Code of initialization module
Typescript learning (I)
Production deployment zabbix5.0 notes
Data truncation and estimation
What is eplato cast by Plato farm on elephant swap? Why is there a high premium?
原理知识用得上
军品研制过程-转阶段
Web uploader cannot upload multiple files
How to deploy sentinel cluster of redis