The robot drives the motorized spindle to mill the corners and mounting holes of C-pillar and guide rail, which can greatly improve the work efficiency.