Moveit2 isntall ————galactic version

1.Install ROS2_galactic
https://docs.ros.org/en/galactic/Installation/Ubuntu-Install-Debians.html
Use ubuntu20.4 can use this illustration Installing ROS 2 via Debian Packages
attention
you will meet the problem to visit https://raw.githubusercontent.com/ros/rosdistro/master/ros.key,“can’t connetct”,you can and prefix https://

2.Install Moveit2 !
https://moveit.picknik.ai/galactic/doc/tutorials/getting_started/getting_started.html this website i used is can be true
attention
1.if you can’t download git clone ,please add that prefixhttps://
2.vcs import < moveit2_tutorials/moveit2_tutorials.reposthis is a big problem
you should find this file called _.repos,and change the website address +prefix like before, and you will meet the next problem You are in ‘detached HEAD ,you should create a new branch (now i don’t know the mean) ,just rungit switch -c <new name > and run again this code .
3. run this rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -ycode ,you maybe can’t success , you can change the “rosdep” to “rosdepc”,if you don’t install it just visit this websitehttps://zhuanlan.zhihu.com/p/398754989.
4.the vety difficult thing is coming, run colcon build --mixin release,i use the “VMware”,so it so slow to finish it and you will meet stop the process,you should rerun this code again and again,finally, you will success

  1. the official website said the setuo.sh in source ~/ws_moveit2/install/setup.bash,but i am in source ~/ws_moveit2/src/install/setup.bash,i don’t konw why ,but it’s ok ,we should compile it in our bashrcecho 'source ~/ws_moveit2/src/install/setup.bash' >> ~/.bashrc
    6.now,you frist source ros2 and sorce moveit2 ,and run ros2 launch moveit2_tutorials demo.launch.py rviz_tutorial:=true you will success!!!加粗样式
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值