@LuWeifeng
Data are sent continuously and are in this format (Fx, Fy, Fz, Mx, My, Mz). You must grab data from this port continuously and wait for the start character, "(". Then you will be able to retrieve values which are separated by the character ",".
With a Universal Robot, it's said data stream can be accessible on TCP port 63351. But how to extract this data stream one by one using C++ language? Here is my sample codes:
char data[100];
recv( socketHandle, (char *)data, 100, 0 );
The received data is " , 107.940002 , -7.520000 , 0.349000 , -0.298000 , 1.248000)(87.220001 , 107.849998 , -7.540000 , 0. ".
I am very confused about this. Please help me.