View Single Post
  #2   Spotlight this post!  
Unread 28-03-2014, 12:47
Zach S. Zach S. is offline
Registered User
FRC #3307 (Luray Robodawgs)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Luray
Posts: 30
Zach S. will become famous soon enough
Re: Changing digital module

Quote:
Originally Posted by Alan Anderson View Post
Instantiate each of the drive motor controllers explicitly. Then, instead of giving PWM channels to the 'drive constructor, pass the motor controller objects.
Okay! I've initialized the jaguars and plugged those into RobotDrive. The only issue now is when I run the code on the robot the forward works, yet when I try to go reverse the motor does not move. I can see that the jaguar IS getting the code (turns red on reverse as it should) just the motor does not move. Could this be an error with the motor itself, or possible to still be within the code?
__________________
Head of Computer Systems and Programming of Team 3307


Reply With Quote