Notification device, notification method, and non-transitory storage medium
A notification device includes a memory and a processor coupled to the memory. The processor is configured to acquire a distance between a door provided at a vehicle and an obstacle facing the door, and, in a case in which the distance is equal to or less than a reference threshold value determined in advance by an occupant of the vehicle, and a condition determined in advance by the occupant is satisfied, provide notification of the distance to the occupant by a method determined in advance by the occupant.
1. A notification device comprising:
a memory; and
a processor coupled to the memory,
the processor being configured to:
acquire a distance between a door provided at a vehicle and an obstacle facing the door,
acquire a seating position of a plurality of occupants of the vehicle,
receive a reference threshold value determined in advance by one occupant of the plurality of occupants, a set occupant that is determined in advance by the one occupant and that is another occupant to which the one occupant should warn, a condition determined in advance by the one occupant and related to the distance, and a method determined in advance by the one occupant, and
in a case in which the distance is equal to or less than the reference threshold value, and the condition is satisfied based on a distance between a door closest to the set occupant derived from the seating position of the set occupant and an obstacle facing the door closest to the set occupant, provide notification of the distance to the one occupant by the method.
2. The notification device according to claim 1 , wherein the processor is configured to provide notification of the distance in a case in which the vehicle is stopped and the door is closed.
3. The notification device according to claim 1 , wherein the processor is configured to provide notification of the distance at a larger volume as the distance becomes shorter, in a case in which the vehicle is stopped and the door is open.
4. The notification device according to claim 1 , wherein the processor is configured to:
change the reference threshold value according to the seating position of the set occupant.
5. The notification device according to claim 1 , wherein the processor is configured to perform control so as to disable opening or closing of the door, in a case in which the distance is equal to or less than a restriction threshold value that is less than the reference threshold value.
6. A notification method comprising performing processing by a processor, the processing comprising:
acquiring a distance between a door provided at a vehicle and an obstacle facing the door;
acquiring a seating position of a plurality of occupants of the vehicle;
receiving a reference threshold value determined in advance by one occupant of the plurality of occupants, a set occupant that is determined in advance by the one occupant and that is another occupant to which the one occupant should warn, a condition determined in advance by the one occupant and related to the distance, and a method determined in advance by the one occupant; and
in a case in which the distance is equal to or less than the reference threshold value, and the condition is satisfied based on a distance between a door closest to the set occupant deriving from the seating position of the set occupant and an obstacle facing the door closest to the set occupant, providing notification of the distance to the one occupant by the method.
7. A non-transitory storage medium storing a notification processing program executable by a processor to perform processing, the processing comprising:
acquiring a distance between a door provided at a vehicle and an obstacle facing the door;
acquiring a seating position of a plurality of occupants of the vehicle;
receiving a reference threshold value determined in advance by one occupant of the plurality of occupants, a set occupant that is determined in advance by the one occupant and that is another occupant to which the one occupant should warn, a condition determined in advance by the one occupant and related to the distance, and a method determined in advance by the one occupant; and
in a case in which the distance is equal to or less than the reference threshold value, and the condition is satisfied based on a distance between a door closest to the set occupant deriving from the seating position of the set occupant and an obstacle facing the door closest to the set occupant, providing notification of the distance to the one occupant by the method.