team5735 / FRC-2024

FRC 2024 season robot code base
Other
1 stars 0 forks source link

Double check coordinate systems of llv2 calculations #3

Open ZWORX52 opened 9 months ago

ZWORX52 commented 9 months ago

The coordinate systems that the limelight deals with are numerous and potentially different from those that the drivetrain uses. m_drivetrain.seedFieldRelative(limelightRobotPos) could help rectify this mistake, but if that coordinate system is entirely different from the one otherwise used from the robot, then that would be a disconnect between before and after the limelight aims. That's bad. Here is an overview of the coordinate systems used by the limelight. The coordinate system for the drivetrain has no documentation.