To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 56be9730 authored by Lars's avatar Lars
Browse files

camera works

parent 6049c3f5
......@@ -159,11 +159,11 @@ covariance = np.array([0, 0, 0, 0, 0, 0])#starting values covariance 'speed'
# Check for camera calibration data
if not os.path.exists('./calibration.pckl'):
if not os.path.exists('/home/vision-crazyflie/work/D-FaLL-System/dfall_ws/src/dfall_pkg/calibration.pckl'):
print("You need to calibrate the camera you'll be using. See calibration project directory for details.")
exit()
else:
f = open('calibration.pckl', 'rb')
f = open('/home/vision-crazyflie/work/D-FaLL-System/dfall_ws/src/dfall_pkg/calibration.pckl', 'rb')
(cameraMatrix, distCoeffs, _, _) = pickle.load(f)
f.close()
if cameraMatrix is None or distCoeffs is None:
......
......@@ -121,6 +121,8 @@
>
</node>
<!-- TEST MOTORS CONTROLLER -->
<node
pkg = "dfall_pkg"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment