Utilising Abstraction for a Range of Sensor Classes - IT Assignment Help

Download Solution Order New Solution
Assignment Task

 

Task    

Task: Write a program in C++ using object oriented paradigms that embodies a range of Mechatronics sensors,  utilising abstraction, encapsulation, inheritance and polymorphism. Supply appropriate auto-generated  documentation utilising inline source mark-up. 
Rationale: In a Mechatronics System we would use a class to represent a real-world object such as a Sensor. In large  projects to facilitate testing it is common to develop a mock (fake) sensor class that behaves the same as the  real sensor. This allows for some system testing without the presence of all hardware.  Sensors producing data of similar nature are often abstracted from a base sensor (ie. sensor that produce range to  the sensor surrounding such as a radar/laser/sonar). This allows treating a suite of sensors in an abstract manner  when processing the data, the remaining of our processing code can be agnostic to the sensor type. 
Your task is to: 
(a)
Create a base sensor class and expand it to a range of sensors
(b) Create a class to process this data that is agnostic to the sensor type and process that data to produce fused from sensor output data

The Ranger will need to inherit (use as base class) the RangerInterface header and implement its virtual functions  without changing the function declarations (signatures).
B) Each Sensor will need to
1. Initialise all the required variables to enable using the sensor
2. Enable obtaining all the hardware specific fixed parameters of the sensor
3. Enable setting configurable parameters of the sensor
4. Inform if the values to be set are sane (supported), otherwise use previous values
5. Obtain sample sensor data at specific sensor angular resolution and within sensing range (Generated as random numbers within sensor specifications, normal distribution: mean 5m standard deviation 6m).
C) The RangerFusion Class will need to
1
. Accept a STL container of Sensors
2. Accept a STL container of Cells (cells are essentially squares)
3. Determines the area to be covered by cone type sensors (as a union of sensing area). Solely for this task approximating the cone with a triangle is acceptable.
4. Produce a fusion of sensor readings at the supplied cells, dealing with readings that are on the boundary of the sensing range (max range). Cell Fusion is discussed in subsequent pages of this document. For this task
the cone-based sensors can NOT be approximated as a triangle.
5. Return an STL container of raw unfused data (data must be that of raw data used for fusion)
6. You will need to inherit (use as base class) the RangerFusionInterface header and implement its virtual functions without changing the function declarations (signatures)
 

 

This IT Assignment has been solved by our IT Experts at My Uni Papers. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.
    

Be it a used or new solution, the quality of the work submitted by our assignment Experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.