Send *Statistics and Timestamp messages from SimulatedMessageBridge
This makes the simulation environment much closer to reality.
Change-Id: Ie0f44c17d9c9a750363335def1b008cef8c809b0
diff --git a/aos/configuration.cc b/aos/configuration.cc
index 834ab5b..c74234e 100644
--- a/aos/configuration.cc
+++ b/aos/configuration.cc
@@ -510,8 +510,13 @@
std::string_view application_name, const Node *node) {
const std::string_view original_name = name;
std::string mutable_name;
- VLOG(1) << "Looking up { \"name\": \"" << name << "\", \"type\": \"" << type
- << "\" }";
+ if (node != nullptr) {
+ VLOG(1) << "Looking up { \"name\": \"" << name << "\", \"type\": \"" << type
+ << "\" } on " << aos::FlatbufferToJson(node);
+ } else {
+ VLOG(1) << "Looking up { \"name\": \"" << name << "\", \"type\": \"" << type
+ << "\" }";
+ }
// First handle application specific maps. Only do this if we have a matching
// application name, and it has maps.