diff --git a/core b/core index 19c180a..6d1b31b 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 19c180aeaa0fc60f02c0acfc795523b78091c884 +Subproject commit 6d1b31b24db382dae9a26f66294293cf3d7c1cdd diff --git a/examples/unity_lidar/lidar.py b/examples/unity_lidar/lidar.py index a527807..10fc333 100644 --- a/examples/unity_lidar/lidar.py +++ b/examples/unity_lidar/lidar.py @@ -8,6 +8,7 @@ import pyqtgraph as pg import hakopy import hako_pdu +import os class LidarVisualizer(QMainWindow): def __init__(self, mgr): @@ -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()