Search found 20 matches

by rampudia
Wed Jun 16, 2021 8:45 pm
Forum: Developer Discussions
Topic: Additional sensor doesn't work during flight
Replies: 3
Views: 885

Re: Additional sensor doesn't work during flight

I am sorry, I believe my problems were due to a hardware issue where one of the pins of the attached sensor floats due to vibrations. When I use a different pcb with the same configuration it seems to work fine.

Thank you :)
by rampudia
Wed Jun 16, 2021 7:19 am
Forum: Developer Discussions
Topic: Additional sensor doesn't work during flight
Replies: 3
Views: 885

Re: Additional sensor doesn't work during flight

I took a Task Dump to see that my task (PD-ADC) was not taking too much processing time but that doesn't seem to be the case: SYSLOAD: Task dump SYSLOAD: Load Stack left Name SYSLOAD: 1.18 153 Tmr Svc SYSLOAD: 21.35 123 IDLE SYSLOAD: 0.27 206 CRTP-RX SYSLOAD: 0.01 77 PWRMGNT SYSLOAD: 12.0 143 SENSOR...
by rampudia
Tue Jun 15, 2021 8:12 pm
Forum: Developer Discussions
Topic: Additional sensor doesn't work during flight
Replies: 3
Views: 885

Additional sensor doesn't work during flight

Hi! I integrated an analog sensor (OPT101 photodiode) to a prototype deck on the bottom of the crazyflie and used it in combination with a lighthouse deck on top. I take several samples from the the sensor, process them internally and then retrieve the result by adding it to a log group. I first tes...
by rampudia
Wed May 26, 2021 7:54 pm
Forum: Developer Discussions
Topic: Crazyflie drifting, Kalman state warnings
Replies: 3
Views: 1751

Crazyflie drifting, Kalman state warnings

Hi! I noticed lately that when flying with my flow sensor the Crazyflie does not stay in place like it used to and it starts drifting and in some cases crashing. When reading the console I get the following message: ESTKALMAN: WARNING: Kalman prediction rate low (98) And then sometimes: ESTKALMAN: S...
by rampudia
Wed May 26, 2021 3:10 pm
Forum: Lighthouse positioning system
Topic: Limitations of using just one base station
Replies: 2
Views: 1190

Limitations of using just one base station

Hi I have two question about the lighthouse system: 1- What are the limitations in terms of range and accuracy for the positioning system for one crazyflie using just one base station? 2- Is it possible to program an automatic route using the crazy-lib-Python instead of moving it around with the Bit...
by rampudia
Mon May 17, 2021 7:24 pm
Forum: Developer Discussions
Topic: Problems integrating external library
Replies: 2
Views: 963

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 ...
by rampudia
Mon May 17, 2021 8:54 am
Forum: Developer Discussions
Topic: Using CMSIS DSP Transform Functions (FFT)
Replies: 3
Views: 2617

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/D...
by rampudia
Mon May 17, 2021 7:28 am
Forum: Developer Discussions
Topic: Problems integrating external library
Replies: 2
Views: 963

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 thi...
by rampudia
Thu May 13, 2021 12:57 pm
Forum: Developer Discussions
Topic: Using CMSIS DSP Transform Functions (FFT)
Replies: 3
Views: 2617

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.