barrett bh8-282 ros gazebo 仿真

git上下载

git clone https://github.com/RobotnikAutomation/barrett_hand_sim

编译后,你会发现报错“robot_description”没找到

在src 下

git clone  https://github.com/RobotnikAutomation/barrett_hand_common.git
catkin_make
. devel/setup.bash

运行仿真

 roslaunch barrett_hand_gazebo barrett_hand.launch

这里写图片描述
话题列表

/bh_j11_position_controller/command
/bh_j12_position_controller/command
/bh_j22_position_controller/command
/bh_j32_position_controller/command
/clock
/gazebo/link_states
/gazebo/model_states
/gazebo/parameter_descriptions
/gazebo/parameter_updates
/gazebo/set_link_state
/gazebo/set_model_state
/joint_states
/rosout
/rosout_agg
/tf
/tf_static

怎么发命令呢?
Publish topics to control the hand:

rostopic pub /bh_j11_position_controller/command std_msgs/Float64 ‘desired_angle’
rostopic pub /bh_j11_position_controller/command std_msgs/Float64 ‘0.5’
rostopic pub /bh_j12_position_controller/command std_msgs/Float64 “data: 1.2”

Controller list:

bh_j11_position_controller -> spread DoF

bh_j12_position_controller -> finger 1 grasp

bh_j22_position_controller -> finger 2 grasp

扫描二维码关注公众号,回复: 11434274 查看本文章

bh_j32_position_controller -> finger 3 grasp

这个包有问题,spread运动时,只有F1滑动,F2没动
这里写图片描述

下面也是一个仿真包

https://github.com/kuri-kustar/barrett_hand.git

编译后,你估计会出错,请移除里面hardware部分,重新编译
这里写图片描述

roslaunch barrett_hand_config demo.launch
在下方的motionplaning 第二个标签页中点击执行。
包含了对该手的运动规划(很好的材料,我居然消化不了)

猜你喜欢

转载自blog.csdn.net/qq_35508344/article/details/78765192