Skip to content
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

Add 3CC-r fatigue model #172

Merged
merged 36 commits into from
May 13, 2024
Merged

Add 3CC-r fatigue model #172

merged 36 commits into from
May 13, 2024

Conversation

Vittorio-Caggiano
Copy link
Collaborator

No description provided.

Vittorio-Caggiano and others added 30 commits December 28, 2023 16:32
… evalution; added some read-only attributes (in preparation of fatigue tutorial); added seed to CumulativeFatigue class
…atibility with MuJoCo 3 (where mujoco.mjtDyn.mjDYN_MUSCLE is 4 rather than 3)
Updating & Testing 3CC-r Fatigue Model
fatigue tutorial: outputs cleaned
self.seed(seed) # Create own Random Number Generator (RNG) used when reset is called with fatigue_reset_random=True
### NOTE: the seed from CumulativeFatigue is not synchronised with the seed used for the rest of MujocoEnv!

def set_FatigueCoefficient(self, F):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a bit overkill maybe?

self.np_random, seed = gym.utils.seeding.np_random(seed)
return [seed]

@property
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

@Vittorio-Caggiano Vittorio-Caggiano removed the request for review from vikashplus May 13, 2024 22:37
@Vittorio-Caggiano Vittorio-Caggiano merged commit 66c51b5 into main May 13, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants