Giter Site home page Giter Site logo

trajectory_tracking_simulation's Introduction

trajectory_tracking_simulation

For developing trajectory tracking algorithm with MATLAB.

Run /simulation/main.m to compute trajectory tracking simulation.

Reference path is designed in /path_design/path_design.m using spline from used-defined reference points.

・MPC

mpc

・PID

pid

・pure pursuit

purepursuit

Currently available controller

  • pure-pursuit
  • PID
  • MPC (use Optimization Toolbox)
  • MPC without constraint

Parameters

parameters are all set in /simulation/main.m

simulation

  • simulation_time : overall simulation time
  • simulation_rk4_time_step : time span for integrate dynamics

path

  • vel_ref : reference speed [m/s]

simulated vehicle model

  • param.tau : steering dynamics 1d-approximated time constant [s]
  • param.wheelbase : wheelbase length [m]
  • param.steer_lim : tire angle limit [rad]
  • param.vel_max : max velocity limit [m/s]
  • param.vel_min : min velocity limit [m/s]
  • param.input_delay : input delay [s]
  • param.measurement_noise_stddev : measurement noise standard deviation for [pos x[m], pos y[m], heading[rad], steering[rad]]
  • param.steering_steady_state_error_deg : steady state error for steering model

controllers

for all

  • param.control_dt : control time span (zero order hold) [s]

for pure-pursuit

  • param.pure_pursuit_lookahead : lookahead distance for pure-pursuit controller [m]

for mpc

  • param.mpc_dt : time span for prediction
  • param.mpc_n : step numbers for prediction
  • param.mpc_constraint_steering_deg : steering limit constraint for optimization problem
  • param.mpc_constraint_steer_rate_deg : steering rate limit constraint for optimization problem
  • param.mpc_model_dim : mpc state model dimension
  • param.mpc_Q : state weight matrix for optimization
  • param.mpc_R : input weight matrix for optimization
  • param.mpc_sensor_delay : for sensor delay compensation

trajectory_tracking_simulation's People

Contributors

takahoribe avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.