|
@@ -10,7 +10,7 @@ void iv::control::ControlStatus::set_brake(float brake)
|
|
void iv::control::ControlStatus::set_drivespeed(float speed)
|
|
void iv::control::ControlStatus::set_drivespeed(float speed)
|
|
{
|
|
{
|
|
// std::cout<<" speed "<<speed<<std::endl;
|
|
// std::cout<<" speed "<<speed<<std::endl;
|
|
- command11.bit.drive_speed = (unsigned)(speed*3.6);
|
|
|
|
|
|
+ command11.bit.drive_speed = (unsigned)(speed*10);
|
|
}
|
|
}
|
|
|
|
|
|
void iv::control::ControlStatus::set_gear(int gear)
|
|
void iv::control::ControlStatus::set_gear(int gear)
|