mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-31 20:38:27 +08:00
[nps] fix WORLD_ENV_REQ IVY message
request messages in advanced format use underscore to separted pid from sequence
This commit is contained in:
@@ -103,7 +103,7 @@ void nps_ivy_send_WORLD_ENV_REQ(void)
|
|||||||
|
|
||||||
int pid = (int)getpid();
|
int pid = (int)getpid();
|
||||||
// Bind to the reply
|
// 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
|
// Send actual request
|
||||||
IvySendMsg("nps %d-%d WORLD_ENV_REQ %f %f %f %f %f %f",
|
IvySendMsg("nps %d-%d WORLD_ENV_REQ %f %f %f %f %f %f",
|
||||||
pid, seq,
|
pid, seq,
|
||||||
|
|||||||
Reference in New Issue
Block a user