Quote:
Originally Posted by rod@3711
The problem arose when we were attempting to get the value of the joystick.
Code:
void Chassis::SixDrive(std::shared_ptr<Joystick>& stickPosition){
tankdrive->ArcadeDrive(stickPosition->GetX(), stickPosition->GetZ());
}
|
Get rid of the &. I think everything else should work.