View Single Post
  #13   Spotlight this post!  
Unread 25-01-2011, 10:56
Alexander Meyer Alexander Meyer is offline
Registered User
FRC #2358 (Bearbotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Lake Zurich, Illinois
Posts: 36
Alexander Meyer is on a distinguished road
Re: Encoder as PIDSource

Instead of

Code:
class PIDEncoder : public Encoder, PIDSource
explicitly declare both superclasses as public, like this:

Code:
class PIDEncoder : public Encoder, public PIDSource
Reply With Quote