Preview

thevrobot

Satisfactory Essays
Open Document
Open Document
7656 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
thevrobot
Java Prog. Techniques for Games. NUI Chapter 6. Robot Arm

Draft #1 (9th July 2011)

NUI Chapter 6. Controlling a Robot Arm
[Note: all the code for this chapter is available online at http://fivedots.coe.psu.ac.th/~ad/jg/??; only important fragments are described here.]
In chapter 4, I developed a controller for a toy missile launcher, utilizing libusb-win32 and LibusbJava. I'll be using the same libraries again here, to control the OWI-535 robotic arm (http://www.owirobot.com/products/Robotic-Arm-Edge.html) shown in
Figure 1.

Figure 1. The OWI-535 Robotic Arm with USB Interface.
To be precise, I'm using the UK version of the arm, available from Maplin Electronics
(http://www.maplin.co.uk/robotic-arm-kit-with-usb-pc-interface-266257). It's the same product but the box includes a OWI USB interface, which is not part of the basic OWI-535 package.
One downside of the arm is its under-powered control software which only offers time-based movement of the arm's joints (e.g. rotate the wrist for 0.5 second). It would be much more useful to define joint rotations using absolute and relative angles, or to specify (x, y, z) locations (e.g. move the arm's grippers to (10, 15, 7)).
I'll be implementing control software that offers all these features. The code forms a loose hierarchy – the lowest level moves the arm using USB control transfers while the top-tier utilizes coordinates. Each level is implemented using capabilities supplied by the next level down, as illustrated in Figure 2.

1

© Andrew Davison 2011

Java Prog. Techniques for Games. NUI Chapter 6. Robot Arm

Draft #1 (9th July 2011)

Figure 2. The Robot Arm Functionality Hierarchy.
The USB control transfer software at the lowest level is quite similar to the missile launcher code from chapter 4 (so I won't be explaining all the details again).
However, for the protocol detection work, I turned to the popular freeware,
SnoopyPro (http://sourceforge.net/projects/usbsnoop/),

You May Also Find These Documents Helpful

  • Powerful Essays

    Kin 2500 Muscles

    • 1585 Words
    • 7 Pages

    * 3rd class levers: most common; effort is between the fulcrum and the load; i.e. flexor of our elbow…

    • 1585 Words
    • 7 Pages
    Powerful Essays
  • Powerful Essays

    system. During our initial launch and early operation we will have it built into the…

    • 3502 Words
    • 15 Pages
    Powerful Essays
  • Good Essays

    Exw 330 Final Lab Practical

    • 2557 Words
    • 11 Pages

    * Athlete places feet slightly farther than shoulder width and places hands on the dowel to form a 90o angle at elbows overhead.…

    • 2557 Words
    • 11 Pages
    Good Essays
  • Good Essays

    Unit 68 Hsc 2028

    • 3938 Words
    • 16 Pages

    * Ellipsoidal joints are at the base of index finger bending, extending and rocking but rotation is limited.…

    • 3938 Words
    • 16 Pages
    Good Essays
  • Satisfactory Essays

    Dc Input D10 Unit 5

    • 256 Words
    • 2 Pages

    The module has a 2.4K retentive memory space for storing data. The system runs on the DirectSOFT programming software built into the system. The Device comes with RS-232-C port that transfers module data at 9600 baud. The system also has forced I/O, timer/event drum sequencing, and RLL diagram-style…

    • 256 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Week 2

    • 816 Words
    • 4 Pages

    The three locations that are included in the development are in La Jolla, Del Mar, and Encinitas. Each of these locations will consist of the exact same hardware platforms in order for the new program to work effectively. At the present time, only La Jolla and Del Mar have the same hardware setup, which consists of the following:…

    • 816 Words
    • 4 Pages
    Good Essays
  • Good Essays

    It240 Appendix F

    • 1093 Words
    • 5 Pages

    |Pointing devices |An input device, such as a mouse, joystick, or trackball, with which one can move|…

    • 1093 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    pt1420 lab 63 answers 1

    • 1193 Words
    • 8 Pages

    devices are often multilingual so that the same boxed product can be sold in many different…

    • 1193 Words
    • 8 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Youth Sorvard Questions

    • 375 Words
    • 2 Pages

    A HORIZONTAL ANGLE, MEASURED IN A CLOCKWISE MANNER FROM A NORTH BASE LINE, EXPRESSING DIRECTION.…

    • 375 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Anatomy Lab 2 Exam

    • 1847 Words
    • 8 Pages

    t Actions * Flexion: decrease in joint angle from anatomical postion (bend elbow, flexing forearm) * Extension: return to anatomical position from flexion * Abduction: away from body * Adduction: return of body to anatomical position * Rotation: circular * Lateral: anterior surface to lateral side * Medial: anterior surface to medial side * Circumduction: conical shape * Protraction: horizontal movement in anterior direction (jaw forward) * Retraction: reverse of protraction. * Elevation: move in superior direction.…

    • 1847 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    Ap Psychology Quiz

    • 1056 Words
    • 5 Pages

    1. This controls how objects rotate and scale, and also represent the exact locations of objects in space.…

    • 1056 Words
    • 5 Pages
    Good Essays
  • Good Essays

    A&P Questions

    • 599 Words
    • 3 Pages

    The position with the body upright, arms at side with palms facing forward. It is important to know this in order to have correct labeling of anatomic terms.…

    • 599 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Tomtheboss

    • 287 Words
    • 2 Pages

    The earthquake occurred at a relatively shallow depth at 20miles below the surface of the Pacific Ocean. This, combined with the high magnitude, caused the tsunami.…

    • 287 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Usb 3.0

    • 3784 Words
    • 16 Pages

    In the world of technology, Universal Serial Bus (USB) is a serial bus standard to connect devices to a host computer. USB was designed to allow many peripherals to be connected using a single standardized interface socket and to improve plug and play capabilities by allowing hot swapping; that is, by allowing devices to be connected and disconnected without rebooting the computer or turning off the device. Other convenient features include providing power to low-consumption devices, eliminating the need for an external power supply; and allowing many devices to be used without requiring manufacturer-specific device drivers to be installed.…

    • 3784 Words
    • 16 Pages
    Powerful Essays
  • Satisfactory Essays

    Innovative Ece Projects

    • 9759 Words
    • 40 Pages

    Innovative ECE Final projects list IEEE-2012-13 papers Technologies: 1. ARM-7 TDMI - LPC-2148 2. Image Processing 3. MATLAB – Embedded 4.…

    • 9759 Words
    • 40 Pages
    Satisfactory Essays