initialization with common parameter class and the robot.h