Open osrf-migration opened 10 years ago
Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).
Per discussion with @nkoenig and @spaepcke we will do this in small steps. Potentially something like below:
Some other things to think about:
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
Couldn't we just enable the GUI move/rotate tools for individual links? We are now able to select links by clicking twice on a link. Also, publishing to the ~/model/modify
topic can set link poses (see PhysicsMsgsTest::LinkPose). It seems like it would be straightforward to adjust the ModelManipulator
to act on a link if it is selected. What do you think @chapulina and @iche033 ?
Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).
I think right now the ~/model/modify
message is only published when the manipulation tool is released, this means the link would get detached from the model while being pulled.
This is probably done for performance issues, I can imagine it being very laggy if we're sending messages back and forth from the server for each pixel the mouse moves?
For the physics side, I'm not sure what happens when you set the position for a link, would it pull the whole model towards it, would the model fight back? I can imagine things snapping in weird directions.
I can enable it in a branch and we see what actually happens.
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
My primary motivation for this is models like the block stack that consist of multiple links that are not connected by joints. So if you move one of those, it will not directly affect any other links, except by contact.
It might be weird to move links that are connected with joints, but that's not my primary use case at the moment.
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
I think @hsu implemented PID control since it seemed tractable to implement? Or maybe it would play more nicely with links that have connecting joints?
Original report (archived issue) by John Hsu (Bitbucket: hsu, GitHub: hsu).
Add ability to manipulate a link through GUI control.
See demo video of link manipulation and this demo video.