mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
replay: don't add subscription if formats don't match
This commit is contained in:
parent
4eea89bb42
commit
1d5f51e6a4
@ -291,6 +291,7 @@ bool Replay::readAndAddSubscription(std::ifstream &file, uint16_t msg_size)
|
||||
PX4_WARN("Formats for %s don't match. Will ignore it.", topic_name.c_str());
|
||||
PX4_WARN(" Internal format: %s", orb_meta->o_fields);
|
||||
PX4_WARN(" File format : %s", file_format.c_str());
|
||||
return true; // not a fatal error
|
||||
}
|
||||
|
||||
Subscription subscription;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user