From 2637ac5adddd05550d4a88ccd45370502110ced8 Mon Sep 17 00:00:00 2001 From: cchen6 Date: Wed, 7 Aug 2019 17:55:38 -0700 Subject: [PATCH 1/2] increase frame queue size for tm2 --- src/source.h | 2 ++ src/tm2/tm-device.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/src/source.h b/src/source.h index 92fc32da1b..b681a41a35 100644 --- a/src/source.h +++ b/src/source.h @@ -47,6 +47,8 @@ namespace librealsense _archive[ex] = std::make_shared>(&_max_publish_list_size, _ts, _metadata_parsers); } + void set_max_publish_list_size(int qsize) {_max_publish_list_size = qsize; } + private: friend class syncer_process_unit; diff --git a/src/tm2/tm-device.cpp b/src/tm2/tm-device.cpp index 1f2404aeea..52c3dc7147 100644 --- a/src/tm2/tm-device.cpp +++ b/src/tm2/tm-device.cpp @@ -271,6 +271,7 @@ namespace librealsense tm2_sensor::tm2_sensor(tm2_device* owner, perc::TrackingDevice* dev) : sensor_base("Tracking Module", owner, this), _dispatcher(10), _tm_dev(dev) { + _source.set_max_publish_list_size(64); //increase frame source queue size for TM2 register_metadata(RS2_FRAME_METADATA_ACTUAL_EXPOSURE, std::make_shared(RS2_FRAME_METADATA_ACTUAL_EXPOSURE)); register_metadata(RS2_FRAME_METADATA_TEMPERATURE , std::make_shared(RS2_FRAME_METADATA_TEMPERATURE)); //Replacing md parser for RS2_FRAME_METADATA_TIME_OF_ARRIVAL From 8dfd0aa41f0bccc1bf00e7bd90786efc0f007531 Mon Sep 17 00:00:00 2001 From: fengzongbao Date: Mon, 12 Aug 2019 15:23:30 +0800 Subject: [PATCH 2/2] * update realsen on cyber --- examples/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/readme.md b/examples/readme.md index 3b61860b6a..63028121c2 100644 --- a/examples/readme.md +++ b/examples/readme.md @@ -56,3 +56,4 @@ For a detailed explanations and API documentation see our [Documentation](../doc 12. [kougaku/RealSenseOSC](https://github.com/kougaku/RealSenseOSC) - Client-Server project with Processing example for T265 13. [Vimeo Depth Viewer](https://github.com/vimeo/vimeo-depth-viewer) - A RealSense depth viewer using [nanogui](https://github.com/wjakob/nanogui) 14. [PINTO0309/MobileNet-SSD-RealSense](https://github.com/PINTO0309/MobileNet-SSD-RealSense) - RaspberryPi3 or Ubuntu + Multi Neural Compute Stick(NCS/NCS2) + RealSense D435 + MobileNet-SSD(MobileNetSSD) + Background Multi-transparent(Simple multi-class segmentation) + FaceDetection + MultiGraph + MultiProcessing + MultiClustering +15. [realsenseOnCyber](https://github.com/mickeyouyou/realsenseOnCyber) Realsense module Based on Apollo Cyber RT