Robotics Semester 2 Final

0.0(0)
studied byStudied by 34 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/47

flashcard set

Earn XP

Description and Tags

FML

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

48 Terms

1
New cards

(_____) <PRIZM.h> // include PRIZM library

#include

2
New cards

PRIZM(______); // instantiate a PRIZM object “myrobot” so we can use its functions

myrobot

3
New cards

myrobot.(__________); // initialize PRIZM

PrizmBegin()

4
New cards

myrobot.(__________); // turn Motors 1 and 2 on at 25% power

SetMotorPowers(25,25)

5
New cards

delay(__________); // wait here for 7 seconds while motors are spinning

7000

6
New cards

for(int x=1; (_____);(_____){ //Do this three times, increment x by + 1

x < 4 or X <= 3 , X++ or X= X+1

7
New cards

prizm.setMotorPowers(_____); // stop both motors with in brake mode (abrupt stop)

125, 125

8
New cards

prizm.setMotorPowers(_____); // make a left turn (point turn) at 50% power

-50, 50

9
New cards

prizm.setMotorPowers(_____); // stop both motors in brake mode (NOT abrupt stop)

0, 0

10
New cards

measurement of the characteristics and behaviour of such substances as metals, ceramics, or plastics under various conditions

materials testing

11
New cards

rupture of a material too weak to sustain the forces on it

fracture

12
New cards

action or process of changing in shape or distorting, especially through the application of pressure

deformation

13
New cards

the pressure or tension exerted on an object

stress

14
New cards

the pulling apart of an object

tension

15
New cards

making an object longer in relation to its width

elongate

16
New cards

number that describes relative deformation or change in shape and size of a material (change in length per unit length)

strain

17
New cards

to press or squeeze with a force that deforms an object

crushing

18
New cards

decrease in volume of any object resulting from applied stress

compression

19
New cards

a strain in the structure of a substance produced by pressure, when its layers are laterally shifted in relation to one another

shear

20
New cards

strength of a material against the type of yield or structural failure when the material fails in shear

shear strength

21
New cards

the deformation response of a material to forces applied tangentially

inplane shear

22
New cards

maximum load that a material can support without fracture when being stretched

tensile strength

23
New cards

the capacity of a material to deform permanently in response to stress

ductility

24
New cards

testing a materials response to a load placed at one small point testing its ability to deform

hardness testing

25
New cards

a test to determine how much impact force an object can take

impact testing

26
New cards

measure of the ability of a material to transfer heat

thermal conductivity

27
New cards

change in shape or size due to changes in temperature

thermal expansion

28
New cards

natural process that converts a refined metal into a more chemically stable form

corrosion

29
New cards

tendency of a solid material to deform permanently under mechanical stresses

creep

30
New cards

the weakening of a material caused by cyclic loading that results in localized structural damage and the growth of cracks

fatigue

31
New cards

giving way of an object under pressure

yielding

32
New cards

the ultimate failure of tough ductile materials loaded in tension

rupture

33
New cards

a material without capacity to deform without cracking.

brittle

34
New cards

the sudden change in shape (deformation) of a structural component under load

buckling

35
New cards

the capacity of a material or structure to withstand loads tending to reduce size

compressive strength

36
New cards

the area of a two-dimensional shape that is obtained when a three-dimensional object is sliced perpendicular

cross-sectional area

37
New cards

if(prizm._________) { // when sensor is receiving reflected light beam

readLineSensor(3) == 0

38
New cards

if(prizm._______) { // when sensor detects black stripe

readLineSensor(3) == 1

39
New cards

_____{ // infinite loop - stays locked in this loop until reset is pressed

while(1)

40
New cards

prizm.setRedLED(_____); // flash Prizm red LED on OR off (two different answers)

HIGH, LOW

41
New cards

what does this code do?

void loop() { // beam reflected, no line detected

if(prizm.readLineSensor(3) 0){prizm.setMotorPowers(125,30); prizm.setRedLED(LOW);} // no relected beam, line detected if(prizm.readLine

Sensor(3) 1){prizm.setMotorPowers(30,125); prizm.setRedLED(HIGH);} }

follow the edge of a black line on a white surface

42
New cards

if(prizm.readSonicSensorCM(4) > _____) // ?

if sensor on port D4 is ____ cm away do…. (if statement)

43
New cards

if(prizm.______________) //if distance greater than 25cm from sensor on port D4, do …. (if statement)

readSonicSensorCM(4) > 25

44
New cards

prizm._________; // set servo 1 speed to 50;

setServoSpeed(1,50)

45
New cards

prizm.__________; // raise detection flag!

setServoPosition(1,0)

46
New cards

prizm.__________; // lowered flag position

setServoPosition(1,90)

47
New cards

what is the range for setMotorPosition(s)?

0 to 180

48
New cards


what is the range for setMotorPower(s)?

Term

-100 to 100, or 125