mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-10 11:23:22 +00:00
.
This commit is contained in:
@@ -18,4 +18,12 @@ It's intended to be sent from a transmitting device (like a remote control or ma
|
||||
uint8_t motor2_rpm_pwm;
|
||||
uint8_t motor3_rpm_pwm;
|
||||
uint8_t motor4_rpm_pwm;
|
||||
} __attribute__((packed)) sensors_data_t;
|
||||
} __attribute__((packed)) sensors_data_t;
|
||||
|
||||
Struct Walkthrough
|
||||
^^^^^^^^^^^^^^^^^^
|
||||
|
||||
*x_axis* and *y_axis* fields capture analog input from a joystick, determining direction and speed.
|
||||
*nav_bttn* represents a joystick push-button.
|
||||
|
||||
*led* allows the transmitter to toggle an onboard LED and is used for status indication (e.g. pairing, battery warning, etc).
|
11
ESP-IDF_Robot/tutorial/docs/build/html/data.html
vendored
11
ESP-IDF_Robot/tutorial/docs/build/html/data.html
vendored
@@ -51,6 +51,12 @@ It’s intended to be sent from a transmitting device (like a remote control or
|
||||
<span class="p">}</span><span class="w"> </span><span class="n">__attribute__</span><span class="p">((</span><span class="n">packed</span><span class="p">))</span><span class="w"> </span><span class="n">sensors_data_t</span><span class="p">;</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
<section id="struct-walkthrough">
|
||||
<h2>Struct Walkthrough<a class="headerlink" href="#struct-walkthrough" title="Link to this heading">¶</a></h2>
|
||||
<p><em>x_axis</em> and <em>y_axis</em> fields capture analog input from a joystick, determining direction and speed.
|
||||
<em>nav_bttn</em> represents a joystick push-button.</p>
|
||||
<p><em>led</em> allows the transmitter to toggle an onboard LED and is used for status indication (e.g. pairing, battery warning, etc).</p>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -82,7 +88,10 @@ It’s intended to be sent from a transmitting device (like a remote control or
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="intro.html">INTRODUCTION</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="overview.html">HOW DOES IT WORK?</a></li>
|
||||
<li class="toctree-l1 current"><a class="current reference internal" href="#">DATA STRUCT</a></li>
|
||||
<li class="toctree-l1 current"><a class="current reference internal" href="#">DATA STRUCT</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#struct-walkthrough">Struct Walkthrough</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="transmitter.html">TRANSMITTER</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="receiver.html">RECEIVER</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="progress.html">WORK-IN-PROGRESS WALK THROUGH</a></li>
|
||||
|
@@ -44,7 +44,10 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="overview.html#schematic">Schematic</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="data.html">DATA STRUCT</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="data.html">DATA STRUCT</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="data.html#struct-walkthrough">Struct Walkthrough</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="transmitter.html">TRANSMITTER</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="transmitter.html#data-encapsulation">Data Encapsulation</a></li>
|
||||
</ul>
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user