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

#if !defined(EA_799BFD1A_05E1_4b30_91D8_5E0130950EA5__INCLUDED_)
#define EA_799BFD1A_05E1_4b30_91D8_5E0130950EA5__INCLUDED_


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

#include "Direction.h"
#include "IsOnline.h"

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


// 属性を保持するための構造体の定義
typedef struct LineTracer
{
	unsigned int speed;
	DIRECTION direction;
	GyroSensor *gyroSensor;
	Motor *leftMotor;
	Motor *rightMotor;
	LightSensor *lightSensor;
} LineTracer;

void LineTracer_init(LineTracer* this);
void LineTracer_traceLine(LineTracer* this);

#endif /*!defined(EA_799BFD1A_05E1_4b30_91D8_5E0130950EA5__INCLUDED_)*/

