Query regarding lighthouse get_bs_geometry.py
Posted: Tue Mar 17, 2020 7:41 pm
Hello,
I have trying to setup the lighthouse with my crazyflie 2.1 and so far, I have been able to setup the cfclient, and the radioPA link. I was following the steps given in https://github.com/bitcraze/crazyflie-f ... verview.md and after running I get the following:
Can you please let me know what I am missing and how I can correct this? Thanks a lot!
I have trying to setup the lighthouse with my crazyflie 2.1 and so far, I have been able to setup the cfclient, and the radioPA link. I was following the steps given in https://github.com/bitcraze/crazyflie-f ... verview.md and after running
Code: Select all
tools/lighthouse/get_bs_geometry.py --uri radio://0/80/2M
Code: Select all
$ tools/lighthouse/get_bs_geometry.py --uri radio://0/80/2M
Connecting to radio://0/80/2M
Connected to radio://0/80/2M
Reading sensor data...
Traceback (most recent call last):
File "tools/lighthouse/get_bs_geometry.py", line 335, in <module>
sensor_sweeps_all = read_sensors(scf)
File "tools/lighthouse/get_bs_geometry.py", line 94, in read_sensors
with SyncLogger(scf, confs) as logger:
File "/home/momtaz/.local/lib/python3.6/site-packages/cflib/crazyflie/syncLogger.py", line 113, in __enter__
self.connect()
File "/home/momtaz/.local/lib/python3.6/site-packages/cflib/crazyflie/syncLogger.py", line 72, in connect
self._cf.log.add_config(config)
File "/home/momtaz/.local/lib/python3.6/site-packages/cflib/crazyflie/log.py", line 453, in add_config
raise KeyError('Variable {} not in TOC'.format(var.name))
KeyError: 'Variable lighthouse.angle0x not in TOC'