topic_listener: avoid code generation, use existing metadata at runtime

This reduces flash size for v5 by ~110KB, the topic listener now only adds
about 1.2KB.
This commit is contained in:
Beat Küng
2021-10-20 08:10:05 +02:00
parent a0e72b35a4
commit 8a2b310b83
16 changed files with 330 additions and 347 deletions
@@ -120,7 +120,7 @@ public:
_battery_status_pub.publish(bat_status);
print_message(bat_status);
print_message(ORB_ID(battery_status), bat_status);
};
private: