Display trail-oriented navigation data through narrow UI contracts. More...
Public Member Functions | |
| None | set_theme (self, OffroadTheme theme) |
| Apply a resolved off-road theme and redraw the dashboard. | |
| None | set_style_sheet (self, StyleSheet sheet) |
| Apply the .automotive-offroad stylesheet rule. | |
| None | set_navigation_request_handler (self, NavigationRequestHandlerIf|None handler) |
| Connect or clear navigation-control requests. | |
| None | set_heading (self, float|None heading_rad, HeadingReference reference=HeadingReference.TRUE_NORTH) |
| Set displayed heading; the dashboard labels relative headings. | |
| None | set_pitch (self, float|None pitch_rad) |
| Set displayed pitch. | |
| None | set_roll (self, float|None roll_rad) |
| Set displayed roll. | |
| None | set_rate_of_climb (self, float|None rate_mps) |
| Accept climb rate, which is not currently rendered. | |
| None | set_accel_x (self, float|None acceleration_x_mps2) |
| Set fore/aft linear acceleration. | |
| None | set_accel_y (self, float|None acceleration_y_mps2) |
| Set lateral linear acceleration. | |
| None | set_accel_z (self, float|None acceleration_z_mps2) |
| Store vertical linear acceleration. | |
| None | set_accel_total (self, float|None acceleration_magnitude_mps2) |
| Accept total acceleration, which is not currently rendered. | |
| None | set_position (self, PositionFix|None position_fix) |
| Set position-derived altitude. | |
| None | set_satellites (self, Sequence[SatelliteInfo] satellites) |
| Set the count of satellites used in the current fix. | |
| None | set_ground_speed (self, float|None speed_mps) |
| Set speed over ground. | |
| None | set_course_over_ground (self, float|None course_rad) |
| Set actual direction of travel over the ground. | |
| None | set_status (self, StatusValue status) |
| Set the concise dashboard status line. | |
Display trail-oriented navigation data through narrow UI contracts.
| None frontends.tk.automotive.offroad_dashboard_panel.OffroadDashboardPanel.set_accel_total | ( | self, | |
| float | None | acceleration_magnitude_mps2 | ||
| ) |
Accept total acceleration, which is not currently rendered.
| acceleration_magnitude_mps2 | Acceleration magnitude, or None. |
Reimplemented from ui.navigation.translation_ui_if.TranslationUiIf.
| None frontends.tk.automotive.offroad_dashboard_panel.OffroadDashboardPanel.set_accel_x | ( | self, | |
| float | None | acceleration_x_mps2 | ||
| ) |
Set fore/aft linear acceleration.
| acceleration_x_mps2 | Acceleration in metres per second squared. |
Reimplemented from ui.navigation.translation_ui_if.TranslationUiIf.
| None frontends.tk.automotive.offroad_dashboard_panel.OffroadDashboardPanel.set_accel_y | ( | self, | |
| float | None | acceleration_y_mps2 | ||
| ) |
Set lateral linear acceleration.
| acceleration_y_mps2 | Acceleration in metres per second squared. |
Reimplemented from ui.navigation.translation_ui_if.TranslationUiIf.
| None frontends.tk.automotive.offroad_dashboard_panel.OffroadDashboardPanel.set_accel_z | ( | self, | |
| float | None | acceleration_z_mps2 | ||
| ) |
Store vertical linear acceleration.
| acceleration_z_mps2 | Acceleration in metres per second squared. |
Reimplemented from ui.navigation.translation_ui_if.TranslationUiIf.
| None frontends.tk.automotive.offroad_dashboard_panel.OffroadDashboardPanel.set_course_over_ground | ( | self, | |
| float | None | course_rad | ||
| ) |
Set actual direction of travel over the ground.
| course_rad | Clockwise radians from true north, or None. |
Reimplemented from ui.navigation.ground_track_ui_if.GroundTrackUiIf.
| None frontends.tk.automotive.offroad_dashboard_panel.OffroadDashboardPanel.set_ground_speed | ( | self, | |
| float | None | speed_mps | ||
| ) |
Set speed over ground.
| speed_mps | Speed in metres per second, or None. |
Reimplemented from ui.navigation.ground_track_ui_if.GroundTrackUiIf.
| None frontends.tk.automotive.offroad_dashboard_panel.OffroadDashboardPanel.set_heading | ( | self, | |
| float | None | heading_rad, | ||
| HeadingReference | reference = HeadingReference.TRUE_NORTH |
||
| ) |
Set displayed heading; the dashboard labels relative headings.
| heading_rad | Heading in radians, or None when unavailable. |
| reference | Supplied north reference. |
Reimplemented from ui.navigation.orientation_ui_if.OrientationUiIf.
| None frontends.tk.automotive.offroad_dashboard_panel.OffroadDashboardPanel.set_navigation_request_handler | ( | self, | |
| NavigationRequestHandlerIf | None | handler | ||
| ) |
Connect or clear navigation-control requests.
| handler | Request consumer, or None to disable the controls. |
| None frontends.tk.automotive.offroad_dashboard_panel.OffroadDashboardPanel.set_pitch | ( | self, | |
| float | None | pitch_rad | ||
| ) |
Set displayed pitch.
| pitch_rad | Pitch in radians, or None. |
Reimplemented from ui.navigation.orientation_ui_if.OrientationUiIf.
| None frontends.tk.automotive.offroad_dashboard_panel.OffroadDashboardPanel.set_position | ( | self, | |
| PositionFix | None | position_fix | ||
| ) |
Set position-derived altitude.
| position_fix | Position fix, or None when unavailable. |
Reimplemented from ui.navigation.position_ui_if.PositionUiIf.
| None frontends.tk.automotive.offroad_dashboard_panel.OffroadDashboardPanel.set_rate_of_climb | ( | self, | |
| float | None | rate_mps | ||
| ) |
Accept climb rate, which is not currently rendered.
| rate_mps | Climb rate in metres per second, or None. |
Reimplemented from ui.navigation.translation_ui_if.TranslationUiIf.
| None frontends.tk.automotive.offroad_dashboard_panel.OffroadDashboardPanel.set_roll | ( | self, | |
| float | None | roll_rad | ||
| ) |
Set displayed roll.
| roll_rad | Roll in radians, or None. |
Reimplemented from ui.navigation.orientation_ui_if.OrientationUiIf.
| None frontends.tk.automotive.offroad_dashboard_panel.OffroadDashboardPanel.set_satellites | ( | self, | |
| Sequence[SatelliteInfo] | satellites | ||
| ) |
Set the count of satellites used in the current fix.
| satellites | Complete satellite snapshot. |
Reimplemented from ui.navigation.position_ui_if.PositionUiIf.
| None frontends.tk.automotive.offroad_dashboard_panel.OffroadDashboardPanel.set_status | ( | self, | |
| StatusValue | status | ||
| ) |
Set the concise dashboard status line.
| status | Structured status, text, or None. |
Reimplemented from ui.system.status_ui_if.StatusUiIf.