|
@@ -261,7 +261,7 @@ void ListenRemotectrl(const char * strdata,const unsigned int nSize,const unsign
|
|
xdecition.set_accelerator(xrc.brake()*(-0.03));
|
|
xdecition.set_accelerator(xrc.brake()*(-0.03));
|
|
}
|
|
}
|
|
// xdecition.set_brake(0); //not use brake
|
|
// xdecition.set_brake(0); //not use brake
|
|
- xdecition.set_wheelangle(xrc.wheel() *5.5);
|
|
|
|
|
|
+ xdecition.set_wheelangle(xrc.wheel() *4.5);
|
|
xdecition.set_gear(3);
|
|
xdecition.set_gear(3);
|
|
gMutex.lock();
|
|
gMutex.lock();
|
|
gdecition_remote.CopyFrom(xdecition);
|
|
gdecition_remote.CopyFrom(xdecition);
|