|
@@ -11,6 +11,9 @@
|
|
|
#include "qcoreapplication.h"
|
|
|
#include <QTime>
|
|
|
|
|
|
+#include "ivchart.h"
|
|
|
+extern iv::Ivchart * givchart;
|
|
|
+
|
|
|
QTime gps_update_times,gps_last_to_current;
|
|
|
|
|
|
extern std::string gstrmemdecition;
|
|
@@ -1065,6 +1068,11 @@ void iv::decition::BrainDecition::ShareDecition(iv::decition::Decition decition)
|
|
|
xdecition.set_air_on(decition->air_on);
|
|
|
xdecition.set_door(decition->door);
|
|
|
|
|
|
+ givchart->chartvalue("wheel",decition->wheel_angle,-10.0,10.0);
|
|
|
+ givchart->chartvalue("brake",decition->brake,0,100.0);
|
|
|
+ givchart->chartvalue("torque",decition->torque,0,2000);
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
std::cout<<"===================shareDecition========================"<<std::endl;
|