Quote:
Originally Posted by wolfspell12
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.