Go to Post One day the code will be written first, and then a robot built around it - dag0620 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
View Poll Results: What is the likelyhood that this software will be used?
It would most likely be used by rookie teams 10 58.82%
It would serve as a guide tool to both rookie and veteran teams. 4 23.53%
It wouldn't get used at all 1 5.88%
It would totally rock the competition! When will it have AI? 2 11.76%
Voters: 17. You may not vote on this poll

Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-05-2007, 00:13
htwiz2002's Avatar
htwiz2002 htwiz2002 is offline
Htwizard
AKA: Anthony Takata Bawahawba
#1290
Team Role: Engineer
 
Join Date: Jan 2004
Location: Chandler, AZ
Posts: 23
htwiz2002 will become famous soon enough
Lightbulb New Terminal Interface and Autonomous code

I have been working on an all-around beginner's type code that should require very little re-compiling for a general robot.
As yet, it is version 0.36 and thus incomplete, but I think it is promising.
It will feature the following:
  • Terminal-based end-user interaction
  • Driver (end-user) can program various aspects of its' behavior through the terminal.
  • Autonomous programming will be simplified through action commands via the terminal.
  • PWM outputs and Relays can be designated for motors like ARM1 and DriveLeft
  • Those same designations can have terminal-customized actions mapped to either buttons on any joystick or the two axis.
  • Locations for things like CameraTilt and EncoderClock will also be available through the Terminal. (i.e. setting which pwm is for driving, which digin etc...)
  • Configuration can be backed up and restored via the terminal.
  • All supported devices (camera, encoders, gyros) will have configuration screens in the terminal, which save their data.
  • Three drive modes will be available: Tank, Car, Exponential tank, and single-joy, each can be set to any joystick axis.
  • Differing version conflicts will be detected (simple byte set in eeprom) and the user will be prompted with choices
  • Corruption detection in version 4! (if ever coded, that it)
  • Self-Program hack can be enabled to any digio port, also non-terminating loop crash implements (for those who want a kill switch that's not on the bot )
Of course, only very little of this is evident in the current build, but it should run (meaning it compiles)
Anyone wishing to see the (not) fabulous code, please e-mail me (I'm not on chiefdelphi enough to read PMs often) at tsaukpaetra-at-cox.net

What do you think? Am I going off on some incredibly complex project that noone will ever run or think about?

See my (rudimentary) website at http://tsaukpaetra.com !!!
Attached is a snapshot (today) of the current build (with .o files and everything, sorry!) if you want to take a peek.
Attached Files
File Type: zip TerminalInterface0_36.zip (331.2 KB, 65 views)
__________________
TsAuKpAeTrA (Anthony)
  #2   Spotlight this post!  
Unread 09-05-2007, 07:27
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: New Terminal Interface and Autonomous code

I think its a great piece of software for rookie teams... Great work!

Often the challenge of hardware is a little intense for rookie programmers, especially if they have no one who's knowlidgeable on their team to help them get started.

-q
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08
  #3   Spotlight this post!  
Unread 09-05-2007, 10:19
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: New Terminal Interface and Autonomous code

Quote:
Originally Posted by Qbranch View Post
I think its a great piece of software for rookie teams... Great work!

Often the challenge of hardware is a little intense for rookie programmers, especially if they have no one who's knowlidgeable on their team to help them get started.

-q
I totally agree. That is a great idea.
__________________
Eric Haskins KC9JVH
  #4   Spotlight this post!  
Unread 09-05-2007, 11:24
cbale2000's Avatar
cbale2000 cbale2000 is offline
Registered User
AKA: Chris Bale
FRC #5712 (Gray Matter)
Team Role: Mentor
 
Join Date: Apr 2006
Rookie Year: 2004
Location: Saginaw, MI
Posts: 945
cbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond repute
Re: New Terminal Interface and Autonomous code

Well... I'm not a programmer so I didn't really understand parts of it, but from what I did understand it sounds pretty cool. I'll definately check it out with the team programmers once you've gotten it to a "finished" state.
__________________
2005-2008: FRC 703 Phoenix - Driver
2009-2016: FRC 703 Phoenix - Mentor
2017-????: FRC 5712 Gray Matter - Mentor
  #5   Spotlight this post!  
Unread 09-05-2007, 13:52
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
Re: New Terminal Interface and Autonomous code

stupid school server won't let me see it... but it sounds like a good idea from what i read above
__________________


  #6   Spotlight this post!  
Unread 09-05-2007, 16:04
htwiz2002's Avatar
htwiz2002 htwiz2002 is offline
Htwizard
AKA: Anthony Takata Bawahawba
#1290
Team Role: Engineer
 
Join Date: Jan 2004
Location: Chandler, AZ
Posts: 23
htwiz2002 will become famous soon enough
Smile Re: New Terminal Interface and Autonomous code

Quote:
Originally Posted by cbale2000 View Post
Well... I'm not a programmer so I didn't really understand parts of it, but from what I did understand it sounds pretty cool. I'll definately check it out with the team programmers once you've gotten it to a "finished" state.
Thank you! Basically it is robot code that will allow any general user (driver) to change specific properties of the code without the programmer needing to constantly re-compile. For example, if there were two drive wheels (left and right) the driver would tell the robot which PWMs each was on and then specify how the joysticks controlled them, (direct drive tank, single joystick, car, etc).
Also, various other peripherals will (eventually) be supported like the camera, where all that the user needs to do is specify where each data connection is (which pwms are for tilt and pan for the camera) and enable it.


Quote:
Originally Posted by Qbranch View Post
I think its a great piece of software for rookie teams... Great work!

Often the challenge of hardware is a little intense for rookie programmers, especially if they have no one who's knowlidgeable on their team to help them get started.

-q
Thanks!
Quote:
Originally Posted by tseres View Post
stupid school server won't let me see it... but it sounds like a good idea from what i read above
I'm sorry school doesn't deem chiefdelphi appropriate, but thanks.

I didn't expect there to be replies already. This encourages me to keep working.
__________________
TsAuKpAeTrA (Anthony)
  #7   Spotlight this post!  
Unread 09-05-2007, 16:20
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
Re: New Terminal Interface and Autonomous code

actually our team got chiefdelphi unblocked, but i can'd download the zip file.
__________________


  #8   Spotlight this post!  
Unread 09-05-2007, 19:06
htwiz2002's Avatar
htwiz2002 htwiz2002 is offline
Htwizard
AKA: Anthony Takata Bawahawba
#1290
Team Role: Engineer
 
Join Date: Jan 2004
Location: Chandler, AZ
Posts: 23
htwiz2002 will become famous soon enough
Re: New Terminal Interface and Autonomous code

Try downloading it from my home server here: ftp://tsaukpaetra.is-a-geek.net/main...OG/TI_0_36.zip
__________________
TsAuKpAeTrA (Anthony)
  #9   Spotlight this post!  
Unread 10-05-2007, 17:59
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
Re: New Terminal Interface and Autonomous code

thank you
__________________


  #10   Spotlight this post!  
Unread 11-05-2007, 15:35
Pavan Dave's Avatar
Pavan Dave Pavan Dave is offline
Busy in College
AKA: I am John Gault.
FRC #1745 (P-51 Mustangs) FRC #118 (Robonauts)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Richardson, Texas
Posts: 1,387
Pavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond repute
Send a message via AIM to Pavan Dave
Re: New Terminal Interface and Autonomous code

I think veteran and rookie teams can use it as a guide as well as people like me who don't program but are trying to/ want to learn. It will definately be used by many rookie times, but as for veteran teams it will potentially be used for quick coding for quick tests.

Good work.
__________________
Times change. People change. Teams change.
---
2008-Present: FRC1745, P51-Mustangs - Mentor
2005-2008: FRC118, Robonauts - Alumni
National Director of Philanthropy - Delta Epsilon Psi Fraternity, Inc.
1745 - 118 - ΔΕΨ
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CMUCam and autonomous code Demothesis Programming 19 19-12-2007 10:41
New IFI Default/User and Master Code Alex698 Programming 6 28-02-2006 23:04
Anybody have a code for an autonomous mode to go to the 50 point bar???? and... chaoticprout Programming 9 06-11-2004 12:22
Operator Interface code RiotingNerd Programming 5 07-02-2004 21:13


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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