mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 10:30:54 +00:00
RC Robot Tutorial
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -180,7 +180,7 @@ modes, making the system more adaptable and scalable for future development.
|
||||
int motor4_rpm_pwm;
|
||||
};
|
||||
|
||||
On the transmitter`` device, the PWM values for the DC motors are send to the receover using the following function. The variable
|
||||
On the transmitter device, the PWM values for the DC motors are sent to the receiver using the following function. The variable
|
||||
**receiver_mac** stores the MAC address of the receiver device (ESP32-C3 bitBoard on the RC car).
|
||||
|
||||
.. code-block:: c
|
||||
@@ -217,7 +217,7 @@ On the transmitter`` device, the PWM values for the DC motors are send to the re
|
||||
|
||||
This function is invoked by a dedicated FreeRTOS task every 100 milliseconds, ensuring consistent and timely transmission of
|
||||
control data to the receiver device. By leveraging FreeRTOS's precise task scheduling, the system maintains low-latency
|
||||
communication and predictable behavior—critical for real-time control in embedded applications.
|
||||
communication and predictable behaviour, critical for real-time control in embedded applications.
|
||||
|
||||
.. code-block:: c
|
||||
|
||||
|
@@ -245,7 +245,7 @@ modes, making the system more adaptable and scalable for future development.</p>
|
||||
<span class="p">};</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
<p>On the transmitter`` device, the PWM values for the DC motors are send to the receover using the following function. The variable
|
||||
<p>On the transmitter device, the PWM values for the DC motors are sent to the receiver using the following function. The variable
|
||||
<strong>receiver_mac</strong> stores the MAC address of the receiver device (ESP32-C3 bitBoard on the RC car).</p>
|
||||
<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="c1">// Function to send data to the receiver</span>
|
||||
<span class="kt">void</span><span class="w"> </span><span class="nf">sendData</span><span class="w"> </span><span class="p">(</span><span class="kt">void</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
|
||||
@@ -280,7 +280,7 @@ modes, making the system more adaptable and scalable for future development.</p>
|
||||
</div>
|
||||
<p>This function is invoked by a dedicated FreeRTOS task every 100 milliseconds, ensuring consistent and timely transmission of
|
||||
control data to the receiver device. By leveraging FreeRTOS’s precise task scheduling, the system maintains low-latency
|
||||
communication and predictable behavior—critical for real-time control in embedded applications.</p>
|
||||
communication and predictable behaviour, critical for real-time control in embedded applications.</p>
|
||||
<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="c1">// Continous, periodic task that sends data.</span>
|
||||
<span class="k">static</span><span class="w"> </span><span class="kt">void</span><span class="w"> </span><span class="nf">rc_send_data_task</span><span class="w"> </span><span class="p">(</span><span class="kt">void</span><span class="w"> </span><span class="o">*</span><span class="n">arg</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
# 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.
|
||||
config: 4411a565481aaed0407a57fb723b91cf
|
||||
config: 6c1e6acfddf8d460ff3e3d08d615776c
|
||||
tags: 62a1e7829a13fc7881b6498c52484ec0
|
||||
|
@@ -929,7 +929,7 @@ modes, making the system more adaptable and scalable for future development.
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
On the transmitter`` device, the PWM values for the DC motors are send to the receover using the following function. The variable
|
||||
On the transmitter device, the PWM values for the DC motors are sent to the receiver using the following function. The variable
|
||||
<strong>
|
||||
receiver_mac
|
||||
</strong>
|
||||
@@ -972,7 +972,7 @@ modes, making the system more adaptable and scalable for future development.
|
||||
<p>
|
||||
This function is invoked by a dedicated FreeRTOS task every 100 milliseconds, ensuring consistent and timely transmission of
|
||||
control data to the receiver device. By leveraging FreeRTOS’s precise task scheduling, the system maintains low-latency
|
||||
communication and predictable behavior—critical for real-time control in embedded applications.
|
||||
communication and predictable behaviour, critical for real-time control in embedded applications.
|
||||
</p>
|
||||
<div class="highlight-c notranslate">
|
||||
<div class="highlight">
|
||||
|
Reference in New Issue
Block a user