Skip to content
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

Dev/latency tracking #452

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

josephvanpeltkw
Copy link
Contributor

This is an MVP of a latency tracking node that can be run to review the latency of the pose estimation, object detection, and activity classification nodes.

Copy link
Member

@Purg Purg left a comment

Choose a reason for hiding this comment

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

Make sure to run black . in the root of the angel workspace so the style-check CI passes:

$ ./angel-workspace-shell.sh
...
$ black .

.gitignore Outdated Show resolved Hide resolved
Comment on lines +296 to 297
all_poses_msg.header.stamp = self.get_clock().now().to_msg()
self.patient_pose_publisher.publish(all_poses_msg)
Copy link
Member

Choose a reason for hiding this comment

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

Wait, this is inside the for-loop. This and the following line (297) should be left indented a level to outside the for keypoints_ in keypoints: loop...

@cameron-a-johnson Wasn't this something that we looked at earlier in the summer? I thought we fixed this earlier. Was this publish inside the "maybe iterates once" for-loop intentional to only publish a message if there were keypoints? As this currently stands, messages are not being published for images that were processed, but no poses were estimated. It would not be "wrong" to publish a pose message for an image explicitly indicating there were no poses.

tmux/demos/medical/Kitware-M2.yml Show resolved Hide resolved
tmux/demos/medical/Kitware-R18.yml Show resolved Hide resolved
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