|
Re: Last Minute Programmer - Need Help!
HEY!
Slow down for a minute!
Hopefully your programmer has given you the basics of the code in the robot in the box. Was it written in MPLAB or Easy C?
The default code will give you general control of the robot in tele-operating mode. Hopefully, this capability is already done for you.
It's important to have a map. Get to know what the PWM signals used are doing. What are the Digital I/O signal pins and Analog signal pins connected to?
Without this, you cannot write effective software in either language platform.
If your teammates are looking to you to write autonomous, good luck in MPLAB. You would be wise to find a guru or alliance partner willing to help you to write a routine that could get you a few points based on your sensor capabilities.
If your tele-operated code is already in Easy C, Then it's is easier for you. Find another guru versed in Easy C to help.
My experience is someone knowing Easy C may not have the skills necessary to write Code in MPLAB, but someone knowing MPLAB may be able to convert code from Easy C to MPLAB. You are better selecting a platform to use and sticking to it. I have no success in combining the two into one effective program. The libraries are totally different.
It is far more difficult to convert from MPLAB to Easy C than vice versa.
Look at your base code and understand it's capabilities before tinkering with it and ALWAYS back up the software before making ANY changes. You will be glad you did.
Good Luck a VCU.
__________________
Team MARS = 1.523 AU from the SUN!
Jim E.
|