View Single Post
  #1   Spotlight this post!  
Unread 19-01-2009, 16:06
Joshamuffin Joshamuffin is offline
Programmer
FRC #1723 (FBI)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Missouri
Posts: 24
Joshamuffin will become famous soon enough
Send a message via MSN to Joshamuffin
Splitting RobotDriveDevRef into separate motor references.

Can you split RobotDriveDevRef into separate motor references? I tried unbundle by name. I get DevStatus, Motors[], Sensitivity, and Square Inputs. I tried using Motors[] for a Motor/Get-Speed Function. Wrong data match. I tried splitting Motors[] using unbundle by name. Wrong data match. The other programmers are using Drive functions that use RobotDriveDevRef in their autonomous code they are developing. I could change all of the autonomous code to use separate motor openings and Motor/Set-Speed functions. However, I would prefer to avoid it. It's vastly easier to use the drive functions.

BTW, we are using a Drive/Open-2-Motor function to open. We are using two motors to drive the back wheels independently. The kind of drive system that is conveniently done by tank drive.
Reply With Quote