saved work

This commit is contained in:
Ruixiang Du
2021-07-08 23:45:29 +08:00
parent 3c56ae3a0a
commit 08d16fedff
2 changed files with 6 additions and 1 deletions

View File

@@ -13,6 +13,7 @@
namespace westonrobot {
ScoutRobot::ScoutRobot(ProtocolType protocol) {
if (protocol == ProtocolType::AGX_V1) {
robot_ = new ScoutBaseV1();
} else if (protocol == ProtocolType::AGX_V2) {
robot_ = new ScoutBaseV2();
}