Extended working range of robot and cobot with linear actuator