Public Member Functions | Private Member Functions | Private Attributes
Omni3MD Class Reference

#include <Omni3MD.h>

List of all members.

Public Member Functions

void calibrate_omni ()
void i2c_connect (byte omniAddress)
void mov_lin3M_pid (byte way1, byte speed1, byte way2, byte speed2, byte way3, byte speed3)
float read_battery ()
int read_enc1 ()
int read_enc2 ()
float read_firmware ()
float read_temperature ()
void set_enc_value (byte encoder, word encValue)
void set_i2c_address (byte newAddress)
void set_i2c_timeout (byte timeout)
void set_PID (word Kp, word Ki, word Kd)
void set_prescaler (byte encoder, byte value)
void stop_motors ()

Private Member Functions

byte i2cRequestData (byte addressValue, byte command)
void i2cSendData (byte addressValue, byte command, byte buffer[], byte numBytes)

Private Attributes

byte _omniAddress

Detailed Description

Definition at line 63 of file Omni3MD.h.


Member Function Documentation

Definition at line 54 of file Omni3MD.cpp.

void Omni3MD::i2c_connect ( byte  omniAddress)

Definition at line 19 of file Omni3MD.cpp.

byte Omni3MD::i2cRequestData ( byte  addressValue,
byte  command 
) [private]

Definition at line 25 of file Omni3MD.cpp.

void Omni3MD::i2cSendData ( byte  addressValue,
byte  command,
byte  buffer[],
byte  numBytes 
) [private]

Definition at line 40 of file Omni3MD.cpp.

void Omni3MD::mov_lin3M_pid ( byte  way1,
byte  speed1,
byte  way2,
byte  speed2,
byte  way3,
byte  speed3 
)

Definition at line 117 of file Omni3MD.cpp.

Definition at line 161 of file Omni3MD.cpp.

Definition at line 215 of file Omni3MD.cpp.

Definition at line 221 of file Omni3MD.cpp.

Definition at line 168 of file Omni3MD.cpp.

Definition at line 154 of file Omni3MD.cpp.

void Omni3MD::set_enc_value ( byte  encoder,
word  encValue 
)

Definition at line 91 of file Omni3MD.cpp.

void Omni3MD::set_i2c_address ( byte  newAddress)

Definition at line 64 of file Omni3MD.cpp.

void Omni3MD::set_i2c_timeout ( byte  timeout)

Definition at line 59 of file Omni3MD.cpp.

void Omni3MD::set_PID ( word  Kp,
word  Ki,
word  Kd 
)

Definition at line 75 of file Omni3MD.cpp.

void Omni3MD::set_prescaler ( byte  encoder,
byte  value 
)

Definition at line 86 of file Omni3MD.cpp.

Definition at line 144 of file Omni3MD.cpp.


Member Data Documentation

byte Omni3MD::_omniAddress [private]

Definition at line 104 of file Omni3MD.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


traxbot_robot
Author(s): André Gonçalves Araújo
autogenerated on Fri Feb 1 2013 13:21:12