MCPcopy Create free account
hub / github.com/Unsigned-Long/iKalibr / CheckMessage

Method CheckMessage

include/sensor/event_data_loader.h:68–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66protected:
67 template <class MsgType>
68 void CheckMessage(typename MsgType::ConstPtr msg) {
69 if (msg == nullptr) {
70 throw std::runtime_error(
71 "Wrong sensor model: '" + std::string(EnumCast::enumToString(GetEventModel())) +
72 "' for event cameras! It's incompatible with the type of ros message to load in!");
73 }
74 }
75};
76
77class PropheseeEventDataLoader : public EventDataLoader {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected