create_batch.py untested final version (including heartbeat, gps, humidity, temperature and acceleration sensors).