View Single Post
  #5   Spotlight this post!  
Unread 01-02-2014, 10:24
Bryan Herbst's Avatar
Bryan Herbst Bryan Herbst is offline
Registered User
AKA: Bryan
FRC #2052 (KnightKrawler)
Team Role: Mentor
 
Join Date: Sep 2007
Rookie Year: 2007
Location: Minneapolis, Minnesota
Posts: 545
Bryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond repute
Re: gyro.getAngle() only outputs 0.0

Quote:
Originally Posted by owltheory View Post
Thanks for the suggestion, we'll give that shot too, but I didn't see anything in the javadoc about that method being static. Have you capitalized the method in the past?
You are correct- "getGyro()" should be lowerCamelCase. If you try to use "GetGryo()," NetBeans will tell you that the method doesn't exist.

UpperCamelCase is correct if you are using C++, which it sounds like you are not.
__________________
Team 2052- KnightKrawler
Mentor and volunteer