Search found 2021 matches

by arnaud
Wed Jun 26, 2019 6:59 am
Forum: Support
Topic: Making Changes to cflib/positioning/motion_commander.py
Replies: 2
Views: 96

Re: Making Changes to cflib/positioning/motion_commander.py

You most likely have installed the lib from pypi and not from your local source. To make sure you are using your local cloned lib you need to uninstall the already installed lib and then install it in editable mode: $ python3 -m pip uninstall cflib $ python3 -m pip uninstall cflib # Making sure ther...
by arnaud
Thu Jun 20, 2019 8:45 am
Forum: Loco Positioning System
Topic: Can't configure lps nodes after updating
Replies: 2
Views: 129

Re: Can't configure lps nodes after updating

You do not have to install the libusb driver for the node in Firmware mode, it is only needed for the bootloader mode. In firmware mode the node is seen as a USB serial port and is using the windows default driver. One way to fix it is to launch zadig again when the node is in firmware mode (ie. plu...
by arnaud
Wed Jun 19, 2019 9:18 am
Forum: Developer Discussions
Topic: implementing collision avoidance in FW
Replies: 11
Views: 1117

Re: implementing collision avoidance in FW

Hi, From what you are describing you successfuly managed to run the push demo in your firmware, now if you have both a flow and a multiranger deck installed you will be able to have the Crazyflie taking off by putting your hand close to the top of the multiranger deck. To achieve this functionality ...
by arnaud
Wed Jun 19, 2019 8:37 am
Forum: Loco Positioning System
Topic: Loco Positioning System Setup
Replies: 15
Views: 2085

Re: Loco Positioning System Setup

Hi @andy. With this system size you most likely have problem with the range: with default settings the ancors work very well in a system that is 4x4x3 meters, a bit more is possible but much more requires to change the radio settings. We have a couple of scripts that can be used to set the anchors r...
by arnaud
Wed Jun 19, 2019 8:03 am
Forum: Developer Discussions
Topic: Deck can't be detected.
Replies: 2
Views: 404

Re: Deck can't be detected.

Thanks for copy-pasting the console in debug, it gives a lot of useful informations :-). From the console output it seems that there is no one-wire memory installed on your deck. If you want your deck to be detected automatically you need to have a DS28E05 one-wire (OW) memory installed on your deck...
by arnaud
Tue Jun 18, 2019 8:11 am
Forum: Autonomous flight
Topic: Swarm with loco position Tdoa2 - crash
Replies: 3
Views: 153

Re: Swarm with loco position Tdoa2 - crash

Hi, Are you sure you are in TDoA2 mode and not in TWR? One thing you could test is to have one Crazyflie flying the sequence and the two other switched-on on the side. This would verify if the problem comes from the localisation or from something else. One note for the radio links: the best is to ke...
by arnaud
Mon Jun 17, 2019 6:49 am
Forum: Loco Positioning System
Topic: tdoa3 random send, packet will conflict, PTP(Precision Time Protocol) can solve it
Replies: 1
Views: 144

Re: tdoa3 random send, packet will conflict, PTP(Precision Time Protocol) can solve it

TDoA2 is synchronizing all anchors and using TDMA. The problem with the TDMA approach is that it does not scale that well. First of all, in TDoA2 we use anchor 0 as a master clock for TDMA, this means that losing anchor 0 stops the system. Having a more distributed approach for time-keeping would so...
by arnaud
Thu Jun 13, 2019 8:04 am
Forum: General discussions
Topic: How to control more than 50 crazyflies?
Replies: 16
Views: 1368

Re: How to control more than 50 crazyflies?

You should not need to touch the heap to make room for the trajectory in flash: the Crazyflie CPU can access flash directly and you should be able to run trajectories directly from the flash. Though I am not sure the API is currently setup to read from flash but it should be quite easy to adapt. The...
by arnaud
Wed Jun 12, 2019 9:34 am
Forum: Developer Discussions
Topic: Firmware and Python Library
Replies: 2
Views: 212

Re: Firmware and Python Library

Hi, If you add a function in the high level commander, you need to add a packet decoding for it so that this function can be called when a packet is sent to the Crazyflie: https://github.com/bitcraze/crazyflie-firmware/blob/master/src/modules/src/crtp_commander_high_level.c#L262 In the lib, you can ...
by arnaud
Wed Jun 12, 2019 8:44 am
Forum: Bitcraze
Topic: Supervisory System
Replies: 1
Views: 161

Re: Supervisory System

Hi, The easiest might be to use ROS with the Crazyflie_ROS driver. ROS has a 3D visualisation program called rviz that would give you 3D monitoring of the Crazyflie pose. If you want to make your own visualisation there is existing libs for 3D visualisation like matplotlib or vispy that would allow ...