Docsity

Humanoid Robots - Autonomous Robots - Lecture Slides, Slides of Robotics and Autonomous Systems

Partial preview of the text

Download Humanoid Robots - Autonomous Robots - Lecture Slides and more Slides Robotics and Autonomous Systems in PDF only on Docsity!

Humanoid Robots Learning to Walk Faster:

From the Real World to Simulation and Back

Motivation

• Low-level robot skills are important

  • Robust walking and turning
  • Precise robotic arm movement
  • Localization
  • Stability
  • Etc.

A Little Background… RoboCup

  • The RoboCup Standard Platform League : Soccer for robots
  • Requires fast, stable, intelligent robots
  • Robots wear out and are time consuming to work with
  • Therefore, using machine learning is hard

A Little Background… RoboCup Simulation

  • The 3D Simulation League : Soccer for virtual robots
  • Requires fast, stable, intelligent robots
  • Robots are unlimited
  • Great environment for machine learning
  • In 2011 and 2012, UT Austin Villa Simulation League outpaced the competition by using machine learning.

Challenges

Many differences between simulation and the real world:

  • Open Dynamics Engine (ODE) is far from perfect
    • No fiction on joints
    • No heat simulation
  • Virtual Nao is greatly approximated
    • Equal joint strength, perfect balance, simple foot shape
  • Soccer environment is greatly approximated
    • Perfectly flat surface

Outline

• Grounded Simulation Learning (GSL)

  • Assumptions, Parameters, Overview
  • Ground, Optimize, Guide

• Implementation

  • Fitness Evaluation
  • Predicting Joint Angles
  • Optimizing (CMA-ES)
  • Manual Guidance

• Results

• References

GSL: Parameters

Input:

  • P 0 – Initial parameter set
  • Fitnesssim – A simulation fitness function that uses a model that maps joint commands to outputs
  • Fitnessrobot – a robot fitness function
  • Explorerobot – a robot exploration routine
  • Learn – A supervised learning algorithm
  • Optimize – An optimization algorithm to run in simulation

Output:

• P

opt

  • Optimized parameter set

Variables:

  • BestFitness – Current best fitness evaluation on the robot
  • OpenParams – Bag of pairs (Parameter set, Fitness) to try

GSL: Ground

• Using the next parameter set in OpenParams :

• 1. Collect data about the robots states and actions using Explore

robot

• 2. Use Learn to create a mapping between states and actions on the

robot.

• 3. Use this mapping to reduce disparity between simulation and the

real world.

 Force simulation to act like the robot

GSL: Guide

• 1. Try some as many good parameters on the robot as is feasible. Add

the good ones to OpenParams.

• 2. Based on results, select parameters to focus on for the next round

of optimization.

  • In our case, this selection was performed manually.

• Repeat ground, optimize, and guide until OpenParams is empty.

GSL: Putting it together

  • P 0 – Initial parameter set
  • Fitnesssim – Simulation fitness function
  • Fitnessrobot – Robot fitness function
  • Explorerobot – Robot exploration routine
  • Learn – Supervised learning algorithm
  • Optimize – Simulation optimization algorithm
  • BestFitness – Current best fitness
  • OpenParams – Bag (Parameter set, Fitness)

Implementation

• Fitness Evaluation

• Predicting Joint Angles

• Optimizing (CMA-ES)

• Manual Guidance

• Results

Fitness Evaluation (Real World)

Walk 238cm forward (towards orange ball) Manual stop when foot reaches white line Robot measures time delta. Shorter time is better

Fitness Evaluation (Simulation)

• Original:

  • OmniWalk (goToTarget)
  • Omnidirectional walk towards various targets.
  • Closer to target is better.
  • Penalty for falling.
  • Needs to be able to turn and stop quickly – out of scope.

• New:

  • WalkFront
  • Walk forward only for 15 seconds.
  • Measure forward delta.
  • Higher is better.