Motor and SmartDot Graph Widget
What this widget is
This document defines the behavior shared by the Motor Graph and SmartDot Graph widgets.
- The Motor Graph displays commanded values and encoder values over time.
- The SmartDot Graph displays accelerometer, gyroscope, magnetometer, and light values over time.
- The graph controls affect rendering only. They do not change stored data.
Display modes
You can select three display modes:
- Scroll
- Shows a sliding time window.
- The default window is
0.1seconds. - You can set this value with the range-width control.
- View All
- Shows the full duration of the current run.
- Range
- Shows data between explicit minimum and maximum times.
- The default range is
0to2seconds. - You can set min/max using the controls in the lower-right area.
Vertical cursor and readout
- Clicking the graph places a vertical cursor at the clicked time.
- The widget highlights the nearest sample on each visible line.
- The bottom label shows exact values at the highlighted time.
Line visibility
- The checkboxes on the right side enable and disable individual lines.
- Checkbox state changes visibility only.
- Data collection and persistence continue for all series.
Color keys
Motor Graph color key:
- Spin: red (
#FF0000) - Tilt: green (
#00AA00) - Angle: blue (
#0000FF) - Spin Data / Spin Encoder: cyan (
#00FFFF) dashed - Tilt Data / Tilt Encoder: magenta (
#FF00FF) dashed - Angle Data / Angle Encoder: yellow (
#FFFF00) dashed
SmartDot Graph color key:
- Accelerometer X: red (
#FF0000) - Accelerometer Y: green (
#00AA00) - Accelerometer Z: blue (
#0000FF) - Gyroscope X: cyan (
#00FFFF) - Gyroscope Y: magenta (
#FF00FF) - Gyroscope Z: yellow (
#FFFF00) - Magnetometer X: teal (
#008080) - Magnetometer Y: maroon (
#800000) - Magnetometer Z: purple (
#800080) - Light: gray (
#777777)
Where this widget is used
- Shot View uses Motor Graph on the left and SmartDot Graph on the right.
- Analysis Mode uses both graph widgets for loaded session data.
- Diagnostic Mode uses SmartDot Graph for live SmartDot review.
Note
- In the SmartDot Graph, the
log2of the light value is displayed so it stays on a comparable scale with the other plotted values.