Difference between revisions of "Robotic Arm 2.0"
(→Software: 11-24 updates)
(→Updates from Meetings: Monday dec 1)
|Line 38:||Line 38:|
==Updates from Meetings==
==Updates from Meetings==
Revision as of 23:46, 1 December 2008
For our final project we will be improving the hardware and controls for the robotic arm.
- Add in vertical support for the arm in the form of something that can slide/roll over the paper so the arm does not sag so much that the pen cannot be lifted far enough off the paper.
- Make the arm less wiggly
- Improve fasteners
- Increased rigidity in "elbow" joint, using a bracket
- Better coding style for increased readability of the code
- Integrate the two programs
- If possible add functionality for increased user-friendliness editing capabilities
Proposed Time Line
- Allow the user to draw lines and free paths--Sunday 11/23
- Add saving and opening of files containing lines and free paths--Tuesday 11/25
- Write in code to allow the arm to draw what the user has designed--Friday 11/28 (will not be tested until we are back)
- Add the ability to draw rectangles and other regular polygons--Saturday 11/29
- Improve the rigidity of the arm using a bracket at the elbow and tighten all the joints--Sunday 11/30
- Add in a brace that will allow the pen to be lifted clear of the paper--Monday 12/1
- Test and debug code to allow the arm draw what the user has designed--Tuesday 12/2
- Include curve drawing to the GUI and to paper--Friday 12/5
- Implement circles and arcs as well--Sunday 12/7
- Final testing--Monday 12/8
Currently the arm has a solenoid to allow the pen to be lifted, however a brace that rolls across the paper is needed to reduce the vertical give in the arm so that the pen is lifted completely off of the paper. And although the shoulder has a bracket at the joint, the elbow does not.
For the project we are using Processing, an open-source JAVA-based language designed specifically with graphics in mind. Currently our code allows the user to draw line paths and free lines, as well as store and retrieve them from files. There is an arm that follows the cursor around the screen and can also traverse previously drawn lines. There is a status bar at the bottom which displays the cursor coordinates, the number of objects, and a message containing brief instructions for the user.
Updates from Meetings
We added code to allow the program to send serial signals to the servo controller, and then a small information box that displays the device and the command to be sent. In addition, we added interpolation so the arm can smoothly transition in and out of trace mode and between paths.
We squished a few little code-bugs and then added a status bar at the bottom of the screen. We also added the ability to re-trace previously drawn lines using the virtual arm.
We added code to allow the user to draw more than one line path and to draw in "free line" mode. We also added some file I/O and made the robotic arm display and follow the cursor around the screen.
Today we started in a fresh file (we will be adding in functionality from the two previous files). We decided to store our data as a linked list per object, and wrote in code that allows us to do so. We then added in the ability to draw a line path to the screen (however right now only one line path can be drawn).
At the Start
Before the official start of the project we created two programs where we tested out the ideas we were thinking of implementing, not spending too much time on organization. The first of these programs allows the user to draw free lines and then ask the arm to trace on paper what has been drawn. SVG files of only short lines can be imported. The second of these allows the user to draw straight lines, circles, polygons, rectangles, and line paths to the screen. On the hardware side, our arm has a pen attached to a solenoid at the end, however this does not lift the pen up far enough to hold it clear of the paper--additional support for the arm is needed. Also, there is more wiggle in the arm that we would like.