![]() |
moving parts of robot during robotinit
is it against the rules for the robot to move some parts during the robotinit() method (in java)?
in our case, we need to reset the encoder on the arms of the robot to a known position when the robot first starts up. this entails moving the arms to a limit switch and resetting the encoder. thanks, |
Re: moving parts of robot during robotinit
Quote:
I don't have a specific rule, but the definition of Disabled in the rule book makes this illegal: Code:
DISABLED – a state in which a ROBOT has been commanded by the Driver Station to deactivate all outputs. |
Re: moving parts of robot during robotinit
Agreed. Place the part as close to the desired location manually during setup, then make this calibration the first thing in autonomous.
Even better, unless it violates transport configuration or other practical issues, move the part to the proper location just before shutting down. |
| All times are GMT -5. The time now is 16:22. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi