|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
DigitalInput gyro class help
So I'm trying to create a DigitalInput gyro class, and have tried googling for any available open source libraries, seems not.
I believe I'm supposed to make my own Gyro class to extend the empty "Gyro" class. My team's gyro only uses digital input, so... how exactly could I start off using the DigitalInput class to get values from the gyro and basically do what AnalogGyro does (calibrate, getAngle, reset, free, etc.) since it comes with those empty methods. |
|
#2
|
||||||
|
||||||
|
Re: DigitalInput gyro class help
What is the part number of the gyro you are trying to use?
|
|
#3
|
|||
|
|||
|
Re: DigitalInput gyro class help
I've been confused on this. Just talked to others and seems like we know what we're going to do now. The part was https://www.sparkfun.com/products/10121.
Anyways if I need more help I'll post again here. |
|
#4
|
||||
|
||||
|
Re: DigitalInput gyro class help
how are you handling hooking the 3.3 device up t a 5V roboRIO I2C? Are you using level shifters, or is it just working?
|
|
#5
|
|||||
|
|||||
|
Re: DigitalInput gyro class help
Quote:
Quote:
|
|
#6
|
||||
|
||||
|
Re: DigitalInput gyro class help
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|