Code Snippet: Critterbot in Java
- Running a Critterbot agent in the Critterbot simulator: CritterbotExample.java
- Running a Critterbot agent in the Critterbot simulator (with a 100ms latency): CritterbotWithLatencyExample.java
Dependencies
zephyr.plugin.core.api , rlpark.plugin.rltoys , rlpark.plugin.robot , rlpark.plugin.critterbotHow to run this code
If the class contains a main method, then you can run it as a plain Java project (assuming RLPark and Zephyr are in the Java classpath). If it does not, then you need set up a Zephyr project (or an existing one) as described in the tutorial Using Zephyr PluginsDocumentation