Search found 2475 matches

by arnaud
Wed Jun 16, 2021 9:22 am
Forum: Developer Discussions
Topic: Set altHoldMode parameter from mobile application without using radio
Replies: 5
Views: 64

Re: Set altHoldMode parameter from mobile application without using radio

I could not find anything wrong with your function. Have you looked for the answer from the Crazflie? The Crazyflie should set a packet back with an error code indicating success (0) or failure (non 0). How are you testing the alt-hold? The way alt-hold is implemented in the Crazyflie, it should be ...
by arnaud
Tue Jun 15, 2021 9:02 am
Forum: Developer Discussions
Topic: Set altHoldMode parameter from mobile application without using radio
Replies: 5
Views: 64

Re: Set altHoldMode parameter from mobile application without using radio

There is a radio packet implemented exactly for this usecase: param set by name: https://www.bitcraze.io/documentation/repository/crazyflie-firmware/master/functional-areas/crtp/crtp_parameters/#set-by-name. This allows to set a parameter by sending its group and name in the packet. So it would allo...
by arnaud
Mon Jun 07, 2021 2:48 pm
Forum: Developer Discussions
Topic: Broadcasting P2P packets
Replies: 1
Views: 286

Re: Broadcasting P2P packets

Hi, This should technically work but the limitation is mostly with the Firmware of the Crazyradio. What you want in that case is a "sniffer" mode that listens to one channel/address and prints all received packets. Unfortunately the Crazyradio does not have such a mode implemented. There is a couple...
by arnaud
Mon May 31, 2021 11:26 am
Forum: General discussions
Topic: The velocity of crazyflie
Replies: 6
Views: 484

Re: The velocity of crazyflie

The velocity is available as log variable in the variables "stateEstimate.vx", "stateEstimate.vy" and "stateEstimate.vz". crazyflie_ros allows to setup logblocks to log variables at regular interval and make them available as a topic. As an extra note: a lot of information are available as log. Curr...
by arnaud
Mon May 24, 2021 11:41 am
Forum: Support
Topic: VM crash while Crazyradio PA flash
Replies: 1
Views: 345

Re: VM crash while Crazyradio PA flash

Hi, What connection problems are you having? There should be no need to reprogram the radio except in very specific cases (ie. when using Crazyswarm). So, if you use Crazyswarm you should follow their doc on a real Linux machine to reprogram the radio, otherwise tell us what problems you are having ...
by arnaud
Thu May 20, 2021 5:49 am
Forum: Loco Positioning System
Topic: LPS node problem
Replies: 3
Views: 282

Re: LPS node problem

Hi, Sorry for the delayed answer, I can answer in order: 1. Yes just a reset is enough 2. It can the the Linux modem detection code that is affecting your node. This is odd since we actually designed the node menu to not be affected by it. In any way, you can disable the modem selection by running: ...
by arnaud
Mon May 17, 2021 11:20 am
Forum: Developer Discussions
Topic: Problems integrating external library
Replies: 2
Views: 127

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

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

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

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