View Single Post
  #2   Spotlight this post!  
Unread 28-12-2016, 00:45
Jalerre's Avatar
Jalerre Jalerre is online now
Registered User
FRC #4965 (FIRE)
Team Role: Alumni
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Anderson, SC
Posts: 147
Jalerre is on a distinguished road
Re: Am I Using Command-Based Correctly?

As far as I can tell, you are using the command based template exactly as it is intended. The only suggestion I have is to set constants labeled PWM1, PWM2, DIO1, DIO2, ect in your Robot Map and then set your motor controller and sensor variables to these constants. It makes things a lot easier if wiring changes in the future and increases readablity.
__________________
Vex
2013: 415 - Fabrication, Programming, Electrical
2014: 415D - Captain, Programming Lead
FTC
2014: 7354 - Programming Lead
FRC
2013: 415 - Safety Animation, Fabrication
2014-2015: 4965 - Programming & Electrical
2016: 4965 - Captain, Programming Lead, Electrical
Reply With Quote