Page 1 of 1
Pointcloud while flying
Posted: Tue Dec 07, 2021 9:48 am
by 5ahif
We have trouble using the Pointcloud mapping while flying with our custom code, we tried threading as you can see in the attachment. The Pointcloud window opens but it isnt showing any dots.
Re: Pointcloud while flying
Posted: Wed Dec 08, 2021 8:50 am
by kimberly
Hi!
So I assume that you are using the flowdeck + multiranger combo right? Have you tried the standard pointcloud script before and does that work for you?
Your script is quite big so we can't really determine where it really goes wrong. It might be that you need the update the vispy canvas regularly while flying, but that is perhaps an more general python library question I would say.
A good thing to start out with, is to make a much simpler script than this, where you just have the crazyflie take off and plot random points at the same time.