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

cabana: enhance message heatmap visualization #34239

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

deanlee
Copy link
Contributor

@deanlee deanlee commented Dec 14, 2024

This update improves the visualization of the message heatmap by enhancing the calculation of alpha transparency for bits with flips. Key changes include:

  • Improved visibility for small bit flips: A minimum alpha value ensures that bits with few changes remain visible, helping users detect subtle patterns more easily.
  • Logarithmic scaling refinement: The alpha transparency now better reflects variations in bit flip counts, providing more accurate visual scaling of changes.
  • More precise scaling based on maximum bit flips: Alpha values are now determined by the maximum bit flip count, rather than the total message count, improving clarity for both high and low-frequency flips across messages.

These enhancements provide a more intuitive and visually accurate representation of bit changes, making it easier to detect patterns and boundaries in the heatmap for better analysis.

Example: WEEL_SPEEDS Message

Before After
Screenshot from 2024-12-14 23-02-03 Screenshot from 2024-12-14 22-57-45

Actual DBC Message:

Screenshot from 2024-12-14 22-57-35

@github-actions github-actions bot added the tools label Dec 14, 2024
@deanlee deanlee force-pushed the cabana_improve_heatmap branch from 12f3f9f to 0e59436 Compare December 14, 2024 15:49
@deanlee deanlee force-pushed the cabana_improve_heatmap branch from 4ba943b to 40578ee Compare December 14, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant