987HighRoller
24-06-2006, 03:10
Hi,
I am trying to make the camera code on a vex controller. I've integrated Kevins code into the default Vex code from IFI and it doesn't seem to have any errors with it (just for the heck of it I tried to run Kevin's code for FRC, unfortunately it didn't work). I have connected the camera's serial port using a male to male serial connection to the programming cable for the Vex controller. One problem with this is that I can't debug the code using the output from the IFI Loader. I'm pretty sure that the camera's serial port is right in the code. The only problem is, IT DOESN'T WORK :ahh: The Vex controller doesn't seem to be getting any data from the camera, and I have no clue why. All I did to make the code work for the Vex was use the Vex default code and add the files from Kevin's 2006 CMUcam2 code one file at a time. I'm pretty sure I've included all the necessary functions as well throughout the code. Does anybody have any ideas as to why this isn't working? Is there a problem with the way I'm using the FRC code for the Vex. Also, I'm using the camera that came in the 2005 KOP, does this matter?
Thanks
I am trying to make the camera code on a vex controller. I've integrated Kevins code into the default Vex code from IFI and it doesn't seem to have any errors with it (just for the heck of it I tried to run Kevin's code for FRC, unfortunately it didn't work). I have connected the camera's serial port using a male to male serial connection to the programming cable for the Vex controller. One problem with this is that I can't debug the code using the output from the IFI Loader. I'm pretty sure that the camera's serial port is right in the code. The only problem is, IT DOESN'T WORK :ahh: The Vex controller doesn't seem to be getting any data from the camera, and I have no clue why. All I did to make the code work for the Vex was use the Vex default code and add the files from Kevin's 2006 CMUcam2 code one file at a time. I'm pretty sure I've included all the necessary functions as well throughout the code. Does anybody have any ideas as to why this isn't working? Is there a problem with the way I'm using the FRC code for the Vex. Also, I'm using the camera that came in the 2005 KOP, does this matter?
Thanks