[Draft] Support G1 Locomanip#758
Open
xieleo5 wants to merge 8 commits intoARISE-Initiative:masterfrom
Open
Conversation
Abhiram824
reviewed
Oct 17, 2025
| self.torques = None | ||
|
|
||
| # External torque compensation | ||
| self.external_torque_compensation = 0 |
Member
There was a problem hiding this comment.
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?
Contributor
There was a problem hiding this comment.
G1 will use this flag to make sure that the gravity compensation is the same between sim and real.
Member
There was a problem hiding this comment.
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?
Abhiram824
reviewed
Oct 17, 2025
|
|
||
| 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) |
Member
There was a problem hiding this comment.
would it be possible to add in desired_torque_as_acceleration and use_external_torque_compensation as parameters instead of using the **kwargs?
Abhiram824
reviewed
Oct 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this does
How it was tested
The G1 locomanip repo will be open-sourced soon. It will include unit test for these features.