A mobile parallel robot used for pipeline inspection is analyzed. The robot consists of single modules resembling a snake. The study determines the robot's singularity-free workspace and derives optimal geometric parameters. When passing through sharp corners in the pipe, the robot encounters singular configurations that disrupt mobility. To overcome this, prismatic joints are added to the arms, allowing continuous singularity-free motion across corners through optimal control strategies like path following control and gradient ascent to maximize arm length. Simulation results demonstrate the robot can navigate corners without getting stuck, leading to a continuous singularity-free workspace.