Git Product home page Git Product logo

delivercoffee's Introduction

Hardware-Aware Hierarchical Control

To run:
python main.py --domain office --task coffee --hardware robot1
python main.py --domain office --task coffee --hardware robot2

To see display of robot moving through gridworld:
In main.py, uncomment lines:
moves_list = pickle.load(open("moves_list.pkl", 'rb'))
robo_ani.display_env(args.hardware, moves_list)
In office.py, uncomment lines:
e.display_env_info(0)
e.display_env_info(1)

To produce a .mp4 file of skill hierarchy:
In main.py, uncomment line:
plot.make_hierarchy_video("trace_result.pkl", "plot_output.mp4")
In plot.py, uncomment line:
v_out = cv2.VideoWriter(fn_out, cv2.VideoWriter_fourcc(*'mp4v'), float(FPS), (width, height))

To produce a .avi file of skill hierarchy:
In main.py, uncomment line:
plot.make_hierarchy_video("trace_result.pkl", "./plot_out.avi")
In plot.py, uncomment line:
v_out = cv2.VideoWriter(fn_out, cv2.VideoWriter_fourcc(*'MP42'), float(FPS), (width, height))

delivercoffee's People

Contributors

leoluo0320 avatar

Watchers

Roy Fox avatar  avatar

Forkers

indylab

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.