Closed kxxwz closed 6 years ago
Hi @mhauskn. I think there may be a little misatke in your calculations of Landmark Features. Here is how you encode the landmark's proximity: https://github.com/LARG/HFO/blob/269c6b694e86ee5266c897f2727f2e0b7d5f10a0/src/feature_extractor.cpp#L71 And here is how you define maxHFORadius:
maxHFORadius
maxHFORadius = sqrtf(pitchHalfLength * pitchHalfLength + pitchHalfWidth * pitchHalfWidth)
https://github.com/LARG/HFO/blob/269c6b694e86ee5266c897f2727f2e0b7d5f10a0/src/feature_extractor.cpp#L32 I agree this is indeed the maximum radius in HFO playable area. However, maxHFORadius is not the maximum distance in HFO, which should be
maxHFODist = sqrtf(pitchHalfLength * pitchHalfLength + pitchWidth * pitchWidth)
Looking forward to your reply.
Yes, I think you are correct. Please submit a PR.
Hi @mhauskn. I think there may be a little misatke in your calculations of Landmark Features. Here is how you encode the landmark's proximity: https://github.com/LARG/HFO/blob/269c6b694e86ee5266c897f2727f2e0b7d5f10a0/src/feature_extractor.cpp#L71 And here is how you define
maxHFORadius
:https://github.com/LARG/HFO/blob/269c6b694e86ee5266c897f2727f2e0b7d5f10a0/src/feature_extractor.cpp#L32 I agree this is indeed the maximum radius in HFO playable area. However,
maxHFORadius
is not the maximum distance in HFO, which should beLooking forward to your reply.