|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Holding a position in our arm
Heres the deal:
We have a revolute double jointed arm; say we wnat to hold the lower portion of the arm in one place; how would we do so? We have a potentiometer mesaureing the position values of the arm. Lets say we want the arm at a target val of 180. The arm is plugged into pwm02. We made some simple if/then statements... Please ignore syntax. sensor = Get_Analog_Value(rc_ana_in02); targetval = 180; if (sensor < targetval) { pwm02 = (127 + 53); else { pwm02 = (127 - 53); } This makes the arm oscillate at the target value, and it oscillates way too much. How can we essentially LOCK the arm through programming? |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming our Arm | brennerator | Programming | 29 | 15-03-2007 01:17 |
| pic: Team 498 Robot Arm Stowed Position | Cactus_Robotics | Robot Showcase | 1 | 10-02-2007 21:42 |
| PID How to hold an arm in a fixed position without a locking gear box | Ian_Xodus | General Forum | 29 | 28-01-2007 08:50 |
| Pneumatics holding their position | sanddrag | Pneumatics | 22 | 15-01-2004 16:36 |