This commit is contained in:
2025-07-06 12:06:01 -04:00
parent a95fa99baf
commit 199301c560
7 changed files with 8 additions and 8 deletions

View File

@@ -3,8 +3,8 @@ DATA STRUCTS
The struct serves as the data payload for sending control signals from the transmitting device to the receiver using ESP-NOW. The struct serves as the data payload for sending control signals from the transmitting device to the receiver using ESP-NOW.
In addition, it may contain additional data such as telemetry, battery status, etc. The *sensors_data_t* struct encapsulates all control commands and sensor states In addition, it may contain additional data such as telemetry, battery status, etc. The *sensors_data_t* struct encapsulates all control commands and sensor states
relevant to the vehicle's operation. It's intended to be sent from a transmitting device (like a remote control or master controller) to a receiver relevant to the vehicle's operation. It's intended to be sent from a transmitting device (like a remote control) to a receiver
(such as a microcontroller onboard the vehicle). (such as a microcontroller on board of the vehicle).
.. code-block:: c .. code-block:: c

View File

@@ -37,8 +37,8 @@
<h1>DATA STRUCTS<a class="headerlink" href="#data-structs" title="Link to this heading"></a></h1> <h1>DATA STRUCTS<a class="headerlink" href="#data-structs" title="Link to this heading"></a></h1>
<p>The struct serves as the data payload for sending control signals from the transmitting device to the receiver using ESP-NOW. <p>The struct serves as the data payload for sending control signals from the transmitting device to the receiver using ESP-NOW.
In addition, it may contain additional data such as telemetry, battery status, etc. The <em>sensors_data_t</em> struct encapsulates all control commands and sensor states In addition, it may contain additional data such as telemetry, battery status, etc. The <em>sensors_data_t</em> struct encapsulates all control commands and sensor states
relevant to the vehicles operation. Its intended to be sent from a transmitting device (like a remote control or master controller) to a receiver relevant to the vehicles operation. Its intended to be sent from a transmitting device (like a remote control) to a receiver
(such as a microcontroller onboard the vehicle).</p> (such as a microcontroller on board of the vehicle).</p>
<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="k">typedef</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="p">{</span> <div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="k">typedef</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="n">x_axis</span><span class="p">;</span><span class="w"> </span><span class="c1">// Joystick x-position</span> <span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="n">x_axis</span><span class="p">;</span><span class="w"> </span><span class="c1">// Joystick x-position</span>
<span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="n">y_axis</span><span class="p">;</span><span class="w"> </span><span class="c1">// Joystick y-position</span> <span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="n">y_axis</span><span class="p">;</span><span class="w"> </span><span class="c1">// Joystick y-position</span>

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
# Sphinx build info version 1 # Sphinx build info version 1
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. # This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 4c9de91229971360ee58717662296b64 config: 366dce8dd647280426512fb04879ec6f
tags: 62a1e7829a13fc7881b6498c52484ec0 tags: 62a1e7829a13fc7881b6498c52484ec0

View File

@@ -852,8 +852,8 @@ In addition, it may contain additional data such as telemetry, battery status, e
sensors_data_t sensors_data_t
</em> </em>
struct encapsulates all control commands and sensor states struct encapsulates all control commands and sensor states
relevant to the vehicle&rsquo;s operation. It&rsquo;s intended to be sent from a transmitting device (like a remote control or master controller) to a receiver relevant to the vehicle&rsquo;s operation. It&rsquo;s intended to be sent from a transmitting device (like a remote control) to a receiver
(such as a microcontroller onboard the vehicle). (such as a microcontroller on board of the vehicle).
</p> </p>
<div class="highlight-c notranslate"> <div class="highlight-c notranslate">
<div class="highlight"> <div class="highlight">