Running automatic ESC Calibration (ArduCopter for Linux)

I am in the process of getting ArduPilot installed on my Odroid U3 which is connected to my Pixhawk, and I am under the impression that I should be able to run the esc_calibration.cpp file in the ArduCopter folder once I get a working build created.

I am under the impression that this is an automated calibration and doesn’t require an RC remote attached to the drone (is this correct?). See this thread here for reference:

For clarification, this is the script I am mentioning (found in the ardupilot/ArduCopter folder).

Can anyone who has done this auto-calibration before walk me through the basics of how to get this working?