This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
#include "helpers.h" | |
using std::vector; | |
vector<float> initialize_priors(int map_size, vector<float> landmark_positions, | |
float position_stdev); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef HELP_FUNCTIONS_H | |
#define HELP_FUNCTIONS_H | |
#include <math.h> | |
class Helpers { | |
public: | |
// definition of one over square root of 2*pi: | |
constexpr static float STATIC_ONE_OVER_SQRT_2PI = 1/sqrt(2*M_PI); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | |
"version": 1, | |
"newProjectRoot": "projects", | |
"projects": { | |
"AngularExtensionProject": { | |
"root": "", | |
"sourceRoot": "src", | |
"projectType": "application", | |
"prefix": "app", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"manifest_version": 2, | |
"name": "Angular Extension", | |
"description": "Una extension construida con Angular", | |
"version": "1.0", | |
"browser_action": { | |
"default_icon": "icon.png", | |
"default_popup": "index.html" | |
}, | |
"permissions": [], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ng new AngularExtensionProject |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install -g @angular/cli |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include "Dense" | |
#include <vector> | |
using namespace std; | |
using Eigen::MatrixXd; | |
using Eigen::VectorXd; | |
using std::vector; | |
VectorXd CalculateRMSE(const vector<VectorXd> &estimations, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include "Dense" | |
#include <vector> | |
#include <math.h> | |
using namespace std; | |
using Eigen::MatrixXd; | |
using Eigen::VectorXd; | |
MatrixXd CalculateJacobian(const VectorXd& x_state); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "kalman_filter.h" | |
KalmanFilter::KalmanFilter() { | |
} | |
KalmanFilter::~KalmanFilter() { | |
} | |
void KalmanFilter::Predict() { | |
x_ = F_ * x_; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Write a function 'filter()' that implements a multi- | |
// dimensional Kalman Filter for the example given | |
//============================================================================ | |
#include <iostream> | |
#include "Dense" | |
#include <vector> | |
using namespace std; | |
using namespace Eigen; |