US 11,740,628 B2
Scenario based control of autonomous driving vehicle
Shu Jiang, Sunnyvale, CA (US); Qi Luo, Sunnyvale, CA (US); Jinghao Miao, Sunnyvale, CA (US); Jiangtao Hu, Sunnyvale, CA (US); Yu Wang, Sunnyvale, CA (US); Jinyun Zhou, Sunnyvale, CA (US); Jiaming Tao, Sunnyvale, CA (US); and Xiangquan Xiao, Sunnyvale, CA (US)
Assigned to BAIDU USA LLC, Sunnyvale, CA (US)
Filed by Baidu USA LLC, Sunnyvale, CA (US)
Filed on Mar. 18, 2020, as Appl. No. 16/823,066.
Prior Publication US 2021/0294324 A1, Sep. 23, 2021
Int. Cl. G05D 1/00 (2006.01); B62D 15/02 (2006.01); G05D 1/02 (2020.01)
CPC G05D 1/0088 (2013.01) [B62D 15/0285 (2013.01); G05D 1/0223 (2013.01); G05D 1/0274 (2013.01); G05D 2201/0212 (2013.01); G05D 2201/0213 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for operating an autonomous driving vehicle (ADV), the method comprising:
perceiving a driving environment surrounding the ADV;
determining a current scenario of the ADV from a plurality of driving scenarios that includes a parking scenario and a normal driving scenario, based on the driving environment;
based on the current scenario, selecting a control algorithm among a plurality of distinct control algorithms, each of the control algorithms being associated with at least one of the driving scenarios;
generating a control command with the selected control algorithm by invoking a respective controller corresponding to the selected control algorithm from a plurality of controllers associated with the driving scenarios, based on one or more control target inputs, wherein each of the plurality of controllers share a common application programming interface (API) that is used to invoke the respective controller, and wherein a first of the plurality of distinct control algorithms that corresponds to the parking scenario generates the control command to reduce differences between a target heading of the ADV and a current heading of the ADV, more aggressively than a second of the plurality of distinct control algorithms that corresponds to the normal driving scenario; and
applying the control command to effect movement of the ADV, wherein each of the plurality of distinct control algorithms share in common, a common pre-processing protocol and a common post-processing protocol that formats and outputs the control command onto a vehicle communication bus, and wherein the common post processing protocol includes emergency logic that determines that an emergency condition is present, and in response to the emergency condition being present, the emergency logic generates an emergency command that overrides the control command.