- To compile you will need the RXTX for Java library (used for serial communication to the Arbotix microcontroller).
- Navigate to [RXTX website] (http://rxtx.qbang.org/wiki/index.php/Installation)
- Download/install for your platform
- macOS may need the following additional steps:
mkdir /var/locksudo chmod go+rwx var/lock
- Open project in Eclipse
- You may need to update the location to the RXTX jar
- Make sure
chuck-arduinohas been uploaded to the Arbotix board - As needed, install drivers for FTDI USB cable
- Provide power to the Arbotix board, connect via USB to your computer
- Run
ChuckClient
- During your first run, set the
LIST_PORTSconstant inmain()totrue; run, copy the port identifier to thePORTconstant; setLIST_PORTSto false
- Supported commands:
graspBeanBagreleaseBeanBagthrowBeanBag releaseVelocity releaseDelay(e.g.throwBeanBag 225 200)rotateArm position(e.g.rotateArm 500)
- When done, issue the
disconnectcommand to relax the arm and close the serial connection
Tyler Frasca
tmfrasca@gmail.com
http://tmfrasca.info