FRC2706 / 2019-2706-Robot-Code

The main robot code for the FIRST 2019 challenge: Deep Space
MIT License
2 stars 0 forks source link

Tune Pathfinder #151

Closed kevlam2706 closed 5 years ago

kevlam2706 commented 5 years ago

The night before we left for North Bay we were looking at tuning Pathfinder to help the robot drive arbitrary paths with good accuracy. We had at one point found that it seems to drive curves to the right more accurately than curves to the left. This in theory should not be the case, since even if the drivetrain is asymmetrically powered, the fact that we're tracking using gyro and encoders should automatically compensate.

There was also a recurring bug where the Pathfinder command seems to drive a previously-remembered trajectory.

Debug these issues. The goal is to drive any given trajectory accurately, either toward the left or right. If it helps, do so at a medium speed before trying to speed things up. Medium speed but consistent is better than high speed but unpredictable.

KyleRAnderson commented 5 years ago

@eandr127 mind tackling this one?

robertlucyshyn commented 5 years ago

I just want to mention that I ran a couple of Pathfinder trajectory following tests at Mission Control Monday night on the practice bot with the North Bay code and the results we pretty good. These tests were decoupled from vision. I had two trajectories: 1) 8 ft forward, 3.25 ft to the right; 2) 8 ft forward, 3.25 ft to the left. Both ended up almost dead on in the forward direction and only a couple of inches off in the side direction. Trajectory following for shorter distances is not quite as good when the robot has to do a sharper turn but that might be a fundamental limit of the mechanical device.

Sent from Yahoo Mail for iPhone

On Tuesday, April 2, 2019, 11:55 AM, Kyle Anderson notifications@github.com wrote:

@eandr127 mind tackling this one?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

ryanlarkin commented 5 years ago

Closed by #160