WhatsApp +1 (332) 244-5747

program to make the robot

Get your custom paper done at low prices

Y

275 words/page

Y

Double spacing

Y

Free formatting (APA, MLA, Chicago, Harvard and others)

Y

12 point Arial/Times New Roman font

Y

Free title page

Y

Free bibliography & reference

Basically, I have to edit this program to make the robot more efficient. The robot has to go to the survivor’s position, using the smallest amount of fuel as possible. If there is rubble in the way, the robot has to decide whether to go around it or to clear its path. Attached are the Project Intro/Specifications and also the provided files. Below is the robot.m file that I have to edit in order to make a more efficient robot. function move = robot(direction, sensors, crumbs, time, fuel, fuelstart)drow = direction(1);dcol = direction(2);N = 1; E = 2; S = 3; W = 4; drill=4;move = 0;if abs(drow) >= abs(dcol)if drow > 0move = S;elseif drow < 0move = N;elsemove = 0;endendif abs(drow) < abs(dcol)if dcol < 0move = W;elseif dcol > 0move = E;elsemove = 0;endendif move == N && sensors(1,2)>= 20move = N+drill;elseif move == E && sensors(2,3) >= 20move = E+drill;elseif move == S && sensors(3,2) >= 20move = S+drill;elseif move == W && sensors(2,1) >= 20move = W+drill;endAttachment 1Attachment 2Attachment 3Attachment 4Attachment 5Attachment 6Attachment 7Attachment 8Attachment 9

TESTIMONIALS

What Students Are Saying

Outstanding service, thank you very much.

Undergraduate Student

English, Literature

Awesome. Will definitely use the service again.

Master's Student

Computer Science