FRC2706 / 2019-2706-Robot-Code

The main robot code for the FIRST 2019 challenge: Deep Space
MIT License
2 stars 0 forks source link

Prepare for a climbing mechanism #129

Closed kevlam2706 closed 5 years ago

kevlam2706 commented 5 years ago

Design & Fab team is going to meet this week to design a climber that can be added to the robot. The schedule is tight, and they will need software to test by the weekend.

Let's try to stay ahead of the curve by preparing the software to support the climber. There are many things we obviously don't know yet, but let's make some "worst case" assumptions, create the mechanism code, and then adjust when we know more.

Let's assume:

KyleRAnderson commented 5 years ago

Likely going to be mapped to X and B on operator controller after I move the override lift stuff to the left stick as part of #125.

KyleRAnderson commented 5 years ago

Basic climber subsystem and commands have been completed. Just need testing.

kevlam2706 commented 5 years ago

Thanks Kyle. Some additional requirements, based on tonight's discussion with the Design & Fab people. The basic behaviour of the proposed (and still theoretical) climber is a bar attached to a motor that would rotate downward, lifting up the front end of the robot to the top lip of hab level 3. Think of a pole vault but in slow motion. Then two pneumatic pistons would fire to lift up the back of the robot, while the bar is still rotating and pushing the robot forward onto the hab platform. The pistons would retract, the bar would remain hanging downwards, but not touching the level 1 hab surface.

Based on this:

Go go go!

KyleRAnderson commented 5 years ago

I'll add an additional note: might make sense to disable the compressor while climbing to maximize power available. Would that make sense @kevlam2706?

kevlam2706 commented 5 years ago

UPDATE: no, do not disable the compressor. The pistons are huge and if there isn't enough air to fire them the compressor will need to run in the middle of the climb.

KyleRAnderson commented 5 years ago

Some more things that I need to do:

kevlam2706 commented 5 years ago

Yes, we'll remove the compressor disable because those huge cylinders might require the compressor to keep running to pump the air. This might actually interfere with the idea of a timed sequence. We'll need to test this to make sure that a timed sequence won't fail and tip the robot over if the pistons are moving more slowly because of lack of air. There are possible ways to mitigate this including plumbing a few air tanks with a check valve so that they will only feed the climb pistons.

kevlam2706 commented 5 years ago

So to summarize:

kevlam2706 commented 5 years ago

One potential other use: We might be able to use the mechanisms to also do a level 2 climb. One way to do it might be to run the arm to a smaller angle (enough to clear the level 2 platform) and then push out the pistons, let them go out half-way or so, then pull them back in (i.e. pull them in before they have fully extended). We MIGHT need to be able to retract the arm back in and drive forward after that. I don't think we need to make any changes right now, but keep this in mind as a possible secondary use.

kevlam2706 commented 5 years ago

Good efforts yesterday. We will revisit this but it will likely not be until after North Bay. It will be in a new gearbox which means new encoder values all around.