-
Notifications
You must be signed in to change notification settings - Fork 286
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
getForces #569
Comments
I'll have to ask a few questions in order to help you debug your situation.
|
DART directly.
I am using
Yes, I have a floor. I found 2 possible solutions:
But I am getting different results. With the first solution I am getting 0 force for the first 6 DOF (6d pose), which makes sense, whereas with the second one I am not. What should I use? |
To make it more clear:
|
You'll almost certainly want to use the first solution, because that will accurately represent the joint forces that were present during the simulation. The default behavior for step is to reset all the joint commands (which may include joint forces) to zero so that your system is passive by default. To ensure that you get the joint forces after a step is complete, you'll want to pass in false. At that point, there should be no need to call |
Thank you very much! Once again you've been very helpful. |
Hi @costashatz, I have similar problem with you. Could you please help me? I am always getting zeros. I have a skeleton and I want to read forces by skeleton for two nodes and one joint.
This is my way to read forces in Joint1: |
Hello,
I am simulating a hexapod robot (18dof). I want to get my robot's force readings on every joint. I tried using the following:
velocity
orforce
actuatorsgetForces
getForce
None of them seem to work. I am getting all zeros. Any ideas?
The text was updated successfully, but these errors were encountered: