Siphon Regulator 1.0
Nanosattelite attitude determination and control system.
Loading...
Searching...
No Matches
loop_fcn_def.h File Reference

Go to the source code of this file.

Macros

#define ANGLE_TOL   5
 
#define STOP_CONST_LEFT   (1000.0f/7.808f)
 
#define STOP_CONST_RIGHT   (1000.0f/11.7f)
 
#define STOP_CONST_OFF_LEFT   1.552f
 
#define STOP_CONST_OFF_RIGHT   0.047f
 
#define GYR_TOL   1.0f
 
#define PULSE_IGNORE   50
 

Functions

static void valve_close (void)
 Closes all valves.
 
static void regul_stop (uint32_t *p_reg, uint32_t *p_ticks)
 It provides the stopping pulse.
 
static void regul_return (uint32_t *p_reg, uint32_t *p_ticks, float set_pos)
 It initiates the return to the stable orientation.