Search found 2469 matches

by arnaud
Mon May 17, 2021 11:20 am
Forum: Developer Discussions
Topic: Problems integrating external library
Replies: 2
Views: 41

Re: Problems integrating external library

You are likely hitting a hard-fault very early in the boot. The best would be to connect a debugger to the Crazyflie and to use gdb to find the source of the hardfault. One lead could be to check the memory usage: are you doing anything that uses a lot of stack or try to allocate a lot of memory usi...
by arnaud
Mon May 17, 2021 9:17 am
Forum: Developer Discussions
Topic: Non-blocking goto function
Replies: 1
Views: 43

Re: Non-blocking goto function

Hi, You can send goto commands to the high-level commander directly using the same function used in the go_to() method: https://github.com/bitcraze/crazyflie-lib-python/blob/fbc491c811127785d3318e0ec45e264c055c1ca3/cflib/positioning/position_hl_commander.py#L247. Each time the Crazyflie receives a g...
by arnaud
Mon May 17, 2021 9:09 am
Forum: Developer Discussions
Topic: Using CMSIS DSP Transform Functions (FFT)
Replies: 3
Views: 107

Re: Using CMSIS DSP Transform Functions (FFT)

Thanks for posting a solution. This is very strange that it does not work, I tried as well and I saw the same problem as you. The reason we handle the cmsis dsp lib that way is to always compile it with optimization even in debug build, if the dsp lib is built in debug (no optimization) mode, the Ka...
by arnaud
Wed May 12, 2021 6:51 am
Forum: Support
Topic: Crazyradio not working
Replies: 1
Views: 90

Re: Crazyradio not working

This sounds like the USB data line are not properly connected. Can you send a detailed photo of the top of the radio so that we can maybe spot the problem? The Crazyradio firmware light up both LED when power is applied to the board and switch them off when USB enumeration has completed. If both LED...
by arnaud
Tue May 11, 2021 8:26 am
Forum: Loco Positioning System
Topic: LPS node problem
Replies: 2
Views: 98

Re: LPS node problem

Hi, For your first problem, we forgot to add the VM user to the dialout goup, if you run "sudo usermod -a -G dialout $USER" and restart the VM you will be able to access the node menu without any additional commands and the node configuration will work. What you see in your last screenshot is the no...
by arnaud
Mon May 10, 2021 1:19 pm
Forum: Developer Discussions
Topic: How to turn the propeller without attitude information from the sensor?
Replies: 7
Views: 156

Re: How to turn the propeller without the sensor data?

I am not sure what you mean by "sensor data", do you mean logging values using the log subsystem? I will try to answer your questions: 1) there are a couple of parameters that allows to control the motors directly. "motorPowerSet.enable" can be set to 1 to enable the individual motor control and "mo...
by arnaud
Thu May 06, 2021 1:59 pm
Forum: Developer Discussions
Topic: Debugging crazyflie
Replies: 3
Views: 88

Re: Debugging crazyflie

The Crazyflie is a 3.0V system. Yes SWIO is SWDIO, its a typo in the schematic.
by arnaud
Thu May 06, 2021 1:08 pm
Forum: Developer Discussions
Topic: Debugging crazyflie
Replies: 3
Views: 88

Re: Debugging crazyflie

the SWD lines and reset are required, SWO can be connected if you want to use ITM. This means: - GND - VCC - SWIO - SWCLK - SWO (Optional) - RESET That corresponds to the connector P3 of the Crazyflie schematic: https://www.bitcraze.io/documentation/hardware/crazyflie_2_1/crazyflie_2.1_schematics_re...
by arnaud
Thu May 06, 2021 1:04 pm
Forum: Developer Discussions
Topic: PositionHlCommander Localization system
Replies: 8
Views: 203

Re: PositionHlCommander Localization system

Something like that should work, yes. The easiest might be to send the position in a separate thread, this way you can separate the code that drives the Crazyflie and the code that update the position and you will be able to update the position more often than 10 times per seconds (100Hz should work...
by arnaud
Thu May 06, 2021 12:59 pm
Forum: Developer Discussions
Topic: Signal Processing at high frequencies
Replies: 2
Views: 101

Re: Signal Processing at high frequencies

2KHz using a task is complicated since the FreeRTOS scheduler is setup to work on a 1KHz tick, this means that sleep can only be setup in steps of 1ms and be >1ms. So the easy solution of having a loop in a task with delay is not possible. It is possible to change the tick time of the OS but this ri...