20#ifndef INC_LOOP_FCN_DEF_H_
21#define INC_LOOP_FCN_DEF_H_
28#define STOP_CONST_LEFT (1000.0f/7.808f)
31#define STOP_CONST_RIGHT (1000.0f/11.7f)
34#define STOP_CONST_OFF_LEFT 1.552f
37#define STOP_CONST_OFF_RIGHT 0.047f
43#define PULSE_IGNORE 50
71static void regul_stop(uint32_t * p_reg, uint32_t * p_ticks);
93static void regul_return(uint32_t * p_reg, uint32_t * p_ticks,
float set_pos);
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.