Challenge

Project 1 (Mini Project on Vehicle Direction Detection

NOTE:

Dear Sir/Madam, I have attached Simulink Model file, SLDD file, Model advisor report in pdf and snapshots for the reference and justification.

For your Information, I have taken enable subsystem additionally for giving the enable command to other subsystem.
For Example: If vehicle detection mode is activated then only other subsystem will work. Otherwise it will not work.
Thank You !! Justification in words: Step 1: First read the objective and understand the requirements of the project. Step 2: open matlab software and simulink for creation of the block diagram logic. Step 3: create one simulink data dictionary and create all the signals and variables in to the SLDD file as per the mentioned requirement. Step 4: Now, create all the blocks and connect them as per the requirement and define the values in them as per defined SLDD file. Step 5: Now, type ctrl + D for compile the project. Step 6: Now, click on model configurtion paramaters for set the configuration of solver (Fixed-step and 0.01s as sample time) and then run. Step 7: Now, set the code generation parameters like system target file: ert.tlc & language:C etc. and apply. Step 8: Now, click on Analysis button and create the model advisor report in html or pdf format and save into any folder.

Step 9: Now, resolved the errors if any. Otherwise, Go for build process by press Ctrl + B and generate the code generation advisor report. Step 10: Now, Generate the code by click on Code option from menu bar -> C/C++ -> Embedded coder Quick start.
Step 11: Now, observe and examine the overall behaviour of the created project and troubleshoot it, if any error is generated. Step 12: check all the generated reports and code also.


Result of created project:

Case 1: If steering yaw input is Zero, it means steering is in straight direction. (Like Input: 0)
Case 2: If steering yaw input is greater than or equal to 30, it means steering is in right side direction. (Like Input: 30,40,110,125,180 etc.)
Case 3:
If steering yaw input is not equal to zero, it means steering is in left side direction. (Like Input: -1,-120,19,10,-178 etc.)
Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.