Skip to content

Instantly share code, notes, and snippets.

@madhephaestus
Last active April 12, 2016 22:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madhephaestus/033482ccab38baa08d9e84bf224e7823 to your computer and use it in GitHub Desktop.
Save madhephaestus/033482ccab38baa08d9e84bf224e7823 to your computer and use it in GitHub Desktop.
A tester for the Vitamins loader from json
import com.neuronrobotics.bowlerstudio.vitamins.*;
println "All availible vitamin types: "+Vitamins.listVitaminTypes()
for(String type : Vitamins.listVitaminTypes()){
println "Availible vitamin type: "+type+ " sizes "+ Vitamins.listVitaminSizes( type)
}
return Vitamins.get("hobbyServo","standardMicro")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment