|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.robokind.client.basic.Robokind
public final class Robokind
Framework utility methods for the RoboKind Basic API
| Constructor Summary | |
|---|---|
Robokind()
|
|
| Method Summary | |
|---|---|
static RemoteAnimationPlayerClient |
connectAnimationPlayer()
|
static RemoteRobot |
connectRobot()
Connects to the RobokindRobot for communicating with an avatar and robot. |
static RemoteGpioService<HeaderRecord> |
connectSensors()
|
static RemoteSpeechServiceClient |
connectSpeechService()
|
static long |
currentTime()
|
static void |
disconnect()
Disconnects from the RobokindRobot. |
static Animation |
loadAnimation(String filepath)
Loads an animation from file. |
static boolean |
saveAnimation(String filepath,
Animation anim)
|
static void |
sleep(long milliseconds)
Halts program execution for the given number of milliseconds. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Robokind()
| Method Detail |
|---|
public static RemoteRobot connectRobot()
public static RemoteAnimationPlayerClient connectAnimationPlayer()
public static RemoteSpeechServiceClient connectSpeechService()
public static RemoteGpioService<HeaderRecord> connectSensors()
public static Animation loadAnimation(String filepath)
filepath - path to the animation
public static boolean saveAnimation(String filepath,
Animation anim)
public static long currentTime()
public static void sleep(long milliseconds)
milliseconds - number of milliseconds to sleeppublic static void disconnect()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||