Skip to content

Commit

Permalink
Modify: change text when autoware is disconnected
Browse files Browse the repository at this point in the history
  • Loading branch information
TakahikoHasegawa97 committed Aug 29, 2024
1 parent 9fe22b3 commit a9097e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/signage/resource/page/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ Window {
visible: viewController.view_mode === "driving"
}

SystemInitializeView {
id: systemInitializeView
visible: viewController.view_mode === "system_initializing"
}

Item {
focus: true
Keys.onPressed: {
Expand Down
2 changes: 1 addition & 1 deletion src/signage/src/signage/route_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def view_mode_callback(self):
self._viewController.display_phrase = self._display_phrase

if self._autoware.is_disconnected:
view_mode = "emergency_stopped"
view_mode = "system_initializing"
elif (
not self._autoware.information.autoware_control
and not self._parameter.ignore_manual_driving
Expand Down

0 comments on commit a9097e7

Please sign in to comment.