Load Json::Value into this object
| 354 | |
| 355 | // Load Json::Value into this object |
| 356 | void CVStabilization::SetJsonValue(const Json::Value root) { |
| 357 | |
| 358 | // Set data from Json (if key is found) |
| 359 | if (!root["protobuf_data_path"].isNull()){ |
| 360 | protobuf_data_path = (root["protobuf_data_path"].asString()); |
| 361 | } |
| 362 | if (!root["smoothing-window"].isNull()){ |
| 363 | smoothingWindow = (root["smoothing-window"].asInt()); |
| 364 | } |
| 365 | } |
| 366 | |
| 367 | /* |
| 368 | |||||||||||||||||||||||||||||||||||||||||||||||||| |
nothing calls this directly
no outgoing calls
no test coverage detected