blob: eedbba4723a5f389e0573af6b03b7c7f873b430e [file] [log] [blame]
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Driver &mdash; OpenPASS Documentation</title>
<link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../../../_static/css/custom.css" type="text/css" />
<link rel="stylesheet" href="../../../_static/tabs.css" type="text/css" />
<link rel="shortcut icon" href="../../../_static/openPASS.ico"/>
<!--[if lt IE 9]>
<script src="../../../_static/js/html5shiv.min.js"></script>
<![endif]-->
<script data-url_root="../../../" id="documentation_options" src="../../../_static/documentation_options.js"></script>
<script src="../../../_static/jquery.js"></script>
<script src="../../../_static/underscore.js"></script>
<script src="../../../_static/doctools.js"></script>
<script src="../../../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../../../genindex.html" />
<link rel="search" title="Search" href="../../../search.html" />
<link rel="next" title="Spawner" href="spawner.html" />
<link rel="prev" title="Component View" href="../20_components.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="../../../index.html" class="icon icon-home"> openPASS
<img src="../../../_static/openPASS.png" class="logo" alt="Logo"/>
</a>
<div class="version">
9999.9999.9999
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p class="caption" role="heading"><span class="caption-text">Installation Guide</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../installation_guide/10_getting_started.html">Getting Started</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../installation_guide/20_install_prerequisites.html">Installing Prerequisites</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../installation_guide/30_install_openpass.html">Installing OpenPASS</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../installation_guide/50_further_guidance.html">Further Guidance</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../installation_guide/60_conan.html">Building with Conan</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">User Guides</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../10_overview.html">Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../20_tutorials.html">Tutorials</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../30_gui_plugins.html">GUI Plugins</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../40_configs_in_depth.html">Configs in Depth</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../50_outputs_in_depth.html">Outputs in Depth</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../../60_scenario_simulation.html">Simulator</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../10_overview.html">Overview</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="../20_components.html">Component View</a><ul class="current">
<li class="toctree-l3 current"><a class="reference internal" href="../20_components.html#components-in-depth">Components in Depth</a><ul class="current">
<li class="toctree-l4 current"><a class="current reference internal" href="#">Driver</a></li>
<li class="toctree-l4"><a class="reference internal" href="spawner.html">Spawner</a></li>
<li class="toctree-l4"><a class="reference internal" href="vehicle.html">VehicleComponents</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Advanced topics</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../advanced_topics/20_simulator_advanced.html">Simulator</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../advanced_topics/30_testing.html">EndToEnd Test Framework</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Developer Information</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../developer_information/10_ide_support.html">IDE Support</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../developer_information/20_documentation.html">Documentation Concept</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Other Information</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../other_information/10_external_dependencies.html">External Dependencies</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../other_information/20_glossary.html">Glossary</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../other_information/30_license.html">License</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../../../index.html">openPASS</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="../../../index.html" class="icon icon-home"></a> &raquo;</li>
<li><a href="../../60_scenario_simulation.html">Simulator</a> &raquo;</li>
<li><a href="../20_components.html">Component View</a> &raquo;</li>
<li>Driver</li>
<li class="wy-breadcrumbs-aside">
<a href="../../../_sources/user_guide/sim_user_guide/components/driver.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<div class="section" id="driver">
<span id="components-driver"></span><h1>Driver<a class="headerlink" href="#driver" title="Permalink to this headline"></a></h1>
<div class="section" id="algorithmagentfollowingdrivermodel">
<span id="components-agentfollowingdrivermodel"></span><h2>AlgorithmAgentFollowingDriverModel<a class="headerlink" href="#algorithmagentfollowingdrivermodel" title="Permalink to this headline"></a></h2>
<p>This driver type adapts its velocity to an agent in front and holds a desired velocity if there’s no front agent available (like adaptive cruise control). The lateral guidance always keeps the agent in the middle of the lane.</p>
<div class="highlight-xml notranslate"><div class="highlight"><pre><span></span><span class="nt">&lt;Profile</span> <span class="na">Name=</span><span class="s">&quot;Regular&quot;</span><span class="nt">&gt;</span>
<span class="nt">&lt;String</span> <span class="na">Key=</span><span class="s">&quot;Type&quot;</span> <span class="na">Value=</span><span class="s">&quot;AlgorithmAgentFollowingDriverModel&quot;</span><span class="nt">/&gt;</span>
<span class="nt">&lt;String</span> <span class="na">Key=</span><span class="s">&quot;AlgorithmLateralModule&quot;</span> <span class="na">Value=</span><span class="s">&quot;Algorithm_LateralAfdm&quot;</span><span class="nt">/&gt;</span>
<span class="nt">&lt;String</span> <span class="na">Key=</span><span class="s">&quot;AlgorithmLongitudinalModule&quot;</span> <span class="na">Value=</span><span class="s">&quot;Algorithm_LongitudinalAfdm&quot;</span><span class="nt">/&gt;</span>
<span class="nt">&lt;Double</span> <span class="na">Key=</span><span class="s">&quot;VelocityWish&quot;</span> <span class="na">Value=</span><span class="s">&quot;36.11&quot;</span><span class="nt">/&gt;</span>
<span class="nt">&lt;Double</span> <span class="na">Key=</span><span class="s">&quot;Delta&quot;</span> <span class="na">Value=</span><span class="s">&quot;4.0&quot;</span><span class="nt">/&gt;</span>
<span class="nt">&lt;Double</span> <span class="na">Key=</span><span class="s">&quot;TGapWish&quot;</span> <span class="na">Value=</span><span class="s">&quot;1.5&quot;</span><span class="nt">/&gt;</span>
<span class="nt">&lt;Double</span> <span class="na">Key=</span><span class="s">&quot;MinDistance&quot;</span> <span class="na">Value=</span><span class="s">&quot;2.0&quot;</span><span class="nt">/&gt;</span>
<span class="nt">&lt;Double</span> <span class="na">Key=</span><span class="s">&quot;MaxAcceleration&quot;</span> <span class="na">Value=</span><span class="s">&quot;1.4&quot;</span><span class="nt">/&gt;</span>
<span class="nt">&lt;Double</span> <span class="na">Key=</span><span class="s">&quot;MaxDeceleration&quot;</span> <span class="na">Value=</span><span class="s">&quot;2.0&quot;</span><span class="nt">/&gt;</span>
<span class="nt">&lt;/Profile&gt;</span>
</pre></div>
</div>
<table class="tight-table docutils align-default">
<colgroup>
<col style="width: 14%" />
<col style="width: 5%" />
<col style="width: 2%" />
<col style="width: 63%" />
<col style="width: 15%" />
</colgroup>
<thead>
<tr class="row-odd"><th class="head"><p>Parameter</p></th>
<th class="head"><p>Type</p></th>
<th class="head"><p>Unit</p></th>
<th class="head"><p>Description</p></th>
<th class="head"><p>Defaults to</p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p>AlgorithmLateralModule</p></td>
<td><p>String</p></td>
<td></td>
<td><p>Behavior model for the steering wheel angle of the driver</p></td>
<td><p>Required value</p></td>
</tr>
<tr class="row-odd"><td><p>AlgorithmLongitudinalModule</p></td>
<td><p>String</p></td>
<td></td>
<td><p>Behavior model for the accelerator, brake pedal position, and the current gear of the driver</p></td>
<td><p>Required value</p></td>
</tr>
<tr class="row-even"><td><p>VelocityWish</p></td>
<td><p>Double</p></td>
<td><p>m/s</p></td>
<td><p>Desired speed</p></td>
<td><p><abbr title="120 km/h">33.33 m/s</abbr></p></td>
</tr>
<tr class="row-odd"><td><p>Delta</p></td>
<td><p>Double</p></td>
<td></td>
<td><p>Free acceleration exponent characterizing how the acceleration decreases with velocity (1: linear, infinity: constant)</p></td>
<td><p>4.0</p></td>
</tr>
<tr class="row-even"><td><p>TGapWish</p></td>
<td><p>Double</p></td>
<td><p>s</p></td>
<td><p>Desired time gap between ego and front agent</p></td>
<td><p>1.5 s</p></td>
</tr>
<tr class="row-odd"><td><p>MinDistance</p></td>
<td><p>Double</p></td>
<td><p>m</p></td>
<td><p>Minimum distance between ego and front (used at slow speeds); Also called jam distance</p></td>
<td><p>2.0 m</p></td>
</tr>
<tr class="row-even"><td><p>MaxAcceleration</p></td>
<td><p>Double</p></td>
<td><p>m/s²</p></td>
<td><p>Maximum acceleration in satisfactory way, not vehicle possible acceleration</p></td>
<td><p>1.4 m/s²</p></td>
</tr>
<tr class="row-odd"><td><p>MaxDeceleration</p></td>
<td><p>Double</p></td>
<td><p>m/s²</p></td>
<td><p>Desired deceleration</p></td>
<td><p>2.0 m/s²</p></td>
</tr>
</tbody>
</table>
<div class="admonition-todo admonition" id="id1">
<p class="admonition-title">Todo</p>
<p>Check description of Delta</p>
</div>
</div>
</div>
</div>
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="../20_components.html" class="btn btn-neutral float-left" title="Component View" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="spawner.html" class="btn btn-neutral float-right" title="Spawner" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>
<hr/>
<div role="contentinfo">
<p>&#169; Copyright 2021 OpenPASS Working Group.</p>
</div>
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>