I am sending v-rep a line of data, but it is only being read in chunks when I use simSerialRead. The differnece in input and output data are shown in the link below:
The code used to read and print the serial data is provided below:
Please let me know if I need to reconstruct the data myself or if there is an easier inbuilt way to do that.
Code: Select all
if (sim_call_type==sim_childscriptcall_actuation) then countReadChar=simSerialCheck(serial) if countReadChar>0 then str=simSerialRead(serial,5000,false,'\n',0) simAddStatusbarMessage(str) end end