ROS kinetic 安装 + 基于视觉的抓取仿真

写在前面:

因为各种问题需要重装系统,

比如为了rosdep update 竟然改了etc权限

比如胡乱新建了python3的软连接,

比如pip和pip3全部损坏

。。。。。。(心疼自己十秒)

重装系统装了10+次了,才想起来有备份这个东西。

如何将你的Ubuntu系统恢复到以前的状态

如何将你的Ubuntu系统恢复到以前的状态_dowemo的博客-CSDN博客_ubuntu恢复出厂设置

archlinux Timeshift系统备份与还原 - LzsCxb - 博客园

后来发现原来不用重装,执行命令就好了(我没试过)

Ubantu 16.04 restore 恢复出厂状态 - 知乎 (zhihu.com)

一, 安装:

1,教程

​​​​​​ubuntu16.04安装Ros(kinetic版本)【亲测好用】 - 久曲健 - 博客园 (cnblogs.com)https://www.cnblogs.com/longronglang/p/11386522.html

有个坑:

它里面的公钥不行:

换成

ROS入门教程-安装并配置ROS环境(Kinetic 版本) - 创客智造 (ncnynl.com)https://www.ncnynl.com/archives/201801/2273.html

第二个坑:

rosdep init 及update报错的解决办法汇总(亲测

rosdep init 及update报错的解决办法汇总(亲测)_LMR的技术小屋-CSDN博客_rosdep update报错https://blog.csdn.net/weixin_39730025/article/details/113348458

 或者用(个人感觉靠谱)

找不到 raw.githubusercontent.com 的服务器 IP 地址_DXY587542的博客-CSDN博客

在安装ros时,sudo rosdep init报错Website may be down的一种解决方法 - 知乎

ROS安装过程中如何解决 rosdep update 命令出现错误

ROS安装过程中如何解决 rosdep update 命令出现错误 - 知乎


第二个坑plus:

如果不行就用ssr

electron-ssr在ubuntu的使用 - cn_gzb - 博客园

 ubuntu electron-ssr 安装配置完成后无法上网问题解决 - jaycethanks - 博客园

ubuntu下使用ssr客户端

这是个管理节点的工具,节点需要自己买

如果这个electron-ssr不好使的话建议问一下你买节点的客服,推荐什么


番外:

GitHub - ermaozi/get_subscribe: ✈️ 免费机场 / 免费VPN -> 自动获取免 clash/v2ray/trojan/sr/ssr 订阅链接,间隔6小时持续更新 | 科学上网 | 翻墙


二创建工作空间:

ROS基础---创建工作空间

ROS学习--第3篇:ROS基础---创建工作空间_BIT王大东-CSDN博客_ros创建工作空间

 添加环境变量

ROS基础---创建ros工作空间、设置ros环境变量(四个方法)、创建ros功能包_李德龙杰的博客-CSDN博客


 

 三,正式进入项目

GitHub - Suyixiu/robot_sim: A ROS based Open Source Simulation Environment for Robotics Beginners

-3540:~/catkin_ws$ rosdep install --from-paths src --ignore-src --rosdistro=kinetic -y
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
dh_robotics_ag95_gazebo: Cannot locate rosdep definition for [effort_controllers]
yixiuge_ur10_moveit_config: Cannot locate rosdep definition for [moveit_setup_assistant]
ur10_moveit_config: Cannot locate rosdep definition for [moveit_simple_controller_manager]
ur5_moveit_config: Cannot locate rosdep definition for [moveit_simple_controller_manager]
rqt_easy_handeye: Cannot locate rosdep definition for [moveit_commander]
easy_handeye: Cannot locate rosdep definition for [visp_hand2eye_calibration]
roboticsgroup_gazebo_plugins: Cannot locate rosdep definition for [control_toolbox]
ur3_e_moveit_config: Cannot locate rosdep definition for [moveit_simple_controller_manager]
robot_sim: Cannot locate rosdep definition for [serial]
ur_kinematics: Cannot locate rosdep definition for [moveit_ros_planning]
dh_robotics_ag95_moveit_config: Cannot locate rosdep definition for [moveit_ros_visualization]
ur_e_gazebo: Cannot locate rosdep definition for [position_controllers]
ur10_e_moveit_config: Cannot locate rosdep definition for [moveit_simple_controller_manager]
ur_gazebo: Cannot locate rosdep definition for [position_controllers]
ur5_e_moveit_config: Cannot locate rosdep definition for [moveit_simple_controller_manager]
ur3_moveit_config: Cannot locate rosdep definition for [moveit_simple_controller_manager]

  缺什么包自己下

sudo apt-get install ros-你的ROS版本-你缺少的东西

注意: 如果发现无法定位软件包,看看是不是 ”_“没有写成”-“

完美解决:ERROR: the following packages/stacks could not have their rosdep keys resolvedto system depend_weixin_50518868的博客-CSDN博客

这是成功的样子:

一编译就出现很多问题。我决定放弃GPD 采用传统识别方法,另外,pcl也不需要了。

在得出结论之前遇到的:

问题1,

编译这个工作空间失败,cmake报错说:是由于 要求pcl版本1.9 而自带1.7的话,把cmakelist里面的gpd和pcl的都去掉

传统方法的话,就把gpd和pcl的东西去掉(看看哪里用到gpd和pcl的给注释掉,注释的地方建议打上自己的符号,提醒自己这里自己改过了,万一改错还能有退路)

 这是成功的样子。

  • 2
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值