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:
Oleg Kalachev
2018-02-21 22:47:52 +03:00
parent 1ab251af6a
commit 7a95cbdf62
3 changed files with 12 additions and 5 deletions

View File

@@ -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);