Added time and energy to response messages.

This commit is contained in:
radim-asamm 2021-04-22 14:01:17 +02:00
parent 31e761e731
commit be71c0d86e
2 changed files with 4 additions and 2 deletions

View file

@ -55,7 +55,9 @@ final class MessageData implements Cloneable
+ "\t" + linknodecost + "\t" + linknodecost
+ "\t" + linkinitcost + "\t" + linkinitcost
+ "\t" + wayKeyValues + "\t" + wayKeyValues
+ "\t" + ( nodeKeyValues == null ? "" : nodeKeyValues ); + "\t" + ( nodeKeyValues == null ? "" : nodeKeyValues )
+ "\t" + time
+ "\t" + energy;
} }
void add( MessageData d ) void add( MessageData d )

View file

@ -34,7 +34,7 @@ import btools.util.StringUtils;
public final class OsmTrack public final class OsmTrack
{ {
// csv-header-line // csv-header-line
private static final String MESSAGES_HEADER = "Longitude\tLatitude\tElevation\tDistance\tCostPerKm\tElevCost\tTurnCost\tNodeCost\tInitialCost\tWayTags\tNodeTags"; private static final String MESSAGES_HEADER = "Longitude\tLatitude\tElevation\tDistance\tCostPerKm\tElevCost\tTurnCost\tNodeCost\tInitialCost\tWayTags\tNodeTags\tTime\tEnergy";
public MatchedWaypoint endPoint; public MatchedWaypoint endPoint;
public long[] nogoChecksums; public long[] nogoChecksums;