|
NEW PROGRAMMER - MOTOR PROGRAMMING
Okay so I am a NEW programmer for the LF Robotics team - our old programer went off to college and left me to program this year. I tried for hours to program in a motor to, by the push of button four on the right joystick, start spinning for 5 seconds then by the push of button five on the right joystick it would shut off. I thought this would be simple but I guess I was mistaken. I am programming in java in command base. What do I need to do to complete this task? Also what does double mean - I have been seeing it everywhere in the code. I tried to make up some code by comparing our code from last year and instructions off of wpilib but both programs were completely different and neither worked. Could you also explain to me how to create an autonomous program.
PLEASE help!
THANKS!
|