mirror of
https://github.com/westonrobot/ugv_sdk
synced 2023-04-08 06:32:14 +08:00
updated ci, updated hunter set brake mode impl
This commit is contained in:
@@ -38,9 +38,14 @@ void HunterRobot::SetMotionCommand(double linear_vel, double angular_vel) {
|
||||
hunter->SetMotionCommand(linear_vel, angular_vel);
|
||||
}
|
||||
|
||||
void HunterRobot::SetBrakeMode(BrakeMode mode) {
|
||||
void HunterRobot::ActivateBrake() {
|
||||
auto hunter = dynamic_cast<HunterInterface*>(robot_);
|
||||
hunter->SetBrakeMode(mode);
|
||||
hunter->ActivateBrake();
|
||||
}
|
||||
|
||||
void HunterRobot::ReleaseBrake() {
|
||||
auto hunter = dynamic_cast<HunterInterface*>(robot_);
|
||||
hunter->ReleaseBrake();
|
||||
}
|
||||
|
||||
HunterCoreState HunterRobot::GetRobotState() {
|
||||
|
||||
Reference in New Issue
Block a user