Skip to content
New issue

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

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

Already on GitHub? # to your account

OccupancyGrid #10

Open
wants to merge 8 commits into
base: ped-grid-master
Choose a base branch
from
Open

OccupancyGrid #10

wants to merge 8 commits into from

Conversation

camcimahir
Copy link
Collaborator

No description provided.

openCVTest.py Outdated
@@ -0,0 +1,44 @@
import cv2
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file needs to be deleted.

shapelyTest.py Outdated
'''


def create_occupancy_grid(agentLocation: 'tuple[int]', gridSize: 'list[int, int]', objects: any) -> 'list[list[float]]':
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like the methods were not converted to a class yet


class FOVPerception(BasePerception):
def getOG(agentLocation: Tuple[int, int], gridSize: Tuple[int, int], objects: List[BaseObject]) -> List[List[float]]:
raise NotImplementedError("Please Implement this method")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fill out this one

'''


def create_occupancy_grid(agentLocation: 'tuple[int]', gridSize: 'list[int, int]', objects: MultiPolygon) -> 'list[list[float]]':
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed the objects type from any to MultiPolygon. Try to never use "any"

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

Successfully merging this pull request may close these issues.

2 participants