Skip to content

Commit 45d79cb

Browse files
committed
Disable dashboard mode for now, since it doesn't work
1 parent 8cc3c1f commit 45d79cb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pynetworktables2js/__main__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ def main():
6161
parser.add_option('--robot', default='127.0.0.1',
6262
help="Robot's IP address")
6363

64-
parser.add_option('--dashboard', default=False, action='store_true',
65-
help='Use this instead of --robot to receive the IP from the driver station. WARNING: It will not work if you are not on the same host as the DS!')
64+
#parser.add_option('--dashboard', default=False, action='store_true',
65+
# help='Use this instead of --robot to receive the IP from the driver station. WARNING: It will not work if you are not on the same host as the DS!')
6666

6767
parser.add_option('--identity', default='pynetworktables2js %s' % __version__,
6868
help='Identity to broadcast to remote NT clients')
@@ -74,8 +74,8 @@ def main():
7474
format=log_format,
7575
level=logging.DEBUG if options.verbose else logging.INFO)
7676

77-
if options.dashboard and options.robot != '127.0.0.1':
78-
parser.error("Cannot specify --robot and --dashboard")
77+
#if options.dashboard and options.robot != '127.0.0.1':
78+
# parser.error("Cannot specify --robot and --dashboard")
7979

8080
# Setup NetworkTables
8181
init_networktables(options)

0 commit comments

Comments
 (0)