View Single Post
  #1   Spotlight this post!  
Unread 21-01-2017, 23:37
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 408
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: WPILib Spark and Encoder classes not working?

Quote:
Originally Posted by RaskorTheWise View Post
I'm the lead programmer on my team and have been programming for the team for three years.
This isn't a Dean's List interview

Quote:
Originally Posted by RaskorTheWise View Post
Cleaning the project works
Unless your disk suddenly explodes, there's no reason cleaning shouldn't work

Quote:
Originally Posted by RaskorTheWise View Post
building the project produces an error claiming that IterativeRobot is not an accessible base of Robot
Replace
https://github.com/PenguinEmpire/FRC...inEmpire.h#L23
Code:
class Robot : public IterativeRobot
"public" here means "make public members of IterativeRobot also public in Robot". Leaving it out means "make public members of IterativeRobot private in Robot" hence your access error.

and
https://github.com/PenguinEmpire/FRC...pire.h#L11-L14
with
Code:
#include <WPILib.h>
#include "MyJoystick.h"
#include <Joystick.h>
#include <Math.h>
<thing.h> means use include path and "thing.h" means include relative to the current file.
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote