Fall 2009ACS-1805 Ron McFadyen1 Point of View An object’s Point of View comprises its position and orientation. Position tells us where the object is in.

Slides:



Advertisements
Similar presentations
Defining the Viewing Coordinate System
Advertisements

Learn to recognize, describe, and show transformations.
Using “AsSeenBy” In Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University July 2008.
University of Bridgeport
Fall 2008ACS-1805 Ron McFadyen1 Programming Concepts Chapter 4 introduces more advanced OO programming techniques. Construction of a programs usually requires:
Kinematic Modelling in Robotics
Kinematics Pose (position and orientation) of a Rigid Body
Airplane Flight: X-Plane in the Classroom Control Pitch - nose moves up and down.
Alice: A Visual Introduction to Programming Chapter 1 Part 3.
Fall 2009ACS-1805 Ron McFadyen1 Functions A function is a collection of statement, similar to a method, but a function is defined to return a value to.
Fall 2007ACS-1805 Ron McFadyen1 Functions and if-else A function is a collection of statement, similar to a method, but a function is defined to return.
3-D Geometry.
Fall 2007ACS-1805 Ron McFadyen1 Chapter 8 Recursion.
CS320n –Visual Programming Functions Mike Scott (Slides 6-1) Thanks to Wanda Dann, Steve Cooper, and Susan Rodger for slide ideas.
Fall 2007ACS-1805 Ron McFadyen1 Chapter 4 OO Programming Concepts.
Fall 2008ACS-1805 Ron McFadyen1 Programming Concepts Chapter 4 introduces more advanced OO programming techniques. Construction of a programs usually requires:
Part 2 - Pitch and Roll Yaw
3D VIEWING ILLUSTRATED. WHAT YOU SEE DEPENDS ON YOUR POSITION In the real world, what you see depends on where you stand, the direction you look, how.
Don Slater Wanda Dann Motion and Rotation Copyright 2012 Wanda Dann, Don Slater All rights reserved.
Kinematics of Robot Manipulator
I NTRODUCTION TO R OBOTICS CPSC Lecture 3A – Forward Kinematics.
Motion and Rotation. 3 Dimensional Space  An Alice object o Is located in a 3D world, positioned at (x, y, z) o has 3 dimensions o height, width, depth.
Translations, Reflections, and Rotations
Holt CA Course 1 8-7Transformations Warm Up Warm Up California Standards California Standards Lesson Presentation Lesson PresentationPreview.
Creating An Animation Program Part 2 Alice. Method A segment of program code (instructions) that defines how to perform a specific task.
Don Slater Wanda Dann Joint Operations Copyright 2012 Wanda Dann, Don Slater All rights reserved.
In mathematics, a transformation
What we will do today Learn about functions in Alice.
SCARA – Forward Kinematics
Quadratics cutting axis (2) Algebra Quadratics cutting the x and y axis. In each of the examples which follow, you are asked to a) Find the points where.
8-10 Translations, Reflections, and Rotations Course 2 Warm Up Warm Up Problem of the Day Problem of the Day Lesson Presentation Lesson Presentation.
8-10 Translations, Reflections, and Rotations Course 2 Warm Up Warm Up Problem of the Day Problem of the Day Lesson Presentation Lesson Presentation.
The Camera Course Information CVG: Programming 4 My Name: Mark Walsh Website: Recommended Reading.
Methods (part 2) Alice In Action, Ch 2 Slides Credit: Joel Adams, Alice in Action CS 120 Lecture 03 4 September 2012.
Graphics CSCI 343, Fall 2015 Lecture 16 Viewing I
Fall 2007ACS-1805 Ron McFadyen1 Chapter 2 Creating Your First Animation (An Introduction to Programming)
Tutorials NXT-G / EV3 Programming. Tutorials NXT-GEV3.
Joint Motion Copyright 2014 Wanda Dann, Don Slater All rights reserved.
Camera. “Up”, “Forward” and “Along” The three camera view vectors are defined as shown:
DRILL 1) If A is in between points B and C and AC is 4x + 12 and AB is 3x – 4 and BC is 57 feet how long is AB? 2) Angles A and B are Supplementary if.
Geometric Transformations Math 9. 1.) Translations A slide! Moving the shape left or right and/or up or down. The shape can move horizontally (left/right)
Lesson 8C Animation and Events. Step 3: Animation Drag it into the method and have him say “let her go!” Click on the knight in the object tree and scroll.
COMP322/S2000/L81 Direct Kinematics- Link Coordinates Questions: How do we assign frames? At the Joints? At the Links? Denavit-Hartenberg (D-H) Representation.
End effector End effector - the last coordinate system of figure Located in joint N. But usually, we want to specify it in base coordinates. 1.
Aircraft Auto Pilot Roll Control System
Translations, Reflections, and Rotations. Vocabulary Transformation- changes the position or orientation of a figure. Image- the resulting figure after.
Alice in Action with Java Chapter 2 Methods. Alice in Action with Java2 Objectives Build world-level methods to help organize a story into scenes and.
CS0007: Introductory Programming Rotational Motion.
Kinematics 제어시스템 이론 및 실습 조현우
Denavit-Hartenberg Convention
Add and Subtract Negative Numbers
Learn about functions in Alice
Properties of Operations for Real Numbers
Denavit-Hartenberg Convention
Preview Warm Up California Standards Lesson Presentation.
Alice in Action with Java
Absolute Value Functions and Graphs
Graphing & Describing “Translations”
Section 10.3.
Practicing with directionality
DRILL If A is in between points B and C and AC is 4x + 12 and AB is 3x – 4 and BC is 57 feet how long is AB? Angles A and B are Supplementary if.
Transformations Day 1 Notes Slideshow.
DRILL If A is in between points B and C and AC is 4x + 12 and AB is 3x – 4 and BC is 57 feet how long is AB? Angles A and B are Supplementary if.
Which way does the robot have to turn to get to the charger?
Rotation: all points in the original figure rotate, or turn, an identical number of degrees around a fixed point.
Reflections in Coordinate Plane
Throttle, Yaw, Pitch, Roll
Transformations.
The six degrees of freedom that specify the position and orientation of the batoid (ray) body. The six degrees of freedom that specify the position and.
Event-driven programming
Presentation transcript:

