Quote:
Originally Posted by xXhunter47Xx
The problem is that we are trying to call the jaguars within Windriver in drivewithjoystick.cpp but it won't compile correctly.
Is there something wrong with our RobotBuilder template that isn't allowing us to do so
|
It's not a good practice to have a command directly access a piece of hardware, so RobotBuilder doesn't make the hardware public. Rather, you should create a public method of your subsystem that safely accesses the hardware, and then call those methods from your command.