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 »

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: 2463
Joined: Tue Feb 06, 2007 12:36 pm

Re: Please help

Post by arnaud »

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 »

Thanks
Post Reply