Go to Post it's called the Mars Rock automode (you sit there and wait for Opportunity to come along). - EricH [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 25-01-2006, 15:40
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Gyro Code Problems

Quote:
Originally Posted by railerobotics
I did exactly what was in Kevin's instructions.

Sorry for being very new to programming
Try downloading just the gyro code form Kevin and see if it works.
Look at the user_routines.c in the PURE gyro code.
  #2   Spotlight this post!  
Unread 26-01-2006, 09:30
naor52 naor52 is offline
Registered User
FRC #1578
 
Join Date: Dec 2005
Location: ISREAL
Posts: 23
naor52 is an unknown quantity at this point
Re: Gyro Code Problems

i did that and i didn't get reasonable values
because i move the sensor 90 degrees and back where he was and i don't get the same values which i get i n the start
  #3   Spotlight this post!  
Unread 26-01-2006, 22:37
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Gyro Code Problems

Quote:
Originally Posted by naor52
i did that and i didn't get reasonable values
because i move the sensor 90 degrees and back where he was and i don't get the same values which i get i n the start
I havent tried yet but I think the sensor gives you the change not the actual value.
  #4   Spotlight this post!  
Unread 27-01-2006, 10:45
ldeffenb ldeffenb is offline
Registered User
AKA: Lynn Deffenbaugh (Mr)
None #0386 (Team Voltage 386)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Florida
Posts: 75
ldeffenb has a spectacular aura aboutldeffenb has a spectacular aura aboutldeffenb has a spectacular aura about
Send a message via ICQ to ldeffenb Send a message via AIM to ldeffenb Send a message via Yahoo to ldeffenb
Re: Gyro Code Problems

Quote:
Originally Posted by naor52
i did that and i didn't get reasonable values
because i move the sensor 90 degrees and back where he was and i don't get the same values which i get i n the start
Remember that the gyro has a maximum turn rate that it can report. Turning faster than that (which is easy to do when holding the gyro in your hand) will cause signal overflows which translate into lower rotations report than actually occurred.

Try doing your test and turning the gyro VVVVEEEEERRRRRYYYYY SSSSSSLLLLLLLOOOOOOWWWWWWLLLLLLYYYYY and see what happens.

$0.02 from Lynn (D) - Team Voltage 386 Software
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
Trying to import Camera code into program without. Kingofl337 Programming 1 18-02-2005 00:43
Updated: Serial Port Driver Code Kevin Watson Programming 4 05-02-2005 18:39
Coding / Style Standards for sharing C code Joe Johnson Programming 33 01-05-2004 15:15
heres the code. y this not working omega Programming 16 31-03-2004 15:18
Wierd gyro code problems...pls help Salik Syed Programming 4 14-03-2004 01:29


All times are GMT -5. The time now is 02:56.

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