Skip to content

Instantly share code, notes, and snippets.

View AakashKumarNain's full-sized avatar
🎯
Focusing

Aakash Kumar Nain AakashKumarNain

🎯
Focusing
View GitHub Profile
#include "MPC.h"
#include <cppad/cppad.hpp>
#include <cppad/ipopt/solve.hpp>
#include "Eigen-3.3/Eigen/Core"
using CppAD::AD;
// TODO: Set the timestep length and duration
size_t N = 0;
double dt = 0;
@AakashKumarNain
AakashKumarNain / ground_truth_package.h
Last active April 27, 2017 19:31
Unscented Kalman Filter
#ifndef GROUND_TRUTH_PACKAGE_H_
#define GROUND_TRUTH_PACKAGE_H_
#include "Eigen/Dense"
class GroundTruthPackage {
public:
long long timestamp_;
enum SensorType{
@AakashKumarNain
AakashKumarNain / FusionEKF.cpp
Last active April 12, 2017 07:16
Extended Kalman Filter
#include "FusionEKF.h"
#include "tools.h"
#include "Eigen/Dense"
#include <iostream>
using namespace std;
using Eigen::MatrixXd;
using Eigen::VectorXd;
using std::vector;