simxPackFloats in ROS
Posted: 15 Jan 2018, 21:39
Hello,
I found function simxPackFloats in Remote API. I want to send data from Python script to V-REP via ROS in similar way, like it happens in Remote API, without Remote API. How are those data packed?
E.g. I have got:
and after simxPackFloats it will be:
or something like that:
I found function simxPackFloats in Remote API. I want to send data from Python script to V-REP via ROS in similar way, like it happens in Remote API, without Remote API. How are those data packed?
E.g. I have got:
Code: Select all
tab = [1.222, 2, 3.55555555, 0, 0, 4]
Code: Select all
1.222 2.000 3.556 0.000 0.000 4.000
Code: Select all
['1.22', '2.00', '3.56', '0.00', '0.00', '4.00']