Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: tkhmy <[email protected]>
  • Loading branch information
tkhmy committed Nov 28, 2024
1 parent 99d9f8a commit 0f7751c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class ExternalSignage:
def __init__(self, node):
self.node = node
self.protocol = Protocol()
package_path = get_package_share_directory("signage") + "/resource/td5_file/"
package_path = get_package_share_directory("external_signage") + "/resource/td5_file/"
try:
self.bus = serial.Serial(
"/dev/ttyUSB0",
Expand Down Expand Up @@ -137,9 +137,9 @@ def __init__(self, node):
node.create_service(SetBool, "/signage/mode_change", self.experiment_set)

def _load_display_data(self, display, package_path):
auto_path = package_path + f"/automatic_{display.width}x{display.height}.td5"
experiment_path = package_path + f"/experiment_{display.width}x{display.height}.td5"
null_path = package_path + f"/null_{display.width}x{display.height}.td5"
auto_path = package_path + f"automatic_{display.width}x{display.height}.td5"
experiment_path = package_path + f"experiment_{display.width}x{display.height}.td5"
null_path = package_path + f"null_{display.width}x{display.height}.td5"
return {
"auto": packet_tools.TD5Data(
auto_path, display.address1, display.address2, display.height, display.width
Expand Down

0 comments on commit 0f7751c

Please sign in to comment.