Lighthouse Geometry Estimation error #1184
-
I have two lighthouse V2 base stations, a crazyflie 2.1, and lighthouse v4 deck. I'm trying to set everything up to fly within a cube that's approximately 5'x5'x5'. I have had this working in the past, but it has stopped working after being disassembled/moved/reconstructed. Photo of setup: After the enclosure was reassembled, the crazyflie was unable to maintain stable flight using the buttons on the CF Client Flight Control tab (running on VM). It would take off, and then start swaying about in an increasingly uncontrolled manner until hitting something or flipping upside down. I figured that this had something to do with the base stations not being excactly where they were before, so I tried to redo the geometry estimation. For whatever reason, the copy of the VM that I have been working with (newest version, some modifications) wouldn't let me open the GUI for geometry estimation. I created a new copy of the VM and was able to open the GUI. I am now able to get through all of the steps provided in the GUI, but the geometry estimation always fails: Here are some ideas I have tried:
Other info: The "Basestation Status" area on the Lighthouse Positioning tab looks like this after connecting: The plotter tab in the clean VM doesn't show anything when I select "lhStatus", though the older version of the VM does show a few flat lines (But not all lines shown in the legend). I wanted to check this after reading this post: The LED indicators on the lighthouse deck and base stations seem to be working just fine, and change when the sensors are covered by my hand. (both solid green with line of sight, deck turns orange when blocked, base stations flash blue when blocked). I do observe a jittery horizon in the Flight Control tab after booting the crazyflie as described in this unanswered post with a similar issue: I did have a temporary issue with the VM claiming that no sweeping angles were detected, even though the indicator on the lighthouse deck was green. Resetting the base station channels fixed this. I've attached the output from the console tab in a file "console.txt". I've attached the output from the terminal window that opens with the client in a file "terminal.txt". Any ideas? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hi, Thanks for the detailed question and sorry for the late answer. I tried to reproduce your problems and to me the main problem is the VM. Connecting a crazyflie from within the VM and configuring it seems much worse than before, something has clearly deteriorated with time (virtualbox is now using Microsoft's virtualization, maybe that is a reason ...). Anyway, I think one way forward for you would be to install the client on the machine directly. I worked at fixing the client for python 3.12 on windows and this is now released as version 2014.2.1 of the client. You can now install python from the windows store and then type We will have a look at the state of the VM to find out what did happen and how we can go forward with it since the current state is unfortunately not usable anymore. |
Beta Was this translation helpful? Give feedback.
Ah yes that is a known bug that is currently not fixed yet. There is a proposed solution here: bitcraze/crazyflie-clients-python#691