View Single Post
  #5   Spotlight this post!  
Unread 25-01-2014, 18:57
gpetilli gpetilli is offline
Registered User
FRC #1559
 
Join Date: Jan 2009
Location: Victor, NY
Posts: 285
gpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to all
Re: Gyros in place of potentiometers?/Gyro intergration with jaguars

Quote:
Originally Posted by wolfspell12 View Post
While this is becoming more of a programming question, I am a little concerned about the last thing you said. I did a little searching, but it wasn't much help. At least that verified that you could connect to the jaguars or the cRIO. I looked at the java docs, and some of the constructors use a DigitalSource object. I dont know if this object is an input on the cRIO or the jaguar. If its on the jaguar its no problem, if its on the cRIO then i need to know how to tell the robot that these are connected to the jaguars. Does someone know for certain if a digital source connects to the cRIO or jaguar? If it connects to the cRIO how do i tell the robot that it needs data from the jaguars?
Im sorry, but you are at the edge of my knowledge. I think you need to create encoder and gyro objects and pass them to the mecanum drive code. You really need someone who has done this to direct you better.
Reply With Quote