#ifndef VELOCITY_INFO_H
#define VELOCITY_INFO_H

/*!
  \file
  \brief 平滑化した速度を返す

  \author Satofumi KAMIMURA

  $Id: velocityInfo.h 286 2008-10-20 09:40:22Z satofumi $
*/

#include "bodyPosition.h"


/*!
  \brief 平均速度の管理
*/
typedef struct {
  int straight_mm_sec_vel;
  int rotate_div16_sec_vel;
} velocityInfo_t;


extern void initVelocityInfo(velocityInfo_t *vel);
extern void updateVelocityInfo(velocityInfo_t *vel, bodyPosition_t *bodyPos);

#endif /* !VELOCITY_INFO_H */
