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.
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)
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?
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.
I would agree this is an area where improved documentation would be helpful. Each of these items has been covered in different forum discussions or tutorial videos over the years, but if you are new to using them, or even want to do something different than you have done before there is not a single comprehensive place to go to understand each element of the skill.
I have used AutoPosition a lot, since it was introduced, and I still have basically all the same questions you have. That is why I test out concepts on a small EZ-Robot Revolution robot (typically the Roli) before ever thinking about going large scale, and I have a ton of spare servos since I bought the upgrade kits for Six and Roli when the hdd servos came out so I consider them disposable and test things that might stress the system with them first (I have been trying to get Roli to throw a ball for about 3 years and still can't get it quite right).
Alan
Which part of the Auto Position manual isn’t documented? I had checked and every option is documented. Hmm, Alan could you tell me what’s missing?
Unfortunately Will’s questions are documented in the manual. So his question doesn’t help improve the documentation. Let me know what documentation of the Auto Position is missing from the manual and I’ll improve it.
Adding some context, we update the manuals and support section a few times per day based on questions. Also, the ARC software is updated about once or twice a week as well.
Ps, I edited this question and selected the appropriate Auto Position robot skill.
So this is your answer?
So far that’s my answer I’m on my phone and out of the house this Saturday. If I had more time, I usually write longer responses to help users on the community forum.
OK for digestion later when you have time.
The documentation may be thorough but its unclear and confusing. I doubt I am the only person feeling this way. I'll highlight the areas of confusion by copy and pasting from the manual.
1
On the video from the skill page (demoing the hexapod) you say at time code 4:43
Why is the speed not controlled by the speed? How do the modifiers control the speed? You do not explain.#2 Unclear when to use (Frame window): But if you uncheck realtime update then the servos no longer move on the robot, so how can you use this function live?
#3
(Frame window) Again if transition to... is selected I can only do this when realtime update is unselected? How do I use this if the when robot is not moving? How does delay and steps effect the speed.#4
(Action window) So these supersede the motion settings from the frames set up???#5
(Main AutoPosition window) I am at a loss of words for even understanding this....does this also override the settings from the action window?#6
(Main AutoPosition window) I understand this works with the step and speed from question #5, but once again does this override from the action window?#7
This is pose key animation and saying its IK is misleading.I believe the summary of your questions is regarding the "Transition To" and "Jump To" buttons. Those buttons have absolutely no relationship with actions. Also, the values of Delay, Speed, Steps on the Frames page have no relationship to actions either. Those are for testing frames while editing frames. I'll add a sentence to the manual that expands something along the line of "These buttons can be used for testing frames....".
*Edit : added some screenshots to expand on the "Transition to" and "jump to buttons below here:
In the below image, there are arrows pointing to the word "Frames" and a box that goes around the options. In Windows or User Interface, that's a Titled Group Box. The options within the group box are associated with that title. In this case, it's Frames. The Jump to & Transition To will use the selected frame and transition or jump the robot into that frame using the values in that groupbox.
There is a bug in the Transition To that you outlined in the question. It seems the Transition To button is not highlighted when the Realtime Update is unchecked as it's supposed to. I'll have that fixed for the next update. Generally, people have real-time update enabled when editing frames.
#1
The video you are watching does not cover everything. The manual will be the best bet. Not all videos will cover absolutely everything, unfortunately. In this case, the video apparently does not explain what you're asking - it's not the fault of the video. I try to cover as much as I can in videos, but mostly I can't cover everything - the manual is good for explaining because it covers every feature and can be updated easier. It's more difficult to update a video vs a manual, which is why the manual is recommended.
#2
As the text reads, "this will transition the servo positions into the selected frame". Your screenshot has no selected frame, however. To select a frame, position the mouse cursor over the frame in the list, and press the left mouse button. The frame will be highlighted as per a windows Listbox. Once selected, the Transition To button will be enabled. (This paragraph describes expected behavior. There is a minor bug affecting this button that will be fixed in next update)
#3
The real-time update would need to be un-selected for the Transition To button to be enabled. I do not understand "how does delay and steps affect robot speed" related to this question. Perhaps that's a different question and is covered in the Auto Position manual and question marks.
#4
Again, the manual states that the delay, steps and speed values on the Frames page are for the transition button during testing. The options on the frame page are for testing the frames. There is no relationship between that and the values added to the action.
#5
In ARC, since conception, the lower the speed value for servos, the faster the speed. It's because the speed value is actually a delay. It's documented in all uses of the ServoSpeed command for scripting. The value is a delay between positions, so a higher number is a higher delay. That's a global ARC parameter.
#6
The references to Jump To and Transition To work for selected frames, not actions. You can't "Jump to an action". An Action is a collection of frames. You can't jump to a collection of something.
#7
Incorrect. The Auto Position uses inverse kinematic calculations to transition into frames. Documented in videos and the manual - Each joint is a servo, therefore it's easy for the algorithm to calculate the movement steps to achieve a timely transition of all joints to the destination positions. If you wish to use pose key animation, there is not a robot skill that i am aware of for that - so you would instead need to write scripts using servo positions. However, the challenge with writing scripts to direct servo positions is unless the servos have feedback, you won't know when they have reached their desired position. And, if you want to create frames based on external input, such as physically moving servos, your servos need to be bidirectional. There’s a few tutorials that explain that attached to the Auto Position control manual. The button you use is documented in the manual as well.
*note: I’m avoiding writing duplicate information from the manuals.
Here is the actual full text from the portion you had copied
Hope this helps - I'll add that sentence that the transition and jump to buttons are used for frames only and testing or transitioning or jumping to frames. And I'll make a few UI changes for it to be more clear for you
I organized the parameters in UI titled groupboxes for clarity
i added titled group boxes in the config menu for editing an action to help you as well
Well, that explains it. LOL.
I also struggled with these concepts when I was setting up my B9 arm movement animations. It took me a bunch of testing and trial and error to figure it out. I really don't think I fully understood everything in the end however I did get most of my actions to look smooth.
Luckily during the learning curve I didn't break anything! Sorry about your loss @Will. I know you worked hard on your Bartender.
I'll be going back soon and redoing some animations and redoing others. I fully expect to have to relearn this control again. Hopefully next time it will be a more pleasant experience.
Thank you for the additional info. I always appreciate the time you take to explain. I'll digest as much as I can today AFTER I do my taxes
My main issue I had was understanding how to adjust the speed and smoothness of an animation for the actions. It seemed if I changed the speed number in the edit window, I did not notice a change in speed in the animation.
@dave, The damage that was done was fixable but learning/testing on a full robot is scary as hell. I don't have a robot revolution robot to test with to get to know the system so I was taking it slow, by the end of the day I was so frustrated and tired that I made a critical error and moved the robot in a way that forced part to break.
I’ll expand on the delay and steps for ya later today. I wrote that stuff at 5 am so I’m glad it was coherent lol
I updated the Auto Position manual to explain the Steps and Delay values, as well as how to consider defining frames. If you watch any of Bob Houstons InMoov videos (doing math), or Richards (bartender inmoov), you can visualize how each frame was defined.
Here's a copy of what was added to the manual....
*NOTE: this copy and paste below is from the manual. View the Auto Position manual to see the latest revisions. The manual is updated and this post will not be updated.
Example: Picking up a cup Assume you have a simple robot arm with 2 joints (shoulder & elbow) and a gripper. You may wish to pick up a cup and raise it into the air. We can consider this entire motion sequence an Action, which consists of a collection of Frames. Let us first define the start and end of the desired Action. As you can imagine, there are many steps between the start and end with the robot suddenly holding a cup. The Auto Position makes this very easy to accomplish by splitting the Action into a collection of frames.
You can begin by defining the Frames required to complete the Action. The Frames are snapshots of how the robot can achieve the task. Notice in this example, the task is split into smaller frames. Frames are defined rather than having to program every servo movement. Later, the frames are added to an Action so they can be replayed programmatically.
Step/Delay Settings Hypothetically, let’s assume a frame moves the robot from this example Start frame to End frame. The Auto Position will perform calculations using the start & end positions to interpret the movement positions. The algorithm will ensure all joints positions arrive at their destination position at the same time during the transition. This behavior is repeated for the transition of each Frame of an Action.
Example: Steps: 5, Delay 20 Using these Steps and Delay values, the Auto Position will send 15 movement commands to the EZB with a 20ms delay between each command. The Auto Position has determined to send 15 movement commands because that is the largest difference between servo positions is 75. With a Step increment of 5, that leaves 15 movement commands. All remaining servos that have smaller position differences will use smaller steps, thus arriving at their destination at the same time. The largest step will be used for the servo with the largest position difference.
The shoulder will move 5 positions per command. The elbow will move 2.3 positions per command. There will be a 20ms delay per command. This ensures both the should and elbow joint positions arrive together at the destination frame positions.
Holy smokes this is so so much easier for me to understand. It’s a very complex skill and there is obviously more happening under the hood than I understood before. I’m going to put this to practice tomorrow. Thanks and I’ll let you know if I have any other questions.
A big thanks!
Of course, anytime Will!
The latest release has the Auto Position changes and bug fix for the transition button: https://synthiam.com/Products/ARC/Releases/ARC-2021-04-11-00-Early-Access-Runtime-20502
I had some severe head twisting motions on my full size Cylon that burned a servo,after first trying auto position. I then adapted the Hex 6 Auto Position skill to move head and arms using the different walking animations.Just modified the position and speed of each motion.Example Slow walk 1 2 3 4 converted to head rotation right,center,left and center. Gave a really natural looking left and right when ever forward motion ,turning or backwards ,head looks like it is searching when ever moving. Similar for arm movements.
That example and description of how it uses the values really helps!
Alan
Thank you for the addition to the manual. This really is much better and makes this concept much easier to understand.
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!
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.
Ah here it is: https://synthiam.com/Community/Tutorials/Create-Auto-Position-Actions-from-EZ-Script-16353
My brain melted.....completely missed this as an option!
OMG.....so I can use my finger pad controls and just trigger to record servo positions?
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
I am so looking forward now to making animations for the B9 robot arms that I'm building.
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?
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 ?
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:
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?:
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?
Hi Will.
Open the link below and scroll down in the middle under ContorlCommand. "What If I Want To Wait?" https://synthiam.com/Support/Programming/control-command
BTY. You and Dave make awesome robots!
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.
Omg thank you fellas...a ton!!!!!!
@merne I have never seen this page.... this is a gold mine...thank you!
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!
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.