|
Re: How to detect missing CAN devices from Java?
If the robot drive is stuttering your robot, what cycle rate are you running your code at? If its below 60hz robot drive is probably just getting angry for you updating too slowly. Go up to 60hz (0.016sec delay minimum) and see if that helps with safety enabled. If not, dump the system time at the beginning and end of teleopPeriodic to see how long it takes to process all of your motor commands. Motor safeties aren't a bad thing.
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
|