lighthousev2 get_bs_geometry is not working well
Posted: Mon Mar 08, 2021 5:35 am
Hi, I got the lighthouse deck and now testing it
My setting is cf2.1 with lighthouse deck and two BS v2
Now, I'm following the
'Setting up the lighthouse system
Home / Documentation / Repositories / crazyflie-firmware / master / Functional areas / The Lighthouse positioning system / Setting up the lighthouse system'
1. Added two lines in the bottom of Makefile in firmware foler
CFLAGS += -DDISABLE_LIGHTHOUSE_DRIVER=0
CFLAGS += -DLIGHTHOUSE_FORCE_TYPE=2
2. build and flash
3. changed the modes of two basestation 1 and 2 with picocom
4. get calibration data of two BSs and edit persist_bs_data.py and runned it
but at the step 5. get geometry data of BSs by running 'get_bs_geometry.py'
terminal shows me
Connecting to radio://0/2/2M
Connected to radio://0/2/2M
Reading sensor data...
and it stops
when I quit it then it looks like
Connecting to radio://0/2/2M
Connected to radio://0/2/2M
Reading sensor data...
^CTraceback (most recent call last):
File "tools/lighthouse/get_bs_geometry.py", line 154, in <module>
estimator.estimate(uri, args.write)
File "tools/lighthouse/get_bs_geometry.py", line 78, in estimate
self.collection_event.wait()
File "/usr/lib/python3.6/threading.py", line 551, in wait
signaled = self._cond.wait(timeout)
File "/usr/lib/python3.6/threading.py", line 295, in wait
waiter.acquire()
KeyboardInterrupt
Is there something I missed or do I need to connect vive hmd?
My setting is cf2.1 with lighthouse deck and two BS v2
Now, I'm following the
'Setting up the lighthouse system
Home / Documentation / Repositories / crazyflie-firmware / master / Functional areas / The Lighthouse positioning system / Setting up the lighthouse system'
1. Added two lines in the bottom of Makefile in firmware foler
CFLAGS += -DDISABLE_LIGHTHOUSE_DRIVER=0
CFLAGS += -DLIGHTHOUSE_FORCE_TYPE=2
2. build and flash
3. changed the modes of two basestation 1 and 2 with picocom
4. get calibration data of two BSs and edit persist_bs_data.py and runned it
but at the step 5. get geometry data of BSs by running 'get_bs_geometry.py'
terminal shows me
Connecting to radio://0/2/2M
Connected to radio://0/2/2M
Reading sensor data...
and it stops
when I quit it then it looks like
Connecting to radio://0/2/2M
Connected to radio://0/2/2M
Reading sensor data...
^CTraceback (most recent call last):
File "tools/lighthouse/get_bs_geometry.py", line 154, in <module>
estimator.estimate(uri, args.write)
File "tools/lighthouse/get_bs_geometry.py", line 78, in estimate
self.collection_event.wait()
File "/usr/lib/python3.6/threading.py", line 551, in wait
signaled = self._cond.wait(timeout)
File "/usr/lib/python3.6/threading.py", line 295, in wait
waiter.acquire()
KeyboardInterrupt
Is there something I missed or do I need to connect vive hmd?