-
Notifications
You must be signed in to change notification settings - Fork 0
Arm pseudo code
Brogahn Gauthier edited this page Jan 26, 2018
·
10 revisions
ARM:
- Grab cube (claw) <-- clarify with design team once claw is chosen
- Arm up (lead screw 2 spines) 2 motors Arm swing 135 degrees (encoder) (1 motor)
- Go to scale/switch (drive train)
- Release cube (claw)
- Swing arm back to starting position (encoder)
- Arm back down(lead screw)
ARM CLIMBING:
- Arm all the way up Swing arm 180 degrees (encoder)
- Place "hook" on rung (with arm) <-- clarify with design team once hook is chosen
- Start climb
Motors: Victor (4 motors for now)
2 Motors for lead screw spine 2 Motor for rotation of arm
Sensors: Encoder for now
FUNCTIONS:
Arm-
set speed
check encoder
check limit switch
restart
hold in place (?)
end
Spine-
set speed
check encoders
check limit switch
hold in place
restart
end