An onboard system equipped to a vehicle includes a vehicle control device controlling a switching of a driving mode of the vehicle between a manual driving and a self-driving, and a brain activity sensor capable of detecting an activated portion of a brain of a driver of the vehicle. The vehicle control device determines whether a degree of uneasiness felt by the driver exceeds a threshold or not based on a detection result detected by the brain activity sensor before the switching of the driving mode. When determining that the degree of uneasiness felt by the driver does not exceed the threshold, the vehicle control device switches the driving mode. When determining that the degree of uneasiness felt by the driver exceeds the threshold, the vehicle control device performs a vehicle control corresponding to the degree of uneasiness felt by the driver.
Onboard system, vehicle control device, and program product for vehicle control device