From 591e2ebc98a2ed45f98c23a68cbb41cb50a9c19d Mon Sep 17 00:00:00 2001 From: williamckha Date: Sat, 9 Nov 2024 15:21:32 -0800 Subject: [PATCH] Remove ssh pass --- src/software/thunderscope/robot_diagnostics/ssh_dialog.py | 3 --- src/tbots.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/software/thunderscope/robot_diagnostics/ssh_dialog.py b/src/software/thunderscope/robot_diagnostics/ssh_dialog.py index 3c450434b1..e46e871a2f 100644 --- a/src/software/thunderscope/robot_diagnostics/ssh_dialog.py +++ b/src/software/thunderscope/robot_diagnostics/ssh_dialog.py @@ -12,8 +12,6 @@ class SSHDialog(QDialog): binaries or execute platform-specific tasks. """ - DEFAULT_SSH_PASSWORD = "thunderbots" - def __init__(self, parent: QWidget = None, robot_id: int = 0): """Initialize the SSHDialog @@ -45,7 +43,6 @@ def __setup_ui(self) -> None: self.ssh_host_textbox = QLineEdit() self.ssh_password_textbox = QLineEdit() - self.ssh_password_textbox.setText(SSHDialog.DEFAULT_SSH_PASSWORD) self.ssh_group_box = QGroupBox("SSH") ssh_group_box_layout = QVBoxLayout() diff --git a/src/tbots.py b/src/tbots.py index 913979bce5..93eb5a0944 100755 --- a/src/tbots.py +++ b/src/tbots.py @@ -227,7 +227,7 @@ bazel_arguments += ["-pb deploy_robot_software.yml"] bazel_arguments += ["--hosts"] bazel_arguments += [ - NetworkConstants.get_ip_address(id, RobotPlatform(args.platform)) + str(NetworkConstants.get_ip_address(id, RobotPlatform(args.platform))) for id in args.flash_robots ] bazel_arguments += ["-pwd", args.ssh_pass]