-
Notifications
You must be signed in to change notification settings - Fork 0
Shared Variables
Alex Dickhans edited this page Dec 15, 2021
·
2 revisions
A shared variable is basically shared flags being mutable. It functions the same but you can set variables along with get them. There will be one sharedVariables object that all states will share.
std::unordered_map<std::string, double> sharedDoubleValues;
std::unordered_map<std::string, bool> sharedBoolValues;
std::unordered_map<std::string, int> sharedIntValues;
std::unordered_map<std::string, std::string> sharedStringValues;
std::unordered_map<std::string, sharedVariables> sharedVectors;
- Home
- State machine
- Util classes
- Odometry classes
- Motion algorithms
- Feedback controllers
- Simulator