Search found 14 matches

by rampudia
Mon May 17, 2021 7:24 pm
Forum: Developer Discussions
Topic: Problems integrating external library
Replies: 2
Views: 41

Re: Problems integrating external library

Yes, I am using memory allocation for a considerable amount of memory so I think you are right that this is the cause. I will no longer be pursuing the implementation of this library as I found a better alternative for now to do the FFT ( https://forum.bitcraze.io/viewtopic.php?f=6&t=4844 ) but I di...
by rampudia
Mon May 17, 2021 8:54 am
Forum: Developer Discussions
Topic: Using CMSIS DSP Transform Functions (FFT)
Replies: 3
Views: 107

Re: Using CMSIS DSP Transform Functions (FFT)

I found a solution: 1- I took the contents of the "CMSIS/CMSIS/DSP/Include/" directory from the CMSIS5 repository directly https://github.com/ARM-software/CMSIS_5 and placed them into a new folder called CMSIS5 inside the crazyflie-firmware --> "crazyflie-firmware/vendor/CMSIS/CMSIS/DSP/Include/CMSI...
by rampudia
Mon May 17, 2021 7:28 am
Forum: Developer Discussions
Topic: Problems integrating external library
Replies: 2
Views: 41

Problems integrating external library

Hey! I added an external library to the project, namely https://github.com/mborgerding/kissfft . To do so I include the header files by adding the corresponding directory to the "INCLUDES += -I ... " in the Makefile and placed the source files I needed in a VPATH folder as suggested in this post htt...
by rampudia
Thu May 13, 2021 12:57 pm
Forum: Developer Discussions
Topic: Using CMSIS DSP Transform Functions (FFT)
Replies: 3
Views: 107

Re: Using CMSIS DSP Transform Functions (FFT)

In the Crazyflie firmware in tools/make/cmsis/dsp/obj.mk I see that "arm_cfft_init_f32.o" is not present, I tried to add it but I still get the same error when compiling the whole project.
by rampudia
Tue May 11, 2021 7:47 pm
Forum: Developer Discussions
Topic: Using CMSIS DSP Transform Functions (FFT)
Replies: 3
Views: 107

Using CMSIS DSP Transform Functions (FFT)

Hi! I am trying to use CMSIS DSP transform functions inside a task I created for the Crazyflie but I am getting an "undefined reference error" (see below) which I find strange because I can successfully use other DSP functions like "arm_sqrt_f32" which I tried as a test. I have also tested the code ...
by rampudia
Thu May 06, 2021 6:28 pm
Forum: Developer Discussions
Topic: Signal Processing at high frequencies
Replies: 2
Views: 101

Re: Signal Processing at high frequencies

Ok thanks for the advice, if I succeed I will post the solution here.
by rampudia
Wed May 05, 2021 5:22 pm
Forum: Developer Discussions
Topic: Signal Processing at high frequencies
Replies: 2
Views: 101

Signal Processing at high frequencies

Hi! I would like to sample data from the ADC at a frequency of ~2kHz and process it internally before logging the result at the regular 10-100Hz with the python client. I am having a hard time accommodating this functionality in the firmware with an APP or a deck driver and for this reason I would l...
by rampudia
Tue Apr 20, 2021 2:15 pm
Forum: Developer Discussions
Topic: readAnalogVoltage - does it work?
Replies: 5
Views: 1819

Re: readAnalogVoltage - does it work?

3 years later... but in case it helps someone I made a very simple program that uses the APP Layer https://www.bitcraze.io/documentation/repository/crazyflie-firmware/master/userguides/app_layer/ to send an analog value to the client's console: #include <string.h> #include <stdint.h> #include <stdbo...
by rampudia
Tue Apr 13, 2021 9:15 pm
Forum: Developer Discussions
Topic: [SOLVED] Connection problems with radio and delay
Replies: 6
Views: 791

Re: Connection problems with radio and delay

The problem seems now to be solved by logging at 10Hz and also increasing the amount of resources allocated to the VM.

Also, important to set the USB controller in VirtualBox to USB2 and connect your CrazyRadio to a USB2 port.

Thanks for the help!