mirror of
https://github.com/westonrobot/ugv_sdk
synced 2023-04-08 06:32:14 +08:00
saved work on cmd timeout, not tested yet
This commit is contained in:
@@ -56,7 +56,7 @@ class MobileBase {
|
||||
bool enable_timeout_ = true;
|
||||
uint32_t timeout_ms_ = 100;
|
||||
uint32_t watchdog_counter_ = 0;
|
||||
virtual void CheckCmdTimeout();
|
||||
void FeedCmdTimeoutWatchdog() { watchdog_counter_ = 0; };
|
||||
|
||||
// command thread
|
||||
std::thread cmd_thread_;
|
||||
|
||||
Reference in New Issue
Block a user