A vehicle and a method for controlling the same are disclosed. A control device includes a processor; and a memory storing at least one instruction that is configured, when executed by the processor communicating with the memory, to cause the control device to: detect, during driving control of a…