コード例 #1
0
void nps_ivy_init(char* ivy_bus) {
  /* init ivy and bind some messages common to fw and rotorcraft */
  nps_ivy_common_init(ivy_bus);

  IvyBindMsg(on_DL_MOVE_WP, NULL, "^(\\S*) MOVE_WP (\\S*) (\\S*) (\\S*) (\\S*) (\\S*)");

}
コード例 #2
0
ファイル: nps_ivy_remote.c プロジェクト: Abhi0204/paparazzi
void nps_ivy_init(char* ivy_bus) {
	/* init ivy and bind some messages common to fw and rotorcraft */
	nps_ivy_common_init(ivy_bus);

	IvyBindMsg(on_DL_MOVE_WP, NULL,
			"^(\\S*) MOVE_WP (\\S*) (\\S*) (\\S*) (\\S*) (\\S*)");

	//Get the commands from the Autopilot for this simulation
	IvyBindMsg(on_NPS_ATP_CMD, NULL, "^NPS_ATP_CMD(.*)");

	//Get the standard commands from the Autopilot for this simulation
	IvyBindMsg(on_COMMANDS, NULL, "^\\S* COMMANDS (\\S*)");
}