Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoFara committed Jun 23, 2021
1 parent 6b40b2e commit 30c259b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Kinematic optimization is fast, however it can return weird results, and it has

We handle everything almost evything world definition to linkage conversion. Appart from the GA parameters, you just have to define a fitness function. Here are the main steps for a **maximisation problem**:
1. Create a function of two arguments, the first one should be the paramaters of the linkage, the second the initial positions for the joints.
2. Try to do a revolution in **kinematic simulation**. If the Walker raise an ``UnbuildableError`` set its score to ``-float('inf')``.
2. Try to do a revolution in **kinematic simulation**. If the Walker raises an ``UnbuildableError`` set its score to ``-float('inf')``.
3. Otherwise use this procedure
```python
from leggedsnake import physicsengine as pe
Expand Down Expand Up @@ -92,4 +92,4 @@ def dynamic_linkage_fitness(walker):
return tot / dur, pos
```

And now, relax while your computer recreate a civilisation of walking machines!
And now, relax while your computer recreates a civilisation of walking machines!
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[metadata]
name = leggedsnake
version = 0.0.1
version = 0.0.3
author = Hugo Farajallah
description = A package intended to optimize planar leg mechanisms
long_description_content_type = text/markdown
license = MIT License
url = https://github.com/HugoFara/leggedsnake
long_description = file: README.md
long_description_content_type = text/markdown
license_file = LICENSE
classifiers =
Development Status :: 3 - Alpha
Expand Down

0 comments on commit 30c259b

Please sign in to comment.