When a motor is being power cycled, what power value in robotc would be equivalent to what it’s being powered at?
what do you mean power cycled? do you mean maximum speed? that would be either 127 or -127
I mean when you plug in the 2 prong wire of the motor into the most right of a port.
what? the port you plug it in has nothing to do with the speed of the motor…
do you mean plugging a motor into ports 1 or 10 ?
or do you mean plugging a 2 wire motor into a 3 pin port ? (not a good idea)
If you mean just putting the motor straight into the power rail of a 3-pin port, then you are basically just giving it whatever voltage the battery is at. The closest you can get to this in ROBOTC is either -127 or 127 depending on which direction you want to go. It won’t be exactly the same though.
With the term “power cycling,” it generally means turning off and turning back on. To get more intricate with power cycling, you would start by turning off the Cortex/Brain, Unplugging the batteries associated with the Cortex/Brain, waiting a certain amount of time, plugging the batteries associated with the Cortex/Brain back in, then turning the Cortex/Brain back on. Power cycling a motor is not necessarily possible other than the fact of disconnecting than re-connecting the motor in terms of the definition of power cycling, but that is highly unlikely of what you are meaning. In what you are saying I am quite confused. Is there any resource that’s about ‘power cycling motors?’ Could you reference the resource you are getting this from?
In terms of simple motor power in ROBOTC, the motors can recieve a negative power level of -127 to a positive of 127, with 0 being resting. The joystick operates the same for the stick values where -127 is down or left input and 127 being the top or right input (depending on the joystick channel axis).
In order to test whether a motor functions or not, my seniors would plug a motor into a 3 pin port. When you say not a good idea, do you mean that that damages the motor? (Because that might explain why a lot of our older motors were dead.)