A vehicle trajectory simulation using a kinematic model with closed-loop control.
- C++ compiler (g++ or clang++)
- Make
- Python 3.6+
Run the all-in-one build script:
chmod +x build.sh
./build.sh
This will:
- Build the C++ project
- Run the simulation
- Generate trajectory data in
docs/trajectory.txt
- Create plots in
docs/trajectory.png
src/
: C++ source codedocs/
: Output filesbuild/
: Compiled binariesplots.py
: Visualization scriptbuild.sh
: Build and run scriptsetup.sh
: Python environment setup
make
./build/car_sim
source setup.sh
python plots.py [--file PATH] [--output DIR]
- Edit source files in
src/
- Run
./build.sh
to rebuild, run, and visualize - Or run individual steps manually as needed