Create Auto Position Actions from EZ-Script
Description
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
JD Humanoid
EZ-B v4
EZ-B IoTiny
Arduino Genuino Uno
Arduino Due/Mega
Darwin Mini
OpenCM 9.04
OpenCR
LattePanda
Arduino Leonardo
Esp32 DevKit v1
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")
Wow! Wish I had known about this one earlier, that's a very advanced way to do autoposition.