mirror of
https://github.com/CopterExpress/clover.git
synced 2026-06-03 16:39:31 +00:00
Track 3 files into repository.
- modified apps/ios/cleverrc/telemetry.js - modified clever/launch/clever.launch - modified clever/src/rc.cpp Auto commit by GitBook Editor
This commit is contained in:
@@ -65,8 +65,12 @@ new ROSLIB.Topic({
|
||||
name: '/rosout_agg',
|
||||
messageType: 'rosgraph_msgs/Log'
|
||||
}).subscribe(function(message) {
|
||||
var BLACKLIST = ['CMD: ', 'PR: ', 'DROPPED'];
|
||||
if(message.level >= 4) {
|
||||
if (message.msg.startsWith('CMD: ')) {
|
||||
if (BLACKLIST.some(function(e) {
|
||||
return message.msg.indexOf(e) != -1;
|
||||
})) {
|
||||
console.log('Filtered out message ' + message.msg);
|
||||
return;
|
||||
}
|
||||
callNativeApp('notification', message);
|
||||
|
||||
Reference in New Issue
Block a user