From b29fe0f6a0089c39b6e0e4c770abdcbb669ce01a Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Tue, 26 Mar 2019 14:22:52 +0100 Subject: [PATCH] experiment with reverse --- .../openCVnaiveObstacleAvoidance.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cpp/openCVnaiveObstacleAvoidance/openCVnaiveObstacleAvoidance.cpp b/cpp/openCVnaiveObstacleAvoidance/openCVnaiveObstacleAvoidance.cpp index 5849e23..9758346 100644 --- a/cpp/openCVnaiveObstacleAvoidance/openCVnaiveObstacleAvoidance.cpp +++ b/cpp/openCVnaiveObstacleAvoidance/openCVnaiveObstacleAvoidance.cpp @@ -59,6 +59,9 @@ class MyListener : public IDepthDataListener const string bobbycar_left = "l"; const string bobbycar_right = "r"; + uint8_t bobbycar_reversing = 254; + royale::Vector boobycar_reversing_script ={"s","b","b","b","b","r","b","r","b","r","b"}; + public : @@ -265,6 +268,11 @@ private: void naiveObstacleAvoidanceDemo() { + if (bobbycar_reversing