Search found 2538 matches

by arnaud
Tue Jul 13, 2021 8:57 am
Forum: General discussions
Topic: Multiple crazyradio PAs connect to one crazyflie
Replies: 3
Views: 1277

Re: Multiple crazyradio PAs connect to one crazyflie

Hi, This is a very interesting project, I have been thinking of playing with that but never had the time or a use-case for it. Using multiple radio to communicate with one Crazyflie is not implemented but it is technically possible and depending of your requirements it might not be too hard to imple...
by arnaud
Wed Jun 23, 2021 11:28 am
Forum: Developer Discussions
Topic: Does the DEBUG_PRINT_ON_SWO define work?
Replies: 8
Views: 1774

Re: Does the DEBUG_PRINT_ON_SWO define work?

I just tried RTT and it does work with OpenOCD and with ST-Link V2/V3! The crazyflie firmware needs to be built with "DEBUG_PRINT_ON_SEGGER_RTT=1" in config.mk or on the command line. I added a "make rtt" target to the makefile to enable it: https://github.com/bitcraze/crazyflie-...
by arnaud
Wed Jun 23, 2021 8:17 am
Forum: Developer Discussions
Topic: Set altHoldMode parameter from mobile application without using radio
Replies: 10
Views: 2129

Re: Set altHoldMode parameter from mobile application without using radio

It may be that the split packet is bugged somehow. this is not impossible. One way to check would be to make a parameter with a smaller name that makes the packet fit in a single BLE packet (or rename the parameter you want to set) and seeing if this solves your problem. If it does, we have a bug in...
by arnaud
Wed Jun 16, 2021 9:22 am
Forum: Developer Discussions
Topic: Set altHoldMode parameter from mobile application without using radio
Replies: 10
Views: 2129

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

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: 2
Views: 1141

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 i...
by arnaud
Mon May 31, 2021 11:26 am
Forum: General discussions
Topic: The velocity of crazyflie
Replies: 6
Views: 2298

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 informat...
by arnaud
Mon May 24, 2021 11:41 am
Forum: Support
Topic: VM crash while Crazyradio PA flash
Replies: 1
Views: 9240

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

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

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