-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add Oberon7 arm and gripper #72
Conversation
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Ian Chen <ichen@osrfoundation.org>
Signed-off-by: Ian Chen <ichen@osrfoundation.org>
Signed-off-by: Ian Chen <ichen@osrfoundation.org>
Signed-off-by: Ian Chen <ichen@osrfoundation.org>
Signed-off-by: Ian Chen <ichen@osrfoundation.org>
Signed-off-by: Ian Chen <ichen@osrfoundation.org>
Signed-off-by: Ian Chen <ichen@osrfoundation.org>
Signed-off-by: Ian Chen <ichen@osrfoundation.org>
Signed-off-by: Ian Chen <ichen@osrfoundation.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm following your instructions but I don't see the arm mounted in the USV when I run: ros2 launch mbzirc_ign spawn.launch.py name:=usv world:=simple_demo model:=usv type:=usv x:=15 y:=0 z:=0.3 R:=0 P:=0 Y:=0 arm:=mbzirc_oberon7_arm gripper:=mbzirc_oberon7_gripper
mbzirc_ign/src/mbzirc_ign/bridges.py
Outdated
gripper_prefix = f'/world/{world_name}/model/{model_name}/model/arm/model/gripper' | ||
return Bridge( | ||
ign_topic=f'{gripper_prefix}/joint_state', | ||
ros_topic='/joint_states', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just checking, should this topic be the same as the one used for the arm joint states?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've seen both cases before:
/joint_states
/<namespace>/joint_states
I think other packages like moveit subscribes to /joint_states
by default but can be configured to subscribe to namespaced topics.
I changed to the form /<namespace>/joint_states
for the arm and gripper in 00ed7c1. It's now:
/usv/arm/joint_states
/usv/arm/gripper/joint_states
The user can remap them back to /joint_states
if they wish.
Forget this comment, I can see the arm now after cleaning and rebuilding. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fingers of the gripper start completely closed. I can open the fingers but I can't close them entirely anymore.
hmm I'm trying to reproduce this. Here's what I'm doing but I see that the fingers are able to close. What are the joint cmds you're using?
|
Works for me as well. It was doing it in the wrong way. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready to approve, just a minor question about the joint states from the gripper.
Signed-off-by: Ian Chen <ichen@osrfoundation.org>
Replaces #68
Depends on gazebosim/gz-sim#1405 and gazebosim/gz-sim#1406
Ported and integrated the oberon7 arm from DAVE / UUV simulator. The arm and gripper model.sdf files are generated using urdf files from:
https://github.com/Field-Robotics-Lab/uuv_manipulators/tree/master/oberon7/oberon7_description
https://github.com/Field-Robotics-Lab/dave/tree/master/urdf/manipulators/dave_oberon7_description
The spawn launch file is updated to take two additional arguments:
arm
andgripper
to specify the arm and gripper model to use. Currently we only have one arm but we will need be able to swap out the oberon7 gripper with the suction gripper from #63.The arm must be spawned with the usv. Currently it only has one mounting position on the usv for the arm. More maybe added in the future.
Usage:
Try publishing topics to control the arm and gripper joints:
You can also echo the joint states
Here's the tf tree: