Added dependencies to CMakeLists, extended the testing mode of visual charging