Changed getPOSI to double posi
This commit is contained in:
@@ -65,7 +65,7 @@ void record(char* path, int interval, int duration)
|
|||||||
XPCSocket sock = openUDP("127.0.0.1");
|
XPCSocket sock = openUDP("127.0.0.1");
|
||||||
for (int i = 0; i < count; ++i)
|
for (int i = 0; i < count; ++i)
|
||||||
{
|
{
|
||||||
float posi[7];
|
double posi[7];
|
||||||
int result = getPOSI(sock, posi, 0);
|
int result = getPOSI(sock, posi, 0);
|
||||||
playbackSleep(interval);
|
playbackSleep(interval);
|
||||||
if (result < 0)
|
if (result < 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user