I have a student in the Coursera course who is running into a bug/issue I have not seen before. Any ideas on how to fix this?
Here is their description:
After collecting samples for over 5 mins, I began seeing ‘Sampling Failed’ error. I’m using the Arduino Nano 33 Sense Rev 2. I’ve attached the screenshot from Edge Impulse as well as the log snippet from the command line. The snippet has one successful log followed by the failures.
[SER] Configured upload settings
[SER] Sampling started
[SER] Sampling done
[SER] Device not connected to WiFi directly, reading from buffer (bytes 0 - 17505, expecting to read ~23340 bytes...
[SER] Reading 46% complete...
[SER] Reading 97% complete...
[SER] Reading from buffer OK
[SER] File is 17505 bytes after decoding
[SER] Uploading to https://ingestion.edgeimpulse.com/api/training/data
[SER] Uploading to https://ingestion.edgeimpulse.com/api/training/data OK
[WS ] Incoming sampling request {
path: '/api/training/data',
label: 'idle',
length: 10000,
interval: 16,
hmacKey: 'c1a65367f33d01db231349a6b8b0dd6d',
sensor: 'Inertial (Accelerometer / Gyroscope)'
}
[SER] Configured upload settings
[SER] Sampling started
[SER] Sampling failed ERR: Failed to start sensor fusion sampling
[WS ] Failed to sample data ERR: Failed to start sensor fusion sampling
[WS ] Incoming sampling request {
path: '/api/training/data',
label: 'idle',
length: 10000,
interval: 16,
hmacKey: 'c1a65367f33d01db231349a6b8b0dd6d',
sensor: 'Inertial (Accelerometer / Gyroscope)'
}
[SER] Configured upload settings
[SER] Sampling started
[SER] Sampling failed ERR: Failed to start sensor fusion sampling
[WS ] Failed to sample data ERR: Failed to start sensor fusion sampling