Speech Script icon Speech Script — Run custom scripts when speech starts/ends to sync servos and LEDs to spoken $SpeechTxt, with loop support, stop button and logs. Try it →
Tutorial
Published — Updated

Create Auto Position Actions From EZ-Script

This tutorial uses the ControlCommand() EZ-Script command that instructs the Auto Position control to create a frame and respective action from the current servo positions. Every time the ControlCommand() is executed, another frame is added to the specified action with the current servo positions.

The result is that you end up creating an animation. This can be done using external controllers, such as the WiiMote, Joystick or even touch screen controls.


Related Hardware (view all EZB hardware)
JD Humanoid by EZ-Robot
JD Humanoid with Synthiam ARCx: pose, animate, walk, voice, vision, and AI control from any browser.
Wi-Fi / USB
Servos 24
Camera
Audio
UART 3
I2C
ADC 8
Digital 24
EZ-B V4 by EZ-Robot
EZ-B v4 with Synthiam ARCx controls servos, sensors, camera and audio over Wi-Fi or USB serial, no firmware needed.
Wi-Fi / USB
Servos 24
Camera
Audio
UART 3
I2C
ADC 8
Digital 24
EZ-B Iotiny by EZ-Robot
EZ-B IoTiny works with Synthiam ARCx to control servos, camera, voice, scripts, and IoT from any browser.
Wi-Fi
Servos 8
Camera
Audio
UART None (transmit-only serial on digital ports)
I2C
ADC 2
Digital 8
Turn an Arduino Uno into a Synthiam ARCx robot controller with EZB firmware, servos, sensors, PWM, and browser control.
USB
Servos 12
Camera
Audio
UART ✕
I2C
ADC 6
Digital 14
Arduino Mega with Synthiam ARCx controls 24 servos, 13 PWM, sensors and serial modules via EZB firmware over USB.
USB
Servos 24
Camera
Audio
UART 3
I2C
ADC 8
Digital 21
Darwin Mini by Robotis
Control Darwin Mini in Synthiam ARCx with firmware, servo animation, Blockly, JavaScript, Python, voice, and AI skills.
USB / Bluetooth
Servos 16
Camera
Audio
UART ✕
I2C
ADC ✕
Digital ✕
Opencm 9.04 by Robotis
OpenCM 9.04 with Synthiam ARCx drives Dynamixel servos in a web browser for animations, scripts, AI and hardware I/O
USB
Servos 200
Camera
Audio
UART ✕
I2C
ADC ✕
Digital ✕
Opencr by Robotis
Turn OpenCR into an EZB controller for ARCx: drive Dynamixel servos, PWM, sensors, UART and scripts at 921,600 baud.
USB
Servos 200
Camera
Audio
UART ✕
I2C
ADC ✕
Digital ✕
Lattepanda by DF Robot
LattePanda with Synthiam ARCx runs headless, loads EZB firmware on the built-in Arduino, and controls robots from any browser
Wi-Fi / USB
Servos 12
Camera
Audio
UART 1
I2C
ADC 5
Digital 12
Arduino Leonardo with Synthiam ARCx controls servos, PWM, digital I/O, analog inputs, UART and ultrasonic sensors over USB.
USB
Servos 12
Camera
Audio
UART Varies
I2C
ADC Varies
Digital Varies
Esp32 by Espressif
Flash Synthiam ESP32 firmware to create a Wi-Fi EZB robot controller with ARCx for servos, sensors, scripting and web control
Wi-Fi
Servos Varies
Camera
Audio
UART Varies
I2C
ADC Varies
Digital Varies

Step 1

This video explains the step by step example of how to use the following controlcommands for the Auto Position.


ControlCommand("Auto Position", AddFrameToAction, "Action Name")
ControlCommand("Auto Position", AddFrameToAction, [delay], [steps], [speed], "Action Name")
ControlCommand("Auto Position", AddPauseToAction, [delay in ms], "Action Name")
ControlCommand("Auto Position", DeleteActionAndAssociatedFrames, "Action Name")


ARC Pro

Upgrade to ARC Pro

With ARC Pro, your robot is not just a machine; it's your creative partner in the journey of technological exploration.

#9  

Wow! Wish I had known about this one earlier, that's a very advanced way to do autoposition.