From 63b88709a9b82f8a04053a32ee48b6d722a6143a Mon Sep 17 00:00:00 2001 From: lu0079 Date: Mon, 15 Jan 2018 11:19:30 -0600 Subject: [PATCH] Cameras working --- .gitignore | 1 + .installer_config | 3 +++ robot.py | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .installer_config diff --git a/.gitignore b/.gitignore index 7bbc71c..df92844 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ __pycache__/ *.py[cod] *$py.class +opkg_cache/* # C extensions *.so diff --git a/.installer_config b/.installer_config new file mode 100644 index 0000000..f324183 --- /dev/null +++ b/.installer_config @@ -0,0 +1,3 @@ +[auth] +hostname = roborio-3299-frc.local + diff --git a/robot.py b/robot.py index 9f4b19f..93d5f75 100644 --- a/robot.py +++ b/robot.py @@ -20,7 +20,7 @@ class Randy(wpilib.SampleRobot): def robotInit(self): # init cameras - #wpilib.CameraServer.launch('cameras.py:main') + wpilib.CameraServer.launch() self.C = Component() # Components inits all connected motors, sensors, and joysticks. See inits.py.