Skip to content

Commit

Permalink
bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
tmori committed Dec 10, 2024
1 parent 8450ad3 commit 6d0a9ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core
4 changes: 3 additions & 1 deletion examples/unity_lidar/lidar.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import pyqtgraph as pg
import hakopy
import hako_pdu
import os

class LidarVisualizer(QMainWindow):
def __init__(self, mgr):
Expand Down Expand Up @@ -70,7 +71,8 @@ def main():
config_path = sys.argv[1]
delta_time_usec = 20000

pdu_manager = hako_pdu.HakoPduManager('/usr/local/lib/hakoniwa/hako_binary/offset', config_path)
hako_binary_path = os.getenv('HAKO_BINARY_PATH', '/usr/local/lib/hakoniwa/hako_binary/offset')
pdu_manager = hako_pdu.HakoPduManager(hako_binary_path, config_path)
hakopy.conductor_start(delta_time_usec, delta_time_usec)

ret = hakopy.init_for_external()
Expand Down

0 comments on commit 6d0a9ef

Please sign in to comment.