Skip to content

Commit

Permalink
Fixed typo of circle_radius_range in generate_random_world_env_2d.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
tedhuang96 committed Apr 21, 2024
1 parent 845d21c commit 69e81b3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions LOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# LOG

## 240421
1. Fixed typo of `circle_radius_range` in `generate_random_world_env_2d.py`. Adjusted `env_configs/random_2d.yml` to make the 2D configurations still the same as the previous setup, but with no typos.

## 240415
1. Fixed `img_folder` bug in `visualize_data_samples_2d.py`.
2. nirrt_star v1.0.0 is released.
Expand Down
2 changes: 1 addition & 1 deletion env_configs/random_2d.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
env_height: 224
env_width: 224
rectangle_width_range: [16, 24]
circle_radius_range: [8, 12]
circle_radius_range: [16, 24]
num_rectangles_range: [8, 12]
num_circles_range: [8, 12]
path_clearance: 3
Expand Down
2 changes: 1 addition & 1 deletion generate_random_world_env_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def generate_astar_path(

img_height, img_width = config['env_height'], config['env_width']
rectangle_width_range = config['rectangle_width_range']
circle_radius_range = config['rectangle_width_range']
circle_radius_range = config['circle_radius_range']
num_rectangles_range = config['num_rectangles_range']
num_circles_range = config['num_circles_range']
path_clearance = config['path_clearance']
Expand Down

0 comments on commit 69e81b3

Please sign in to comment.