|
@@ -91,7 +91,7 @@ void ExecSend();
|
|
|
void executeDecition(const iv::brain::decition &decition)
|
|
|
{
|
|
|
|
|
|
- double fwheel = decition.wheelangle();
|
|
|
+ double fwheel = decition.wheelangle() *(-1.0); //Yunle 03 is negative.
|
|
|
|
|
|
static int64_t nspeedcaltime = std::chrono::system_clock::now().time_since_epoch().count();
|
|
|
static double fneedvel = 0;
|
|
@@ -263,7 +263,7 @@ void ExecSend()
|
|
|
xraw.set_data(SCU_1,8);
|
|
|
xraw.set_bext(false);
|
|
|
xraw.set_bremote(false);
|
|
|
- xraw.set_len(24);
|
|
|
+ xraw.set_len(8);
|
|
|
iv::can::canraw * pxraw195 = xmsg.add_rawmsg();
|
|
|
pxraw195->CopyFrom(xraw);
|
|
|
|