|
From: | Eduardo lavratti |
Subject: | Re: [Paparazzi-devel] Custom GCS |
Date: | Sat, 13 Sep 2014 01:32:51 -0300 |
Hi felix, the code work fine but i have some question about messages sent by server.
I removed WP_MOVED from telemtry and now the ap not send it periodically. When i move the waypoint using ppzgcs the ap send the WP_MOVED and after this the server start to send continuously the message WAYPOINT_MOVED as you can see bellow. Way this occur ? is this correct ? If i change 10 waypoint the server send 10 WAYPOINT_MOVED message everytime address@hidden:~$ ivyprobe '(.*MOVED.*)' Broadcasting on network 127.255.255.255, port 2010 IVYPROBE connected from localhost IVYPROBE connected from localhost Paparazzi GCS connected from localhost Paparazzi sim 2 connected from localhost Paparazzi server connected from localhost Paparazzi sim 2 sent '2 WP_MOVED 2 508366.968750 -3314735.500000 150.000000 22' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' Paparazzi server sent 'ground WAYPOINT_MOVED 2 2 -29.9634230 -50.9132804 150.000000 0.000000' ^C Date: Fri, 12 Sep 2014 22:54:01 +0200 From: address@hidden To: address@hidden Subject: Re: [Paparazzi-devel] Custom GCS if (msg_id == DL_REQUEST_WAYPOINTS && DL_REQUEST_WAYPOINTS_ac_id(dl_buffer) == AC_ID) { of course.. uint8_t wp_id = DL_REQUEST_WAYPOINTS_wp_id(dl_buffer); } else if (wp_id < nb_waypoint) {if (wp_id == 0) { for (uint8_t i=0, i < nb_waypoint, i++) { DownlinkSendWp(DefaultChannel, DefaultDevice, i); } DownlinkSendWp(DefaultChannel, DefaultDevice, wp_id); } } On Fri, Sep 12, 2014 at 10:48 PM, Felix Ruess <address@hidden> wrote:
_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/paparazzi-devel |
[Prev in Thread] | Current Thread | [Next in Thread] |