saved work

This commit is contained in:
rdu
2021-07-06 18:56:31 +08:00
parent 3a642cca65
commit f0f5b88987
2 changed files with 13 additions and 12 deletions

View File

@@ -39,9 +39,7 @@ class AgilexBase {
virtual void Connect(std::string dev_name) = 0;
// cmd thread runs at 50Hz (20ms) by default
void SetCmdThreadPeriodMs(int32_t period_ms) {
cmd_thread_period_ms_ = period_ms;
};
void SetCmdThreadPeriodMs(int32_t period_ms);
// timeout: robot stops if user does not call SetMotionCommand() periodically
void EnableCmdTimeout(uint32_t timeout_ms = 100);