Skip to content

Error in voronoi_gen.py #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
amartyanatayu opened this issue Sep 27, 2022 · 0 comments
Open

Error in voronoi_gen.py #1

amartyanatayu opened this issue Sep 27, 2022 · 0 comments

Comments

@amartyanatayu
Copy link

rosrun raspberrypimouse_controlbarrierfunction main_coverage_with_cbf.py
Traceback (most recent call last):
File "/home/iotlab/ros1_ws/src/raspberrypimouse_controlbarrierfunction/scripts/main_coverage_with_cbf.py", line 34, in
(area, shape, poly2pt, centroids) = gen_voronoi(pose)
File "/home/iotlab/ros1_ws/src/raspberrypimouse_controlbarrierfunction/scripts/voronoi_gen.py", line 13, in gen_voronoi
poly_shapes, pts, poly_to_pt_assignments = voronoi_regions_from_coords(pose, area_shape, accept_n_coord_duplicates=0)
File "/home/iotlab/.local/lib/python3.8/site-packages/geovoronoi/_voronoi.py", line 206, in voronoi_regions_from_coords
geom_polys, geom_pts = region_polygons_from_voronoi(vor, geom, return_point_assignments=True, **kwargs)
TypeError: region_polygons_from_voronoi() got an unexpected keyword argument 'accept_n_coord_duplicates'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant