subject
Engineering, 09.11.2019 01:31 samuribe17

6. (6 pts) you are developing an easycpro program for a robot with two motors and four sensors (two bumper switches and two limit switches) to perform the following tasks: the robot should continue moving until it hits an obstacle. upon hitting an obstacle (any one of the sensors is activated), it should stop, pause, backup, pause, turn and continue. a) explain what is happening in the code outlined by the red box. b) fill in the missing code where indicated. #include "main. h"void main (void){int limit1; int limit2; int bumper1; int bumper2; while (1==1){limit1 = getdigitalinput (5); limit2 = getdigitalinput (6);

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Aloaded platform of total mass 500 kg is supported by a dashpot and by a set of springs of effective stiffness 72 kn/m. it is observed that when the platform is depressed through a distance x = 12.5 cm below its equilibrium position and then released without any initial velocity; it reaches its equilibrium position in the shortest possible time without overshoot. find the position and velocity of the loaded platform 0.10 sec. after its release. if a further load of 400 kg is added to the platform, find, i) the frequency of damped vibrations, and i) the amplitude of vibration after 2 complete oscillations, given that the initial amplitude is 15 cm.
Answers: 1
question
Engineering, 04.07.2019 18:10
During a steady flow process, the change of energy with respect to time is zero. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:10
The higher the astm grain-size number, the coarser the grain is. a)-true b)-false
Answers: 3
question
Engineering, 04.07.2019 18:10
Which of the following refers to refers to how well the control system responds to sudden changes in the system. a)-transient regulation b)- distributed regulation c)-constant regulation d)-steady-state regulation
Answers: 1
You know the right answer?
6. (6 pts) you are developing an easycpro program for a robot with two motors and four sensors (two...
Questions
question
Mathematics, 30.03.2021 23:50
question
Physics, 30.03.2021 23:50
question
Mathematics, 30.03.2021 23:50
question
Physics, 30.03.2021 23:50
question
Mathematics, 30.03.2021 23:50
question
Mathematics, 30.03.2021 23:50
Questions on the website: 13722363