ROS(十五): 手眼标定(一)

1、克隆源码

​git clone GitHub - HenryWJL/hand_eye_calibration

2、编译

catkin_make

3、添加路径

如何添加路径查看这篇文章

4、启动相机

如何安装相机ROS驱动查看这篇文章

roslaunch realsense2_camera rs_camera.launch

5、启动标定板

 如何安装标定板ROS驱动查看这篇文章

roslaunch hand_eye_calibration aruco_single_start.launch

6、启动机器人

 如何安装机器人ROS驱动查看这篇文章

roslaunch hand_eye_calibration robot_start.launch

7、启动标定

rosrun hand_eye_calibration hand_to_eye_calib.py

 (1)报错:

解决:

勾选执行文件

(2)报错:

解决:

  • 使用VIM打开文本
  • :set ff 然后回车,我这个文件显示为dos格式。
  • :set ff=unix 回车,设置为unix格式。
  • :wq

(3)报错:

解决:

pip3 install numpy  -i https://pypi.tuna.tsinghua.edu.cn/simple

(4)报错:

解决:

pip3 install opencv-python==4.2.0.32 -i https://pypi.tuna.tsinghua.edu.cn/simple --verbose

(5)报错:

解决:

pip3 install scikit-build -i https://pypi.tuna.tsinghua.edu.cn/simple --verbose

(6)报错:

解决:

 pip3 install transforms3d -i https://pypi.tuna.tsinghua.edu.cn/simple

(7)报错:

解决:

8、启动机器人之后,打开新终端输入

rostopic info /robot_driver/tool_point

注意:

机器人位姿使用哪种就使用哪个

查看消息类型和内容的指令:

//查询话题类型
rostopic info /robot_driver/tool_point
//查询话题内容
rostopic echo /robot_driver/tool_point

9、启动手眼标定

rosrun hand_eye_calibration hand_to_eye_calib.py

  • 0
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 4
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

宸静

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值