input_common, common: Add a few functions

These functions include reloading udp client, testing communication and configuring calibration. I also added a function to common/thread.h to use WaitFor.
This commit is contained in:
zhupengfei 2018-08-08 11:50:03 +08:00
parent 58639220a0
commit 8af89b6979
No known key found for this signature in database
GPG key ID: 85B82A3E62174206
7 changed files with 153 additions and 7 deletions

View file

@ -16,6 +16,7 @@ class State {
public:
State();
~State();
void ReloadUDPClient();
private:
std::unique_ptr<Client> client;