Robot Programming 1. There are 5 LEDs on the robot infrared Detector Board. The
ID: 2293234 • Letter: R
Question
Robot Programming
1. There are 5 LEDs on the robot infrared Detector Board. The LED5 is currently off. What does that mean? DS / • R20 • Group ! TP2 O Longer lead side · LA Lens D?........ R19 DO ULS R18 . .. . SU3 longer JI •c7 €17 Black wire-.. TPS a SJSU ENGR10 IR Receiver OTPO a) The robot is looking for the green beacon. b) The robot is looking for the red beacon. c) The robot is programmed incorrectly. d) The board is not working correctly. e) The ambient frequently is set too high. 2. A bumper switch is mounted to a robot. The bumper switch is connected to digital input port #2. The right wheel is attached to motor port 2 and the left wheel is attached to motor port 3. The following program is used to control this robot. SetPWM(3.50); SetPWM(2.-50); while (1 == 1) bumper = GetDigitalInput(2); if (bumper == 0) SetPWM(3.-50); SetPWM(2,50); Which one of the following statements most likely describes the behavior of this robot? a) The robot will move forward but stop when the bumper switch is hit. b) The robot will move forward forever regardless if the bumper hits something or not. c) The robot will move forward but reverse when the bumper switch is hit. d) The robot will move forward but turn to the right when the bumper switch is hit e) The robot will move forward but turn to the left when the bumper switch is hit.Explanation / Answer
1. (e)The Ambient frequently is set too high.
2. (c)The robot will move forward but reverse when the bumper switch is hit.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.