Skip to content

Conversation

@denaecantrell
Copy link

Added new elevation integration + graph visualization improvements.

Copy link
Collaborator

@rhua-nv rhua-nv left a comment

Choose a reason for hiding this comment

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

Could you please run the unit tests and the linter? Please see https://github.com/nvidia-isaac/SWAGGER/tree/main?tab=readme-ov-file#development

)
self._known_points: list[tuple[float, float]] = []

def _debug_print(self, *args, **kwargs):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please use self._logger.debug (configured here). To enable debug print, initialize the waypoint graph generator instance with logger_level=logging.DEBUG.

image_height = image.shape[0]
self._y_offset = y_offset + (image_height * resolution) # Add image height in meters
#self._y_offset = y_offset + (image_height * resolution) # Add image height in meters
self._y_offset = y_offset
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you explain the change?

self._logger.info("Generating skeleton...")
try:
skeleton_image = thin((1 - self._inflated_map).view(cp.uint8))
skeleton_image = thin((1 - inflated_map).view(cp.uint8))
Copy link
Collaborator

Choose a reason for hiding this comment

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

inflated_map is not defined in this function.

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

Successfully merging this pull request may close these issues.

2 participants