MCPcopy Create free account
hub / github.com/CopterExpress/clover / handleLog

Function handleLog

clover/src/led.cpp:275–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275void handleLog(const rosgraph_msgs::Log& log)
276{
277 if (log.level >= rosgraph_msgs::Log::ERROR) {
278 // check if ignored
279 for (auto const& str : error_ignore) {
280 if (log.msg.find(str) != std::string::npos) return;
281 }
282 notify("error");
283 }
284}
285
286void handleBattery(const sensor_msgs::BatteryState& msg)
287{

Callers

nothing calls this directly

Calls 1

notifyFunction · 0.70

Tested by

no test coverage detected