ENEX20001 C Language Tasks Assignment
ENEX20001 2023/T1
Assignment 1 C Language Tasks
Due date: | Friday,14th April 2023, 23:59hrs. | |
ASSESSMENT 1 | ||
Weighting: | 20% of the unit total | |
Length: Submission |
N/A See the submission requirements |
Assignment Tasks
In this assignment, you are required to write C language code to autonomously move an E-puck robot from Location A to Location B as shown in the following figure using the WeBot simulator. Follow the Webot tutorials in Weeks 2-4 to learn how to achieve these goals.
The Webot World file can be downloaded from the Assignment folder of the Moodle site and you are not allowed to modify it anyway. The robot needs to achieve the following goals as shown in Table 1 and marks will be allocated accordingly.
You need to prepare a report, write a C code and record a simulation video as evidence to show the robot is capable of achieving each goal.
Goals | Marks (100) | Submission Requirements |
Goal 1- The robot navigates from A to B without colliding with any of the walls using the distance sensors | 30 | Write a C code to achieve this goal.
The code is well-commented and all references are given Attach a screenshot of your code and explain how your code achieved this task. Use flowcharts to explain the code. Include this in your report. The recorded simulation video clearly shows that the robot avoided all the obstacles successfully |
Goal 2- The robot escapes the maze arena using the shortest possible path | 30 | Write a C code to achieve this goal.
The code is well-commented and all references are given Attach a screenshot of your code and explain how your code achieved this task. Use flowcharts to explain the code. The recorded simulation video clearly shows that the robot exits the Maze using the shortest possible path |
Goal 3 – Once the robot exits the Maze then it uses its light sensors to navigate to the light source location B. When it reaches the light source location the robot stops and Blinks its LEDs every second | 40 | Write a C code to achieve this goal.
The code is well-commented and all references are given Attach a screenshot of your code and explain how your code achieved this task. Use flowcharts to explain the code. Include this in your report. The recorded simulation video clearly shows that the robot navigates to location B using the light sensors and stops when it reaches location B. Then it blinks the LEDs |
Table 1 – Goals and the requirements
You need to submit to Moodle the following files as evidence that your robot achieved all of the goals mentioned in table 1. Without these, your submission won’t be completed.
- A report that includes answers to the submission requirements (2, 7, and 11) for each goal task in Table 1. The report must be converted to PDF format and submitted to Moodle. The first page of the report should include the assignment name, your name, student number, unit code, and unit name. Each goal should have a subsection in the report with the answers to the submission requirements outlined in Table 1.
- Your complete C code must be copied to a Word file and then converted to PDF format. This file should be submitted to the Moodle site.
- Create a zip file that includes all the files in your project folder, and submit it to Moodle.
- Record a video of your simulation and submit it to Moodle. The video must be less than 100 MB. If your simulation cannot be included in a single video file, please record multiple video files.
Warning: It is important to note that this assignment is intended to be completed individually, and sharing your code with others is strictly prohibited. If you use any external resources including tutorial sample codes, please ensure that you provide clear references in the comments to avoid plagiarism. CQUniversity places a high value on academic honesty and integrity, and any breach of these standards may result in severe penalties. If you require additional guidance on academic integrity, please refer to the information provided in the following link.