Revolve2
Revolve2 is a collection of Python packages used for researching evolutionary algorithms and modular robotics. Its primary features are a modular robot framework, an abstraction layer around physics simulators, and evolutionary algorithms.
Documentation: ci-group.github.io/revolve2
Installation: ci-group.github.io/revolve2/installation
Get help: github.com/ci-group/revolve2/discussions/categories/ask-for-help
Sample
Here we create and simulate a modular robot, and then calculate how far it moved over the xy plane. This is a shortened version of examples/evaluate_single_robot.
# (...) Omitted preamble
# Create a modular robot.
body = modular_robots_v1.gecko_v1()
brain = BrainCpgNetworkNeighborRandom(body=body, rng=rng)
robot = ModularRobot(body, brain)
# Create a scene.
scene = ModularRobotScene(terrain=terrains.flat())
scene.add_robot(robot)
# Create a simulator.
simulator = LocalSimulator(headless=False)
# Simulate the scene and obtain states sampled during the simulation.
scene_states = simulate_scenes(
simulator=simulator,
batch_parameters=make_standard_batch_parameters(),
scenes=scene,
)
# Get the state at the beginning and end of the simulation.
scene_state_begin = scene_states[0]
scene_state_end = scene_states[-1]
# Retrieve the states of the modular robot.
robot_state_begin = scene_state_begin.get_modular_robot_simulation_state(robot)
robot_state_end = scene_state_end.get_modular_robot_simulation_state(robot)
# Calculate the xy displacement of the robot.
xy_displacement = fitness_functions.xy_displacement(
robot_state_begin, robot_state_end
)
Metadata
Release files for revolve2-ci-group 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 3.9 MB
Release files / revolve2_ci_group-1.2.1-cp311-cp311-win_amd64.whl
| Download URL | revolve2_ci_group-1.2.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 195.9 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ddc266ec8e8dc2e0bdf4138b247f8d288f3fec125437d7a0ecf28a3add6fd2d0
|
|
BLAKE2b-256 checksum How to use checksums |
3c58b2a5159dd22c87e9817e0aee073e0697c958f298fa3468727fee8fb7a4a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / revolve2_ci_group-1.2.1-cp311-cp311-musllinux_1_1_x86_64.whl
| Download URL | revolve2_ci_group-1.2.1-cp311-cp311-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 984.1 kB |
| Tags | CPython 3.11 Linux musl 1.1+ x86-64 |
|
SHA-256 checksum How to use checksums |
48f7f467248906d09e69a5c123573df69e96982d7d1dc02e0e5fb4f218420fa4
|
|
BLAKE2b-256 checksum How to use checksums |
4ff298617f2068a58983aede6188b793cf3c99693334a068ee2612b894f35714
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / revolve2_ci_group-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | revolve2_ci_group-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 973.4 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
bc67822a768ebe313f93d6346e6362737af09c114ca314bfabf93913e4faadeb
|
|
BLAKE2b-256 checksum How to use checksums |
879b54447df04667984eb3c5791c7c1996d50afcb8d72e83164770651863e7ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / revolve2_ci_group-1.2.1-cp311-cp311-macosx_12_0_x86_64.whl
| Download URL | revolve2_ci_group-1.2.1-cp311-cp311-macosx_12_0_x86_64.whl |
|---|---|
| Size | 380.1 kB |
| Tags | CPython 3.11 macOS 12.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
34b085604ac91b06470b23c76c25ecf3ba565a7fbf8fbcd3bc34ca5155ea84f9
|
|
BLAKE2b-256 checksum How to use checksums |
4ed890655effdba7e821f1dc9d67cc34af96a90b059bf62cb44c84632092078b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / revolve2_ci_group-1.2.1-cp310-cp310-win_amd64.whl
| Download URL | revolve2_ci_group-1.2.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 120.6 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
229031cdd5d88ab3d45324213438cd5870c1bd6e9fbedbb351d03e43b9d2586c
|
|
BLAKE2b-256 checksum How to use checksums |
e307d4047b7953e8d55fe5b67c4be471b6528a7357ba28745f9bba52f3351118
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / revolve2_ci_group-1.2.1-cp310-cp310-musllinux_1_1_x86_64.whl
| Download URL | revolve2_ci_group-1.2.1-cp310-cp310-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 511.4 kB |
| Tags | CPython 3.10 Linux musl 1.1+ x86-64 |
|
SHA-256 checksum How to use checksums |
3e996da763ef5057170dc95079d5ec891d22d2f05e4c7f8024bd8ca59b9435be
|
|
BLAKE2b-256 checksum How to use checksums |
2d21a0245685648418051e8afc9284dd6477c34993298ec205f9e6e4714179eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / revolve2_ci_group-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | revolve2_ci_group-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 502.7 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
ebfceb8863c4319dc7ccbb8b41850607ce23d8a2cb4c549d7ec5f5b241b5ff23
|
|
BLAKE2b-256 checksum How to use checksums |
5d0ce38712443b869530db7bc3709b17b5166fb0b68a358d3020a110005d7c07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / revolve2_ci_group-1.2.1-cp310-cp310-macosx_12_0_x86_64.whl
| Download URL | revolve2_ci_group-1.2.1-cp310-cp310-macosx_12_0_x86_64.whl |
|---|---|
| Size | 211.4 kB |
| Tags | CPython 3.10 macOS 12.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
077046167897bfd72151de2a29fb5e7258366575db51d749734255a73c101871
|
|
BLAKE2b-256 checksum How to use checksums |
4493b72912b77b672d335f5e66e8d8dc7ca04eeaee70dab877a056d30ab43752
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Security for revolve2-ci-group 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.