[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] LPC2148 performance
From: |
Felix Ruess |
Subject: |
Re: [Paparazzi-devel] LPC2148 performance |
Date: |
Mon, 23 Aug 2010 15:36:46 +0200 |
Hi Andreas,
thanks for that, I added the usb serial to sys_mon.c
But you should not include ap_downlink.h as it will break for rotorcrafts.
I already fixed this in svn revision 5261 and added
#ifndef DOWNLINK_DEVICE
#define DOWNLINK_DEVICE DOWNLINK_AP_DEVICE
#endif
instead of including ap_downlink.h
Which revision are you on? Was that fix not working for you?
Cheers, Felix
On Mon, Aug 23, 2010 at 2:02 PM, Andreas Gaeb <address@hidden> wrote:
> Hi Gautier,
>
> Am 04.08.2010 18:32, schrieb Gautier Hattenberger:
>> I just add a new module "sys_mon.xml" to monitor the CPU activity. It
>> gives the actual period of the periodic calls, the duty cycle of these
>> calls with min and max values, the percentage of the cycle and the
>> average number of event calls between to periodic calls. And it works
>> with fixed-wing and quadrotors autopilot.
>
> I just tried that module with HITL and datalink over USB. To get it
> working, I had to add
>
> #ifdef USE_USB_SERIAL
> #include "usb_serial.h"
> #endif
>
> in sys_mon.c, in addition to including ap_downlink.h as suggested by
> Mark. Now it works fine.
>
> Regards,
> Andreas
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>