Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
com.github.c77.base_driver.create.CreateBaseDevice Class Reference
Inheritance diagram for com.github.c77.base_driver.create.CreateBaseDevice:
Inheritance graph
[legend]

List of all members.

Classes

class  BaseSpeedValues

Public Member Functions

 CreateBaseDevice (UsbSerialDriver driver)
BaseStatus getBaseStatus ()
OdometryStatus getOdometryStatus ()
void initialize ()
void move (double linearVelX, double angVelZ)

Private Member Functions

void sendMovementPackage (BaseSpeedValues speeds)
BaseSpeedValues twistToBase (double linearVelX, double angVelZ)
void write (byte[] command)

Private Attributes

Double createBaseDiameter = 0.33
Double createWheelRadius = 0.04
final byte DirectDrive = (byte) 145
final byte FullMode = (byte) 132
final byte SetBaudrate57600 = (byte) 5
final byte Start = (byte) 128

Static Private Attributes

static UsbSerialDriver device = null
static final Log log = LogFactory.getLog(CreateBaseDevice.class)

Detailed Description

Definition at line 33 of file CreateBaseDevice.java.


Constructor & Destructor Documentation

Definition at line 65 of file CreateBaseDevice.java.


Member Function Documentation

Not implemented for the create base.

Returns:
: Always 0 for all variables.

Implements com.github.c77.base_driver.BaseDevice.

Definition at line 141 of file CreateBaseDevice.java.

Implements com.github.c77.base_driver.BaseDevice.

Definition at line 146 of file CreateBaseDevice.java.

initialize the base. This method should is called by the node before sending movement commands.

Implements com.github.c77.base_driver.BaseDevice.

Definition at line 82 of file CreateBaseDevice.java.

void com.github.c77.base_driver.create.CreateBaseDevice.move ( double  linearVelX,
double  angVelZ 
) [inline]

moves the base. The argument values are the ones transmitted in a twist message.

Parameters:
linearVelX,:linear speed
angVelZ,:rotational speed

Implements com.github.c77.base_driver.BaseDevice.

Definition at line 89 of file CreateBaseDevice.java.

Definition at line 113 of file CreateBaseDevice.java.

BaseSpeedValues com.github.c77.base_driver.create.CreateBaseDevice.twistToBase ( double  linearVelX,
double  angVelZ 
) [inline, private]

Definition at line 94 of file CreateBaseDevice.java.

void com.github.c77.base_driver.create.CreateBaseDevice.write ( byte[]  command) [inline, private]

Definition at line 128 of file CreateBaseDevice.java.


Member Data Documentation

Definition at line 35 of file CreateBaseDevice.java.

Definition at line 36 of file CreateBaseDevice.java.

UsbSerialDriver com.github.c77.base_driver.create.CreateBaseDevice.device = null [static, private]

Definition at line 37 of file CreateBaseDevice.java.

Definition at line 43 of file CreateBaseDevice.java.

Definition at line 42 of file CreateBaseDevice.java.

final Log com.github.c77.base_driver.create.CreateBaseDevice.log = LogFactory.getLog(CreateBaseDevice.class) [static, private]

Definition at line 63 of file CreateBaseDevice.java.

Definition at line 39 of file CreateBaseDevice.java.

Definition at line 41 of file CreateBaseDevice.java.


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


android_base_controller
Author(s):
autogenerated on Fri Aug 28 2015 10:04:47