Currently, this just prints the sonar array and converts them to doubles. It also converted the sonars to be stored as a std::unique_ptr<double[]> internally.
std::unique_ptr<double[]>
This change is