Write a simulation program (in Visual Logic) that instructs Robi to walk towards the walls, to point A first and secondly to point B, and then return to its original sitting position, with an accuracy of +/ – 7 cm. The user of your program should be able to specify the number of trips.

Robotics Robi – the robot – responds to the following commands: • Rotate: 00 – 3600 degree turns, left or right (e.g., rotateLeft(20)) • Stand up: (e.g., standUp) • Sit down: (e.g., sitDown) • Walk (only forward): in 0.5 or 0.75 steps, in meters (e.g., walkStep(0.5)) Initial State: Robi is sitting on a chair.

 

Write a simulation program (in Visual Logic) that instructs Robi to walk towards the walls, to point A first and secondly to point B, and then return to its original sitting position, with an accuracy of +/ – 7 cm. The user of your program should be able to specify the number of trips. Between trips, Robi should rest for a few seconds. Your program should reveal the various actions performed by Robi. The program must: • Indicate the direction of the robot rotation (e.g., left, right), and the corresponding number of degrees. • Indicate the number of steps, identified by the distance covered by each step. • Instruct the robot to walk a minimum total distance for each trip.

Is this question part of your Assignment?

We can help

Our aim is to help you get A+ grades on your Coursework.

We handle assignments in a multiplicity of subject areas including Admission Essays, General Essays, Case Studies, Coursework, Dissertations, Editing, Research Papers, and Research proposals

Header Button Label: Get Started NowGet Started Header Button Label: View writing samplesView writing samples