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, 03.07.2019 14:10
The y form of iron is known as: a) ferrite b) cementite c) perlite d) austenite
Answers: 3
question
Engineering, 03.07.2019 15:10
Heat is added to a piston-cylinder device filled with 2 kg of air to raise its temperature 400 c from an initial temperature of t1 27 cand pressure of pi 1 mpa. the process is isobaric process. find a)-the final pressure p2 b)-the heat transfer to the air.
Answers: 1
question
Engineering, 04.07.2019 18:10
If a particle moves along a path such that r : (3 sin t) m and ? : 2t rad, where t is in seconds. what is the particle's acceleration in m/s in 4 seconds? a)- 16.43 b)- 16.29 c)- 15.21 d)- 13.79
Answers: 1
question
Engineering, 04.07.2019 18:10
Afluid flows with a velocity field given by v=(x/t)i.. determine the local and convective accelerations when x=3 and t=1.
Answers: 2
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, 24.08.2019 17:50
question
Mathematics, 24.08.2019 17:50
question
Mathematics, 24.08.2019 17:50
question
Mathematics, 24.08.2019 17:50
question
Chemistry, 24.08.2019 17:50
Questions on the website: 13722363