Team302 / 2023ChargedUp

Other
0 stars 0 forks source link

Re-work DragonLimelight to use the new Limelight lib APIs #168

Open witcpalek opened 1 year ago

witcpalek commented 1 year ago

see

https://www.chiefdelphi.com/t/introducing-limelight-lib/425660

https://github.com/LimelightVision/limelightlib-wpicpp

witcpalek commented 1 year ago

More information on botpos:

https://www.chiefdelphi.com/t/limelight-2023-2-easier-3d-neural-net-upload/425001

witcpalek commented 1 year ago
auto pigeon = PigeonFactory::GetFactory()->GetCenterPigeon();
if (pigeon == nullptr)
{
    Logger::GetLogger()->LogData(LOGGER_LEVEL::PRINT, string("DEUBGGING"), string("Pigeon Nullptr?"), "true");
}
else
{
    Logger::GetLogger()->LogData(LOGGER_LEVEL::PRINT, string("Pigeon"), string("Pigeon Yaw"), pigeon->GetYaw());
    Logger::GetLogger()->LogData(LOGGER_LEVEL::PRINT, string("Pigeon"), string("Pigeon Pitch"), pigeon->GetPitch());
    Logger::GetLogger()->LogData(LOGGER_LEVEL::PRINT, string("Pigeon"), string("Pigeon Roll"), pigeon->GetRoll());
}