Skip to content

Example Java code for a proof-of-concept playing arm.

License

Notifications You must be signed in to change notification settings

cornhole/chuck-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHUCK: Java Client

Compile

  1. To compile you will need the RXTX for Java library (used for serial communication to the Arbotix microcontroller).
  1. Open project in Eclipse
  • You may need to update the location to the RXTX jar

Run

  1. Make sure chuck-arduino has been uploaded to the Arbotix board
  2. As needed, install drivers for FTDI USB cable
  3. Provide power to the Arbotix board, connect via USB to your computer
  4. Run ChuckClient
  • During your first run, set the LIST_PORTS constant in main() to true; run, copy the port identifier to the PORT constant; set LIST_PORTS to false
  1. Supported commands:
  • graspBeanBag
  • releaseBeanBag
  • throwBeanBag releaseVelocity releaseDelay (e.g. throwBeanBag 225 200)
  • rotateArm position (e.g. rotateArm 500)
  1. When done, issue the disconnect command to relax the arm and close the serial connection

Author

Tyler Frasca
tmfrasca@gmail.com
http://tmfrasca.info

About

Example Java code for a proof-of-concept playing arm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages