Go to Post I predict someone has to eat a hat! :D - FiMFanatic [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 10-02-2005, 17:07
sirbleedsalot's Avatar
sirbleedsalot sirbleedsalot is offline
Registered User
FRC #0939
Team Role: Student
 
Join Date: Feb 2004
Location: New Effington South Dakota
Posts: 178
sirbleedsalot has a spectacular aura aboutsirbleedsalot has a spectacular aura aboutsirbleedsalot has a spectacular aura about
Autonomous and joystick problems

I have no programing experience and my team wants two things from me one is to desensitize the joysticks, and the other is to have the robot drive straight forward during auto mode. I know there are threads on both of these, but I don't know where to put the snippets into the code, and how to create a new hex file to download into the RC. So if anyone could tell me the exact code I need to do these things and where to put it along with getting the whole deal into the RC that would be great.
  #2   Spotlight this post!  
Unread 10-02-2005, 17:34
Hershey's Avatar
Hershey Hershey is offline
You can't name all of my positions!
AKA: Andrew
#1290 (Wolfgang Robotics)
Team Role: Leadership
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Chandler, Arizona
Posts: 33
Hershey can only hope to improve
Send a message via AIM to Hershey
Re: Autonomous and joystick problems

As for exact code... for the autonomous driving forward, you first need a timer, exact code not in my mind at the moment, and the rest is easy.

if(timer_overflowed* == 1)
{
pwm01** = ###***
timer_overflowed == 0
}
  #3   Spotlight this post!  
Unread 10-02-2005, 23:34
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Autonomous and joystick problems

Look for the Programming Quick Start white paper by Mark McLeod. It was written for people in exactly your situation.
  #4   Spotlight this post!  
Unread 11-02-2005, 00:11
russell's Avatar
russell russell is offline
Registered User
#1430 (WRONG)
Team Role: Electrical
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Anchorage AK
Posts: 402
russell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to all
Re: Autonomous and joystick problems

Or Chuck Bolin's autonomous programming guide. It describes exactly how to make your robot drive forward and such.
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
Autonomous weirdness in user_routines_fast.c Roland Programming 6 30-03-2004 11:36
Joystick Problems anupalsingh Programming 0 23-02-2004 17:50
Autonomous to Manual control? Lint_Ninja Programming 5 16-02-2004 21:48
Programming Autonomous mode Jared Stofflett Programming 3 11-11-2003 09:32
autonomous sensor programming ? Laura_d Programming 1 10-02-2003 17:46


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

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