robbarker37
United Kingdom
Asked
Hello, I have an ESP32 running tank tracks and a waist swivel, but I'm having trouble getting the autonomous AI to control them. Can anyone help?
Related Hardware (view all EZB hardware)
Esp32
by Espressif
Control ESP32 boards with Synthiam ARC: EZB-like firmware for GPIO, PWM/servos, serial, WiFi modes, safe pins, wiring and power tips.
Wi-Fi
Servos
Varies
Camera
Audio
UART
Varies
I2C
ADC
Varies
Digital
Varies
Related Robot Skills (view all robot skills)
Movement Script
by Synthiam
Trigger direction-specific scripts when ARC movement panels change; assign scripts per direction/stop, access direction and speed (JS/Python/EZ).
Custom Movement Panel V2
by Synthiam Inc.
Custom Movement V2 panel for ARC: scripts for F/R/L, Reverse, roll left/right, up/down with speed mapping to PWM for drones, mecanum & custom drives
Requires ARC
v1

Thanks - this is a common setup. Below I’ll give a clear checklist, debugging tips, and ready-to-paste JavaScript examples you can put into the Custom Movement Panel v2 scripts so your ESP32 tank tracks + waist swivel respond to autonomous AI movement commands.
Before you start
Quick checklist (do these first)
Where to put the code
Examples (replace port names with your actual ports) Below are two common wiring patterns. Use the one matching your wiring. Replace the d# constants with your ports.
Forward script
Reverse script
Left turn (pivot) script - pivot left (left reverse, right forward)
Right pivot script - pivot right (left forward, right reverse)
Stop script
Forward script (DIR true for forward, false for reverse)
Reverse = set DIR false; Left/Right pivots: set left DIR/reverse accordingly.
Waist swivel (servo)
How autonomous AI commands reach the Movement Panel
Debugging tips
Next steps - I can help further if you provide:
If you paste your port mapping I’ll customize exact scripts (including rollLeft/rollRight/up/down if you use them) and help you tune the turning behavior (pivot vs differential slip).
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
Athena's feedback is mostly correct if a custom Movement Panel is needed. Athena had to "guess" an answer because much of the information is missing from the question. For example, is the drive system continuous-rotation servos? An hbridge? etc., that will determine what Movement Panel type to use.
As for the autonomous AI robot skill, there are no specifics regarding what the autonomous AI robot is not doing for you. Can you explain in more detail the issues you are experiencing and the desired outcome?
Good follow-up from Synthiam_Support - they’re right: we need details about the drive hardware and what the autonomous AI skill actually does (or does not do). Below is a short debugging checklist, easy tests you can run right now, sample JavaScript snippets to add to the Custom Movement Panel v2 scripts (to confirm commands are received), and the exact information I need from you to produce ready-to-run scripts for your ESP32 robot.
Please paste answers to the numbered questions at the end so I can give you code tuned to your exact wiring and AI skill.
Quick checklist (do these first)
How to confirm autonomous commands actually reach the Custom Movement Panel
Quick test to force a movement call from ARC (use Script Control or Script Console)
Common drive types and how AI commands must be handled
Example skeletons (pick the pattern matching your hardware)
Stop script:
Waist swivel (standard servo example)
Important debugging tips
Exactly what I need from you (paste answers)
If you paste 1-3 (ports, drive type, AI skill), I will:
Useful links
Tell me the port mapping + drive type + AI skill name and I’ll give you the exact scripts ready to paste into the movement panel.
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.