Door opening and closing controller
A controller includes: a time difference acquisition part that acquires a time difference from the current time to a scheduled departure time at which a shared vehicle, which performs automatic traveling on the basis of a predetermined operation plan, departs from a shared vehicle stop, when the shared vehicle is stopped at the shared vehicle stop; a region adjusting part that adjusts a detection region for detecting people around the shared vehicle with a sensor mounted on the shared vehicle depending on the time difference; a people flow determination part that determines a people flow in the adjusted detection region; and an opening and closing control part that controls a closing operation of closing an entry/exit door of the shared vehicle on the basis of the people flow that has been determined.
1 . A door opening and closing controller comprising:
a processor coupled to a memory storing instructions for the processor to function as:
a time difference acquisition part that acquires a time difference from a current time to a scheduled departure time at which a shared vehicle, which performs automatic traveling on the basis of a predetermined operation plan, departs from a shared vehicle stop, when the shared vehicle is stopped at the shared vehicle stop;
a region adjusting part that adjusts a detection region for detecting people around the shared vehicle with a sensor mounted on the shared vehicle before the scheduled departure time;
a people flow determination part that determines a people flow before the scheduled departure time in the adjusted detection region; and
an opening and closing control part that controls a closing operation of closing an entry/exit door of the shared vehicle on the basis of the people flow that has been determined, wherein
the region adjusting part narrows the detection region as the current time approaches the scheduled departure time.
2 . The door opening and closing controller according to claim 1 , wherein
the smaller the time difference, the more the region adjusting part narrows the detection region.
3 . The door opening and closing controller according to claim 1 , wherein
the region adjusting part adjusts detection regions of a plurality of the sensors, each detecting different directions, according to the time difference.
4 . The door opening and closing controller according to claim 1 , wherein
the people flow determination part identifies a movement vector of a person around the shared vehicle, and
the opening and closing control part closes the entry/exit door when at least a part of the movement vector is not located within the detection region.
5 . The door opening and closing controller according to claim 4 , wherein
the opening and closing control part closes the entry/exit door even if at least a part of the movement vector is located within the detection region, if an angle formed by a side surface of the shared vehicle where the entry/exit door is provided and the movement vector is outside a predetermined angle range centered around the entry/exit door.
6 . The door opening and closing controller according to claim 1 , wherein
the people flow determination part excludes a person who passes by the entry/exit door along a front-rear direction of the shared vehicle from the determination for controlling the closing operation.
7 . The door opening and closing controller according to claim 1 , wherein
the opening and closing control part closes the entry/exit door at a timing when it is determined, by the people flow determination part, that no people flow reaches the entry/exit door by the scheduled departure time.