change to csv read
This commit is contained in:
parent
fadd889722
commit
c6b8ad6648
|
@ -3,9 +3,9 @@ import processing.serial.*;
|
|||
int vis_textsize=12; //copy from Visualization class
|
||||
|
||||
//String logfile_name="LOG00008_rumfahren_neu.TXT";
|
||||
String logfile_name="LOG00180_random.TXT";
|
||||
String logfile_name="LOG00181_20210329_trefffahren.TXT";
|
||||
|
||||
boolean useSerial=true; //false=read from csv log, true=read from serial port
|
||||
boolean useSerial=false; //false=read from csv log, true=read from serial port
|
||||
//String serial_port="COM3";
|
||||
String serial_port="/dev/ttyUSB0";
|
||||
Serial serial;
|
||||
|
@ -250,7 +250,6 @@ void draw() {
|
|||
currentAll=parseFloat(list[17]);
|
||||
throttle=parseInt(list[18]);
|
||||
brake=parseInt(trim(list[19]));
|
||||
println("brake:"+brake);
|
||||
}else{ //data missing or too much
|
||||
dataErrorCount++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue