Draft
Conversation
…ng on running one to finish.
…e task which puts a robot in queue instead of busy waiting.
…instead of queue and simulator_worker. celery worker will get a task directly from the celery queue now.
…lobal instead of redefined every update iteration.
…e for now. Should be behavorial movement.
…ently normal simulations without celery cant be run due to changes in worldcontroller.cpp. Will fix this soon.
…culated in the cpp part now, not the robotmanager part. For details go to worldcontroller.cpp function OnContacts().
…ate_from_celery(), this means everything is implemented now.
…a robot gets lost, a result of None is read instead of a crash.
…enerations passed by. Still studying the effect of restarting.
DaanZ
commented
Jun 10, 2020
|
|
||
| def displacement_velocity_hill(robot_manager): | ||
| dist, time = displacement(robot_manager) | ||
| if time.is_zero(): |
DaanZ
commented
Jun 10, 2020
| :return: | ||
| """ | ||
| dist, time = displacement(robot_manager) | ||
| if time.is_zero(): |
DaanZ
commented
Jun 10, 2020
|
|
||
| if individual.phenotype._behavioural_measurements is None: | ||
| assert (individual.fitness is None) | ||
| assert (individual.fitness is None) |
DaanZ
commented
Jun 10, 2020
| :param new_individuals: newly created population after an evolution iteration | ||
| :param gen_num: generation number | ||
| """ | ||
| b2 = time.time() |
DaanZ
commented
Jun 10, 2020
|
|
||
|
|
||
| def random(_robot_manager, robot): | ||
| return py_random.random() |
DaanZ
commented
Jun 10, 2020
pycelery/speeddata/stats.py
Outdated
| @@ -0,0 +1,48 @@ | |||
|
|
|||
Author
There was a problem hiding this comment.
Put speeddata in a celery folder.
DaanZ
commented
Jun 10, 2020
| @@ -0,0 +1,142 @@ | |||
| from __future__ import absolute_import, unicode_literals | |||
Author
There was a problem hiding this comment.
Is pycelery not part of pyrevolve?
DaanZ
commented
Jun 10, 2020
| connection = await World.create(settings, world_address=('127.0.0.1', settings.port_start+i)) | ||
|
|
||
| await asyncio.sleep(2) | ||
|
|
DaanZ
commented
Jun 10, 2020
| global settings | ||
| global connection | ||
| global analyzer_connection | ||
| global analyzer_supervisor |
DaanZ
commented
Jun 10, 2020
Author
DaanZ
left a comment
There was a problem hiding this comment.
Overview review shows a partial different programming style which needs to brushed up before committing to CI Revolve.
Also some structural choices have to be discussed to ensure that the coming version of Revolve can still support previous experimental setup.
DaanZ
commented
Jun 15, 2020
worker11345.pid
Outdated
| @@ -0,0 +1 @@ | |||
| 13927 | |||
Author
There was a problem hiding this comment.
These files should not be included, and thus be added to gitignore.
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
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.
Checking to see the code impact of Celery branch from Sam.