Pointcloud while flying
Pointcloud while flying
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.
- Attachments
-
- sbs_motion_commander.py
- (17.61 KiB) Downloaded 84 times
Re: Pointcloud while flying
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.
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.