...
To easily generate the cal.json file and save it in ~/etc.config/rapidsense/cal.json, there is a calibration_generator.py script which prompts the user for all the necessary information and generates the cal.json file. Run the calibration_generator.py script as a sudo user and follow the prompts to create a cal.json file.
...