{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,7]],"date-time":"2026-07-07T05:16:34Z","timestamp":1783401394846,"version":"3.54.6"},"reference-count":31,"publisher":"MDPI AG","issue":"13","license":[{"start":{"date-parts":[[2026,7,4]],"date-time":"2026-07-04T00:00:00Z","timestamp":1783123200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>The implementation of safe and reliable Autonomous Driving Stacks in complex urban environments remains a formidable engineering challenge. While classical modular pipelines provide necessary component-level interpretability, they are inherently rigid, often struggling to adapt to novel environments and failing to provide robust scene interpretation in highly interactive scenarios. In this paper, we present a modular End-to-End ROS-based autonomous driving architecture that upgrades a classical modular baseline by injecting learning-based models into its individual processing layers, integrating GaussianCaR and CLIP for dense semantic BEV perception, expanding the Hierarchical Petri Net state space for safe multi-agent reasoning, refining the planning layer with continuous curve optimization, and replacing the previous reactive controller with an Adaptive Nonlinear Model Predictive Control strategy for superior trajectory tracking. Validated in the CARLA simulator across challenging traffic scenarios and adverse environmental conditions, the proposed architecture raises the Driving Score from 53.81% to 66.46% over the previous baseline, driven by a substantial increase in the Infraction Penalty from 0.59 to 0.79, reflecting a fundamental shift towards safer and more conservative driving behavior at the cost of a moderate reduction in route completion. Against pure End-to-End approaches, our architecture achieves the highest Driving Score at 73.9% and the strongest Infraction Penalty at 0.913, demonstrating that modular interpretability and competitive End-to-End performance are not mutually exclusive. Code will be made publicly available online.<\/jats:p>","DOI":"10.3390\/s26134269","type":"journal-article","created":{"date-parts":[[2026,7,6]],"date-time":"2026-07-06T12:01:37Z","timestamp":1783339297000},"page":"4269","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["A ROS-Based Modular End-to-End Architecture: Building and Validating a Safe and Reliable Autonomous Driving Stack"],"prefix":"10.3390","volume":"26","author":[{"ORCID":"https:\/\/orcid.org\/0009-0004-8997-9012","authenticated-orcid":false,"given":"Fabio","family":"S\u00e1nchez-Garc\u00eda","sequence":"first","affiliation":[{"name":"Electronics Department, University of Alcal\u00e1 (UAH), 28805 Alcal\u00e1 de Henares, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0009-9873-6844","authenticated-orcid":false,"given":"Rodrigo","family":"Guti\u00e9rrez-Moreno","sequence":"additional","affiliation":[{"name":"Electronics Department, University of Alcal\u00e1 (UAH), 28805 Alcal\u00e1 de Henares, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-5627-5325","authenticated-orcid":false,"given":"Miguel","family":"Antunes-Garc\u00eda","sequence":"additional","affiliation":[{"name":"Electronics Department, University of Alcal\u00e1 (UAH), 28805 Alcal\u00e1 de Henares, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0000-5492-0839","authenticated-orcid":false,"given":"Santiago","family":"Montiel-Mar\u00edn","sequence":"additional","affiliation":[{"name":"Electronics Department, University of Alcal\u00e1 (UAH), 28805 Alcal\u00e1 de Henares, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0005-3877-7944","authenticated-orcid":false,"given":"Franck","family":"Fierro","sequence":"additional","affiliation":[{"name":"Electronics Department, University of Alcal\u00e1 (UAH), 28805 Alcal\u00e1 de Henares, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8145-9045","authenticated-orcid":false,"given":"Elena","family":"L\u00f3pez-Guill\u00e9n","sequence":"additional","affiliation":[{"name":"Electronics Department, University of Alcal\u00e1 (UAH), 28805 Alcal\u00e1 de Henares, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4179-6100","authenticated-orcid":false,"given":"Rafael","family":"Barea","sequence":"additional","affiliation":[{"name":"Electronics Department, University of Alcal\u00e1 (UAH), 28805 Alcal\u00e1 de Henares, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0087-3077","authenticated-orcid":false,"given":"Luis M.","family":"Bergasa","sequence":"additional","affiliation":[{"name":"Electronics Department, University of Alcal\u00e1 (UAH), 28805 Alcal\u00e1 de Henares, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2026,7,4]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"58443","DOI":"10.1109\/ACCESS.2020.2983149","article-title":"A survey of autonomous driving: Common practices and emerging technologies","volume":"8","author":"Yurtsever","year":"2020","journal-title":"IEEE Access"},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"362","DOI":"10.1002\/rob.21918","article-title":"A survey of deep learning techniques for autonomous driving","volume":"37","author":"Grigorescu","year":"2020","journal-title":"J. Field Robot."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"G\u00f3mez-Hu\u00e9lamo, C., Diaz-Diaz, A., Araluce, J., Ortiz, M.E., Guti\u00e9rrez, R., Arango, F., Llamazares, \u00c1., and Bergasa, L.M. (2022, January 5\u20139). How to build and validate a safe and reliable Autonomous Driving stack? A ROS based software modular architecture baseline. Proceedings of the 2022 IEEE Intelligent Vehicles Symposium (IV), Aachen, Germany.","DOI":"10.1109\/IV51971.2022.9827271"},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Guti\u00e9rrez, R., L\u00f3pez-Guill\u00e9n, E., Bergasa, L.M., Barea, R., P\u00e9rez, \u00d3., G\u00f3mez-Hu\u00e9lamo, C., Arango, F., Del Egido, J., and L\u00f3pez-Fern\u00e1ndez, J. (2020). A waypoint tracking controller for autonomous road vehicles using ROS framework. Sensors, 20.","DOI":"10.3390\/s20144062"},{"key":"ref_5","unstructured":"Montiel-Mar\u00edn, S., Antunes-Garc\u00eda, M., S\u00e1nchez-Garc\u00eda, F., Llamazares, A., Caesar, H., and Bergasa, L.M. (2026). GaussianCaR: Gaussian Splatting for Efficient Camera-Radar Fusion. arXiv."},{"key":"ref_6","unstructured":"Radford, A., Kim, J.W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., Sastry, G., Askell, A., Mishkin, P., and Clark, J. (2021). Learning transferable visual models from natural language supervision. arXiv."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Paden, B., \u010c\u00e1p, M., Yong, S.Z., Yershov, D., and Frazzoli, E. (2016). A survey of motion planning and control techniques for self-driving urban vehicles. arXiv.","DOI":"10.1109\/TIV.2016.2578706"},{"key":"ref_8","unstructured":"Matthaeia, R., Reschkaa, A., Riekena, J., Dierkesa, F., Ulbricha, S., Winkleb, T., and Maurera, M. (2015). Autonomous Driving: Technical, Legal and Social Aspects, Springer."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Liu, M., Bian, J., Liu, X., Huang, H., Gui, G., Zhou, R., and Gui, W. (2026). Learning Safety-Critical Scenarios from Real-World Pre-Crash Data for Autonomous Driving Safety Validation. Green Energy Intell. Transp., 100436.","DOI":"10.1016\/j.geits.2026.100436"},{"key":"ref_10","unstructured":"Dosovitskiy, A., Ros, G., Codevilla, F., Lopez, A., and Koltun, V. (2017). CARLA: An open urban driving simulator. Proceedings of the Conference on Robot Learning, PMLR."},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Codevilla, F., M\u00fcller, M., L\u00f3pez, A., Koltun, V., and Dosovitskiy, A. (2018). End-to-end driving via conditional imitation learning. Proceedings of the 2018 IEEE International Conference on Robotics and Automation (ICRA), IEEE.","DOI":"10.1109\/ICRA.2018.8460487"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Codevilla, F., Santana, E., L\u00f3pez, A.M., and Gaidon, A. (2019, January 27\u201328). Exploring the limitations of behavior cloning for autonomous driving. Proceedings of the IEEE\/CVF International Conference on Computer Vision, Seoul, Republic of Korea.","DOI":"10.1109\/ICCV.2019.00942"},{"key":"ref_13","unstructured":"Chen, D., Zhou, B., Koltun, V., and Kr\u00e4henb\u00fchl, P. (2020). Learning by cheating. Proceedings of the Conference on Robot Learning, PMLR."},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Prakash, A., Chitta, K., and Geiger, A. (2021, January 20\u201325). Multi-modal fusion transformer for end-to-end autonomous driving. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.","DOI":"10.1109\/CVPR46437.2021.00700"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Chitta, K., Prakash, A., and Geiger, A. (2021, January 11\u201317). NEAT: Neural Attention Fields for End-to-End Autonomous Driving. Proceedings of the IEEE\/CVF International Conference on Computer Vision, Montreal, QC, Canada.","DOI":"10.1109\/ICCV48922.2021.01550"},{"key":"ref_16","unstructured":"Webb, N., Smith, D., Ludwick, C., Victor, T., Hommes, Q., Favaro, F., Ivanov, G., and Daniel, T. (2020). Waymo\u2019s safety methodologies and safety readiness determinations. arXiv."},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Kato, S., Tokunaga, S., Maruyama, Y., Maeda, S., Hirabayashi, M., Kitsukawa, Y., Monrroy, A., Ando, T., Fujii, Y., and Azumi, T. (2018). Autoware on board: Enabling autonomous vehicles with embedded systems. Proceedings of the 2018 ACM\/IEEE 9th International Conference on Cyber-Physical Systems (ICCPS), IEEE.","DOI":"10.1109\/ICCPS.2018.00035"},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Zeng, W., Luo, W., Suo, S., Sadat, A., Yang, B., Casas, S., and Urtasun, R. (2019, January 15\u201320). End-to-end interpretable neural motion planner. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.","DOI":"10.1109\/CVPR.2019.00886"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Hu, Y., Yang, J., Chen, L., Li, K., Sima, C., Zhu, X., Chai, S., Du, S., Lin, T., and Wang, W. (2023, January 18\u201322). Planning-oriented autonomous driving. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada.","DOI":"10.1109\/CVPR52729.2023.01712"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Philion, J., and Fidler, S. (2020). Lift, splat, shoot: Encoding images from arbitrary camera rigs by implicitly unprojecting to 3d. Proceedings of the European Conference on Computer Vision, Springer.","DOI":"10.1007\/978-3-030-58568-6_12"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Zhou, X., Lin, Z., Shan, X., Wang, Y., Sun, D., and Yang, M.H. (2024, January 16\u201322). DrivingGaussian: Composite Gaussian Splatting for Surrounding Dynamic Autonomous Driving Scenes. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.","DOI":"10.1109\/CVPR52733.2024.02044"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Bandyopadhyay, T., Won, K.S., Frazzoli, E., Hsu, D., Lee, W.S., and Rus, D. (2013). Intention-aware motion planning. Algorithmic Foundations of Robotics X: Proceedings of the Tenth Workshop on the Algorithmic Foundations of Robotics, Springer.","DOI":"10.1007\/978-3-642-36279-8_29"},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"4909","DOI":"10.1109\/TITS.2021.3054625","article-title":"Deep reinforcement learning for autonomous driving: A survey","volume":"23","author":"Kiran","year":"2021","journal-title":"IEEE Trans. Intell. Transp. Syst."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"100156","DOI":"10.1016\/j.geits.2024.100156","article-title":"A review on reinforcement learning-based highway autonomous vehicle control","volume":"3","author":"Irshayyid","year":"2024","journal-title":"Green Energy Intell. Transp."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"100279","DOI":"10.1016\/j.geits.2025.100279","article-title":"Multi-objective autonomous eco-driving strategy: A pathway to future green mobility","volume":"4","author":"Tong","year":"2025","journal-title":"Green Energy Intell. Transp."},{"key":"ref_26","unstructured":"Astrom, K.J. (1995). PID Controllers: Theory, Design, and Tuning, The International Society of Measurement and Control."},{"key":"ref_27","unstructured":"Snider, J.M. (2009). Automatic Steering Methods for Autonomous Automobile Path Tracking, Robotics Institute."},{"key":"ref_28","unstructured":"Vahidi-Moghaddam, A., Boroujeni, S.P.H., Jebellat, I., Jebellat, E., Mehrabi, N., and Li, Z. (2025). From Shadow to Light: Toward Safe and Efficient Policy Learning Across MPC, DeePC, RL, and LLM Agents. arXiv."},{"key":"ref_29","first-page":"46","article-title":"Kalman and extended kalman filters: Concept, derivation and properties","volume":"43","author":"Ribeiro","year":"2004","journal-title":"Inst. Syst. Robot."},{"key":"ref_30","unstructured":"Khanam, R., and Hussain, M. (2024). Yolov11: An overview of the key architectural enhancements. arXiv."},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Caesar, H., Bankiti, V., Lang, A.H., Vora, S., Liong, V.E., Xu, Q., Krishnan, A., Pan, Y., Baldan, G., and Beijbom, O. (2020, January 14\u201319). nuscenes: A multimodal dataset for autonomous driving. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.","DOI":"10.1109\/CVPR42600.2020.01164"}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/26\/13\/4269\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,7,7]],"date-time":"2026-07-07T04:49:18Z","timestamp":1783399758000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/26\/13\/4269"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,7,4]]},"references-count":31,"journal-issue":{"issue":"13","published-online":{"date-parts":[[2026,7]]}},"alternative-id":["s26134269"],"URL":"https:\/\/doi.org\/10.3390\/s26134269","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,7,4]]}}}