-
Notifications
You must be signed in to change notification settings - Fork 2
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
base: ped-grid-master
Are you sure you want to change the base?
OccupancyGrid #10
Conversation
openCVTest.py
Outdated
@@ -0,0 +1,44 @@ | |||
import cv2 |
There was a problem hiding this comment.
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]]': |
There was a problem hiding this comment.
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
pedgrid/perception/FOVPerception.py
Outdated
|
||
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") |
There was a problem hiding this comment.
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]]': |
There was a problem hiding this comment.
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"
No description provided.