How tsrour/aionr6-mpc-ros works
Project type and purpose
• This is a ROS (Robot Operating System)-based simulation and control system for autonomous race cars.
• It implements an optimization-based (MPC) controller, a Gazebo simulation environment, custom messages/services, and a plotting toolchain.
File structure
• Top-level: CMakeLists.txt, README.md, and six catkin packages:
• ltvcmpc_controller – the MPC controller node (C++/Python, launch files in launch/).
• ltvcmpc_gazebo_env – Gazebo world, robot model, and launch file.
• ltvcmpc_impl_env – ROS plugins, configuration for the rover implementation.
• ltvcmpc_msgs – custom ROS messages (Constraints, Params, Weights) and services (GetTrack, InitPosition).
• ltvcmpc_plotter – Python plotting scripts and output folders.
• ltvcmpc_services – Python service nodes that serve path-planning data files.
• Each package has its own CMakeLists.txt and package.xml (standard catkin layout).
• Launch directories hold .launch and .yaml configuration files.
• scripts/ folders contain Python nodes and utilities (interpolation, plotting, service servers).
README
• Describes the purpose: simulate an Aion R6 Rover with MPC controller in Gazebo, run mpcc_controller_sim, log and plot results.
• Lists dependencies: Ubuntu 16.04, ROS Kinetic, MAVROS, Python libs (rospkg, pyyaml, matplotlib, osqp).
• Provides high-level run steps.