[nps] fix WORLD_ENV_REQ IVY message

request messages in advanced format use underscore to separted pid from sequence
This commit is contained in:
Felix Ruess
2016-03-14 22:41:35 +01:00
parent 69ac06cf98
commit 8564baaced
+1 -1
View File
@@ -103,7 +103,7 @@ void nps_ivy_send_WORLD_ENV_REQ(void)
int pid = (int)getpid();
// Bind to the reply
ivyPtr = IvyBindMsg(on_WORLD_ENV, NULL, "^%d-%d (\\S*) WORLD_ENV (\\S*) (\\S*) (\\S*) (\\S*) (\\S*) (\\S*)", pid, seq);
ivyPtr = IvyBindMsg(on_WORLD_ENV, NULL, "^%d_%d (\\S*) WORLD_ENV (\\S*) (\\S*) (\\S*) (\\S*) (\\S*) (\\S*)", pid, seq);
// Send actual request
IvySendMsg("nps %d-%d WORLD_ENV_REQ %f %f %f %f %f %f",
pid, seq,