Distance detection is working and the infrared can be turned on/off, but the camera does not appear to be working. Here are the things I’ve tried so far:
- Explore Skill – When I launch this skill, I see a message, “Telling HEXA to open camera…”. The message goes away after ~15 seconds. There is no image from the camera in the app, however. The controls for the camera are active until I attempt to take a snapshot, then the controls are inactive. I can attempt to take multiple videos, but again, once I take a snapshot, then the controls are inactive. And regardless of video and snapshot attempts, I do not have any photos or videos stored on my phone.
- Network Connection – I have tried connecting on my home WiFi and by Direct Link. Both connections modes have the same result: no images from the camera.
- Physical Connection – I opened the purple shell and reset all the connection points. In particular, I cleaned and tested all 30 pins of the ribbon connector between “cam” and “normandy”. The ribbon is good and the connections are good. But no change to the camer: no images.
- Camera Skill – When I run the skill directly from my laptop to HEXA (no phone involved), I notice that the skill fails on this line:
jpeg.Encode(buf, media.SnapshotYCbCr(), nil)
None of the print statements beyond this line are produced and an image is not produced.
I also tried modifying the skill code to run this line:
media.SnapshotJPEG("/media/test.jpg", 100)
This produces a file called “test.jpg”, however it is empty (0 bytes). And, again, none of the print statements beyond this line are produced.
Given these test so far, I suspect my camera unit is broken. Do you have any other tests I can try?