Welcome to Synthiam!

Program robots using technologies created from industry experts. ARC is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.

Get Started
Asked
Resolved Resolved by DJ Sures!

Struggling With Autoposition

Not a fan of the autoposition, but I had to tackle it for the drink robot because unlike servo recorder, I needed the robot to precisely grab a cup and repeat positions over and over. Which he does.

First of all I have read every "?" by every button and slider and I still dont get most of whats happening.

My issue is understanding the redundancy of different speeds and steps in all the windows and how that affects the servos in each one. Of the three windows I understand "Frames"  window the best as this is where you begin and can see the effects on the servos.

User-inserted image


But as I move on to the "Actions" tab I am again shown delay and steps and now speed. The speed here goes from -1 to 20. I understand I can change this for each frame, but after I set the motions and then decide to go back and edit the speed button on the right, there is no noticeable speed change to my animation ( i also understand that the higher the number the slower the motion)
User-inserted image



Finally, when actions are set up and you go to the main window for Auto Position I am again presented with another STEP and SPEED, this time the speed goes to 0-50. Why?

User-inserted image



Yesterday I broke part of the drink robot because I am struggling with this animation system. Its ok if you are playing with a toy sized robot, but when programming a lifesized robot, things can go expensively wrong, when disaster strikes or worse someone gets hurt.

Please take the time to explain to me how this redundancy is supposed to work.


Related Hardware EZ-Robot EZ-B v4
Related Control Auto Position (Gait)
#18  
That example and description of how it uses the values really helps!

Alan
#19  
Thank you for the addition to the manual. This really is much better and makes this concept much easier to understand.
PRO
USA
#20  
Robot repaired and animated .....I grasped hold of the reins and took control. Thanks again for the extra explanation. Now to tie it into the scripts to finish it off. Then I gotta shoot all the videos and edit...hopefully, video soon!
PRO
Synthiam
#21  
Hey you can also train frames by moving the robot servos using a remote control or something. I know you like to use the servo recorder with touch controls. So you can move the robot into position and hit a button to create a frame from that position. Rather than doing it in the Auto Position editor. 

im on my phone but there’s a tutorial I did to create custom frames with a wiimote and using vr headset.
PRO
USA
#23  
My brain melted.....completely missed this as an option!
PRO
USA
#24   — Edited
OMG.....so I can use my finger pad controls and just trigger to record servo positions? 
User-inserted image
PRO
Synthiam
#25  
Yes you can. Just setup a button that creates a frame. So every time you’re in a frame, press the button to create the frame and add it to the specified action
#26  
I am so looking forward now to making animations for the B9 robot arms that I'm building.
PRO
USA
#27   — Edited
Disaster aversion question.

When running a script with an Auto Position action in it, will command control wait until that action is complete before moving onto another action?
PRO
USA
#28  
Too late. Went ahead and tried with wife holding the plug ready to pull it if all went wrong which it did. He pushed over the table and I caught it with one finger before she pulled the plug. 

Is there a command for Auto Position equivalent to servo recorders $isservorecorderrunning = false command ?
#29  
Hi Will, Sorry to hear you are fighting this issue. I don't know what your project looks like or how it's set up However there is a variable you can use to let the CommandControl know to wait till the AutoPosition Control has stopped running. Here it is:

Code:

$AutoPositionStatus - Contains a True (1), False (0) if the  AutoPosition control is actively excusing and action or frame. 
#30  
You can also add a script to run when a frame or action runs. create and edit them from inside the Auto Position control. Maybe you can write a code here that will pause till your AutoPosition control action completes?: 

User-inserted image
PRO
USA
#31  
Thanks Dave that is exactly what I was looking for.... but could not find any documentation on it..at least where I was looking! Do you have a link to where that code is? Or specifically in the manual?
#33  
I found it on the Settings tab in the AutoPosition control. Click on the three dots (...) and then look for the Settings tab neat the top of the box. Half way down you will see the three variables you can use to watch the AutoPosition status. I stumbled across it a while ago. I don't know if it's mentioned in the manual anywhere. 

User-inserted image
PRO
USA
#34  
Omg thank you fellas...a ton!!!!!!
PRO
USA
#35  
@merne I have never seen this page.... this  is a gold mine...thank you!
PRO
USA
#36  
I want to thank everyone here for helping me get this going. I got this thing up and working...and man its so cool.

I start start shooting the video for this episode tomorrow and hope to have it done by next week. 

Thanks again!
#37  
Outstanding. Life is too short to be frustrated. I know your video if the droid will be fantastic. I'm looking forward to it like Xmas when I was a kid.