request for exposing joint current angle / linear distance #598
Replies: 4 comments 10 replies
-
I'm not sure I understand your use-case. If you know the angle/distance at which you want to limit the joint, why wouldn't you just set the actual limit of the joint to that value? Or do you not in fact know the angle/distance and you just want the joint to stop at some particular point regardless of what the angle/distance is? |
Beta Was this translation helpful? Give feedback.
-
Since you refered me here, I might add what my usecase is for having the same request: I have two rigid bodies joined by a 6DOF joint that is controlled (as you suggest in the previous responses to this) by the angular spring settings. This lets me position it exactly as I want. However, I am not able to "reset" the springs to a new resting point if the arm is moved by external forces. Therefore it would be nice to get the current offset or absolute angle for each joint axis so I can set the resting point of the springs to that angle, effectively removing all tension from the joint and stabilizing it in the current configuration. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Hi @mihe I'd like to unearth this discussion again. I might just be dense but from how I understand your responses the current angle on a joint axis is already exposed through the API. I can't figure out how. So if it's really already available, can you be specific about how to access this value, please? Just for context: I have pairs of joints that do a revolving motion and I want to synch them up. It's actually some kind of robotic creature with legs and I use the angular motor to turn them. It looks fun, but they are getting out of synch soon with just the ability to set a target velocity, but no feedback where they are at. |
Beta Was this translation helpful? Give feedback.
-
would it be much to ask that the angle / linear distance for the joints would be exposed
I currently see no way to have accurately stop a joint at a specific angle / distance
the only option i can think about is to motorize it for angle / velocity seconds
and after the time is up set the velocity to zero to so the motor would hold the position
but without setting a the limits to the current angle the motor might slip
and this is not as accurate as reading the angle / distance from the engine and then setting limits
or motorizing it in that direction for correction
Beta Was this translation helpful? Give feedback.
All reactions