Skip to content

Commit 58be240

Browse files
committed
created object of binary grid mapper
1 parent a4eb1ac commit 58be240

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/simulations/mapping/binary_grid_map_construction/binary_grid_map_construction.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,11 @@ def main():
7676
pure_pursuit = PurePursuitController(spec, course)
7777
sensor_params = SensorParameters(lon_m=spec.wheel_base_m/2, max_m=15, dist_std_rate=0.05)
7878
lidar = OmniDirectionalLidar(obst_list, sensor_params)
79+
mapper = BinaryGridMapper(sensor_params=sensor_params, center_x_m=25.0, center_y_m=5.0)
7980
vehicle = FourWheelsVehicle(State(color=spec.color), spec,
8081
controller=pure_pursuit,
8182
sensors=Sensors(lidar=lidar),
83+
mapper=mapper,
8284
show_zoom=False)
8385
vis.add_object(vehicle)
8486

0 commit comments

Comments
 (0)