-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feat/add in experiment #103
Conversation
@@ -137,14 +160,28 @@ def send_data(self, display_key, data_key): | |||
sender.send(data, ack_query_ack, ack_data_chunk) | |||
|
|||
def trigger_external_signage(self, request, response): | |||
if not self._external_signage_available: | |||
return response | |||
if request.data: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
すみません、ここにself._settings["in_experiment"] == Trueなら表示を変えない条件を入れてください
実験中の場合は自動走行中でもずっと「実証実験中」の表示にしたいです
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ed23869で修正しました。
@@ -114,15 +120,32 @@ def __init__(self, node): | |||
"back": self._load_display_data(self.protocol.back, package_path), | |||
"side": self._load_display_data(self.protocol.side, package_path), | |||
} | |||
self._settings_file = "/home/" + os.environ.get("USER") + "/settings.json" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
今回ではなくてもいいかもですが設定ファイルを置く場所は.envなどで指定できるようにして用途によっておく場所を変更できるようにできると良いかもしれませんね
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
なるほど、そうですね。
ansibleで追加してもいいと思います。
Signed-off-by: tkhmy <[email protected]>
Signed-off-by: tkhmy <[email protected]>
Signed-off-by: tkhmy <[email protected]>
Signed-off-by: tkhmy <[email protected]>
Signed-off-by: tkhmy <[email protected]>
ed23869
to
7c0c65e
Compare
Signed-off-by: tkhmy <[email protected]>
Signed-off-by: tkhmy <[email protected]>
Related Issue(required)
Description(required)
Review Procedure(required)
Related PR(optional)
Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.
If you are adding new package following items are required:
Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.
Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.