Question: 2 3 . 3 Project 3 : Car movement Requirements Summary Create a C + + program that will simulate the behavior of a car,

23.3 Project 3: Car movement
Requirements Summary
Create a C++ program that will simulate the behavior of a car, based on input files that describe its behavior. The input file includes a set of commands to make it move. The output of the program should be a time-series that describes the position and orientation of the vehicle, and records the command given at each time as well..
Data description and motivation
The data in the input file contains an array of input values that describe the input velocity (v) and steering angle rate of change (deltaDot) for the car.
The goal of the project is to simulate a car-like robot's motion. A simple algorithm is applied to simulate the state evolution of the vehicle, based on kinematic motion.
Classes
Your project must use at least the below classes, for which required features are included in their template definitions.
MathVector
Input (note: inherits from MathVector)
State: (note: inherits from MathVector)
The following details are valid for your implementations:
You are free to provide inline implementations if you choose
You are free to add more features and functions to prototyped classes
You are free to edit header files to include other headers commonly available for C++(or to change the way in which your headers are included)
You are free to define other classes; if you do, define them in the Project3 header file, and ensure their implementations are in the Project3 cpp file.
Note: Your code MUST use the given Input and State classes, otherwise 10 points will be deducted from your score.
Additional descriptions for the required classes are below:
MathVector
This class should abstract a one dimensional math vector of double values, with the number of elements of the vector set on construction. It should provide a constructor that permits creating the vector with specified number of elements

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!