Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Anyone have the drive programming code? (http://www.chiefdelphi.com/forums/showthread.php?t=62840)

team2061 30-01-2008 01:29

Anyone have the drive programming code?
 
My team can't find out where to get the drive code. Does anyone know where to get it or where to find it?

laultima 30-01-2008 01:54

Re: Anyone have the drive programming code?
 
http://www.ifirobotics.com/first-legacy.shtml
2005 RC User Default Code, the two versions are with or without camera code.

Edit: PWM 1 is defaulted OI port 1, y axis; PWM 2 = port 2 y; PWM 13 & 14 right side for one-joystick drive, 15 & 16 for left side. Feel free to change this if you need to.

Mark McLeod 30-01-2008 10:02

Re: Anyone have the drive programming code?
 
The 2007 IFI default code might be more appropriate:
http://www.ifirobotics.com/docs/frc-code-2007-8722.zip

Links are at the bottom of the IFI Robot Controller page at: http://www.ifirobotics.com/rc.shtml

team2061 30-01-2008 22:07

Re: Anyone have the drive programming code?
 
What programs are these codes in because I need them in EasyC?

laultima 30-01-2008 22:59

Re: Anyone have the drive programming code?
 
These codes are for if you are programming in MPLabs or the like. For EasyC, just drag and drop one of the driving function blocks (if I remember right, there's tank-style 2 & 4 motor variants, as well as arcade-style 2 & 4 motor variants), and configure which ports the motors go to, which OI port(s) the joystick(s) on, etc.


All times are GMT -5. The time now is 23:44.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi