This commit is contained in:
2025-07-06 12:04:50 -04:00
parent eddb51c0a5
commit 86df9a3ea9
8 changed files with 14 additions and 10 deletions

View File

@@ -2,8 +2,9 @@ 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 is designed as a data payload that encapsulates all control commands and sensor states relevant to the vehicle's operation. 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
It's intended to be sent from a transmitting device (like a remote control or master controller) to a receiver (such as a microcontroller onboard the vehicle). 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
(such as a microcontroller onboard the vehicle).
.. code-block:: c .. code-block:: c

View File

@@ -36,8 +36,9 @@
<section id="data-structs"> <section id="data-structs">
<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 is designed as a data payload that encapsulates all control commands and sensor states relevant to the vehicles operation. 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
Its intended to be sent from a transmitting device (like a remote control or master controller) to a receiver (such as a microcontroller onboard the vehicle).</p> relevant to the vehicles operation. Its intended to be sent from a transmitting device (like a remote control or master controller) to a receiver
(such as a microcontroller onboard 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: 7d41e8d39b6ebca54c0f942d24b39c62 config: 4c9de91229971360ee58717662296b64
tags: 62a1e7829a13fc7881b6498c52484ec0 tags: 62a1e7829a13fc7881b6498c52484ec0

View File

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

View File

@@ -2,8 +2,9 @@ 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 is designed as a data payload that encapsulates all control commands and sensor states relevant to the vehicle's operation. 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
It's intended to be sent from a transmitting device (like a remote control or master controller) to a receiver (such as a microcontroller onboard the vehicle). 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
(such as a microcontroller onboard the vehicle).
.. code-block:: c .. code-block:: c