Question: CSCE 274-Robotics Design and Applications-Fall 2017 Project 1 (10% over the final grade) Assigned: August 30, 2017 Due: October 03, 2017 The purpose of this


CSCE 274-Robotics Design and Applications-Fall 2017 Project 1 (10% over the final grade) Assigned: August 30, 2017 Due: October 03, 2017 The purpose of this assignment is to make sure you can write and execute programs for our iRobot Create 2 robots. Instructions Please read carefully the following tasks and program the robot accordingly. You should do this assignment in the groups that have been assigned The instructions on how to use the robot and how to submit the project assignment is on the webpage of the class, at the following links https://sites.google.com/site/albertoquattrinili/home/teaching/csce274_2017otes_create.pdf https://sites.google.com/site/albertoquattrinili/home/teaching/csce274 2017otes_submission.pdf Tasks Task 1. Write an interface for the serial communication, that includes a. Connection to the serial interface b. Sending of commands. c. Reading of data d. Close the connection. Task 2. Using the interface in Task 1, write an interface for the robot that Control the state of the robot (Start, Reset, Stop, Passive, Safe). Read the state of the buttons. Send a Drive command to set the velocity and the radius of the wheels, given the two as arguments Write a program that utilizes the previous interfaces and a. b. c. Task 3. a. Initializes the robot, by setting it in passive and safe mode. b. If the robot is stopped, once the clean/power button is pressed, move counterclockwise along a regular pentagon with 30 cm sides. The robot stops once the pentagon is covered If the robot is moving, when the clean/power button is pressed, stop the robot when it reaches the current goal vertex Note that the program should continue listening for button presses, both in b. and c. cases, until the program is terminated c. d. Interface here refers to the general concept of Application Programming Interface (API), which is a set of programming instructions (that can be in classes or methods) that can be used to build your own application-.e., that in Task 3. An example in Python that uses classes can be found in https://python.swaroopch.com/oop.html CSCE274- Fall 2017 Project 1 1 of 2 CSCE 274-Robotics Design and Applications-Fall 2017 Project 1 (10% over the final grade) Assigned: August 30, 2017 Due: October 03, 2017 The purpose of this assignment is to make sure you can write and execute programs for our iRobot Create 2 robots. Instructions Please read carefully the following tasks and program the robot accordingly. You should do this assignment in the groups that have been assigned The instructions on how to use the robot and how to submit the project assignment is on the webpage of the class, at the following links https://sites.google.com/site/albertoquattrinili/home/teaching/csce274_2017otes_create.pdf https://sites.google.com/site/albertoquattrinili/home/teaching/csce274 2017otes_submission.pdf Tasks Task 1. Write an interface for the serial communication, that includes a. Connection to the serial interface b. Sending of commands. c. Reading of data d. Close the connection. Task 2. Using the interface in Task 1, write an interface for the robot that Control the state of the robot (Start, Reset, Stop, Passive, Safe). Read the state of the buttons. Send a Drive command to set the velocity and the radius of the wheels, given the two as arguments Write a program that utilizes the previous interfaces and a. b. c. Task 3. a. Initializes the robot, by setting it in passive and safe mode. b. If the robot is stopped, once the clean/power button is pressed, move counterclockwise along a regular pentagon with 30 cm sides. The robot stops once the pentagon is covered If the robot is moving, when the clean/power button is pressed, stop the robot when it reaches the current goal vertex Note that the program should continue listening for button presses, both in b. and c. cases, until the program is terminated c. d. Interface here refers to the general concept of Application Programming Interface (API), which is a set of programming instructions (that can be in classes or methods) that can be used to build your own application-.e., that in Task 3. An example in Python that uses classes can be found in https://python.swaroopch.com/oop.html CSCE274- Fall 2017 Project 1 1 of 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
