-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
168 make revolve2s core library more generic to the general public (#266
) * Moved around lots of code and created ad removed packages. * Remove pyyaml depedency of mujoco as it's now included in the python-mujoco-viewer package.
- Loading branch information
Showing
226 changed files
with
637 additions
and
564 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api" | |
[tool.poetry] | ||
name = "revolve2-actor-controller" | ||
version = "0.3.9b1" | ||
description = "Individual Actor controller for revolve2." | ||
description = "Revolve2 actor controller interface and implementations." | ||
authors = ["Aart Stuurman <[email protected]>"] | ||
repository = "https://github.com/ci-group/revolve2" | ||
classifiers = [ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Actor controller implementations.""" |
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[build-system] | ||
requires = ["poetry-core>=1.6.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.poetry] | ||
name = "revolve2-ci-group" | ||
version = "0.3.9b1" | ||
description = "Revolve2 Computational Intelligence Group experimentation tools and standards." | ||
authors = ["Aart Stuurman <[email protected]>"] | ||
repository = "https://github.com/ci-group/revolve2" | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Typing :: Typed", | ||
"Topic :: Scientific/Engineering", | ||
"Programming Language :: Python :: 3", | ||
] | ||
packages = [{ include = "revolve2" }] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.10" | ||
revolve2-simulation = { path = "../simulation", develop = true } | ||
revolve2-modular-robot = { path = "../modular_robot", develop = true } | ||
noise = "^1.2.2" | ||
numpy = "^1.21.2" | ||
pyrr = "^0.10.3" | ||
|
||
[tool.poetry.extras] | ||
dev = [] |
File renamed without changes.
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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...lve2/standard_resources/modular_robots.py → ci_group/revolve2/ci_group/modular_robots.py
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
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
...revolve2/standard_resources/simulation.py → ci_group/revolve2/ci_group/simulation.py
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
|
||
cd "$(dirname "$0")" | ||
echo "core:" | ||
echo "ci_group:" | ||
mypy -p revolve2 |
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
cd "$(dirname "$0")" | ||
|
||
../../actor_controller/run_mypy.sh | ||
../../ci_group/run_mypy.sh | ||
../../examples/run_mypy.sh | ||
../../experimentation/run_mypy.sh | ||
../../modular_robot/run_mypy.sh | ||
../../rpi_controller/run_mypy.sh | ||
../../rpi_controller_remote/run_mypy.sh | ||
../../serialization/run_mypy.sh | ||
../../simulation/run_mypy.sh | ||
../../simulators/mujoco/run_mypy.sh |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
|
||
cd "$(dirname "$0")" | ||
dirs="../../actor_controller/revolve2 ../../core/revolve2 ../../examples ../../genotypes/cppnwin/revolve2 ../../rpi_controller/revolve2 ../../runners/mujoco/revolve2 ../../serialization/revolve2 ../../standard_resources/revolve2" | ||
dirs="../../actor_controller/revolve2 ../../ci_group/revolve2 ../../examples ../../experimentation/revolve2 ../../modular_robot/revolve2 ../../rpi_controller/revolve2 ../../rpi_controller_remote/revolve2 ../../serialization/revolve2 ../../simulation/revolve2 ../../simulators/mujoco/revolve2" | ||
find $dirs -type f -name '__init__.py' -print0 | xargs -0 sort-all |
This file was deleted.
Oops, something went wrong.
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
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
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
4 changes: 2 additions & 2 deletions
4
.../revolve2.standard_resources.terrains.rst → ...e/revolve2.ci_group.fitness_functions.rst
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
revolve2.standard\_resources.terrains module | ||
revolve2.ci\_group.fitness\_functions module | ||
============================================ | ||
|
||
.. automodule:: revolve2.standard_resources.terrains | ||
.. automodule:: revolve2.ci_group.fitness_functions | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
revolve2.ci\_group.logging module | ||
================================= | ||
|
||
.. automodule:: revolve2.ci_group.logging | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
7 changes: 7 additions & 0 deletions
7
docs/source/api_reference/revolve2.ci_group.modular_robots.rst
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
revolve2.ci\_group.modular\_robots module | ||
========================================= | ||
|
||
.. automodule:: revolve2.ci_group.modular_robots | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
Oops, something went wrong.