Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Need Code! (http://www.chiefdelphi.com/forums/showthread.php?t=59588)

Kaushal.K 13-11-2007 21:07

Need Code!
 
I'm from Team 1241 and to start the season off, programmers have really bad news.

a) All our code from last year has been wiped off the laptops that we use

AND

b) We have no back-up copies because all our seniors from last year have graduated and are busy with university.

Thus, I was wondering if any team would be kind enough to provide some code to us so that we may be able to run our Rack'N'Roll robot, it would be much appreciated.

Robot specs are:

4 wheel drive (+ 2 pneumatically engaged castors) using 2 Joysticks to drive
Pneumatic powered gripper (simple open close using joystick switch)
2 Fischer Price driving main arm, 1 globe motor driving smaller arm (end effector on this)

Email me at crazydoo2@hotmail.com

Thanks

Kaushal K

whitetiger0990 13-11-2007 21:23

Re: Need Code!
 
Given that it's kind of hard to program a bot over the Internet, why not take your current programmers, shove the default code at them, and make it a preseason project to reprogram your '07 bot? There's not really a better way to have someone learn to program and get used to the robot's code.

Also, your specs are kind of lacking for any specific coding. But I'm going to stick with making it a project to get your newer programmers up to speed. (Since it seems all your other ones graduated?)

Even if the code wasn't lost, I'd still suggest having your newer programmers reprogram it. It's much better to go through this all preseason (and way before your build subteam gives you a bot to program.)

=)

artdutra04 14-11-2007 20:20

Re: Need Code!
 
You can probably re-program most tele-operated functions of your robot in a single team meeting using EasyC Pro, unless you had a lot of closed-loop feedback systems. But if you're just looking to make your robot run, you probably won't need to get fancy with the code. The only thing that matters is that it works.

Kaushal.K 14-11-2007 20:31

Re: Need Code!
 
Thanks guyz..

Yea all our old programmers graduated, and we are having a little difficulty as most of our new(er) programmers have essentially ZERO programming experience..

Thanks for the pointer

Kaushal.K

3dude_2231 14-11-2007 21:11

Re: Need Code!
 
how about requesting a fellow team in your area for some guidance?
I'm pretty sure SOMEONE would be GP enough to help =]

even if they won't give you the finished code, they could teach/remind you a couple of things

good luck there :D
Ran.

BTW, funny sig :)

Phalanx 14-11-2007 21:21

Re: Need Code!
 
My advice would be to save the code that is currently executing by using IFI Device Reader found here:
http://www.ifirobotics.com/docs/device-reader.zip

You won't have source code from it, but you will have an executable code that in case you need to you can reload it back on the RC.

Do a trace back of all the victors, and spikes do see which pwm's, relay's, digital I/O's and analog inputs are in use and for what purpose.

Do a trace back of all the interfaces connected to the OI, any custom switches or dials will needed to mapped to their ports and functions identified.

Lastly download the default source code from IFI and begin editing with that.
http://www.ifirobotics.com/docs/frc-code-2007-8722.zip
Or for the Camera Support:
http://www.kevin.org/frc/frc_camera.zip

DonRotolo 14-11-2007 21:37

Re: Need Code!
 
I agree with Art, now is the time to learn how to do this - come January you will not have the time to learn, you will be expected to do.

Put in the effort, it will be rewarded.

Don

JamesBrown 15-11-2007 01:10

Re: Need Code!
 
Quote:

Originally Posted by Don Rotolo (Post 651838)
I agree with Art, now is the time to learn how to do this - come January you will not have the time to learn, you will be expected to do.

Put in the effort, it will be rewarded.

Don

Now is definitely the time to learn. There is no way for us to write the code for you with out you telling us what port every thing is wired too. Even then you still wouldn't be in any better shape come January.

If you get your programmers started and run into problems just post in here with the problem, and a copy of your code and I am sure someone will promptly help.

Ryan O 16-11-2007 18:57

Re: Need Code!
 
I would definately suggest learning k=now, and if the slateis clean, why do easyC? C is not that much harder. On the first site there is a set of powerpoints hat give the basics, and the default code is there as well.

If you have any specific questions, don't hesitate to email me at rsosilver@comcast.net. I'll give you the best answer I can :)


All times are GMT -5. The time now is 00:17.

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