Fall 2009ACS-1805 Ron McFadyen1 Point of View An object’s Point of View comprises its position and orientation. Position tells us where the object is in the world. Orientation tells us the direction an object is facing. An object’s position is given by 3 values: location in the world’s LR axis, location in the world’s FB axis, location in the world’s UD axis. See the pointOfView.position property values. An object’s orientation is given by 3 values: yaw, pitch, roll. Yaw is the objects rotation about the UD axis. Pitch is the object’s rotation about the LR axis. Roll is the object’s rotation about the FB axis. See The PointOfView property for objects

Fall 2009ACS-1805 Ron McFadyen2 Orientation of objects Each object has its own coordinate system that provides its own sense of direction If Bob is asked to turn left ¼ revolution, Bob’s sense of direction turns with him forward Bob Note here that Bob rotated on his up-down axis. An object’s yaw is how much the object is rotated along this up-down axis since its original position.

Fall 2009ACS-1805 Ron McFadyen3 Orientation of objects Bob had just turned… Now if we ask Bob to move forward, Bob advances along the forward-backward axis forward

Fall 2009ACS-1805 Ron McFadyen4 Orientation of objects Bob had moved forward… Now if we ask Bob to turn forward, Bob rotates on the left- right axis forward right Note here that Bob rotated on his left-right axis. An object’s pitch is how much the object is rotated along this left-right axis since its original position.

Fall 2009ACS-1805 Ron McFadyen5 Orientation of objects Consider Bob back at … Now if we ask Bob to roll left, Bob rotates on the forward- backward axis Note here that Bob rotated on his forward- backward axis. An object’s roll is how much the object is rotated along this forward-backward axis since its original position. forward

Fall 2009ACS-1805 Ron McFadyen6 Orientation of objects Each object has its own coordinate system that provides its own sense of direction If Dave and Peter are asked to move forward, they go in opposite directions You reset an object’s coordinate system by using orient to to give both the same sense of direction Dave orient to Peter forward Dave Peter

Fall 2009ACS-1805 Ron McFadyen7 Orientation of objects You reset an object’s coordinate system and location by using set point of view Dave set point of view Peter forward Dave Peter

Fall 2009ACS-1805 Ron McFadyen8 Move, Turn, Roll Action ParametersSample object Moveleft, right, forward, back, up, downany object Turnleft, right, forward, backdoor Rollleft, rightknob, dial forward Dave

Fall 2009ACS-1805 Ron McFadyen9 Move, Turn, Roll MoveTurnRoll e.g.liddialknob door

Fall 2009ACS-1805 Ron McFadyen10 Arguments Duration: the default length of time for an action is one second – this can be modified Style: the smoothness of an action is controlled using one of the values begin gently, begin abruptly, end gently, end abruptly As seen by: the sense of direction (orientation) for an action is by default determined by the object that is acting, but this can be changed by specifying a different object to use for direction