Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 4d7389c

Browse files
committed
add patch for valhalla_service to return livespeed on the command line
1 parent fa29db7 commit 4d7389c

File tree

6 files changed

+173
-4
lines changed

6 files changed

+173
-4
lines changed

include/linux/valhalla/proto/options.pb.cc

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

include/linux/valhalla/proto/options.pb.h

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

include/linux/valhalla/proto/trip.pb.cc

Lines changed: 102 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

include/linux/valhalla/proto/trip.pb.h

Lines changed: 63 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/linux/libvalhalla.a

2.91 KB
Binary file not shown.

upstream_patches/custom_eclever_trace_serializer_b5ce7c418c.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ index 8cb8469c5..9bc76e8d6 100644
3333

3434
// How long on this edge?
3535
diff --git a/src/tyr/trace_serializer.cc b/src/tyr/trace_serializer.cc
36-
index 68df54332..a1e38a38c 100644
36+
index 68df54332..38d0960ba 100644
3737
--- a/src/tyr/trace_serializer.cc
3838
+++ b/src/tyr/trace_serializer.cc
3939
@@ -63,282 +63,296 @@ json::ArrayPtr serialize_edges(const AttributesController& controller,
@@ -331,7 +331,7 @@ index 68df54332..a1e38a38c 100644
331331
- segments_array->emplace_back(segmap);
332332
- }
333333
- edge_map->emplace("traffic_segments", segments_array);
334-
+ if (edge.has_shortcut_id()) {
334+
+ if (edge.has_shortcut_id_case()) {
335335
+ edge_map->emplace("shortcut_id", static_cast<uint64_t>(edge.shortcut_id()));
336336
}
337337
-

0 commit comments

Comments
 (0)