Skip to content

Commit 67ae30c

Browse files
committed
import module of binary grid map
1 parent 46a8b03 commit 67ae30c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/components/mapping/binary/binary_grid_mapper.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@
44
Author: Shisato Yano
55
"""
66

7-
import sys
8-
from pathlib import Path
9-
10-
sys.path.append(str(Path(__file__).absolute().parent) + "/../grid")
11-
from grid_map import GridMap
7+
from binary_map import BinaryMap
128

139

1410
class BinaryGridMapper:
@@ -28,7 +24,7 @@ def __init__(self, width_m=60.0, height_m=60.0, resolution_m=1.0,
2824
sensor_params: Parameters object of sensor
2925
"""
3026

31-
self.map = GridMap(width_m, height_m, resolution_m, center_x_m, center_y_m)
27+
self.map = BinaryMap(width_m, height_m, resolution_m, center_x_m, center_y_m)
3228
self.params = sensor_params
3329

3430
def update(self, point_cloud, state):

0 commit comments

Comments
 (0)