team116 / ed2017

1 stars 0 forks source link

End Effector subsystems need a manual mode in case sensors break #17

Open cartycrabber opened 7 years ago

cartycrabber commented 7 years ago

Everything that is controlled by a sensor/PID loop needs to have the ability to disable the sensor and operate in "dumb" mode. The current sensors and their subsystems/uses are:

Each specific sensor should have a toggle, not just the entire subsystem. For example, turn degrees and drive straight rely on the gyro. We should be able to disable the gyro and still have drive straight (which relys on the encoders) be "smart".

Suggestions for how to implement "dumb mode" Shooter Speed - Divide the specified RPM by the max possible RPM (stored as a constant). This will give you a value on the range 0 to 1, which can be used to directly set the motor speed. Shooter Azimuth - Time based, same as turn degrees, measure the rotation speed of the turret and use that