Open haoyunfeix opened 7 years ago
@haoyunfeix Is this issue still valid after the configuration tips we mentioned in last sync meeting?
@tingshao, yes, still valid. Please help to check if I do something wrong at https://github.com/haoyunfeix/node-realsense-1/blob/1aca21bcbf883e297a48bcbc7f9bc008f62b58f3/src/test/test-pt-slam.js
Also you can simply to reproduce this issue with code https://github.com/01org/node-realsense/blob/master/src/example/run-or-pt-slam.js
Step 1: change runPT()
to runPT(5000)
Step 2: node run-or-pt-slam.js
Below is the call stack of running node run-or-pt-slam.js with runPT(5000), it seems stop the PT affected slam's motion callback though PT doesn't use motion data.
'-------------------------------------------------' Timeout, stopping person-tracking module. '-------------------------------------------------' SLAM: ontracking: EventInfo { cameraPose: [ 0.43756812810897827, -0.8991833925247192, 0.0018310844898223877, 0.22521911561489105, 0.898486852645874, 0.4371471703052521, -0.04029655456542969, 2.6658077239990234, 0.035433560609817505, 0.01927769184112549, 0.9991861581802368, 0.3839190602302551, 0, 0, 0, 1 ], accuracy: 'low' } OR: frameprocessed OR: recognition [ RecognitionInfo { probability: 0.9973440766334534, label: 'sofa' } ] SLAM: ontracking: EventInfo { cameraPose: [ 0.4376210570335388, -0.8991577625274658, 0.001786559820175171, 0.22572417557239532, 0.8984590768814087, 0.4372009038925171, -0.040332674980163574, 2.6525211334228516, 0.03548434376716614, 0.01925557851791382, 0.9991847276687622, 0.3837142884731293, 0, 0, 0, 1 ], accuracy: 'low' } OR: frameprocessed OR: recognition [ RecognitionInfo { probability: 0.9978131055831909, label: 'sofa' } ] SLAM: onerror: error: Junk time stamp in stream:4 with frame counter:161 SLAM: onerror: error: Junk time stamp in stream:0 with frame counter:155 OR: frameprocessed OR: recognition [ RecognitionInfo { probability: 0.9968453049659729, label: 'sofa' } ] SLAM: onerror: error: Junk time stamp in stream:0 with frame counter:156
Thread 15 "node" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffc7148700 (LWP 31177)] 0x00007fffbe4c9f80 in ?? () (gdb) bt
from /usr/lib/x86_64-linux-gnu/librealsense.so.1
(gdb)
Steps:
Result:
Segmentation fault (core dumped)