写在前面:
因为各种问题需要重装系统,
比如为了rosdep update 竟然改了etc权限
比如胡乱新建了python3的软连接,
比如pip和pip3全部损坏
。。。。。。(心疼自己十秒)
重装系统装了10+次了,才想起来有备份这个东西。
如何将你的Ubuntu系统恢复到以前的状态
如何将你的Ubuntu系统恢复到以前的状态_dowemo的博客-CSDN博客_ubuntu恢复出厂设置
archlinux Timeshift系统备份与还原 - LzsCxb - 博客园
后来发现原来不用重装,执行命令就好了(我没试过)
Ubantu 16.04 restore 恢复出厂状态 - 知乎 (zhihu.com)
一, 安装:
1,教程
有个坑:
它里面的公钥不行:
换成
ROS入门教程-安装并配置ROS环境(Kinetic 版本) - 创客智造 (ncnynl.com)https://www.ncnynl.com/archives/201801/2273.html
第二个坑:
rosdep init 及update报错的解决办法汇总(亲测
或者用(个人感觉靠谱)
找不到 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不好使的话建议问一下你买节点的客服,推荐什么
番外:
二创建工作空间:
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版本-你缺少的东西
注意: 如果发现无法定位软件包,看看是不是 ”_“没有写成”-“
这是成功的样子:
一编译就出现很多问题。我决定放弃GPD 采用传统识别方法,另外,pcl也不需要了。
在得出结论之前遇到的:
问题1,
编译这个工作空间失败,cmake报错说:是由于 要求pcl版本1.9 而自带1.7的话,把cmakelist里面的gpd和pcl的都去掉
传统方法的话,就把gpd和pcl的东西去掉(看看哪里用到gpd和pcl的给注释掉,注释的地方建议打上自己的符号,提醒自己这里自己改过了,万一改错还能有退路)
这是成功的样子。