Go to Post Torment us no longer, Oh most great and knowledgable Dave. We savor your every utterance. - Gary Dillard [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 30-01-2005, 14:48
gemccnp gemccnp is offline
Registered User
no team
 
Join Date: Jan 2005
Location: Montana
Posts: 10
gemccnp is an unknown quantity at this point
Question Need Advice On Code Out Of Box...New To This

Dear experts, scholars, mentors

I am volunteering to help a local team with the loading of code for a robot in this years competition. I am more of a network and security guy but am a little familiar with C.

Our team would like to operate pneumatics and possibly the camera on the robot. Out of the box, the robot is functioning fine even with two joysticks although one is a little jumpy.

My question is about default user code. Is the code loaded now just fine? We got the robot January 15th 2005. Do I need to load newer master code and then user code again? It does not really seem like I need to do any programming for the basic functionalities we need. Do you agree ?

Thanks for any help.
Sincerely
George Murphy
Mentor
Team #1696
  #2   Spotlight this post!  
Unread 30-01-2005, 14:53
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: Need Advice On Code Out Of Box...New To This

Quote:
Originally Posted by gemccnp
Dear experts, scholars, mentors

I am volunteering to help a local team with the loading of code for a robot in this years competition. I am more of a network and security guy but am a little familiar with C.

Our team would like to operate pneumatics and possibly the camera on the robot. Out of the box, the robot is functioning fine even with two joysticks although one is a little jumpy.

My question is about default user code. Is the code loaded now just fine? We got the robot January 15th 2005. Do I need to load newer master code and then user code again? It does not really seem like I need to do any programming for the basic functionalities we need. Do you agree ?

Thanks for any help.
Sincerely
George Murphy
Mentor
Team #1696
It is fine if the controller you are using is the one that came in this year's kit.
If you are using last season's controller, you will need to load the new version of both the master and the user code.
__________________
1139 Alumni
  #3   Spotlight this post!  
Unread 30-01-2005, 14:58
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Need Advice On Code Out Of Box...New To This

I'm thinking that the new RC came with the newest master code already loaded, but I'd do it anyway, just to be safe. It's not that big of a deal. As far as just running the default code, so long as you understand where to hook things up, it should work just fine.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #4   Spotlight this post!  
Unread 30-01-2005, 15:08
SteveO SteveO is offline
Registered User
no team
 
Join Date: Jan 2003
Rookie Year: 2003
Location: NV
Posts: 122
SteveO will become famous soon enoughSteveO will become famous soon enough
Re: Need Advice On Code Out Of Box...New To This

The 'out of the box' code lets you do everything basic. You will have to change it a little if you want to get more advanced, like changing the default buttons, having more functions, and autonomous etc.

Probably the toughest part will be the autonomous programming, which I think is true for most teams
  #5   Spotlight this post!  
Unread 30-01-2005, 18:57
JamesBrown JamesBrown is offline
Back after 4 years off
FRC #5279
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Lynchburg VA
Posts: 1,276
JamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond repute
Re: Need Advice On Code Out Of Box...New To This

Their is a new master code ( I believe it was mentioned in update 4) I dont know if you will ned it but it only takes 5 or so minutes to put it on the bot so you mine as well do it.

As for the jumpy joystick divide your input value by 2 and add 64, like this

pwm01 = (p1_y/2)+64;
pwm02 = ((254-p2_y)/2)+64;

That was a quick fix for ours and every one on our team agrres it is now easier to drive
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
Example gyro code released. Kevin Watson Programming 60 17-03-2005 18:32
Kevin Watson's Kick-off Demo Code! Mr. Lim Programming 27 22-01-2005 03:38
Sourceforge for Code Repository and other stuff SilverStar Programming 9 15-01-2005 21:16
A Centralized Code Dump? colt527 Programming 29 01-01-2005 16:07
heres the code. y this not working omega Programming 16 31-03-2004 15:18


All times are GMT -5. The time now is 09:38.

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