bodyCtrl.h File Reference

並進速度、回転制御を指定した筐体の制御 More...

#include "wheelCtrl.h"

Include dependency graph for bodyCtrl.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bodyInfo_t
 筐体情報の管理 More...

Defines

#define BODY_TREAD_MM   290.7
#define DEFAULT_WHL_RIGHT   WHL_CW_BACK
#define DEFAULT_WHL_LEFT   WHL_CW_BACK

Enumerations

enum  MtrDirSettings {
  WHL_CW_FWD = +1, WHL_CW_BACK = -1, BODY_WHL_RIGHT = 0, BODY_WHL_LEFT = 1,
  DIV2VEL_CONST_SHIFT = 4
}

Functions

void initBodyInfo (bodyInfo_t *body, wheelInfo_t *right, wheelInfo_t *left)
int change_bodyDiv2Whl (int div16_vel, bodyInfo_t *body)
void setBodyMove (bodyInfo_t *body, int straight_mm_vel, int rotate_div16_vel)

Variables

 BEGIN_C_DECLS
 END_C_DECLS


Detailed Description

並進速度、回転制御を指定した筐体の制御

Author:
Satofumi KAMIMURA
$Id$

Definition in file bodyCtrl.h.


Enumeration Type Documentation

Enumerator:
WHL_CW_FWD  モータの CW 回転で、前進する方向に移動
WHL_CW_BACK  モータの CW 回転で、後進する方向に移動

Definition at line 27 of file bodyCtrl.h.


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