mirror of
https://github.com/westonrobot/ugv_sdk
synced 2023-04-08 06:32:14 +08:00
renamed GetProtocolVersion() to GetParserProtocolVersion()
This commit is contained in:
@@ -49,7 +49,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
bunker->Connect(device_name);
|
||||
|
||||
if (bunker->GetProtocolVersion() == ProtocolVersion::AGX_V2) {
|
||||
if (bunker->GetParserProtocolVersion() == ProtocolVersion::AGX_V2) {
|
||||
bunker->EnableCommandedMode();
|
||||
std::cout << "Protocol version 2" << std::endl;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user