heelstrike.h

Go to the documentation of this file.
00001 
00007 #ifndef __H_HEELSTRIKE__
00008 #define __H_HEELSTRIKE__
00009 
00010 //typedef enum hs_states{
00011 //  HS_IDLESWING,
00012 //  HS_DATACOLLECT,
00013 //  HS_LOOKING4HS,
00014 //  HS_IDLESTANCE,
00015 //  HS_LOOKING4HUP,
00016 //} HS_STATE;
00017 
00018 //Fucntions
00019 void hs_init(float exp_filter_coeff, int confidence, int threshold,  int cmax, INT_VOID_F get_right, INT_VOID_F get_left);
00020 void hs_update(void);
00021 void hs_set_state(float next_state);
00022 void hs_calc_filtered_data(void);
00023 void hs_look4hup(void);
00024 void hs_look4hs(void);
00025 int hs_get(void);
00026 float hs_get_float(void);
00027 
00028 #endif // __H_HEELSTRIKE__
00029 
Generated on Tue Jun 29 16:36:14 2010 by  doxygen 1.6.3