![]() |
Re: Free programming help
Here are the default code pwm and relay linkings with the joysticks and digital inputs
Code:
//PWMsEnjoy and feel free to correct me if I am incorrect with any of these! |
Re: Free programming help
yes thats correct i just didnt have my code or my code book with me
|
Re: Free programming help
Quote:
Hi Rebekah, and welcome to Chief Delphi. Something you may want to consider, if you feel you dont have the time/resources/support to tackle learning C programming in time to get a functioning robot (with an autonomous mode even, perhaps?), is the new software that intellitek provided all FIRST teams with this year; EasyC. EasyC is a GUI (Graphical User Interface) C programming tool that allows users to literally "Drag and Drop" blocks of C code. While you still need a basic understanding of program flow (if/then, else, loops, etc...), this program can DRASTICALLY reduce the learning curve and get you a functional program in very little time... More info about EasyC can be found here: http://www.chiefdelphi.com/forums/sh...ad.php?t=41590 and http://www.chiefdelphi.com/forums/sh...ad.php?t=41333 I would highly suggest contacting your district and requesting installation of whatever development tools you choose on at least one machine in the school. Another option is if a team member has a laptop or spare desktop, you can set up a programming computer off of the network, so the district has no control over it. If all else fails, you absolutely NEED them to allow the installation of IFIloader on a computer WITH A SERIAL PORT (Or USB with a USB to Serial adapter Cabler...I've had good luck with the radio shack brand) AND ACCESS TO THE ROBOT, otherwise those nifty .hex files you compile at home(or at school, with luck) will be unable to be loaded to the Robot Controller (and that just wont do!). If there is anything else I can do to help, you can drop me an email at DespoticDreamer@gmail.com or an IM (AIM, none of this MSN Messenger silliness...) at DespoticDreamer Good luck! -Dillon Compton |
Re: Free programming help
Cuog & ALL FIRST Teams,
I propose all (many?) teams collaborate on a 'Simple Set Path' Autonomous Strategy (SSPA) via a CD forum. (SSPA?) PRO: when cooperating teams ally they will score above average together in the auton. period. (AP) (increase chance of near or perfect 100 pt AP score) by avoiding random collisions i.e. use preset paths for each start position, so all have higher avg qual scores than those who don't. FIRST leaders, members & spectators will be happy with high scores ! CON: Drive accuracy & shooting apparatus effectiveness will determine indiv best AP score. No ally may be able to score from 18' effectively. SSPA proposal: (prepgm modes) define 3 starting robot positions: Lead, Mid, Back (LMB) 3 bots drive straight line angle from LMB to centerline, 8', 13', 18' from goal base, respectively & shoot 10 balls Provides 2' in front of ramp for lead bot and ~2' between remaining ~36" bots Engage CMUcam correction near end of fast init drive for AZ & EL then shoot. (some will have to turn bot frame, others have a tracking turret) Overwhelming advantage is the if each can drive within the 2' margin corridor they will not bump into alliance partners permitting max score potential. Partners may choose to put better distance shooters in the M/B positions. 18' should take only 3 sec, leaving 7 sec to align & stabilize and shoot 10 Alternative scheme (prepgm mode): (increased risk of collision) L&M shoot quickly and move away from center allowing B to drive forward after a TBD 2-3sec? delay then shoot from closer Regards, Dale (294engr] |
Re: Free programming help
TO tell the truth the only things I know about the programming, is that there are if statements and else statements, and I'll see if my mentors will let me install the MPlab on my home computer, and possibly I could bring it to school to use there, because I have no real connections on it, and I have no internet, I think though that with the help you have given me I can at least help them to make sure that the motors and joysticks work.
Yes, I will let you know if I end up needing further help, which I know I will, because none of my mentors know anything about c-programming. Thank you in advance. |
Re: Free programming help
Since you are the only member of your team programming there should be o problem for you to install a copy of MPLAB etc. on your home computer(i have it on 2 of my own computers) also if you need a more in depth tutorial on how to program for FRC you can either search these forums white pages or you can wait a bit and i will try and write a nice tutorial if there is any interest.
|
Re: Free programming help
Hey, if you can write a tutorial for someone who knows nothing pretty much like an Idiots Guide to C, That would be great, but also my mentor is bringing in a programmer from another team to help me out.
|
Re: Free programming help
Ok i will get to it keep your eyes open for an initial release some time this weekend.
|
Re: Free programming help
OK i finished the programming guide http://www.chiefdelphi.com/forums/pa...le&paperid=592
feel free to download it and read it i hope it will help people. |
Re: Free programming help
Thank you, as soon as my teacher downloads it I will read it, because you see, I am at school, and the school computers will only let teachers download things.
|
| All times are GMT -5. The time now is 00:11. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi