Closed Team4681 closed 5 years ago
Addressing issue 31.1
Shouldn't the piston the sucker is attached to be extending to grab the hatch?
Also, something that we could utilize is set(!get)
.
For example say that button X is supposed to extend and retract a piston.
The code would look something like this:
if (m_stick.getRawButtonPressed(kButtonX) {
m_solenoid.set(!m_solenoid.get());
}
We just set the state of the solenoid to the opposite of what it currently is.
Addressing issue 31.2 The robot climbs backwards. We'll just have to recode the Walker if something's different.
Addressing issue 31.3 Isn't there a motor on the right arm of the grabber we need to operate though?
31.4 We may have to invert the lifter because of the way something was installed. Think of it like this. If you look at a shaft spinning clockwise from the left, then it'll look like it's spinning counter-clockwise from the right side. Maybe setting a motor positive is just spinning it clockwise, from the left perspective, so we have to account for something or other or whatever...
31.5 See 31.1 for button duality.
31.6 Last I saw, they weren't wired, and one of the constants got commented out.
31.7 I'll write example code later. (It's 10:30 PM).
31.9 Is it still returning values that are semi-accurate at the least?
I've split these into separate issues because we can't properly track 8 separate conversations in a single issue.