From 8aca7b2d7567ad4317c3302d465c04c63fe710d3 Mon Sep 17 00:00:00 2001 From: xiao Date: Sat, 21 Mar 2026 22:22:23 +0800 Subject: [PATCH] add gitignore and requirements for simulation --- .gitignore | 73 ++++++++++++++++++++++++++++++++++ Simulation/.gitignore | 79 +++++++++++++++++++++++++++++++++++++ Simulation/requirements.txt | 3 ++ 3 files changed, 155 insertions(+) create mode 100644 .gitignore create mode 100644 Simulation/.gitignore create mode 100644 Simulation/requirements.txt diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1fc524f --- /dev/null +++ b/.gitignore @@ -0,0 +1,73 @@ +# STM32CubeIDE +*.launch +*.cfg +*.mxproject + +# Compiled Object files +*.o +*.obj +*.elf +*.hex +*.bin +*.map +*.list + +# Precompiled Headers +*.gch +*.pch + +# Libraries +*.a +*.la +*.lib + +# Executables +*.exe +*.out +*.app + +# Debug files +*.dSYM/ +*.su +*.cd +*.dep + +# IDE files +*.idea/ +*.vscode/ +*.project +*.cproject +*.settings/ + +# Build directories +Debug/ +Release/ +build/ +cmake-build-*/ + +# Simulation results +Simulation/results/ +Simulation/output/ + +# Python +__pycache__/ +*.py[cod] +*$py.class +*.egg-info/ +dist/ +build/ +*.egg + +# Virtual environments +venv/ +env/ +.venv/ + +# OS generated files +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db \ No newline at end of file diff --git a/Simulation/.gitignore b/Simulation/.gitignore new file mode 100644 index 0000000..a138859 --- /dev/null +++ b/Simulation/.gitignore @@ -0,0 +1,79 @@ +# Python +__pycache__/ +*.py[cod] +*$py.class +*.egg-info/ +dist/ +build/ +*.egg +*.so + +# Virtual environments +venv/ +env/ +.venv/ + +# IDE files +.idea/ +.vscode/ +*.pyo +*.pyd + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Simulation results +results/ +output/ +*.png +*.jpg +*.jpeg +*.gif +*.svg +*.pdf + +# Data files +*.csv +*.dat +*.log \ No newline at end of file diff --git a/Simulation/requirements.txt b/Simulation/requirements.txt new file mode 100644 index 0000000..7ef38b1 --- /dev/null +++ b/Simulation/requirements.txt @@ -0,0 +1,3 @@ +numpy>=1.21.0 +matplotlib>=3.5.0 +scipy>=1.7.0 \ No newline at end of file