-
Notifications
You must be signed in to change notification settings - Fork 636
[Draft] Support G1 Locomanip #758
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
base: master
Are you sure you want to change the base?
Conversation
| self.torques = None | ||
|
|
||
| # External torque compensation | ||
| self.external_torque_compensation = 0 |
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.
Sorry if I am missing something, but right now it looks like there isnt any way to pass in any custom value for external_torque_compensation right?
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.
G1 will use this flag to make sure that the gravity compensation is the same between sim and real.
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.
But how will you set the value of the flag? right now it seems like there is no way to pass in any values to the class?
|
|
||
| self.desired_torque_as_acceleration = kwargs.get("desired_torque_as_acceleration", True) | ||
| self.use_torque_compensation = kwargs.get("use_torque_compensation", True) | ||
| self.use_external_torque_compensation = kwargs.get("use_external_torque_compensation", False) |
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.
would it be possible to add in desired_torque_as_acceleration and use_external_torque_compensation as parameters instead of using the **kwargs?
What this does
How it was tested
The G1 locomanip repo will be open-sourced soon. It will include unit test for these features.