In the world <--> cam conversions in the Converter module, a self.hack=0.4 parameter is used to modify the z coordinate (camera).
https://github.com/bradyz/carla_project/blob/ac791fcf7e59ad80b6908dadc00eb4f26147c065/src/converter.py#L17
How is this parameter obtained? I suspect it has something to do with the hack to convert gps -> world coords. This hack has changed in subsequent carla versions due to new conventions in the maps, so I suspect I need to update this calcuation as well. I can do that for the new conventions if you can point me to how 0.4 was obtained. Thanks!
In the world <--> cam conversions in the Converter module, a
self.hack=0.4parameter is used to modify the z coordinate (camera).https://github.com/bradyz/carla_project/blob/ac791fcf7e59ad80b6908dadc00eb4f26147c065/src/converter.py#L17
How is this parameter obtained? I suspect it has something to do with the hack to convert gps -> world coords. This hack has changed in subsequent carla versions due to new conventions in the maps, so I suspect I need to update this calcuation as well. I can do that for the new conventions if you can point me to how
0.4was obtained. Thanks!