-
Notifications
You must be signed in to change notification settings - Fork 0
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
Data structure to store object densities as histogram #51
Conversation
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.
reviewed. i think we should make the description for PolarObstacleDensity more clear that it consists of one full oscillation as well as the description for SectorObstacleDensity
modules/polar_obstacle_density.py
Outdated
Create a new SectorObstacleDensity object. | ||
|
||
Parameters: | ||
- angle_start: The starting angle of the sector cluster. |
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.
do these parameters have units? i.e. radians? degree? what about density?
modules/polar_obstacle_density.py
Outdated
@@ -0,0 +1,85 @@ | |||
""" | |||
Classes to store object densities as a histogram. | |||
""" |
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.
small thing - i think theres an extra space here
modules/polar_obstacle_density.py
Outdated
Parameters: | ||
- angle_start: The starting angle of the sector cluster in degrees | ||
- angle_end: The ending angle of the sector cluster in degrees | ||
- density: The calculated obstacle density for this sector. (0 <= density <= 1) |
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.
How can we interpret these density values? Given a value 0 <= x <= 1, what does x tell me about the obstacles in the sector?
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.
LGTM
6bbbb30
to
8f59921
Compare
* Data structure to store object densities as histogram * Added units, removed extra space * Added units for angle-start, angle-end. Clarified and lengthened descriptions
Data Structure to store object densities as a histogram