I am trying to use the FRC-2008-RC robot controller to control another robot for testing purpose. The thing is i dont have any documentation at all.
I need to know what i need to program it and get it running and configured for a Tank drive robot configuration. At this time i will only have it control 2 Vex esc’s for the drive control. Can someone help me out? Also, What utilities do i need to program it?
IFILoaded, attached since the site appears to be done or gone. It would normally be at www.ifirobotics.com
Sample code. Since you’ll be using C18 v3.x, the IFI default code won’t work, so you’ll need to use Kevin Watson’s version. ifi_frc_simple.zip from http://kevin.org/frc/
You should only have to modify code in teleop.c.
You should be able to install everything with the default settings. I’m not sure about C18 v3.x, but the older version had to be installed in a folder directly on a drive (i.e. c:\mcc18\ or there would be weird issues. If you use the default you should be safe, just don’t change the install location.
Post back once you’ve gotten this far, we’ll try to help with specific issues.
So i have finished installing:
Now i need to know how to open and upload the code to it. can u please tell me how i would do this? how do i open the files in mplabx?
Also i need to know the wiring diagram of the programming cable because i do not have it.
Also if you can, can someone tell me the power supply ratings to the Driver station, operator interface, and robot controller.
Sorry if i sound like a noob. like i said i have no documentation at all and even my robotics club has never used this in such a long times so i took on the challenge of getting it to work for a seperate robo build.
In the default code folder, there should be a .mcp file. This is the MPLAB project file. Open this. To download code, I think you go to Programmer->Build, and it will build the .hex file. Then, if you open IFI_LOADER, select the location of your hex file. Under the PortSettings Menu, select the COM port to which your RC is connected, and then hit “download”.
The programming cable is just a standard serial cable. Port pinout.
for the radio i have tried a cable that i had and none of the lights lit up on the radio. i did plug the robot controller to the robot radio.
in the refrence guide it says to use a db9 male-female Pin to Pin cable. can someone give me a diagram for this pin to pin cable?
You have to have a project open already. Use Open Project, not Open File.
The settings you’ll have to make are found under:P**roject -> Build Options -> Project
You might have to choose Suite Defaults, to reset everything.
Make sure these paths are both assigned correctly:
Include Path c:\mcc18\h
Library Path c:\mcc18\lib
The project file (the one you open that points to all the others) has the file extension .mcp
Do you have a serial port (to transfer the program) on your computer or a USB-to-serial converter?
Sorry, my directions were for MPLab.
The project you got from Kevin Watson’s site is an MPLab project, so if you’re using MPLabX you’ll need to construct a new project and include/import the .c/.h/.lib files from the Kevin files.