change set motion command function

This commit is contained in:
wangzheqie
2021-04-22 20:21:17 +08:00
parent d6c06897d3
commit 74d2c7e894
2 changed files with 7 additions and 5 deletions

View File

@@ -66,7 +66,8 @@ class RangerBase : public AgilexBase {
void Connect(std::string dev_name) override;
// robot control
void SetMotionCommand(double linear_vel, double angular_vel);
void SetMotionCommand(double linear_vel, double steer_angle,
double lateral_vel = 0.0, double angular_vel = 0.0);
void SetLightCommand(const RangerLightCmd &cmd);
void SetMotionMode(uint8_t mode);