Please help

Firmware/software/electronics/mechanics
Post Reply
Peter
Beginner
Posts: 18
Joined: Sun Sep 06, 2015 3:00 pm

Please help

Post by Peter » Thu Oct 22, 2015 9:43 am

Hello, i want to filter the value of ASL, i want to get a smooth signal, how we can do it :)
Thanks



arnaud
Bitcraze
Posts: 2028
Joined: Tue Feb 06, 2007 12:36 pm

Re: Please help

Post by arnaud » Mon Oct 26, 2015 2:10 pm

Hi, you could do that both in the Copter or on the ground in a python script.

In the copter the ASL is implemented there: https://github.com/bitcraze/crazyflie-f ... zer.c#L423
Note that it is already filtered by the parameter aslAlpha and aslAlphaLong, you can modify it in the parameter tab in the client and look at asl and aslLong in the plotter. If you need more filtering this place in the code is where it should be inserted.

Peter
Beginner
Posts: 18
Joined: Sun Sep 06, 2015 3:00 pm

Re: Please help

Post by Peter » Sun Nov 01, 2015 1:39 pm

Thanks

Post Reply