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

Method CheckMessage

include/sensor/depth_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(GetCameraModel())) +
72 "' for rgbd cameras! It's incompatible with the type of ros message to load in!");
73 }
74 }
75
76 static void InverseMat(cv::Mat &floatMat);
77};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected