提交 46b6a73e 编写于 作者: J jiangyifei 提交者: Jiangtao Hu

dreamview: fixed lane marker calculation.

上级 fdffe433
因为 它太大了无法显示 source diff 。你可以改为 查看blob
因为 它太大了无法显示 source diff 。你可以改为 查看blob
......@@ -152,7 +152,7 @@ class MapNavigator {
const lane = [];
for (let x = 0; x < markerRange; ++x) {
const y = -1 * polyval(markerCoef, x);
const y = polyval(markerCoef, x);
const newX = x * Math.cos(heading) - y * Math.sin(heading);
const newY = y * Math.cos(heading) + x * Math.sin(heading);
const [plon, plat] = UTMToWGS84(adcX + newX, adcY + newY);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册