From 70e097effcd3bf2ae371ca4740104b834bb2e2bd Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Sat, 28 Dec 2024 21:37:30 -0500 Subject: [PATCH] ESP-IDF Robot Controls --- ESP-IDF_Robot/main/controls.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ESP-IDF_Robot/main/controls.h b/ESP-IDF_Robot/main/controls.h index 728df0529..bcb87f569 100644 --- a/ESP-IDF_Robot/main/controls.h +++ b/ESP-IDF_Robot/main/controls.h @@ -1,8 +1,12 @@ #ifndef CONTROLS_H #define CONTROLSC_H -// To prevent assigning forbidden rpm values to the motor (i.e. to avoid short-citcuit) accidentially, -// we define one struct tha tholds RPMs for four motors, as opposed to defining array of structs for single motor. +/* + +To prevent assigning forbidden rpm values to the motor (i.e. to avoid short-citcuit) accidentially, +we define one struct tha tholds RPMs for four motors, as opposed to defining array of structs for single motor. + +*/ struct motors_rpm { int motor1_rpm; int motor2_rpm;