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

Method CheckMessage

include/sensor/camera_data_loader.h:70–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68protected:
69 template <class MsgType>
70 void CheckMessage(typename MsgType::ConstPtr msg) {
71 if (msg == nullptr) {
72 throw std::runtime_error(
73 "Wrong sensor model: '" + std::string(EnumCast::enumToString(GetCameraModel())) +
74 "' for cameras! It's incompatible with the type of ros message to load in!");
75 }
76 }
77
78 static void RefineImgMsgWrongEncoding(const sensor_msgs::Image::Ptr &msg);
79};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected