The testio() function which monitors all I/O status is a time hog, causing us
to miss periodic updates from the Driver Station. Since this function provides
debug information only, there is no need to update all the information 50 times
per second - for PWM's and analog inputs, updates twice a second is probably
fine. However, we should keep fast updates for DIO to aid in debugging the
encoders.
Have a counter in the OrangaHang module. Increment each time through the
teleopPeriodic() function. When the counter exceeds 25, reset the counter and
send the PWM and analog information to the Smart Dashboard. (Alternatively,
implement using count down from 25).
Original issue reported on code.google.com by la...@pyxiseng.com on 8 Mar 2013 at 6:33
Original issue reported on code.google.com by
la...@pyxiseng.com
on 8 Mar 2013 at 6:33