mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-04 13:02:09 +08:00
ui.py: fix transform
old-commit-hash: ebb20dacb5761269a4c186d82d907b0ed16738eb
This commit is contained in:
@@ -125,9 +125,6 @@ def ui_thread(addr, frame_address):
|
||||
fpkt = messaging.recv_one(frame)
|
||||
rgb_img_raw = fpkt.frame.image
|
||||
|
||||
if fpkt.frame.transform:
|
||||
img_transform = np.array(fpkt.frame.transform).reshape(3, 3)
|
||||
|
||||
num_px = len(rgb_img_raw) // 3
|
||||
if rgb_img_raw and num_px in _FULL_FRAME_SIZE.keys():
|
||||
FULL_FRAME_SIZE = _FULL_FRAME_SIZE[num_px]
|
||||
|
||||
Reference in New Issue
Block a user