mirror of
https://github.com/westonrobot/ugv_sdk
synced 2023-04-08 06:32:14 +08:00
added get protocol version api
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
namespace westonrobot {
|
||||
class ScoutRobot : public RobotInterface, public ScoutInterface {
|
||||
public:
|
||||
ScoutRobot(ProtocolType protocol = ProtocolType::AGX_V2);
|
||||
ScoutRobot(ProtocolVersion protocol = ProtocolVersion::AGX_V2);
|
||||
~ScoutRobot();
|
||||
|
||||
void Connect(std::string can_name) override;
|
||||
@@ -33,6 +33,8 @@ class ScoutRobot : public RobotInterface, public ScoutInterface {
|
||||
|
||||
void ResetRobotState() override;
|
||||
|
||||
ProtocolVersion GetProtocolVersion() override;
|
||||
|
||||
// get robot state
|
||||
ScoutState GetRobotState() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user