Open esloan opened 10 years ago
My notes on how that subsystem (and the compressor subsystem) should work.
Solenoid going backwards at the same time as mysterious latch (locks) Piston goes back (one goes forward one goes back) and flip on relay
To hold back springs: turn on electromagnet
Turn back solenoid Turn on electromagnet (relay) Wait until fully back (limit switch) Turn forward solenoid
The two subsystems for the pinball shooter and the compressor should be merged
Record which state it's in: where the piston and latch are (boolean or enum)
Add sensors into subsystem: two limit switches: one on each end
Make a shoot command
My notes on how that subsystem (and the compressor subsystem) should work.
Solenoid going backwards at the same time as mysterious latch (locks) Piston goes back (one goes forward one goes back) and flip on relay
To hold back springs: turn on electromagnet
Turn back solenoid Turn on electromagnet (relay) Wait until fully back (limit switch) Turn forward solenoid
The two subsystems for the pinball shooter and the compressor should be merged
Record which state it's in: where the piston and latch are (boolean or enum)
Add sensors into subsystem: two limit switches: one on each end
Make a shoot command