Skip to content

Commit

Permalink
pre-commit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshv24 committed Jun 10, 2024
1 parent b27413a commit d40d537
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion docking_control/src/docking_control/auv_hinsdale.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import numpy as np
import yaml
from casadi import (
Expand Down
8 changes: 2 additions & 6 deletions docking_control/utils/sonar_to_grid_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,8 @@ def generate_ray_casting_grid_map(ox, oy, xy_resolution):
occupancy_map = np.zeros((x_w, y_w))
# occupancy_map = np.ones((x_w, y_w)) / 2

int(
np.floor(-min_x / xy_resolution)
) # center x coordinate of the grid map
int(
np.floor(-min_y / xy_resolution)
) # center y coordinate of the grid map
int(np.floor(-min_x / xy_resolution)) # center x coordinate of the grid map
int(np.floor(-min_y / xy_resolution)) # center y coordinate of the grid map

# occupancy grid computed with bresenham ray casting
for x, y in tqdm(zip(ox, oy), total=len(ox)):
Expand Down

0 comments on commit d40d537

Please sign in to comment.