In the kickoff we where promised either seperate commands or scripts for autonomous mode. In particular, code to interface with the camera. Does anyone know where I can get that or if it is even out?
Programmer
Team 486
In the kickoff we where promised either seperate commands or scripts for autonomous mode. In particular, code to interface with the camera. Does anyone know where I can get that or if it is even out?
Programmer
Team 486
http://www.ifirobotics.com/camera.shtml has the “getting started” zip file which includes the camera manual and FRC code.
where do you get info on the scripting commands? is there going to be a program to do this with. It seems that it will be a program that you write the scripts and then the program writes the c code for you. but I don’t know where it is.
I was using the simulator option in mplab, and it gave me this error like 100 times in a row, and then stopped simulating. “UART-W0001: Overrun, write occured over a full TXREG SFR. Data lost”. though, there was one error before all those errors that said “UART-W0006: Receive file has no data or failed to attach when UART receive mode Enabled.” the line of code it pointed to was printf_lib.h. anybody know what’s wrong with this? it pointed me to a place in a file that had this line of code
" Wait4TXEmpty();". any help would be appreciated.
It is trying to communicate through the serial port (even in sim mode) to which nothing is connected. It’s expecting to see some data and there is none to see so you are getting the error. You shouldn’t see this when you connect up the RC and Camera.
Sean
Ok, I am trying to compile the default FRC code in MPLAB 7 with the C18 v 2.4 compiler.
I added Kevin Watsons Serial Ports, Printf, Interrupts, and Encoder files. After every file I added, I called them in all the right places, and built all, with no errors.
Then I added the CORDIC math libraries and built, no problem.
Then I added the camera serial driver files and got a build error:
Error - could not find definition of symbol ‘Serial_Char_Callback’ in file ‘C:\Documents and Settin. . .base\user_SerialDrv.o’.
Errors : 1
The funny thing is, I removed the files I had just added, and the error persisted, in a build which had worked 5 minutes before.
Thoughts?
Where do we get MPLAB 7?
I think you can get it from here:
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en019469
Are encoders required for the given automous commands to work?
In essence, YES! I’m not sure, however, if the Hall Effect Sensors could be used instead…