Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: HTTPScriptIMU.h
- Revision:
- 0:3fb3c13f3cf5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/HTTPScriptIMU.h Wed Apr 15 12:53:31 2020 +0000
@@ -0,0 +1,33 @@
+/*
+ * HTTPScriptIMU.h
+ * Copyright (c) 2020, ZHAW
+ * All rights reserved.
+ */
+
+#ifndef HTTP_SCRIPT_IMU_H_
+#define HTTP_SCRIPT_IMU_H_
+
+#include <string>
+#include <vector>
+#include "HTTPScript.h"
+#include "IMU.h"
+
+/**
+ * This is a specific http script to read sensor data from an imu.
+ * @see HTTPServer
+ */
+class HTTPScriptIMU : public HTTPScript {
+
+ public:
+
+ HTTPScriptIMU(IMU& imu);
+ virtual ~HTTPScriptIMU();
+ virtual std::string call(std::vector<std::string> names, std::vector<std::string> values);
+
+ private:
+
+ IMU& imu;
+};
+
+#endif /* HTTP_SCRIPT_IMU_H_ */
+