00001 #ifndef VELOCITY_INFO_H 00002 #define VELOCITY_INFO_H 00003 00013 #include "bodyPosition.h" 00014 00015 00019 typedef struct { 00020 int straight_mm_sec_vel; 00021 int rotate_div16_sec_vel; 00022 } velocityInfo_t; 00023 00024 00025 //#include "cpp_extern_macro.h" 00026 BEGIN_C_DECLS; 00027 00028 extern void initVelocityInfo(velocityInfo_t *vel); 00029 extern void updateVelocityInfo(velocityInfo_t *vel, bodyPosition_t *bodyPos); 00030 00031 END_C_DECLS; 00032 #endif /* !VELOCITY_INFO_H */ 00033