0.0
No commit activity in last 3 years
No release in over 3 years
robotic-arm
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

#Introducing the Robotic-arm gem

This gem controls the USB OWI Robotic arm.

Prequisites

  • You will need to apt-get at least 1 libusb package if I remember correctly. It might be libusb-dev but I can't be certain.

Example codes

require 'robotic-arm'

ra = RoboticArm.new
ra.led.on
ra.shoulder.up 0.5
ra.elbow.up 0.5
ra.wrist.up 0.3
ra.base.left 0.7
ra.gripper.close 0.2
ra.gripper.open 0.4
ra.led.off
ra.stop

Note: The user must have permission to use the libusb device. You can run the above code as root.