adaptation of new name of platform functions, add lidar test functionsin main