View Single Post
  #1   Spotlight this post!  
Unread 01-08-2013, 11:38 PM
shawn.schwartz's Avatar
shawn.schwartz shawn.schwartz is offline
Lead Systems Engineer
FRC #0004 (Team 4 ELEMENT)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Lake Balboa, CA
Posts: 27
shawn.schwartz is an unknown quantity at this point
Deploying Problems with Gyros and Victors

Hello CD,

Using Commandbased robot templating system, our programming department has successfully created tankdrive code. We are trying to implement the gyroscope for drivestraight methods, but we keep getting deploying errors, especially:
Code:
[cRIO] edu.wpi.first.wpilibj.util.AllocationException: PWM channel 1 on module 1 is already allocated
Would it be possible for any team to post working java code with a gyro enabled, so we can see how you initialize the gyros, as well as your speed controllers.

Thank you so much.
__________________
Shawn Schwartz
Programming/Head of Website & Media, Team 4 ELEMENT
team4element.com
"Innovation distinguishes between a leader and a follower." -Steve Jobs
Reply With Quote