tested timeout

This commit is contained in:
Ruixiang Du
2020-09-15 11:00:16 +08:00
parent 0887261a99
commit a872dd0e0e
5 changed files with 119 additions and 109 deletions

View File

@@ -54,7 +54,7 @@ class MobileBase {
// timeout to be implemented in each vehicle
bool enable_timeout_ = true;
uint32_t timeout_ms_ = 100;
uint32_t timeout_ms_ = 500;
uint32_t watchdog_counter_ = 0;
void FeedCmdTimeoutWatchdog() { watchdog_counter_ = 0; };