I have been working on the CAD for the robot recently, and our drive team is looking to use arcade drive for the first time in our team’s experience. I have been searching WPILib, and for some reason I can’t understand how to get it to work.
My code so far is:
double forwardSpeed = driver->GetRawAxis(1);
double turnAmount = driver->GetRawAxis(2);
frc::RobotDrive::ArcadeDrive(forwardSpeed, turnAmount, false);
but I keep getting the error “error: cannot call member function ‘void frc::RobotDrive::ArcadeDrive(double, double, bool)’ without object”
Any help would be great, because I am in unfamiliar territory with this.