Marco Oehler / Mbed OS Lab5
Revision:
0:893a1e710078
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/HTTPScriptLIDAR.h	Tue Apr 28 13:59:27 2020 +0000
@@ -0,0 +1,33 @@
+/*
+ * HTTPScriptLIDAR.h
+ * Copyright (c) 2020, ZHAW
+ * All rights reserved.
+ */
+
+#ifndef HTTP_SCRIPT_LIDAR_H_
+#define HTTP_SCRIPT_LIDAR_H_
+
+#include <string>
+#include <vector>
+#include "HTTPScript.h"
+#include "LIDAR.h"
+
+/**
+ * This is a specific http script to read scans from a LIDAR.
+ * @see HTTPServer
+ */
+class HTTPScriptLIDAR : public HTTPScript {
+    
+    public:
+        
+                            HTTPScriptLIDAR(LIDAR& lidar);
+        virtual             ~HTTPScriptLIDAR();
+        virtual std::string call(std::vector<std::string> names, std::vector<std::string> values);
+        
+    private:
+        
+        LIDAR&  lidar;
+};
+
+#endif /* HTTP_SCRIPT_LIDAR_H_ */
+