Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Metric Logging and File Versioning #21

Open
11 tasks
vangeliq opened this issue May 17, 2024 · 0 comments
Open
11 tasks

Metric Logging and File Versioning #21

vangeliq opened this issue May 17, 2024 · 0 comments
Assignees
Labels
24-S-SysArch Label for all 2024 summer SysArch Tasks

Comments

@vangeliq
Copy link
Contributor

Research industry approaches to log metric data for robotics applications

  • Use profiling tools for C++ and complete the PID approach that Valery has started (std::chrono)
  • Verify the results match JTOP statistics
  • Print FPS within cv2 display window
  • Print preprocess, inference and postprocess latency values in terminal (rolling average over 1 second intervals)
  • Add the ability to save recorded metric data to a logging file to later visualize
  • Add model metadata and architecture/topic statistics to keep track of what logging files came from where
  • Determine whether Python display node w/ cross-compilation or C++ Prometheus alternative is required

Logging Specific:
rclcpp::TimeSource and rclcpp::Clock:

  • Utilize the ROS2 time-related classes to log timestamps and durations.
  • Compare timestamps to measure latency between events.

Logging Statements (RCLCPP_INFO, RCLCPP_WARN, etc.):

  • Add logging statements in your code to measure the time taken by specific operations.
  • Analyze the log outputs to identify latency sources.
@vangeliq vangeliq added the 24-S-SysArch Label for all 2024 summer SysArch Tasks label May 17, 2024
@vangeliq vangeliq added this to the 2024S-SysArch-MVP milestone May 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
24-S-SysArch Label for all 2024 summer SysArch Tasks
Projects
None yet
Development

No branches or pull requests

2 participants