Go to Post I think it's important to keep FIRST's most important award as the top point getter [in Fantasy FIRST]. It's help reinforce that the Chairman's award, Engineering Inspiration and Woodie Flowers award are actually important and FIRST is about more than just the robots. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-01-2015, 15:38
TTFire TTFire is offline
Registered User
AKA: Aaron
FRC #1571 (Error 404)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Gresham, Oregon
Posts: 5
TTFire is an unknown quantity at this point
Gyro error on RoboRIO

I've been attempting to get a gyroscope working on the team's test board, but I keep getting a cryptic error on the driver station when I upload the code. The error I get is:

Error on line 34 of Gyro.cpp: A parameter is out of range.: channel (must be accumulator channel)

Any advice on how to proceed? When I remove the gyro code, it works just fine.
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2015, 15:41
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: Gyro error on RoboRIO

What channel is your gyro on? They can only be attached to analog inputs 0 and 1.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2015, 15:59
TTFire TTFire is offline
Registered User
AKA: Aaron
FRC #1571 (Error 404)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Gresham, Oregon
Posts: 5
TTFire is an unknown quantity at this point
Re: Gyro error on RoboRIO

Quote:
Originally Posted by lopsided98 View Post
What channel is your gyro on? They can only be attached to analog inputs 0 and 1.
Looked again and realized that it was actually attached to a PWM port. Haha.
Reply With Quote
Reply


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 13: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