skip to main content
10.1145/2846696.2846706acmconferencesArticle/Chapter ViewAbstractPublication PagesdsmConference Proceedingsconference-collections
research-article
Public Access

Experience report: constraint-based modeling of autonomous vehicle trajectories

Published:27 October 2015Publication History

ABSTRACT

Autonomous vehicles and other robotics systems are frequently implemented using a general-purpose programming language such as C++, and prototyped using domain-specific tool such as MATLAB/Simulink, and LabVIEW. Such an approach is not efficient when programming primitive motions of autonomous vehicles when considering important safety constraints, and when promoting the broad access to robotic systems through involvement of students and aspiring students who do not know conventional low-level programming languages. Aside from general-purpose programming languages, there are languages that are specifically designed to model autonomous vehicles, such as SHIFT, but these languages are typically for simulation purposes only. This experience report discusses the creation of a domain-specific language that allows for faster programming of autonomous vehicles while ensuring valid constraints will be met. This language generates code for multiple controllers that will operate alternatively to allow for fast and effective programming of vehicle trajectories using primitive motions. In addition to improving coding efficiency and reducing the number of programming errors, the language adds a level of abstraction so that autonomous vehicle behaviors may be generated by people with little knowledge of low-level details of the car's operation. Furthermore, this language ensures safe operation of the vehicle by enforcing a set of user-definable constraints on the output path. A main set of constraints that are applied to every generated path have been specifically chosen to enforce safe switching between controllers and prevent the planning of unsafe actions. A novel application of the language is its ability to permit users to add specific constraints for a particular path; these constraints are checked for validity after the main constraint check is performed.

References

  1. J. Arnoldus, M. Van den Brand, A. Serebrenik, and J. J. Brunekreef. Code generation with templates, volume 1. Springer Science & Business Media, 2012. Google ScholarGoogle ScholarCross RefCross Ref
  2. E. Asarin, O. Bournez, T. Dang, O. Maler, and A. Pnueli. Effective synthesis of switching controllers for linear systems. Proceedings of the IEEE, 88(7):1011–1025, 2000.Google ScholarGoogle Scholar
  3. A. Deshpande, A. Göllü, and P. Varaiya. SHIFT: A formalism and a programming language for dynamic networks of hybrid automata. Springer, 1997.Google ScholarGoogle Scholar
  4. S. Donaldson. Look ma – no hands!, Aug. 2015. URL http:// ece.arizona.edu/ look-ma-no-hands.Google ScholarGoogle Scholar
  5. C. W. Krueger. Software reuse. ACM Computing Surveys (CSUR), 24(2):131–183, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. D. A. Ladd and J. C. Ramming. Two application languagesin software production. In USENIX Very High Level Languages Symposium Proceedings. 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. A. Ledeczi, M. Maroti, A. Bakay, G. Karsai, J. Garrett, C. Thomason, G. Nordstrom, J. Sprinkle, and P. Volgyesi. The generic modeling environment. In Workshop on Intelligent Signal Processing, Budapest, Hungary, volume 17, page 1, 2001.Google ScholarGoogle Scholar
  8. D. Leijen and E. Meijer. Domain specific embedded compilers. In ACM Sigplan Notices, volume 35, pages 109–122. ACM, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. S. Macrakis. From uncol to andf: Progress in standard intermediate languages. Open Software Foundation, macrakis@ osf. org, pages 1–18, 1993.Google ScholarGoogle Scholar
  10. M. Mernik, J. Heering, and A. M. Sloane. When and how to develop domain-specific languages. ACM computing surveys (CSUR), 37(4):316–344, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. P. Morley, A. Warren, E. Rabb, S. Whitsitt, M. Bunting, and J. Sprinkle. Generating a ros/jaus bridge for an autonomous ground vehicle. In Proceedings of the 2013 ACM workshop on Domain-specific modeling, pages 13–18. ACM, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. M. Popat. Hands off the wheel, please, Aug. 2015. URL http:// tucson.com/ news/ local/ take-a-ride-in-ua-s-driverless-car/ youtube_ 00f86f2c-408f-11e5-b94f-3bb8d0df702b.html.Google ScholarGoogle Scholar
  13. A. Van Deursen and P. Klint. Domain-specific language design requires feature descriptions. CIT. Journal of computing and information technology, 10(1):1–17, 2002.Google ScholarGoogle ScholarCross RefCross Ref
  14. A. Van Deursen, P. Klint, and J. Visser. Domain-specific languages: An annotated bibliography. Sigplan Notices, 35 (6):26–36, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. E. Zuazua. Switching controls. Journal of the European Mathematical Society, 2008.Google ScholarGoogle Scholar

Index Terms

  1. Experience report: constraint-based modeling of autonomous vehicle trajectories

                    Recommendations

                    Comments

                    Login options

                    Check if you have access through your login credentials or your institution to get full access on this article.

                    Sign in
                    • Published in

                      cover image ACM Conferences
                      DSM 2015: Proceedings of the Workshop on Domain-Specific Modeling
                      October 2015
                      76 pages
                      ISBN:9781450339032
                      DOI:10.1145/2846696

                      Copyright © 2015 ACM

                      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                      Publisher

                      Association for Computing Machinery

                      New York, NY, United States

                      Publication History

                      • Published: 27 October 2015

                      Permissions

                      Request permissions about this article.

                      Request Permissions

                      Check for updates

                      Qualifiers

                      • research-article

                      Acceptance Rates

                      Overall Acceptance Rate31of50submissions,62%

                    PDF Format

                    View or Download as a PDF file.

                    PDF

                    eReader

                    View online with eReader.

                    eReader