paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] periodic function fbw (electrical)


From: Felix Ruess
Subject: Re: [Paparazzi-devel] periodic function fbw (electrical)
Date: Thu, 19 Jun 2014 00:42:28 +0200

ELECTRICAL_PERIODIC_FREQ is defined to 10 in electrical.c and only meant to make the code more readable...


On Thu, Jun 19, 2014 at 12:21 AM, Eduardo lavratti <address@hidden> wrote:
I not need this
I only say because i see the "ELECTRICAL_PERIODIC_FREQ" in electrical.c file



Date: Thu, 19 Jun 2014 00:16:42 +0200
From: address@hidden
To: address@hidden
Subject: Re: [Paparazzi-devel] periodic function fbw (electrical)


Hi Eduardo,

well, it is currently hardcoded to 10Hz, so it is correct...
Do you really have the need to configure a different frequency for that (we don't want to introduce even more options/parameters if nobody uses/needs them)?

Cheers, Felix


On Wed, Jun 18, 2014 at 3:29 AM, Eduardo lavratti <address@hidden> wrote:
In the firmware/fixedwing/main_fbw.c line 142 have this code:
  electrical_tid = sys_time_register_timer(0.1, NULL);

I think the correct is somethink like this:
  electrical_tid = sys_time_register_timer((1./ELECTRICAL_PERIODIC_FREQ), NULL);

i am right ?

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]