|
Re: Free programming help
To be able to help you to get pointed in the right direction it will help me alot to know how much you already know about programming in general, if this is the first time you have done any large scale programming then i can understand the daunting task, this is the second largest programing project that i have ever had, although i have only been programming for 2 years,
now since you have read the .ppt files on USFIRST i would recomend that when you are at home you take the C-BOT CD and install the programs on your home computer, i would also recomend trying to convince your school division to allow you to install it on one of the computers, DO NOT INSTALL IT WITHOUT PERMISSION.
If your team doesnt want to do any custom programing yet then if you use the default code here is how each PWM is powered(i am doing this from memory so someone please correct me if i state something wrong):
pwm01 joystick 1 Y axis(forward back)
pwm02 joystick 2 Y axis
pwm03 joystick 3 Y axis
pwm04 joystick 4 Y axis
pwm05 joystick 1 X axis
pwm06 joystick 2 X axis
pwm07 joystick 3 X axis
pwm08 joystick 4 X axis
pwm09 sorry dont remember from here on out
pwm10
pwm11
...
using these PWM values you can hook up your victor 884 to the RC at these pinouts as per the manuals instructions(found at ifirobotics.com) and you can set up pretty much everything for a funtioning robot.
there are also the spike relays that can be hooked up and they are set to relay1_fwd
relay1_rev
relay2_fwd...(i dint remember what joysticks these go to but a quick search through user_routines.c in the 2006 default code will tell you)
Here you go, good luck if this doesnt help just email me or post a clarification so i can try again
Last edited by Cuog : 18-01-2006 at 19:07.
|