Issues with Python in Robot Mesh

I am having problem with the following code.
I have tested the probanetic lines in Python2 Shell. It worked.
I already had to remove things like byte_array.rsplit(), str (byte_array) etc,
because they were returning null.
Now the problem has shifted to the split string. I get null returned.
float(str) does not seem to work as well.
Any ideas?

image

I had to write functions to work around the issue…
They cover String RStrip, String Split, and String Conversion from Float…

image

1 Like