|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Coding a few issues out we had over the season
One of our problems we never ironed out was with our autonomous Chooser whether to shoot or not. We are using a Java Command based program. The simple fix we are trying is to use the isAutonomous. Seems we can use this in the Robot class but not outside of it. How can i get this status in the execute() of the command to determine when in autonomous to release the ball or not. We have tried Robot.isAutonomous() but errors.
|
|
#2
|
||||
|
||||
|
Re: Coding a few issues out we had over the season
DriverStation.getInstance().isAutonomous()
|
|
#3
|
|||
|
|||
|
Re: Coding a few issues out we had over the season
Thank you.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|