RLPark 1.0.0
Reinforcement Learning Framework in Java

CreateMusicClient.java

Go to the documentation of this file.
00001 package rlpark.plugin.irobot.examples;
00002 
00003 import rlpark.plugin.irobot.data.IRobotSongs;
00004 import rlpark.plugin.irobot.robots.CreateRobot;
00005 import rlpark.plugin.irobot.robots.IRobotEnvironment;
00006 
00007 public class CreateMusicClient {
00008   public static void main(String[] args) {
00009     IRobotEnvironment robot = new CreateRobot();
00010     robot.safeMode();
00011     robot.waitNewObs();
00012     robot.sendLeds(0, 255, true, true);
00013     while (true) {
00014       robot.playSong(IRobotSongs.DarthVador);
00015       try {
00016         Thread.sleep(10000);
00017       } catch (InterruptedException e) {
00018         e.printStackTrace();
00019       }
00020     }
00021   }
00022 }
 All Classes Namespaces Files Functions Variables Enumerations
Zephyr
RLPark