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.
HTTPScriptLIDAR.h@0:893a1e710078, 2020-04-28 (annotated)
- Committer:
- oehlemar
- Date:
- Tue Apr 28 13:59:27 2020 +0000
- Revision:
- 0:893a1e710078
initial publish
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| oehlemar | 0:893a1e710078 | 1 | /* |
| oehlemar | 0:893a1e710078 | 2 | * HTTPScriptLIDAR.h |
| oehlemar | 0:893a1e710078 | 3 | * Copyright (c) 2020, ZHAW |
| oehlemar | 0:893a1e710078 | 4 | * All rights reserved. |
| oehlemar | 0:893a1e710078 | 5 | */ |
| oehlemar | 0:893a1e710078 | 6 | |
| oehlemar | 0:893a1e710078 | 7 | #ifndef HTTP_SCRIPT_LIDAR_H_ |
| oehlemar | 0:893a1e710078 | 8 | #define HTTP_SCRIPT_LIDAR_H_ |
| oehlemar | 0:893a1e710078 | 9 | |
| oehlemar | 0:893a1e710078 | 10 | #include <string> |
| oehlemar | 0:893a1e710078 | 11 | #include <vector> |
| oehlemar | 0:893a1e710078 | 12 | #include "HTTPScript.h" |
| oehlemar | 0:893a1e710078 | 13 | #include "LIDAR.h" |
| oehlemar | 0:893a1e710078 | 14 | |
| oehlemar | 0:893a1e710078 | 15 | /** |
| oehlemar | 0:893a1e710078 | 16 | * This is a specific http script to read scans from a LIDAR. |
| oehlemar | 0:893a1e710078 | 17 | * @see HTTPServer |
| oehlemar | 0:893a1e710078 | 18 | */ |
| oehlemar | 0:893a1e710078 | 19 | class HTTPScriptLIDAR : public HTTPScript { |
| oehlemar | 0:893a1e710078 | 20 | |
| oehlemar | 0:893a1e710078 | 21 | public: |
| oehlemar | 0:893a1e710078 | 22 | |
| oehlemar | 0:893a1e710078 | 23 | HTTPScriptLIDAR(LIDAR& lidar); |
| oehlemar | 0:893a1e710078 | 24 | virtual ~HTTPScriptLIDAR(); |
| oehlemar | 0:893a1e710078 | 25 | virtual std::string call(std::vector<std::string> names, std::vector<std::string> values); |
| oehlemar | 0:893a1e710078 | 26 | |
| oehlemar | 0:893a1e710078 | 27 | private: |
| oehlemar | 0:893a1e710078 | 28 | |
| oehlemar | 0:893a1e710078 | 29 | LIDAR& lidar; |
| oehlemar | 0:893a1e710078 | 30 | }; |
| oehlemar | 0:893a1e710078 | 31 | |
| oehlemar | 0:893a1e710078 | 32 | #endif /* HTTP_SCRIPT_LIDAR_H_ */ |
| oehlemar | 0:893a1e710078 | 33 |