feat: mark smoothed path start in EM overview
This commit is contained in:
+6
@@ -56,6 +56,12 @@ public sealed class TrajectoryObservationStaticSnapshotBuilder
|
||||
private static IReadOnlyList<VisualizationMarker> CreateMarkers(TrajectoryObservationBootstrapResult bootstrap)
|
||||
{
|
||||
var markers = new List<VisualizationMarker>();
|
||||
if (bootstrap.SmoothedPath.Path.Count > 0)
|
||||
{
|
||||
var start = bootstrap.SmoothedPath.Path[0];
|
||||
markers.Add(new VisualizationMarker("smooth-start", "smooth-start",
|
||||
"平滑路径起点", new VisualizationPoint(start.X, start.Y)));
|
||||
}
|
||||
foreach (DirectionSegmentView segment in bootstrap.Segments)
|
||||
{
|
||||
if (segment.EndBoundary.BoundaryType == EmBoundaryType.GearSwitchApproach)
|
||||
|
||||
Reference in New Issue
Block a user