Go to Post It shouldn’t be about whether or not you think it’s easy or not, it’s about whether or not you think the effect of the change would be a positive step for our country. - Bill Gold [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Spotlight this post!  
Unread 08-03-2006, 10:11
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: Keeping a certain heading using a gyro

Here's the thing: Either you need to detect when your driver is trying to go straight, and use the gyro then, or modify the drive code so it changes the angle that the gyro want's to be.. Unless you just want some sort of position holding code.

Either way, download the package of files for the gyro, take a look at how its used in user_routines.c, there's a bit more you need to do then just Reset_Gyro_Angle()
 


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
Gyroscope Code Kevin Watson Programming 65 01-03-2008 23:46
Labview used to debug the Gyro joshR515 National Instruments LabVIEW and Data Acquisition 1 09-02-2006 20:56
Updated: Example Gyro Interface Code Kevin Watson Programming 2 28-03-2005 04:36
Example gyro code released. Kevin Watson Programming 60 17-03-2005 18:32
Gyro Troubles SteveO Programming 13 30-01-2005 16:46


All times are GMT -5. The time now is 14: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