From a04b090e1b57761255e783ba59359a40d287c34a Mon Sep 17 00:00:00 2001 From: Alexandre Bobkov Date: Sat, 5 Jul 2025 17:17:50 -0400 Subject: [PATCH] . --- .../tutorial/docs/build/doctrees/data.doctree | Bin 6219 -> 9232 bytes .../docs/build/doctrees/environment.pickle | Bin 23736 -> 24136 bytes .../docs/build/html/_sources/data.rst.txt | 16 +++++- .../tutorial/docs/build/html/data.html | 15 ++++++ .../tutorial/docs/build/html/index.html | 1 + .../tutorial/docs/build/html/searchindex.js | 2 +- .../tutorial/docs/build/simplepdf/.buildinfo | 2 +- .../build/simplepdf/esp-idf_espnow_rc-car.pdf | Bin 3542149 -> 3544462 bytes .../tutorial/docs/build/simplepdf/index.html | 51 ++++++++++++++++++ 9 files changed, 84 insertions(+), 3 deletions(-) diff --git a/ESP-IDF_Robot/tutorial/docs/build/doctrees/data.doctree b/ESP-IDF_Robot/tutorial/docs/build/doctrees/data.doctree index 236b31a78dad3623ff9fef9a91803aaace9ce0f1..45235b781ee32cf30fa0c80ebfe1663d889fba61 100644 GIT binary patch delta 2651 zcmcIm-D@0G6wkKVhHPw73$-;#<3$_I*9662QIJy8N=1yprbdvs-kCX@dp9$4$9wN& zy9F725Q)r#up{^<2)-x*{|Uht-$nA^gD<`oU-aCWotaIDwAkk5&T`K=zkAN_eC^LK zetoO{S^b;(l^^TBPV^SW8}SFHYC}T{zR*Ix)Rdv$3_Jb;(Sqc6E7e^n#V&V&@WAEx zBcdKz-+YHCz8z3c8IzWXB)PFlGBmZ^*kD`{2&nCWA}t<(wJj-rT%tn2(-A?erSO)B zio#Gxt%%E8Eszjsj_|JJyI{0hd^?gOb&tEIZevn$}MSBXnW6%-GdS~m?@i?1oUn)gxkzIcKIn26M zIwCe0ko;XzdO|dKrc+Sl2tVW=ND>Hb3Wd5Z7Iqg+T-Ow_4Y~tZ<1G%JtFoE~U&!t< zF-;X?!S7&C86>4;3-J=0&N!JJpb6<2O2%wYI6KWx zBB3Ger6pZoT4WU&p^k1?W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A&;n2YTY8UtD}d@p=ZaqWtp1!=d_}>wZZB z7Mabzp}RnmqU1MEMahOAz7DlF{mF~XJlA}pAgPjc-7QKaGrEzou*u?#_@FCxCMd?o zSuW=)#LmxC;c+Y^tMDn-T(9!B8AkSO9UsId{96`Sw)4+gJKR*aWpe!n8pB3@h8sv@ zQ#ZwLBE66tCZ&h?1imln<0m-`pNAVN2YHz3Apcd$M^3l(3X?#l<0>OZg^F$~(M7ge zd2K|fliq`oRi*Qih^fGofGu!V;DW#vfomMM$6PgKjOzxr8NuG&Q;w```n{6)e)%t> Cf%v!p diff --git a/ESP-IDF_Robot/tutorial/docs/build/html/_sources/data.rst.txt b/ESP-IDF_Robot/tutorial/docs/build/html/_sources/data.rst.txt index 1736f9946..e62d910e2 100644 --- a/ESP-IDF_Robot/tutorial/docs/build/html/_sources/data.rst.txt +++ b/ESP-IDF_Robot/tutorial/docs/build/html/_sources/data.rst.txt @@ -26,4 +26,18 @@ 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). \ No newline at end of file +*led* allows the transmitter to toggle an onboard LED and is used for status indication (e.g. pairing, battery warning, etc). + +*motor1_rpm_pwm* to *motor4_rpm_pwm* provide individual PWM signals to four DC motors. +This enables fine-grained speed control, supports differential drive configurations, and even allows for maneuvering in multi-directional platforms like omni-wheel robots. + +Why Use __attribute((packed))? +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +The packed attribute tells the compiler not to add any padding between fields in memory. This makes the struct: + + - Compact + - Predictable for serialization over protocols like UART or ESP-NOW + - Ideal for low-latency transmission in embedded systems + +This ensures the receiver interprets the exact byte layout you expect, minimizing bandwidth and maximizing compatibility across platforms. \ No newline at end of file diff --git a/ESP-IDF_Robot/tutorial/docs/build/html/data.html b/ESP-IDF_Robot/tutorial/docs/build/html/data.html index 46cc7fa0a..2b8287d30 100644 --- a/ESP-IDF_Robot/tutorial/docs/build/html/data.html +++ b/ESP-IDF_Robot/tutorial/docs/build/html/data.html @@ -56,6 +56,20 @@ It’s intended to be sent from a transmitting device (like a remote control or

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).

+

motor1_rpm_pwm to motor4_rpm_pwm provide individual PWM signals to four DC motors. +This enables fine-grained speed control, supports differential drive configurations, and even allows for maneuvering in multi-directional platforms like omni-wheel robots.

+ +
+

Why Use __attribute((packed))?

+

The packed attribute tells the compiler not to add any padding between fields in memory. This makes the struct:

+
+
    +
  • Compact

  • +
  • Predictable for serialization over protocols like UART or ESP-NOW

  • +
  • Ideal for low-latency transmission in embedded systems

  • +
+
+

This ensures the receiver interprets the exact byte layout you expect, minimizing bandwidth and maximizing compatibility across platforms.

@@ -90,6 +104,7 @@ It’s intended to be sent from a transmitting device (like a remote control or
  • HOW DOES IT WORK?
  • DATA STRUCT
  • TRANSMITTER
  • diff --git a/ESP-IDF_Robot/tutorial/docs/build/html/index.html b/ESP-IDF_Robot/tutorial/docs/build/html/index.html index a63434947..ac8a18b2d 100644 --- a/ESP-IDF_Robot/tutorial/docs/build/html/index.html +++ b/ESP-IDF_Robot/tutorial/docs/build/html/index.html @@ -46,6 +46,7 @@
  • DATA STRUCT
  • TRANSMITTER
  • @@ -662,6 +667,52 @@ It’s intended to be sent from a transmitting device (like a remote control allows the transmitter to toggle an onboard LED and is used for status indication (e.g. pairing, battery warning, etc).

    +

    + + motor1_rpm_pwm + + to + + motor4_rpm_pwm + + provide individual PWM signals to four DC motors. +This enables fine-grained speed control, supports differential drive configurations, and even allows for maneuvering in multi-directional platforms like omni-wheel robots. +

    + +
    +

    + Why Use __attribute((packed))? + + ¶ + +

    +

    + The packed attribute tells the compiler not to add any padding between fields in memory. This makes the struct: +

    +
    +
    +
      +
    • +

      + Compact +

      +
    • +
    • +

      + Predictable for serialization over protocols like UART or ESP-NOW +

      +
    • +
    • +

      + Ideal for low-latency transmission in embedded systems +

      +
    • +
    +
    +
    +

    + This ensures the receiver interprets the exact byte layout you expect, minimizing bandwidth and maximizing compatibility across platforms. +