|
Re: moving parts of robot during robotinit
Quote:
Originally Posted by schleprock
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,
|
It is not possible to move motors (without altering the current pathways to have some sort of manual override) when the robot is Disabled (not in Teleoperated or Autonomous mode).
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.
__________________
Any post that I make expresses only my opinions. I do not represent the opinions of my team or of any entity affiliated with my team.
As a Mentor:
2016 - Engineering Inspiration at Greater Pittsburgh Regional
As a Driver:
2014 - Winner of Greater Pittsburgh Regional
Last edited by eddie12390 : 17-02-2015 at 14:14.
|