Skip to content

Commit

Permalink
Add information about transformation data
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsided committed Jul 4, 2024
1 parent 2179325 commit 89089dc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,14 @@ pub fn frame_data_to_line_raw(frame: &Version1DataFrame, line: &mut Vec<Span>) {
),
])
}
SensorData::LinearRanges(ref ident) => {
line.extend(vec![
Span::styled("transformation data", Style::default().cyan()),
" ".into(),
]);

line.extend(sensor_id(&ident.target));
}
SensorData::AccelerometerI16(vec) => {
let (highlight_x, highlight_y, highlight_z) = highlight_axis_3(vec.x, vec.y, vec.z);

Expand Down

0 comments on commit 89089dc

Please sign in to comment.