kendricktan/suiron

collect.py does not save data

Closed this issue · 1 comments

Does collect.py work for a Raspberry Pi 3? When I execute
python collect.py
the code runs without errors but I notice that the CPU is near zero, output_1.csv does not contain any data while running, after pressing "cntrl-c" output_1.csv only contains the header ",image,servo,motor"

Here is more detail:

  1. clone suiron and car-controller
  2. Upload car-controller.ino to an Arduino nano
  3. Execute python collect.py
  4. "Recording data..." and the webcam light turns on, as normal
  5. Wait for 10seconds to 1 minute
  6. Press cntr-c
  7. No data in output_foo.csv

Any thoughts?

It looks like the problem that I was not patient and not waiting long enough.