Search found 10 matches

by Baosai
Fri Sep 11, 2020 5:14 pm
Forum: Developer Discussions
Topic: new Client-Tab for controlling the Crazyflie using LH
Replies: 3
Views: 1316

Re: new Client-Tab for controlling the Crazyflie using LH

Hi, Sounds like a nice project. For your problems: 1. I think you should look at this ticket: https://github.com/bitcraze/crazyflie-clients-python/issues/334. To be able to control the Crazyflie from a tab you need to disable the gamepad control, I added a function to do that in the ticket. Once th...
by Baosai
Fri Sep 11, 2020 11:56 am
Forum: Lighthouse positioning system
Topic: LH is ok when not flying,but chaotic in real flight
Replies: 9
Views: 2914

Re: LH is ok when not flying,but chaotic in real flight

Your base station geometry looks reasonable. So to conclude: everything looks good when moving the CF around by hand, but not when flying. Is this your view as well? Do you have access to a gamepad? It would be interesting to fly the CF manually with a gamepad and log lighthouse angels at the same ...
by Baosai
Wed Sep 09, 2020 2:34 pm
Forum: Lighthouse positioning system
Topic: LH is ok when not flying,but chaotic in real flight
Replies: 9
Views: 2914

Re: LH is ok when not flying,but chaotic in real flight

Thanks! I think the angles looks OK generally. There are some periods where the angles are not updated (unchanged values, horizontal line in the graph) which indicates that the system could not decode the angle. This could be due to a number of reasons: 1. The base station is not visible from the s...
by Baosai
Wed Sep 09, 2020 2:02 pm
Forum: Developer Discussions
Topic: new Client-Tab for controlling the Crazyflie using LH
Replies: 3
Views: 1316

new Client-Tab for controlling the Crazyflie using LH

Hallo, i can control the Crazyflie using Lighthouse system, but only with the python code, for example https://github.com/bitcraze/crazyflie-lib-python/blob/master/examples/autonomousSequence.py. Now i want to write a new Client-Tab for controlling with LH. I know how to read and change the paramete...
by Baosai
Wed Sep 09, 2020 9:11 am
Forum: Lighthouse positioning system
Topic: LH is ok when not flying,but chaotic in real flight
Replies: 9
Views: 2914

Re: LH is ok when not flying,but chaotic in real flight

Thanks! Please check how the angle data from the lighthouse looks and see if they change as expected when moving the Crazyflie around. For a description of how to log see https://www.bitcraze.io/documentation/repository/crazyflie-clients-python/2019.09/userguide_client/#logging The log variables fo...
by Baosai
Tue Sep 08, 2020 11:09 am
Forum: Lighthouse positioning system
Topic: LH is ok when not flying,but chaotic in real flight
Replies: 9
Views: 2914

Re: LH is ok when not flying,but chaotic in real flight

Thanks! Please check how the angle data from the lighthouse looks and see if they change as expected when moving the Crazyflie around. For a description of how to log see https://www.bitcraze.io/documentation/repository/crazyflie-clients-python/2019.09/userguide_client/#logging The log variables fo...
by Baosai
Mon Sep 07, 2020 2:20 pm
Forum: Lighthouse positioning system
Topic: LH is ok when not flying,but chaotic in real flight
Replies: 9
Views: 2914

Re: LH is ok when not flying,but chaotic in real flight

kristoffer wrote: Mon Sep 07, 2020 2:18 pm Hi!
Do you use lighthouse 1 or 2?
lighthouse v1
by Baosai
Sun Sep 06, 2020 3:47 pm
Forum: Lighthouse positioning system
Topic: LH is ok when not flying,but chaotic in real flight
Replies: 9
Views: 2914

LH is ok when not flying,but chaotic in real flight

[/code]Hey guys, I installed the Lighthouse positioning system according to the instructions. When I moved the copter by hand, Lighthouse positioning track is perfect. But when the copter is flying, the positioning will be chaotic and the flight trajectory is very strange(For example, it will crash ...
by Baosai
Mon Jun 15, 2020 11:37 pm
Forum: Developer Discussions
Topic: matlab .m file in Crazyflie 2.0 flash
Replies: 3
Views: 1765

matlab .m file in Crazyflie 2.0 flash

Hello, for my Master thesis I want to implement a Model Predictive Control for position and trajectory control on the Crazyflie using the lighthouse positioning deck. The controller is designed in Matlab, preferably it should be a nonlinear MPC. Is there a known framework to have an .m file compiled...
by Baosai
Wed Jun 10, 2020 9:13 am
Forum: Developer discussions
Topic: Matlab controllers and Crazyflie ROS package
Replies: 7
Views: 17686

Re: Matlab controllers and Crazyflie ROS package

For controllers that output PWM directly, I suggest to implement your code in C, directly in the firmware. The latency is too high and bandwidth too low to achieve good control results if the controller is running off-board. Hello, for my Master thesis I want to implement a Model Predictive Control...