Open bcontino opened 8 years ago
PID has been implemented and needs to be tuned it will make a lot of the above things easier to implement as they will be done almost automatically I think. For instance attacking will autocorrect direction automatically and sweep in nice turns to arc into the opponent.
Button was attached but not tested.
This comment details what still needs to occur over the next day. Please feel free to add or subtract from the lists.
NEED: Calibrate the weights for the ProxSense Class instantiations. Check calibration of line sensors and adjust potentiometer as necessary. Code logic for handling the varying situations of the line sensors being activated. Create either the angular velocity capabilities, or set up PWM for turning capabilities. Find spring for 2nd plow. Glue down button. Create the the default search state. Create the attack function. Run speed tests to confirm ability to stop inside dohyo line. Run tests to confirm proper angle adjustment for opponent location. Run test to confirm proper motion to reach opponent location. Run test to confirm proper ramp deployments
WANT Velocity control using encoders rather than strictly PWM acceleration control
WOULD BE COOL Tying in IMU data with logic to allow for more complex analysis of motion e.g. detecting direction when hit by other robot.