Patent ID: 8825288

Claim:
A control apparatus comprising: a first drive device driving a movable panel that moves between an opening position and a closing position to selectively open and close an opening portion configured to be formed at a vehicle; a first detection device detecting a state of the movable panel that moves to one of the opening position and the closing position; a second drive device driving a sunshade configured to be provided at the vehicle and moving between an opening position and a closing position; a second detection device detecting a state of the sunshade that moves to one of the opening position and the closing position; and a control device controlling the first drive device to stop an operation of a succeeding member serving as the movable panel configured to be positioned behind a preceding member serving as the sunshade relative to each of the opening position and the closing position, the preceding member being configured to be positioned ahead of the succeeding member relative to each of the opening position and the closing position, in a case where a distance between the movable panel and the sunshade in the opening direction becomes smaller than a predetermined distance on a basis of a position of the movable panel detected by the first detection device and a position of the sunshade detected by the second detection device, and the control device controlling the second drive device to stop an operation of a succeeding member serving as the sunshade configured to be positioned behind a preceding member serving as the movable panel relative to each of the opening position and the closing position, in a case where a distance between the movable panel and the sunshade in the closing direction becomes smaller than a predetermined distance on a basis of a position of the movable panel detected by the first detection device and a position of the sunshade detected by the second detection device.