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
I'm having a problem rendering primitive markers (e.g. circles) using the GEOGRAPHIC coordinate system. Here is an example:
The yellow robot moved in a smooth manner, but the circle markers showing the recent trajectory are anything but smooth. I tracked the root cause down to the fact that the marker's center field is encoded as a float (https://github.com/aurora-opensource/xviz/blob/master/xviz/v2/primitives.proto#L31), which causes the visible quantization artifacts due to the rounding of latitude and longitude coordinates.
If I manually change the center field to double, the problem is resolved. However, I'm guessing that I'm not the first person to encounter this, so I was wondering: What is the right approach for plotting primitive markers in a map view in streetscape? I tried to use the IDENTITY coordinate frame for this and thought I had success, but when comparing otherwise equivalent entities plotted in the GEOGRAPHIC and IDENTITY coordinate frames, there was a noticable discrepancy (see aurora-opensource/streetscape.gl#564).
The text was updated successfully, but these errors were encountered:
I'm having a problem rendering primitive markers (e.g. circles) using the GEOGRAPHIC coordinate system. Here is an example:
The yellow robot moved in a smooth manner, but the circle markers showing the recent trajectory are anything but smooth. I tracked the root cause down to the fact that the marker's
center
field is encoded as afloat
(https://github.com/aurora-opensource/xviz/blob/master/xviz/v2/primitives.proto#L31), which causes the visible quantization artifacts due to the rounding of latitude and longitude coordinates.If I manually change the
center
field todouble
, the problem is resolved. However, I'm guessing that I'm not the first person to encounter this, so I was wondering: What is the right approach for plotting primitive markers in a map view in streetscape? I tried to use the IDENTITY coordinate frame for this and thought I had success, but when comparing otherwise equivalent entities plotted in the GEOGRAPHIC and IDENTITY coordinate frames, there was a noticable discrepancy (see aurora-opensource/streetscape.gl#564).The text was updated successfully, but these errors were encountered: