|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
||||
|
||||
|
Re: Example java code?
Quote:
Command-Based or Iterative style? CAN or PWM? The FRC Java starter guide covers the drivetrain code for Iterative starting on page 11 http://firstforge.wpi.edu/sf/docman/...tation/doc1199 The WPILib programming cookbook covers the Command-Based drivetrain starting on page 14 http://www.wbrobotics.com/attachment...ibCookbook.pdf There's going to be a few minor differences from both of those documents if you're using CAN or an arcade drive however. Most of the other code I've come across in teams public repositories is more complex than that in the documents, but if you'd like to look at that as well: https://github.com/Neal/VikingsBot-2...vikingrobotics https://github.com/frc3946/ReboundRu...reboundrumble/ Last edited by F22Rapture : 10-31-2012 at 06:13 PM. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|