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.
Dependencies: BLE_API mbed nRF51822
RST.hpp@0:b5906c81772b, 2017-02-05 (annotated)
- Committer:
- stoicancristi
- Date:
- Sun Feb 05 16:31:58 2017 +0000
- Revision:
- 0:b5906c81772b
BLE
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| stoicancristi | 0:b5906c81772b | 1 | #ifndef _RST_H_ |
| stoicancristi | 0:b5906c81772b | 2 | #define _RST_H_ |
| stoicancristi | 0:b5906c81772b | 3 | |
| stoicancristi | 0:b5906c81772b | 4 | #include "Controller.hpp" |
| stoicancristi | 0:b5906c81772b | 5 | #include "ControllerParams.hpp" |
| stoicancristi | 0:b5906c81772b | 6 | |
| stoicancristi | 0:b5906c81772b | 7 | class RST : public Controller { |
| stoicancristi | 0:b5906c81772b | 8 | |
| stoicancristi | 0:b5906c81772b | 9 | public: |
| stoicancristi | 0:b5906c81772b | 10 | RST(); |
| stoicancristi | 0:b5906c81772b | 11 | virtual float calculateCmd(); |
| stoicancristi | 0:b5906c81772b | 12 | virtual void updateParams(ControllerParams&); |
| stoicancristi | 0:b5906c81772b | 13 | ~RST(); |
| stoicancristi | 0:b5906c81772b | 14 | |
| stoicancristi | 0:b5906c81772b | 15 | private: |
| stoicancristi | 0:b5906c81772b | 16 | float *R; |
| stoicancristi | 0:b5906c81772b | 17 | float *S; |
| stoicancristi | 0:b5906c81772b | 18 | float *T; |
| stoicancristi | 0:b5906c81772b | 19 | |
| stoicancristi | 0:b5906c81772b | 20 | int ordR; |
| stoicancristi | 0:b5906c81772b | 21 | int ordS; |
| stoicancristi | 0:b5906c81772b | 22 | int ordT; |
| stoicancristi | 0:b5906c81772b | 23 | }; |
| stoicancristi | 0:b5906c81772b | 24 | |
| stoicancristi | 0:b5906c81772b | 25 | #endif |