-
Notifications
You must be signed in to change notification settings - Fork 0
Add C. elegans environment #11
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
Open
aaprasad
wants to merge
58
commits into
main
Choose a base branch
from
aadi/celegans
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
…ayground interface. Status: `step` and `reset` runs without throwing errors, but needs to be validated. Some reward terms not yet implemented.
A number of changes to make the environment more compatible with jitting and with the Brax wrappers. Also updated default parameters to be similar to track-mjx defaults.
…y from "torso" to "walker".
This reverts commit 6a5e010820f24759da428fa3520b39b6182201be.
…flatten arg in `_get_joint_ang_vels`
add arg to put ghost in env fix imitation env to work w track_mjx ppo logic
* make rewards true gaussian kernels * return sigmas for reward terms
* implement `inplace` option for ghost rendering * add model component names as configurables * add kinematic sensors to proprioception
* allow reset from user defined clip/frame * switch quat reward to degrees * add render function * remove unused Imitation2d env (Imitation env is now compatible w 2d)
use suffix for camera name in renderer add better exception warnings
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.
Given that Caenorhabditis elegans (C. Elegans) is a standard model organism in neuroscience due to its static, well mapped out connectome and other molecular maps along with fine grained molecular control and a rich behavioral repetoire, it would be nice for mimic-mjx to support it. Here we integrate a c.elegans body model that has been adapted from the code for Chen et al, Mathematics, 2023. This body model is based on the swimmer model from gym and contains 25 body segments with 24 joints that are actuated by 95 muscles. Each joint is actuated by 4 muscles except for the last segment which is only actuated by 3. The length of the model is about 1mm.