Skip to content

12 - Example Move Program

▶ 12 - Example Move Program — Watch on YouTube


[Music] [Music] we're going to do an example program we're going to do an example program we're going to do an example program here just to see the use of Cartesians here just to see the use of Cartesians here just to see the use of Cartesians in programming a move I'm at my home in programming a move I'm at my home in programming a move I'm at my home position here with my focus on infinity position here with my focus on infinity position here with my focus on infinity and I've made to enable my robot and I've made to enable my robot and I've made to enable my robot my focus is already enabled I'm going to my focus is already enabled I'm going to my focus is already enabled I'm going to go into row level to make sure my role go into row level to make sure my role go into row level to make sure my role is controlled and I'm going through is controlled and I'm going through is controlled and I'm going through initially going to locked world do the initially going to locked world do the initially going to locked world do the go to which will just level up the row go to which will just level up the row go to which will just level up the row on my first action here is to use by Y on my first action here is to use by Y on my first action here is to use by Y to move across the scene I'm going to to move across the scene I'm going to to move across the scene I'm going to use X to move back some more Y until my use X to move back some more Y until my use X to move back some more Y until my target comes close to being in scene I'm target comes close to being in scene I'm target comes close to being in scene I'm having a lift I'm using Cartesian locked having a lift I'm using Cartesian locked having a lift I'm using Cartesian locked world to do all of these actions and now world to do all of these actions and now world to do all of these actions and now in a position and slightly too close to in a position and slightly too close to in a position and slightly too close to my targets and I could come out a little my targets and I could come out a little my targets and I could come out a little bit through there so I'm going to store bit through there so I'm going to store bit through there so I'm going to store that as my a position I'm also going to that as my a position I'm also going to that as my a position I'm also going to now measure exactly where I am this is now measure exactly where I am this is now measure exactly where I am this is major hook in this case the measure hook major hook in this case the measure hook major hook in this case the measure hook is on the film plane and I will put my is on the film plane and I will put my is on the film plane and I will put my tape measure on the Mesa hook to take tape measure on the Mesa hook to take tape measure on the Mesa hook to take measurements of distances 70 ships now measurements of distances 70 ships now measurements of distances 70 ships now if I type in my target distance here and if I type in my target distance here and if I type in my target distance here and go to position one I focus pulls saw go to position one I focus pulls saw go to position one I focus pulls saw that there now I'm going to go into that there now I'm going to go into that there now I'm going to go into Cartesian view and I'm going to use Cartesian view and I'm going to use Cartesian view and I'm going to use Cartesian view to rotate around my Cartesian view to rotate around my Cartesian view to rotate around my target to there I have a slight target to there I have a slight target to there I have a slight variation in position there however I'm variation in position there however I'm variation in position there however I'm going to use that as my start position going to use that as my start position going to use that as my start position but I'm going to use party here view to set set that position just to line up perfectly that position just to line up perfectly that position just to line up perfectly I'm going to use locked view to trim my I'm going to use locked view to trim my I'm going to use locked view to trim my side to side shot of my target that is side to side shot of my target that is side to side shot of my target that is now my first position now back into now my first position now back into now my first position now back into Cartesian view I'm going to pull out on Cartesian view I'm going to pull out on Cartesian view I'm going to pull out on X that is going to be my end position X that is going to be my end position X that is going to be my end position add a line and using Cartesian view I add a line and using Cartesian view I add a line and using Cartesian view I have pulled out in X and my focus axis have pulled out in X and my focus axis have pulled out in X and my focus axis has pulled out the correct distance and has pulled out the correct distance and has pulled out the correct distance and my target has correspondingly been my target has correspondingly been my target has correspondingly been pulled out the correct distance so I now pulled out the correct distance so I now pulled out the correct distance so I now have a true position move and I have 25 have a true position move and I have 25 have a true position move and I have 25 frames camera running and for second frames camera running and for second frames camera running and for second move bear so if I now robot fast back move bear so if I now robot fast back move bear so if I now robot fast back run and shoot it damaged my move if I run and shoot it damaged my move if I run and shoot it damaged my move if I wish to now I can see if I can make that wish to now I can see if I can make that wish to now I can see if I can make that go faster let's see if I can run that go faster let's see if I can run that go faster let's see if I can run that faster there I have it took me just over faster there I have it took me just over faster there I have it took me just over 5 minutes and I have programmed a useful 5 minutes and I have programmed a useful 5 minutes and I have programmed a useful move move move [Music] [Music] [Music] this is been a mark of a commercial this is been a mark of a commercial this is been a mark of a commercial control training video thank you for control training video thank you for control training video thank you for watching watching watching [Music]