Need this in visual logic
Project
Robotics
Robi – the robot – responds to the following commands:
• Rotate: 0 0 – 360
0 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.
Robi sitting – side view
Robi sitting – top view
Walls
4.25 m. – distance from Robi to point A
A
B
4.25 m. – distance from point A to point A/B
A/B
Write a simulation program 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.