tRunCtrl_Simulator Class Reference

走行制御モジュールのシミュレートタスク More...

#include <tRunCtrlSimulator.h>

Inheritance diagram for tRunCtrl_Simulator:

Inheritance graph
[legend]
Collaboration diagram for tRunCtrl_Simulator:

Collaboration graph
[legend]

List of all members.

Classes

class  TicksPosition

Public Member Functions

void init (void)
 初期化
void recv (void)
 受信処理
void exec1msec (unsigned long total_msec)
 1msec 毎の処理
void send (void)
 送信処理
bool updatePosition (void)
 筐体位置を更新するか
void setLocalPosition (const VXV::Position3D &position)
 シミュレータの筐体位置を更新
VXV::Position3D getBodyPosition (const VXV::Position3D &position)
 更新された筐体位置

Friends

class mRunCtrl


Detailed Description

走行制御モジュールのシミュレートタスク

Definition at line 25 of file tRunCtrlSimulator.h.


Member Function Documentation

void tRunCtrl_Simulator::exec1msec ( unsigned long  total_msec  )  [virtual]

1msec 毎の処理

Parameters:
total_msec [i] タイムスタンプ

Implements TaskInterface.

Definition at line 67 of file tRunCtrlSimulator.cpp.

References getBodyPosition().

bool tRunCtrl_Simulator::updatePosition ( void   )  [virtual]

筐体位置を更新するか

Returns:
筐体位置を更新する場合に true

Implements TaskInterface.

Definition at line 79 of file tRunCtrlSimulator.cpp.

void tRunCtrl_Simulator::setLocalPosition ( const VXV::Position3D position  ) 

VXV::Position3D tRunCtrl_Simulator::getBodyPosition ( const VXV::Position3D position  )  [virtual]

更新された筐体位置

Parameters:
position [i] 更新前の筐体位置

Implements TaskInterface.

Definition at line 131 of file tRunCtrlSimulator.cpp.

References coordinateInfo_t::div16, runCtrl_t::gl_crd, and VXV::Direction::rad().

Referenced by exec1msec().


The documentation for this class was generated from the following files:

Generated on Mon Apr 13 22:52:07 2009 by  doxygen 1.5.7.1