Search found 630 matches

by kristoffer
Tue Apr 26, 2022 7:21 am
Forum: Lighthouse positioning system
Topic: Lighhouse FPGA not booted
Replies: 2
Views: 8486

Re: Lighhouse FPGA not booted

The lighthouse bin is flashed to deck using the python client. It is a bit tricky to flash only the lighthouse deck and the easiest solution is to 1. Install the deck on your Crazyflie 2. Start the python client, connect to the Crazyflie 3. Open the bootloader dialog from the "Connect" men...
by kristoffer
Mon Apr 25, 2022 1:17 pm
Forum: Developer Discussions
Topic: Failed to change Crazyflie address through Cfclient
Replies: 1
Views: 8179

Re: Failed to change Crazyflie address through Cfclient

It all sounds a bit strange, I have not seen this.
Did the reset of the EEPROM solve the problem, is the "Write" button enabled now?
by kristoffer
Fri Apr 22, 2022 6:48 am
Forum: Bitcraze
Topic: Trajectory creation
Replies: 6
Views: 10518

Re: Trajectory creation

Hi! The example you are looking at is unfortunately a bit tricky to use (I wrote it a long time ago). A better way to go is to use the high level commander in the Crazyflie. It works by uploading a trajectory to the Crazyflie and then tell it to fly this path. There are two trajectory formats, the c...
by kristoffer
Wed Apr 13, 2022 6:59 am
Forum: External positioning systems
Topic: Cannot fly more than three vehicles using an external positioning system.
Replies: 5
Views: 10718

Re: Cannot fly more than three vehicles using an external positioning system.

I think your list of potential problems is pretty good. You could possibly also check if there is any noise in the position you get from the mocap system (OptiTrack). This us usually not a problem but better to be safe than sorry :-) If the signal is a bit noisy you can increase the standard deviati...
by kristoffer
Tue Apr 12, 2022 7:38 am
Forum: Support
Topic: Recovering Bricked CFs
Replies: 3
Views: 9066

Re: Recovering Bricked CFs

Hi! The good news is that it is not (should not be) possible to brick a CF by normal usage or flashing, which means that it should be possible to solve :-) First of all, Crazyflies can unfortunately not be flashed via USB, you need a Crazyradio. The procedure from the client is: 1. Turn off the Craz...
by kristoffer
Tue Apr 12, 2022 6:50 am
Forum: Developer Discussions
Topic: [SOLVED]Many crazyfies and two radios
Replies: 4
Views: 10162

Re: Many crazyfies and two radios

Hi! Changing channel takes some time for the radio so the best setup is to use one channel per radio dongle and different addresses for the Crazyflies. Do not use the same channel on both radios as it leads to packet loss. For instance do something like this: Radio 1: radio://0/50/2M/E7E7E7E701 radi...
by kristoffer
Thu Apr 07, 2022 8:22 am
Forum: Developer Discussions
Topic: Modifying the Kalman Filter?
Replies: 2
Views: 8698

Re: Modifying the Kalman Filter?

Hi Jiawei! 1. The Kalman filter is reset by the kalman supervisor https://github.com/bitcraze/crazyflie-firmware/blob/2022.03/src/modules/src/kalman_supervisor.c. It resets the kalman filter when the position or velocity is "unreasonable". You can modify it (or disable it) according to you...
by kristoffer
Thu Apr 07, 2022 8:10 am
Forum: External positioning systems
Topic: Cannot fly more than three vehicles using an external positioning system.
Replies: 5
Views: 10718

Re: Cannot fly more than three vehicles using an external positioning system.

The frequency of transmission is 0.5 Hz cycles. This sounds a bit low to send mocap position to the Crazyflies at 0.5 Hz, you could try to increase it to around 5 Hz to see if it works better. The CF can manage to fly for a while using only internal sensors, but 2 seconds is quite long, the risk is...
by kristoffer
Thu Apr 07, 2022 8:00 am
Forum: Support
Topic: Avoiding the compound statement "with" for the crazyflie
Replies: 4
Views: 9749

Re: Avoiding the compound statement "with" for the crazyflie

The Swarm class is probably not the best solution for you, even if it probably is possible to do it :-) The key is to understand what "with" is doing, it is called a "context manager" in python, see https://docs.python.org/3/library/stdtypes.html#typecontextmanager). The "wi...