From 06d341136f960458f102efab6964ee2e949440f6 Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Tue, 26 Mar 2019 14:24:38 +0100 Subject: [PATCH] experiment with reverse --- cpp/openCVnaiveObstacleAvoidance/openCVnaiveObstacleAvoidance.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/openCVnaiveObstacleAvoidance/openCVnaiveObstacleAvoidance.cpp b/cpp/openCVnaiveObstacleAvoidance/openCVnaiveObstacleAvoidance.cpp index 9758346..5c8807c 100644 --- a/cpp/openCVnaiveObstacleAvoidance/openCVnaiveObstacleAvoidance.cpp +++ b/cpp/openCVnaiveObstacleAvoidance/openCVnaiveObstacleAvoidance.cpp @@ -58,6 +58,7 @@ class MyListener : public IDepthDataListener const string bobbycar_forward = "f"; const string bobbycar_left = "l"; const string bobbycar_right = "r"; + const string bobbycar_backward = "b"; uint8_t bobbycar_reversing = 254; royale::Vector boobycar_reversing_script ={"s","b","b","b","b","r","b","r","b","r","b"}; @@ -269,7 +270,7 @@ private: void naiveObstacleAvoidanceDemo() { if (bobbycar_reversing