Search found 2538 matches

by arnaud
Mon May 17, 2021 9:17 am
Forum: Developer Discussions
Topic: Non-blocking goto function
Replies: 1
Views: 885

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: 2625

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: 6
Views: 12967

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: 3
Views: 10145

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...
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: 1843

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 m...
by arnaud
Thu May 06, 2021 1:59 pm
Forum: Developer Discussions
Topic: Debugging crazyflie
Replies: 3
Views: 1027

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: 1027

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: 10
Views: 43094

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: 1019

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...
by arnaud
Tue May 04, 2021 7:45 am
Forum: Developer Discussions
Topic: Angular Velocity When Using Absolute Yaw
Replies: 3
Views: 1477

Re: Angular Velocity When Using Absolute Yaw

I do not think anyone has ever measured this, sorry. It could be measured experimentally by logging the gyro measurement and making the Crazyflie yaw by steps a couple of time. There has been some paper published on making system identification on the Crazyflie. We list papers on our webpage: https:...