Add timestep function

This commit is contained in:
Alex Selimov 2026-11-03 22:38:36 -05:00
parent 8904c223cb
commit c0f37a5166
5 changed files with 118 additions and 1 deletions

16
cixdof/integration.h Normal file
View file

@ -0,0 +1,16 @@
#ifndef INTEGRATION_H
#define INTEGRATION_H
#include "drone.h"
struct State {
struct Vec3 x_o2cg_inertial;
struct Vec3 v_cg_inertial;
struct Quat q_inertial2body;
struct Vec3 omega;
};
void timestep(double dt, struct QuadCopter *const quad, int nprop,
struct Propeller *const p, struct State *s);
#endif