![]() |
Arcade drive method bug?
While looking at the RobotDrive.cpp file, I found what looks like a bug.
Code:
/**Code:
ArcadeDrive(stick->GetY(), stick->GetX(), squaredInputs); |
Re: Arcade drive method bug?
We also found a potential bug in ArcadeDrive. According to the code below, a positive rotateValue will make the robot turn left and negative will make it turn right. As far as I understand it, this is opposite to convention. I cross checked this with MecanumDrive_Cartesian where positive rotation will turn right and negative rotation will turn left (which agrees with convention). We found this by accident because we had to change our wheels from Mecanum to regular and all the sudden the robot turns the other way.
Code:
void RobotDrive::ArcadeDrive(float moveValue, float rotateValue, bool squaredInputs) |
| All times are GMT -5. The time now is 12:57. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi