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

Bugfix: incorrect CPPN output is used to determine the angle for a robot body module #583

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

royderegt
Copy link

Both angle and module_type use outputs[0] from the CPPN, where one would expect module_type to use outputs[0] and angle to use outputs[1], as can be deduced from this code snippet in class BodyGenotypeOrmV2

        body = MultineatGenotypePickleWrapper(
            random_multineat_genotype(
                [...]
                num_outputs=2,  # block_type, rotation_type
                [...]
            )
        )

See https://github.com/ci-group/revolve2/blob/6d3457af6e9928deacc352a365e2cf910f4d20cd/standards/revolve2/standards/genotypes/cppnwin/modular_robot/v2/_body_genotype_orm_v2.py

@royderegt royderegt changed the base branch from master to development October 18, 2024 16:19
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.

1 participant