updated scout base to use class MobileBase

This commit is contained in:
Ruixiang Du
2020-07-28 18:30:26 +08:00
parent 981a64b1af
commit 7fcd239c69
3 changed files with 289 additions and 378 deletions

View File

@@ -36,10 +36,6 @@ class HunterBase : public MobileBase {
HunterMotionCmd::FaultClearFlag::NO_FAULT);
private:
// serial port related variables
uint8_t tx_cmd_len_;
uint8_t tx_buffer_[HUNTER_CMD_BUF_LEN];
// cmd/status update related variables
std::mutex hunter_state_mutex_;
std::mutex motion_cmd_mutex_;