Question: c++ Alpha Beta Filter Two other classes - GPS and Satellite are already done, found here: http://www.codesend.com/view/179480fd293f7da3a314e80c20cadde6/ Need help with the alpha beta filter class.

c++ Alpha Beta Filter

Two other classes - GPS and Satellite are already done, found here: http://www.codesend.com/view/179480fd293f7da3a314e80c20cadde6/

Need help with the alpha beta filter class.

// AlphaBetaFilter.h

//

// Contains the class definition for a 2D alpha beta filter

//

#pragma once

#include

class AlphaBetaFilter

{

public:

AlphaBetaFilter(double a, double b);

void inializeState(double x, double y, double vx, double vy);

void update(double dt, double x, double y)

std::pair getState();

};

c++ Alpha Beta Filter Two other classes - GPS and Satellite are

already done, found here: http://www.codesend.com/view/179480fd293f7da3a314e80c20cadde6/ Need help with the alpha beta filter

The alpha beta filter class needs to have the following public functions. place the class definition in a header file and the implementations in a separate source file (.cpp) setAlphaBeta void double a, double b sets the alpha and beta members of the class to a and b respectively a. name return parameters: purpose initializeState void double x, double y, double vx, double vy sets the x and and y position and velocity to the input values b. name return parameters: purpose update void C. name return parameters double dt, double x, double y purpose uses the input time differential dt and input signals x and y to update the state of the filter this is done by doing the following i. update the xpos and ypos by adding in their respective velocities multiplied by the time differential The alpha beta filter class needs to have the following public functions. place the class definition in a header file and the implementations in a separate source file (.cpp) setAlphaBeta void double a, double b sets the alpha and beta members of the class to a and b respectively a. name return parameters: purpose initializeState void double x, double y, double vx, double vy sets the x and and y position and velocity to the input values b. name return parameters: purpose update void C. name return parameters double dt, double x, double y purpose uses the input time differential dt and input signals x and y to update the state of the filter this is done by doing the following i. update the xpos and ypos by adding in their respective velocities multiplied by the time differential

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 Databases Questions!