JetBot Camera

Part SKU: KIT-15365

Notes: I have set everything up according to the directions. I am able to interface everything except the camera. When in the teleoperation.ipynb I try to create a camera instance (instruction 4) the Python3 kernel keeps saying busy, it seems to hang. When I interrupt the kernel, it returns the error below. I have checked the camera connection multiple times and still nothing… Any thoughts


KeyboardInterrupt Traceback (most recent call last)

/usr/local/lib/python3.6/dist-packages/jetbot-0.3.0-py3.6.egg/jetbot/camera.py in init(self, *args, **kwargs)

24 try:

—> 25 self.cap = cv2.VideoCapture(self._gst_str(), cv2.CAP_GSTREAMER)

26

KeyboardInterrupt:

During handling of the above exception, another exception occurred:

RuntimeError Traceback (most recent call last)

in

1 from jetbot import Camera

2

----> 3 camera = Camera.instance()

/usr/local/lib/python3.6/dist-packages/traitlets/config/configurable.py in instance(cls, *args, **kwargs)

508 # Create and save the instance

509 if cls._instance is None:

→ 510 inst = cls(*args, **kwargs)

511 # Now make sure that the instance will also be returned by

512 # parent classes’ _instance attribute.

/usr/local/lib/python3.6/dist-packages/jetbot-0.3.0-py3.6.egg/jetbot/camera.py in init(self, *args, **kwargs)

35 self.stop()

36 raise RuntimeError(

—> 37 ‘Could not initialize camera. Please see error trace.’)

38

39 atexit.register(self.stop)

RuntimeError: Could not initialize camera. Please see error trace.

Sparkfun, can you help please

Sorry for the delay jsabby, we’re a bit backed up from the holidays.

I have a replacement camera on the way to you!