Discover and explore top open-source AI tools and projects—updated daily.
bobzwikPython-based quadcopter simulation and control
Top 99.0% on SourcePulse
<2-3 sentences summarising what the project addresses and solves, the target audience, and the benefit.> This project offers a comprehensive framework for quadcopter simulation and control, utilizing PyDy for symbolic dynamics generation and advanced control implementation. It targets engineers and researchers needing a flexible platform for studying quadcopter dynamics, control systems, and trajectory generation, providing a computationally efficient approach with quaternion representation and detailed simulation models.
How It Works
The project leverages PyDy (Python Dynamics) and SymPy to derive quadcopter multibody dynamics equations via the Kane Method, supporting models with gyroscopic precession and wind/drag. Its simulation component, built with Numpy/Matplotlib, uses a Quadcopter class representing rotation with efficient quaternions and integrating motor dynamics as second-order systems. Control follows a cascade PID architecture inspired by PX4, translating errors into thrust/attitude setpoints and determining motor speeds via a mixer.
Quick Start & Requirements
Core dynamics library installation: pip install pydy or conda install -c conda-forge pydy. Simulation requires Numpy and Matplotlib. No specific hardware prerequisites are noted. Configuration between NED and ENU world frames is managed via config.py.
Highlighted Details
2 years ago
Inactive