-
Notifications
You must be signed in to change notification settings - Fork 47
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
Added example to explore an initial population of individuals #579
Merged
Conversation
This file contains 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
Contributor
andresgr96
commented
Sep 27, 2024
•
edited
Loading
edited
- Added possibility of visualization of the genotype to phenotype body mapping
- Added a new example to learn how to fetch morphological traits of individuals
- Added calculation of population diversity using Euclidean distance of morphological traits
- Added calculation of population diversity using the edit-tree distance of morphological traits
- Fixed an error occurring from manually closing the simulation while the framework still tried to render the scene
- Removed hidden units from the multineat generating the initial genotypes that seemed to be causing bias towards already picked modules (temporal fix, will need more study)
- Corrected some incorrect measures for v2 body
* renamed ci-group folder, updated docs and first example * Fix texture type bug: the texture/type attribute expects a string, not an integer * Reformat the strings with double quotes * Fix the format * Remove the unused method --------- Co-authored-by: Andres <[email protected]> Co-authored-by: Ting-Chia Chiang <[email protected]>
…he bodies to jolt in their initial state
…er the renderer was manually closed
JedMuff
requested changes
Oct 1, 2024
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.
Great work. I spotted a few things that I think should change though. Let's discuss when you get chance to read them.
examples/3_experiment_foundations/3e_explore_initial_population/README.md
Outdated
Show resolved
Hide resolved
modular_robot/revolve2/modular_robot/body/v2/_active_hinge_v2.py
Outdated
Show resolved
Hide resolved
simulators/mujoco_simulator/revolve2/simulators/mujoco_simulator/_control_interface_impl.py
Outdated
Show resolved
Hide resolved
standards/revolve2/standards/genotypes/cppnwin/modular_robot/v2/_body_develop.py
Outdated
Show resolved
Hide resolved
standards/revolve2/standards/genotypes/cppnwin/modular_robot/v2/_body_develop.py
Show resolved
Hide resolved
standards/revolve2/standards/genotypes/cppnwin/modular_robot/v2/_body_develop.py
Show resolved
Hide resolved
standards/revolve2/standards/genotypes/cppnwin/modular_robot/v2/_body_develop.py
Outdated
Show resolved
Hide resolved
standards/revolve2/standards/genotypes/cppnwin/modular_robot/v2/_body_develop.py
Outdated
Show resolved
Hide resolved
standards/revolve2/standards/genotypes/cppnwin/modular_robot/v2/_body_genotype_v2.py
Outdated
Show resolved
Hide resolved
JedMuff
approved these changes
Oct 4, 2024
andresgr96
added a commit
that referenced
this pull request
Oct 8, 2024
* implementation of population exploration example script mostly done * updated example readme and requirements, addressed codetools errors * updated requirement files and reformatted necessary files * fixed an error caused by the framework trying to render the scene after the renderer was manually closed * corrected some incorrect measures for the v2 body * addressed code review feedback --------- Co-authored-by: Andres <[email protected]> Co-authored-by: Ting-Chia Chiang <[email protected]>
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.