Go to Post If you have to build the best robot to be inspired then we end up with one winning inspired team, and 999 losers. That is not the spirit of FIRST. - KenWittlief [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
  #1   Spotlight this post!  
Unread 30-01-2016, 14:40
zDrakon zDrakon is offline
Registered User
FRC #3501
 
Join Date: Feb 2015
Location: Sunnyvale
Posts: 10
zDrakon is an unknown quantity at this point
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.
 


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


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

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