Biorobotics
/
piano_robot
newest version,
check_state_change.h@3:11c2175b4478, 2015-10-26 (annotated)
- Committer:
- roosbulthuis
- Date:
- Mon Oct 26 11:42:17 2015 +0000
- Revision:
- 3:11c2175b4478
- Parent:
- 0:fc6fa085d591
New file for filters without classes, check if input and output are correct. Should be pasted into main code.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
NickDGreg | 0:fc6fa085d591 | 1 | /* |
NickDGreg | 0:fc6fa085d591 | 2 | * check_state_change.h |
NickDGreg | 0:fc6fa085d591 | 3 | * |
NickDGreg | 0:fc6fa085d591 | 4 | * Created on: Oct 20, 2015 |
NickDGreg | 0:fc6fa085d591 | 5 | * Author: User |
NickDGreg | 0:fc6fa085d591 | 6 | */ |
NickDGreg | 0:fc6fa085d591 | 7 | |
NickDGreg | 0:fc6fa085d591 | 8 | #ifndef CHECK_STATE_CHANGE_H_ |
NickDGreg | 0:fc6fa085d591 | 9 | #define CHECK_STATE_CHANGE_H_ |
NickDGreg | 0:fc6fa085d591 | 10 | |
NickDGreg | 0:fc6fa085d591 | 11 | double threashold_on; |
NickDGreg | 0:fc6fa085d591 | 12 | double threashold_off; |
NickDGreg | 0:fc6fa085d591 | 13 | void check_state_change(std::string &state, std::string newState, int &num_on_inputs, double &threashold); |
NickDGreg | 0:fc6fa085d591 | 14 | |
NickDGreg | 0:fc6fa085d591 | 15 | #endif /* CHECK_STATE_CHANGE_H_ */ |
NickDGreg | 0:fc6fa085d591 | 16 |