- 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/lock
sudo chmod go+rwx var/lock
- Open project in Eclipse
- You may need to update the location to the RXTX jar
- Make sure
chuck-arduino
has 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_PORTS
constant inmain()
totrue
; run, copy the port identifier to thePORT
constant; setLIST_PORTS
to false
- Supported commands:
graspBeanBag
releaseBeanBag
throwBeanBag releaseVelocity releaseDelay
(e.g.throwBeanBag 225 200
)rotateArm position
(e.g.rotateArm 500
)
- When done, issue the
disconnect
command to relax the arm and close the serial connection
Tyler Frasca
tmfrasca@gmail.com
http://tmfrasca.info