|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.robokind.basic.Robokind
public final class Robokind
Framework utility methods for the RoboKind Basic API
Constructor Summary | |
---|---|
Robokind()
|
Method Summary | |
---|---|
static org.robokind.api.animation.messaging.RemoteAnimationPlayerClient |
connectAnimationPlayer()
|
static org.robokind.api.motion.messaging.RemoteRobot |
connectRobot()
Connects to the RobokindRobot for communicating with an avatar and robot. |
static org.robokind.api.sensor.gpio.RemoteGpioService<org.robokind.avrogen.sensor.HeaderRecord> |
connectSensors()
|
static org.robokind.api.speech.messaging.RemoteSpeechServiceClient |
connectSpeechService()
|
static long |
currentTime()
|
static void |
disconnect()
Disconnects from the RobokindRobot. |
static org.robokind.api.animation.Animation |
loadAnimation(String filepath)
Loads an animation from file. |
static boolean |
saveAnimation(String filepath,
org.robokind.api.animation.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 org.robokind.api.motion.messaging.RemoteRobot connectRobot()
public static org.robokind.api.animation.messaging.RemoteAnimationPlayerClient connectAnimationPlayer()
public static org.robokind.api.speech.messaging.RemoteSpeechServiceClient connectSpeechService()
public static org.robokind.api.sensor.gpio.RemoteGpioService<org.robokind.avrogen.sensor.HeaderRecord> connectSensors()
public static org.robokind.api.animation.Animation loadAnimation(String filepath)
filepath
- path to the animation
public static boolean saveAnimation(String filepath, org.robokind.api.animation.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 |