Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image Added
We have targeted rounding to the closest 100 m below the predicted altitude, using a PD controller.

This PD controller has been implemented twice: in Java, for use in the OpenRocket Simulator (see Custom Technologies page), and again in C++ for use on the STM32-duino based board of the flight computer. Code is available on github at

https://github.com/MDNich/ActiveControl_MIT_RktTeam/blob/main/clone/openrocket-release-24.12.RC.01/core/src/main/java/info/openrocket/core/simulation/listeners/AirbrakesControllerListener.java

and 

https://github.com/MIT-Rocket-Team/RT_Firmware_Libs/blob/master/airbrakes.cpp and https://github.com/MIT-Rocket-Team/RT_Firmware_Libs/blob/master/airbrakes.h


For the Zephyrus Test Launch, graph output shows controlled behavior to arrive at an altitude of 4805 meters according to the (flawed) predicted altitude algorithm part of the airbrakes controller; control output was bounded and stable. 
However, this prediction of the altitude was not correct in that predictions matched neither barometer or GPS readings, and so this mission was not successful.

A full description of the algorithm is found in section 11 of the flight manualAssigned to: Marc N