|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: PLEASE HELP!!!
What drivetrain do you use?
Have you checked the screensteps? How much software do you know? Just asking for code is a fairly broad topic, if you can supply more information, more people will be able to help you. |
|
#2
|
|||||
|
|||||
|
Re: PLEASE HELP!!!
Also, which robot template do you use (sample, iterative, command)?
At a minimum, you should have at least two autonomous routines this year:
You can select which to use either through the driver station or a switch on the robot connected to a DIO port. As Sparkyshires noted, the screensteps are a good place to start. Even if you have any higher autonomous ambitions, you should still start with these two to figure out how it works with something simple. |
|
#3
|
||||
|
||||
|
Re: PLEASE HELP!!!
Which sensors do you have/can you put on your robot?
|
|
#4
|
||||
|
||||
|
Re: PLEASE HELP!!!
Have you read WPILib's screensteps live? http://wpilib.screenstepslive.com/s/...g-a-base-class
If your base class is IterativeRobot, you will write your autonomous in public void autonomousInit() { // called when you enter autonomous } public void autonomousPeriodic() { // called every loop through your code } If you know how to write teleop code, it is a simple matter to transfer that to autonomous. For command-based robot, read the guide here: http://wpilib.screenstepslive.com/s/...onomous-period |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|