-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfaq.html
181 lines (166 loc) · 12.4 KB
/
faq.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>5. FAQ / Troubleshooting — QuickScaner 0.1 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/override.css" type="text/css" />
<!--[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="prev" title="4. Samples" href="samples.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"> QuickScaner
</a>
<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">
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="intro.html">1. Introduction</a><ul>
<li class="toctree-l2"><a class="reference internal" href="intro.html#about">1.1. About</a></li>
<li class="toctree-l2"><a class="reference internal" href="intro.html#setup">1.2. Setup</a><ul>
<li class="toctree-l3"><a class="reference internal" href="intro.html#visual-studio">1.2.1. Visual Studio</a></li>
<li class="toctree-l3"><a class="reference internal" href="intro.html#use-executables">1.2.2. Use executables</a></li>
<li class="toctree-l3"><a class="reference internal" href="intro.html#use-python">1.2.3. Use Python</a></li>
<li class="toctree-l3"><a class="reference internal" href="intro.html#build-documentation">1.2.4. Build documentation</a><ul>
<li class="toctree-l4"><a class="reference internal" href="intro.html#download-and-setup-doxygen">1.2.4.1. Download and setup Doxygen</a></li>
<li class="toctree-l4"><a class="reference internal" href="intro.html#download-and-setup-python">1.2.4.2. Download and setup Python</a></li>
<li class="toctree-l4"><a class="reference internal" href="intro.html#download-and-setup-python-modules">1.2.4.3. Download and setup Python modules</a></li>
<li class="toctree-l4"><a class="reference internal" href="intro.html#generate-documentation">1.2.4.4. Generate documentation</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="intro.html#support">1.3. Support</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="pyscaner.html">2. Python API</a><ul>
<li class="toctree-l2"><a class="reference internal" href="_generate_autosummary/pyscaner.API.html">2.1. pyscaner.API</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate_autosummary/pyscaner.SensorWaitMode.html">2.2. pyscaner.SensorWaitMode</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate_autosummary/pyscaner.Vehicle.html">2.3. pyscaner.Vehicle</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate_autosummary/pyscaner.VType.html">2.4. pyscaner.VType</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate_autosummary/pyscaner.CruiseControlMode.html">2.5. pyscaner.CruiseControlMode</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate_autosummary/pyscaner.Indicator.html">2.6. pyscaner.Indicator</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate_autosummary/pyscaner.LightsInfo.html">2.7. pyscaner.LightsInfo</a></li>
<li class="toctree-l2"><a class="reference internal" href="_generate_autosummary/pyscaner.NumericalCommand.html">2.8. pyscaner.NumericalCommand</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="cpp.html">3. C++ API</a><ul>
<li class="toctree-l2"><a class="reference internal" href="cpp.html#vehicle">3.1. Vehicle</a></li>
<li class="toctree-l2"><a class="reference internal" href="cpp.html#scaner">3.2. Scaner</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="samples.html">4. Samples</a><ul>
<li class="toctree-l2"><a class="reference internal" href="samples.html#python-samples">4.1. Python samples</a><ul>
<li class="toctree-l3"><a class="reference internal" href="samples.html#getinfo-py">4.1.1. <code class="docutils literal notranslate"><span class="pre">getinfo.py</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="samples.html#change-lane-py">4.1.2. <code class="docutils literal notranslate"><span class="pre">change_lane.py</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="samples.html#decelerate-py">4.1.3. <code class="docutils literal notranslate"><span class="pre">decelerate.py</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="samples.html#display-message-py">4.1.4. <code class="docutils literal notranslate"><span class="pre">display_message.py</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="samples.html#idm-py">4.1.5. <code class="docutils literal notranslate"><span class="pre">IDM+.py</span></code></a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="samples.html#c-samples">4.2. C++ samples</a><ul>
<li class="toctree-l3"><a class="reference internal" href="samples.html#changelane-cpp">4.2.1. <code class="docutils literal notranslate"><span class="pre">ChangeLane.cpp</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="samples.html#decelerate-cpp">4.2.2. <code class="docutils literal notranslate"><span class="pre">Decelerate.cpp</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="samples.html#helloworld-cpp">4.2.3. <code class="docutils literal notranslate"><span class="pre">HelloWorld.cpp</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="samples.html#idm-cpp">4.2.4. <code class="docutils literal notranslate"><span class="pre">IDM+.cpp</span></code></a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">5. FAQ / Troubleshooting</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#difference-between-vehicles-and-road-vehicles-in-api">5.1. Difference between <code class="docutils literal notranslate"><span class="pre">vehicles</span></code> and <code class="docutils literal notranslate"><span class="pre">road_vehicles</span></code> in API.</a></li>
<li class="toctree-l2"><a class="reference internal" href="#modulenotfounderror-no-module-named-pyscaner">5.2. ModuleNotFoundError: No module named ‘pyscaner’</a></li>
<li class="toctree-l2"><a class="reference internal" href="#cmake-studio-dir-environment-varible-is-not-found">5.3. CMake STUDIO_DIR environment varible is not found.</a></li>
</ul>
</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">QuickScaner</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> »</li>
<li><span class="section-number">5. </span>FAQ / Troubleshooting</li>
<li class="wy-breadcrumbs-aside">
<a href="_sources/faq.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">
<section id="faq-troubleshooting">
<h1><span class="section-number">5. </span>FAQ / Troubleshooting<a class="headerlink" href="#faq-troubleshooting" title="Permalink to this headline"></a></h1>
<p><strong>TODO</strong> Split Troubleshooting from FAQ</p>
<section id="difference-between-vehicles-and-road-vehicles-in-api">
<h2><span class="section-number">5.1. </span>Difference between <code class="docutils literal notranslate"><span class="pre">vehicles</span></code> and <code class="docutils literal notranslate"><span class="pre">road_vehicles</span></code> in API.<a class="headerlink" href="#difference-between-vehicles-and-road-vehicles-in-api" title="Permalink to this headline"></a></h2>
<p>SCANER considers cyclist, pedestrian and some static objects as vehicles, therefore returning them all the time is uncomfortable.
So instead of calling <code class="docutils literal notranslate"><span class="pre">api.get_vehicles()</span></code> and checking types, we provide <code class="docutils literal notranslate"><span class="pre">apiget_road_vehicles()</span></code> which will not consider pedestians and others as vehicles.</p>
</section>
<section id="modulenotfounderror-no-module-named-pyscaner">
<h2><span class="section-number">5.2. </span>ModuleNotFoundError: No module named ‘pyscaner’<a class="headerlink" href="#modulenotfounderror-no-module-named-pyscaner" title="Permalink to this headline"></a></h2>
<p>This means that Python package installation failed, try to <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span></code>.</p>
<p>If pyscaner is not in the list probably our installation script failed or installed
package to different python version that installed on your computer.</p>
<p>You can use <code class="docutils literal notranslate"><span class="pre">py</span> <span class="pre">-0p</span></code> for listing python versions installed on your computer. Try to chagne between them (how?), and use <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">list</span></code>.</p>
<p><strong>#TODO</strong> This section should include better logic for debugging</p>
</section>
<section id="cmake-studio-dir-environment-varible-is-not-found">
<h2><span class="section-number">5.3. </span>CMake STUDIO_DIR environment varible is not found.<a class="headerlink" href="#cmake-studio-dir-environment-varible-is-not-found" title="Permalink to this headline"></a></h2>
<p>Our compilation script did not found AVSimulation folder on the computer,
this did not happend if installation was done by default of SCAnER.</p>
<p>We will need to change Enviromental varibles on the system, add STUDIO_PATH varible pointing to installation folder
by default this should be <code class="docutils literal notranslate"><span class="pre">C:\AVSimulation</span></code> (note you should <strong>NOT</strong> put path for SCANeR folder <code class="docutils literal notranslate"><span class="pre">C:\AVSimulation\SCANeR1.9</span></code>).</p>
<p><strong>#TODO</strong> Add pictures for fixing this issue</p>
</section>
</section>
</div>
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="samples.html" class="btn btn-neutral float-left" title="4. Samples" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<p>© Copyright 2022, TU Delft.</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>