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.

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

Harnessing the power of ARC Pro, your robot can be more than just a simple automated machine.

#1   — Edited

I just watched this on youtube last week while at work. Ya I know at work LOL. What VR glasses and sticks are you using DJ?

PRO
Synthiam
#2  

Working hard?:D

It’ll work with any vr headset supported by steam. So that’s windows mixed reality, htc Vive or oculus. But if you want to save money it’ll also work with your mobile phone and any google cardboard headset.

In that video I’m using an android phone with some cheap google cardboard compatible headset I got from bestbuy. You can get them for as little as $20!

#3  

DJ Sures--

I am brand new to ez-robot and ARC and I saw this. I am familiar with the inmoov project and have decided to build it using ez-robots servos and equipment. I have so far 3D printed the head  and neck. I noticed that yours has a tab in the chest plate which I like. Is there any inmoov related programming with ARC on synthiam or can you direct me? Thanks in advance for any help.

PRO
USA
#4  

Good morn, hope all is well,

I know this video is over a year old, but still cool.

Questions:

which wee remote?

which cardboard headset?

step 2 ?   lol

PRO
Canada
#5  

Good Morning @EZang60

Any Wii Remote that doesn't have the motion plus built-in should do the trick. The first gen. Wii Remotes (Nintendo or knock-off) were able to natively connect to Windows via bluetooth. I believe the other versions needed the Widcomm drivers installed.

Any headset will do, it's just a mechanical rig to hold a phone (turned into a VR Display). Check out the VR plug-in here: https://synthiam.com/Products/Controls/Virtual-Reality/Virtual-Reality-Robot-15982

The instructions there will get you started with a VR display (including iOS and android devices).

Step 2. Load up ARC, install the VR plug-in, and start controlling robots!

PRO
Canada
#7  

I thought DJ was using an iPhone as the VR viewer but I don't remember how he was doing it. Maybe he can jump in here and let us know.

PRO
USA
#8   — Edited

ok maybe he can tell us

can you use any other remote?

#9  

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