Robotics 17/05/2023 Gaspar2020 May 17, 2023 Uncategorized what we have done: add the following (to line 3) and modify the line 4: then add the following loop(s)…