Search found 16 matches

by linlin2017
Sun Jan 07, 2018 9:24 am
Forum: Developer discussions
Topic: run the crazyflie client on my Windows PC with commands
Replies: 1
Views: 2141

run the crazyflie client on my Windows PC with commands

Hi developers,
I want to run the crazyflie client on my Windows PC with commands: cfclient, cfheadless, cfloader and cfzmq. But when I run the command: pip install -e .[dev], I got an error described in the picture below.I want to know how to solve the problem, thanks!
by linlin2017
Wed Dec 13, 2017 1:29 pm
Forum: Bitcraze
Topic: a problem about VM
Replies: 7
Views: 3967

Re: a problem about VM

Are you running the latest version of both client and Crazyflie? Older version has had locks at connection like the one you are describing, but it should now be solved. Yes. I am running the latest version of both client and crazyflie firmware. The client version is 2017.06, and the crazyflie 2.0 f...
by linlin2017
Fri Dec 01, 2017 12:45 pm
Forum: Bitcraze
Topic: a problem about VM
Replies: 7
Views: 3967

Re: a problem about VM

You can try setting the radio link to 2Mbit/s and change the radio channel to find one that has less interferences. Thank you. It became better when I set the radio link to 2Mbit/s. I also have a question that sometimes the link quality is well, but the client can't display the attitude information...
by linlin2017
Tue Nov 28, 2017 12:52 pm
Forum: Bitcraze
Topic: a problem about VM
Replies: 7
Views: 3967

Re: a problem about VM

Unfortunately we have started to see instability with virtualbox, so far mainly with its USB driver and this black screen is new to be. I suggest turning to a virtualbox community to get help with that problem. What about trying to installing the tools natively instead? I tried to install the tools...
by linlin2017
Mon Nov 27, 2017 1:04 pm
Forum: Bitcraze
Topic: a problem about VM
Replies: 7
Views: 3967

a problem about VM

Hi developers, I have a question about the VM. I have installed the Oracle virtualBox and BitcrazeVM in my Windows PC, but when the VM is running, nothing is displayed except black background. Then I installed the Oracle virtualBox and BitcrazeVM in my Mac PC, the software installed in the VM can be...
by linlin2017
Thu Nov 23, 2017 12:23 pm
Forum: Developer Discussions
Topic: A question about 'modeDisable', 'modeAbs' and 'modeVelocity'
Replies: 8
Views: 4073

Re: A question about 'modeDisable', 'modeAbs' and 'modeVelocity'

I think that the use of the setpoint_t has been added to over time, and it has become a bit messy. It could probably be improved :-) The idea is that the setpoint_t describes the desired state of the system, and this include: * absolute roll/pitch/yaw as used in the standard "manual" flyi...
by linlin2017
Sun Nov 12, 2017 3:28 am
Forum: Developer Discussions
Topic: A question about 'modeDisable', 'modeAbs' and 'modeVelocity'
Replies: 8
Views: 4073

Re: A question about 'modeDisable', 'modeAbs' and 'modeVelocity'

You can find the main control loop in stabilizerTask() in stablizer.c. The first part is about getting and understanding the current state of the system (the actual position, pitch, roll, yaw and so on) and the desired state (the wanted position and/or roll, pitch, yaw). getExtPosition(&state);...
by linlin2017
Thu Nov 09, 2017 3:45 am
Forum: Developer Discussions
Topic: A question about 'modeDisable', 'modeAbs' and 'modeVelocity'
Replies: 8
Views: 4073

Re: A question about 'modeDisable', 'modeAbs' and 'modeVelocity'

In attitude control the controller will try to follow the desired set angle for roll, pitch and yaw. In position control it will instead try to go to and keep the desired position. This though requires some kind of position information. Maybe you can share a bit what you would like to achieve. Then...
by linlin2017
Tue Nov 07, 2017 1:20 pm
Forum: Developer discussions
Topic: A question about macro "RATE_DO_EXECUTE"
Replies: 3
Views: 3296

Re: A question about macro "RATE_DO_EXECUTE"

The stabilizer task runs at 1kHz but only the rate stabilization needs to run that fast. The attitude stabilization can run slower and the velocity stabilization even slower then that. So the RATE_DO_EXECUTE is just a divider of the update rate. In your answer, does ' the rate stabilization' mean b...
by linlin2017
Sat Nov 04, 2017 8:35 am
Forum: Developer discussions
Topic: A question about macro "RATE_DO_EXECUTE"
Replies: 3
Views: 3296

A question about macro "RATE_DO_EXECUTE"

Hi developers,
I am reading source code of crazeflie 2.0, and I don't understand some code. For example, why we judge the macro "RATE_DO_EXECUTE()" in function stateController() ?
Thanks! :)