Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Gyro help (http://www.chiefdelphi.com/forums/showthread.php?t=16045)

Matchew 07-01-2003 14:11

Gyro help
 
DOes anyone know how to program or have any tips on how to use the gyro???

Jack 07-01-2003 14:14

I'd recommend posting this in the programming forum. :)

Other than that, i know that they are pretty tricky to use.

rbayer 07-01-2003 14:24

This also falls under the
search before you post umbrella. I know questions like this have been asked multiple times.

If you still can't find it after searching, PM me and I'll send you stuff.

wwrye 07-01-2003 15:30

What exactly are you trying to do with it?

rwaliany 07-01-2003 18:30

gyro
 
Hook the gyro up to the analog inputs. In the control manual, it should tell you how. Assign it to one of the analog inputs, ex: analog3, in default code, sensor3. Turn the constant for sensor3 on, add it to your serin command, and input data from it. The yaw rate sensor, measures the rate of angular change from an arbitrary plane. So basically in the right position, if you turn it, the value changes. However, it resets starts recounting after around 60ms (3 pulses). This might help, heres our default code, it has some balancing code using gyros for the eduRobot.

Gyro Code -> sub_balance

Joe Ross 07-01-2003 18:36

Actually, the the yaw rate sensor measures the rate of angular change. This is why if you stop moving it, it goes back to neutral. If you turn it faster, the larger (or smaller) the value will be.

ttedrow 11-01-2003 09:10

Lets see, angular turning rate integrated with time gives us an angle. This may not work well in PBasic but think of what could be done in the "Black Box"

Morgoth 20-01-2003 10:49

Quote:

Originally posted by Jack
I'd recommend posting this in the programming forum. :)

Isn't THIS the programming forum. LOL


All times are GMT -5. The time now is 01:14.

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