Skip to content

autonomous-viranjan/autonomous_racing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autonomous_racing

  • ROS package for autonomous racing using optimal control
  • Contains ROS nodes to run high level planner and low level tracking controller together

Description:

High level:

  • pdgplanner.py is the high-level planner class of the Ego vehicle
  • aiagent.py contains competing AI agent class
  • high_level_node is the ROS node calling these classes

Low Level:

  • tracking_MPC_allConstr.mexa64 is the the controller compiled from ACADO Toolkit
  • nlmpc_autorace_sim_allConstr.m is the low level control simulation ros node

Key dependencies:

Instructions to run:

$ cd ~/catkin_ws/src
$ git clone https://github.com/pgupta2050/autonomous_racing.git
$ roscore
$ rosrun autonomous_racing high_level_node.py

Then run the MATLAB file nlmpc_autorace_sim_allConstr

Simulation result for a circular track with 1 competing agent

Results Snaps

Time snaps: ego in blue and competitor in red

Contributors:

About

Applied Optimal Control course research project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 64.8%
  • C 23.9%
  • MATLAB 6.4%
  • Python 4.2%
  • Other 0.7%