ErraticMotorPacket Class Reference

List of all members.

Detailed Description

Definition at line 37 of file motorpacket.h.

Public Member Functions

bool Parse (unsigned char *buffer, int length)
void Print ()
void Fill (player_erratic_data_t *data)
 ErraticMotorPacket (int idx)

Public Attributes

bool lwstall
bool rwstall
unsigned char status
unsigned char battery
unsigned short ptu
unsigned short timer
unsigned short rawxpos
unsigned short rawypos
short angle
short lvel
short rvel
short control
int xpos
int ypos
int x_offset
int y_offset
int angle_offset

Private Member Functions

int PositionChange (unsigned short, unsigned short)
 Videre Erratic robot driver for Player.

Private Attributes

int param_idx

Member Function Documentation

int ErraticMotorPacket::PositionChange ( unsigned short  from,
unsigned short  to 
) [private]

Videre Erratic robot driver for Player.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition at line 31 of file

Referenced by Parse().

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

Last updated 12 September 2005 21:38:45