在viscode扩展里搜索ros安装ros插件(自带c++和python)
搜索camke并安装 这是ros的编译器
ctrl+shift+b
快捷键来实现catkin_make 无需在终端输入
在{}tasks.json文件 修改
"group":{ "kind":"build","isDefault": true},
mkdir catkin_ws2
cd catkin_ws2
mkdir src
cd src
git clone https://github.com/6-robot/wpr_simulation.git(不行就用这个git clone https://mirror.ghproxy.com/https://github.com/6-robot/wpr_simulation.git)
然后cd catkin_ws2
catkin_make
后面在将参数放到系统环境里去
source命令
或者ctrl+h
source ~/catkin_ws2/devel/setup.bash
然后试验下
roslaunch wpr_simulation wpb_simple.launch
rosrun rqt_robot_steering rqt_robot_steering
git clone https://github.com/ros/ros_tutorials.git