Download presentation
Presentation is loading. Please wait.
Published byRalf Bradford Modified over 9 years ago
1
LabVIEW Basics Review LabVIEW Robotics Fundamentals
2
LabVIEW Environment Front Panel: Contains Controls and Indicators Block Diagram: Place Commands here Functions Palette: Get Commands from here Context Help: Info on Commands
3
Commands and Pink Wires Commands run one at a time Pink NXT wire makes sequences of commands Specify important settings by wiring Constant Modifiers to terminals on each command
4
Sensors Touch Sensor Pressed or Released No threshold required Ultrasonic Sensor Distance to nearest object, in cm Uses Distance threshold (Near vs. Far) Light Sensor Brightness of light entering clear bulb Uses Brightness threshold (Dark vs. Light) Sound Sensor Loudness of sound at microphone Uses Volume threshold (Quiet vs. Loud) Rotation Sensor (built into motor) Degrees of motor rotation Uses Rotation threshold (Fewer vs. More Rotations)
5
Thresholds A “cutoff” value that divides a large number of possible values into exactly two categories Threshold“Near”“Far” This wall is “far” because the distance to it is greater than the threshold 10 cm20 cm30 cm 40 cm 50 cm60 cm70 cm
6
“Move Until” Behaviors All the behaviors you have learned so far are “Move Until” behaviors – Turn motors on – Wait for _______ (rotations, time, sensor reading) – Stop motors
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.