Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to detach #15

Open
SaailN opened this issue Jan 27, 2021 · 3 comments
Open

Not able to detach #15

SaailN opened this issue Jan 27, 2021 · 3 comments

Comments

@SaailN
Copy link

SaailN commented Jan 27, 2021

I wanted to create a temporary joint with respect to ground. So using gazebo_ros_link_attacher I was able to attach model object with ground(world model) but not able to detach it.

@TheRealTechWiz
Copy link

Any updates?
rosservice call /link_attacher_node/attach "model_name_1: 'unit_box_1'
link_name_1: 'link'
model_name_2: 'unit_sphere_1'
link_name_2: 'link'"
Above script does work for attaching the object to ground.
rosservice call /link_attacher_node/detach "model_name_1: 'unit_box_1'
link_name_1: 'link'
model_name_2: 'unit_sphere_1'
link_name_2: 'link'"
But this script fails to detach the object from the ground.

@Lincoln-Boer
Copy link

Lincoln-Boer commented Oct 14, 2021

I was facing a similar problem earlier while trying to attach a tool to a support and, after some time, position the robot correctly, attach the tool to the robot and finally detach from the support. I only figured it out because the tool would detach from the robot correctly but not from the support, so the problem was that the support was a static model. After setting static to false in the sdf of the support, everything worked.

I guess the world is also a fixed model, therefore a possible solution would be to attach the model to a not static object. It could be a small box with a huge mass, so it would probably not move and not even being seen depending on where you put it.

@awesomebytes
Copy link
Collaborator

awesomebytes commented Oct 15, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants