robot_sim配置

robot_sim
https://github.com/Suyixiu/robot_sim 的issue
https://www.bilibili.com/video/BV19f4y1h73E/ 下评论
文件来源
在这里插入图片描述

其余克隆

基于几何的抓取

banana不显示
在这里插入图片描述

解决参考
https://github.com/Suyixiu/robot_sim/issues/2 (项目配置主要参考)

abort问题解决同样参考该网址
在这里插入图片描述

如果还无再试https://blog.csdn.net/qq_44642372/article/details/123935071
来自上github网址

双击第一个单选框无反应
解决参考https://blog.csdn.net/qq_38620941/article/details/125321347

(里面所有链接所涉及的安装配置基本都试了)

下评论
在这里插入图片描述

几何抓取需要改得应该只有main和recongnize

在这里插入图片描述

基于几何学习的抓取实验
roslaunch robot_sim grasp_world.launch

rosrun robot_sim geometric_method_grasp

对wooden_peg ERROR
https://blog.csdn.net/qq_38620941/article/details/125321347

不要忘了把循环下次数改为4

在这里插入图片描述

catkin_make 生效!

点击两下第一个按钮自动执行,成功!

现有问题geometry_grasp图相加载不出来
c++标定已做,python未
深度图配准失败

基于深度学习的抓取

关于编译
在这里插入图片描述

问题,将ROS_ERROR(“lookupTransform world to yixiuge_ee_link faild”, ex.what()

改为ROS_ERROR(“lookupTransform world to yixiuge_ee_link failed: %s”, ex.what());

参考gpt

在这里插入图片描述

优化代码部分为(可能没什么用)

tf::TransformListener listener;
tf::StampedTransform world2tool;

ros::Duration timeout(1.0); // 设置等待超时时间

try {
    listener.waitForTransform("/world", "/yixiuge_ee_link", ros::Time(0), timeout);
    listener.lookupTransform("/world", "/yixiuge_ee_link", ros::Time(0), world2tool);

    printf("world2tool %f  %f  %f  %f  %f  %f %f\n", 
        world2tool.getOrigin().x(), world2tool.getOrigin().y(), world2tool.getOrigin().z(),
        world2tool.getRotation().getX(), world2tool.getRotation().getY(), world2tool.getRotation().getZ(), world2tool.getRotation().getW());
} catch (tf::TransformException &ex) {
    ROS_ERROR("%s", ex.what());
    ROS_ERROR("lookupTransform world to yixiuge_ee_link failed", ex.what());
}
roslaunch robot_sim grasp_world.launch
roslaunch robot_sim gpd_run.launch type:=2 topic:=/cloud_sample
rosrun robot_sim GPD_method_grasp
没有进conda环境,开了梯子,用vscode终端运行的

在这里插入图片描述

参考https://blog.csdn.net/qq_38620941/article/details/125321347

在这里插入图片描述

更改gpd_run.launch 中的config_file为ros_eigen_params.cfg ,不改会出现world问题

在这里插入图片描述

更改里面的参数按照eigen_param.cfg ,每一个相同的参数,

更改ros_eigen_params.cfg中的weights_file路径为你的gpd中的

参考https://github.com/atenpas/gpd_ros/issues/12

在这里插入图片描述

在新弹出的Normal框中按q,再新弹出的grasp candidates中按q,在selected grasps中按q,看到rosrun robot_sim GPD_method_grasp这个窗口出现receive grasp,就可以按照视频过程点击两下good grasp实现抓取!!!!!!!!

依然会出现

在这里插入图片描述

有时候可能是路径规划有问题,有动作但没有抓取成功

验证你的gpd是否安装成功,

在这里插入图片描述

在新弹出的Normal框中按q,再新弹出的grasp candidates中按q,在selected grasps中按q,结束,不报错。

相关链接,及一些可能没有用的步骤

https://blog.csdn.net/qq_44876051/article/details/112370423

https://blog.csdn.net/qq_33328642/article/details/122267004

sudo -H pip3 install -U transforms3d(参考https://blog.csdn.net/qq_38620941/article/details/125321347下评论)

在这里插入图片描述

在这里插入图片描述

相关推荐

  1. Git<span style='color:red;'>配置</span>

    Git配置

    2024-01-13 00:02:06      64 阅读
  2. Redisson配置

    2024-01-13 00:02:06       60 阅读
  3. nginx配置

    2024-01-13 00:02:06       62 阅读
  4. VLAN配置

    2024-01-13 00:02:06       55 阅读
  5. XMLParser配置

    2024-01-13 00:02:06       57 阅读
  6. Redis 配置

    2024-01-13 00:02:06       49 阅读
  7. NAT<span style='color:red;'>配置</span>

    NAT配置

    2024-01-13 00:02:06      62 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-01-13 00:02:06       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-01-13 00:02:06       106 阅读
  3. 在Django里面运行非项目文件

    2024-01-13 00:02:06       87 阅读
  4. Python语言-面向对象

    2024-01-13 00:02:06       96 阅读

热门阅读

  1. C++(20):普通函数的参数使用auto声明

    2024-01-13 00:02:06       61 阅读
  2. Halcon经典的边缘检测算子Sobel/Laplace/Canny

    2024-01-13 00:02:06       73 阅读
  3. 【力扣每日一题】力扣447回旋镖的数量

    2024-01-13 00:02:06       56 阅读
  4. UR5机械臂控制

    2024-01-13 00:02:06       59 阅读
  5. tcp 的四次挥手

    2024-01-13 00:02:06       61 阅读
  6. tcp的三次握手

    2024-01-13 00:02:06       56 阅读
  7. 1.5如何用命令得到自己的ip<本地>

    2024-01-13 00:02:06       59 阅读