You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
world_tl_to_feature_minimap = transform.Linear(
scale=raw_resolution / map_size.max_dim() if raw_resolution else None)
This only works correctly if the map is a square. Otherwise the dimension that is smaller than map_size.max_dim() gets improperly scaled down. The correct solution would be to scale each dimension of raw resolution by the commensurate max length of each map dimension.
-Ian
The text was updated successfully, but these errors were encountered:
In Features.py:
world_tl_to_feature_minimap = transform.Linear(
scale=raw_resolution / map_size.max_dim() if raw_resolution else None)
This only works correctly if the map is a square. Otherwise the dimension that is smaller than map_size.max_dim() gets improperly scaled down. The correct solution would be to scale each dimension of raw resolution by the commensurate max length of each map dimension.
-Ian
The text was updated successfully, but these errors were encountered: