Skip to content

thrust vector controlled rocket w/ madgwick filter, PID

Notifications You must be signed in to change notification settings

xpbowler/tvc-rocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

The software behind a thrust vector controlled (TVC) rocket - a rocket able to change its thrust direction based on attitude (orientation in 3D space).

The program has four main steps:

  • Estimate attitude from an inertial measurement unit (IMU) and barometer by advanced sensor-fusion algorithms: Madgwick filter and Kalman filter. Uses quaternions to represent 3D orientation.
  • Proportional – Integral – Derivative (PID) controller actuating servo motors in TVC mount (changing direction of thrust)
  • Live wireless flight data transmission to ground station
  • Parachute ejection at apogee

Dependencies

The software is to be run on a rocket flight computer — main.cc. An STM microcontroller (Teensy 4.1) was used during this project.

Requirements: