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.

Introduction:
Simulation programs play a crucial role in the development and testing of robotic systems. In this assignment, we are tasked with writing a simulation program using Visual Logic for a robot called Robi. The program should instruct Robi to walk towards two specified points, point A and point B, from its initial sitting position, and return to the original sitting position. Additionally, the program should provide details of the actions performed by Robi, including the direction of rotation, number of degrees rotated, number of steps taken, and the distance covered by each step. The accuracy of Robi’s movement should be within +/- 7 cm.

Designing the Simulation Program:
To accomplish the task at hand, we need to design a simulation program that considers the initial state of Robi (sitting on a chair) and the specified number of trips. Each trip consists of Robi walking towards point A and then point B, followed by returning to the initial sitting position.

The program should take into account the various commands that Robi can respond to, including rotation, standing up, sitting down, and walking. These commands are essential for maneuvering Robi and directing its movement.

To achieve the desired accuracy of Robi’s movement, the program should calculate the minimum total distance Robi needs to walk during each trip. This calculation ensures that Robi reaches point A, point B, and returns to its original position while considering the specified accuracy of +/- 7 cm.

Logging Robi’s Actions:
To provide details of Robi’s actions during the simulation, the program should log the direction of robot rotation (left or right) and the corresponding number of degrees. This information helps users understand the movement and rotation of Robi in the environment.

Furthermore, the program should also log the number of steps taken by Robi. Each step will be identified by the distance covered, which can be set to either 0.5 or 0.75 meters. This logging of steps helps users keep track of Robi’s progress during its movement towards point A, point B, and back to the original sitting position.

Conclusion:
In conclusion, designing a simulation program for Robi involves considering the initial state, specified number of trips, and the accuracy of movement. By utilizing the available commands, such as rotation, standing up, sitting down, and walking, Robi can be instructed to move towards point A, point B, and return to its initial position. Logging Robi’s actions, including the direction of rotation, number of degrees rotated, number of steps taken, and distance covered by each step, allows users to analyze and understand Robi’s movement.

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.


Click Here to Make an Order Click Here to Hire a Writer