Update app.py
Browse files
app.py
CHANGED
|
@@ -193,7 +193,8 @@ def step_simulation(scan_range):
|
|
| 193 |
# Draw images
|
| 194 |
env_img = draw_environment(state.robot_pose, state.trajectory, state.obstacles)
|
| 195 |
#slam_img = gr.Image(label="SLAM Map View", height=SPACE_SIZE, width=SPACE_SIZE)
|
| 196 |
-
slam_img = draw_slam_map(state.robot_pose, state.slam_points, scan_range)
|
|
|
|
| 197 |
|
| 198 |
# If recording, save frames
|
| 199 |
if state.recording:
|
|
|
|
| 193 |
# Draw images
|
| 194 |
env_img = draw_environment(state.robot_pose, state.trajectory, state.obstacles)
|
| 195 |
#slam_img = gr.Image(label="SLAM Map View", height=SPACE_SIZE, width=SPACE_SIZE)
|
| 196 |
+
#slam_img = draw_slam_map(state.robot_pose, state.slam_points, scan_range)
|
| 197 |
+
slam_img = draw_slam_map(state.robot_pose, state.slam_points)
|
| 198 |
|
| 199 |
# If recording, save frames
|
| 200 |
if state.recording:
|