/****************************************************
 *  DriveUnit.h                                         
 *  Created on: 2012/04/17 11:48:37                      
 *  Implementation of the Class DriveUnit       
 *  Original author: hiroyuki.watanabe                     
 ****************************************************/

#if !defined(EA_3B8C137A_A5B7_40a4_B0AD_404B60018FF5__INCLUDED_)
#define EA_3B8C137A_A5B7_40a4_B0AD_404B60018FF5__INCLUDED_


#include "kernel.h"
#include "kernel_id.h"

#include "Direction.h"

#include "GyroSensor.h"
#include "Motor.h"


// 属性を保持するための構造体の定義
typedef struct DriveUnit
{
	GyroSensor *gyroSensor;
	Motor *rightMotor;
	Motor *leftMotor;
} DriveUnit;

void DriveUnit_drive(DriveUnit* this, DIRECTION direction, unsigned int speed);

#endif /*!defined(EA_3B8C137A_A5B7_40a4_B0AD_404B60018FF5__INCLUDED_)*/

