-
+
- Reward: The agent is rewarded for moving to the right, keeping it's head above it's legs, conversing + energy, not bending it's limbs too much, and not touching to many limbs to the ground +
- Actions: The agent can power motors that rotate each limb within a certain range of motion +
- State: The agent can "see" most things about itself: each limb's relative position, global position, + rotation, linear velocity, angular velocity, and orientation. Also each joints angle, speed, and motor + speed +
How does it work?
+ + This uses use reinforcement + learning to teach the agent to walk. + This is a branch of machine learning targeted at controlling systems over time such as systems of limbs or a + self driving car. + + The agent is defined in 2d with a certain strength and range of limb movement. Training is done offline in tensorflow.js. The aglorithm is Deep + Deterministic Policy Gradients with prioritized experince + replay. The environment is in box2d for javascript and we use webpack to run the same code on the backend + and frontend. + ++ +
Links
+-
+
- Source code +
- Slide deck +
Credits
+-
+
- Made by wassname for thinkcds.com +
- The walker code is adapted from rednuht.org/genetic_walkers/, +
- the DDPG code was adapted from github.com/thibo73800/metacar. +
+