Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

RobotFlow::IMU400CC_200 Class Reference

Inheritance diagram for RobotFlow::IMU400CC_200:

Inheritance graph
Collaboration diagram for RobotFlow::IMU400CC_200:

Collaboration graph

Public Member Functions

 IMU400CC_200 (string nodeName, ParameterSet params)
void initialize ()
void Add_message_to_send (const string &msg_to_send)
void calculate (int output_id, int count, Buffer &out)
 ~IMU400CC_200 ()
virtual ObjectRef getOutput (int output_id, int count)
virtual void request (int outputID, const ParameterSet &req)
virtual void reset ()
virtual int addOutput (const std::string &outputName)
virtual int addInput (const std::string &inputName)
virtual void initializeBuffers ()
virtual void performRequests ()
virtual ObjectRef getOutputNamed (const std::string &outputName, int count)
virtual void connectToNode (std::string in, Node *inputNode, std::string out)
virtual bool hasOutput (int output_id) const
ObjectRef getInput (int inputID, int count)
virtual void stop ()
virtual void cleanupNotify ()
std::string getName ()
virtual void verifyConnect ()
void printOn (std::ostream &out=std::cout) const
void setUINode (UINode *_uinode)
void ref ()
void unref ()
int unique ()
virtual void destroy ()
virtual void serialize (std::ostream &out) const
virtual void unserialize (std::istream &in)
virtual void doesNotUnderstand (std::string method)
virtual bool isNil () const
virtual void prettyPrint (std::ostream &out=std::cout) const
virtual void readFrom (std::istream &in=std::cin)
virtual ObjectRef clone ()
virtual std::string className () const

Static Public Member Functions

static int addFactory (const std::string &factoryName, _NodeFactory *const factory)
static int addXPM (const std::string &nodeName, char **XPMData)
static char ** getXPM (const std::string &nodeName)
static _NodeFactory * getFactoryNamed (const std::string &name)
static std::map< std::string,
_NodeFactory * > & 
factoryDictionary ()
static std::vector< std::string > & nodeInfo ()
static std::map< std::string,
char ** > & 
XPMDictionary ()
static int addNodeInfo (const std::string &info)
static ObjectRef newObject (const std::string &objType)
static int addObjectType (const std::string &objType, _ObjectFactory *factory)
static std::map< std::string,
_ObjectFactory * > & 
ObjectFactoryDictionary ()
static TypeMap< _ObjectFactory * > & TypeidDictionary ()

Protected Member Functions

virtual void connectToNode (unsigned int in, Node *inputNode, unsigned int out)
virtual std::vector< NodeInput > & getInputs ()
virtual int translateInput (std::string inputName)
virtual int translateOutput (std::string inputName)
virtual void rt_assert (bool cond, std::string message="", char *_file="unknown", int _line=0)
virtual void construct_assert (bool cond, std::string message="", char *_file="unknown", int _line=0)
virtual void throw_error (bool send_ptr, std::string message, char *_file, int _line)

Protected Attributes

int processCount
std::vector< OutputCacheInfo > outputs
std::vector< InputCacheInfo > inputsCache
bool inOrder
std::string name
std::vector< NodeInput > inputs
std::vector< std::string > outputNames
ParameterSet parameters
UINode * uinode
AtomicCounter ref_count

Private Member Functions

void SendPacket ()
void processPacket (unsigned char packet[18], ostream &out)
bool Checksum (unsigned char packet[18])
void ReceivePacket ()

Private Attributes

int m_xAccelID
int m_yAccelID
int m_zAccelID
int m_yawRateID
int m_pitchRateID
int m_rollRateID
int m_xPosID
int m_yPosID
int m_zPosID
int m_yawID
int m_pitchID
int m_rollID
string m_serial_port
int m_bias_values
int m_fd
int m_killed
pthread_t m_sendThread
pthread_t m_recvThread
pthread_mutex_t m_send_list_lock
pthread_mutex_t m_recv_list_lock
pseudosem_t m_semaphore
list< string > m_send_list
list< IMU400_DATAm_recv_list
IMU400_DATA m_actual_IMU_data
float m_x_vel
float m_y_vel
float m_z_vel
float m_x_pos
float m_y_pos
float m_z_pos
float m_yaw
float m_pitch
float m_roll
float m_yaw_bias
float m_pitch_bias
float m_roll_bias


void * imu400_recv_thread (void *dev)
void * imu400_send_thread (void *dev)
friend std::ostream & operator<< (std::ostream &out, const Object &obj)

Constructor & Destructor Documentation

RobotFlow::IMU400CC_200::IMU400CC_200 string  nodeName,
ParameterSet  params

RobotFlow::IMU400CC_200::~IMU400CC_200  )  [inline]

Member Function Documentation

void RobotFlow::IMU400CC_200::Add_message_to_send const string &  msg_to_send  )  [inline]

void RobotFlow::IMU400CC_200::calculate int  output_id,
int  count,
Buffer out
[inline, virtual]

Implements FD::BufferedNode.

bool RobotFlow::IMU400CC_200::Checksum unsigned char  packet[18]  )  [inline, private]

void RobotFlow::IMU400CC_200::initialize  )  [inline, virtual]

Reimplemented from FD::BufferedNode.

void RobotFlow::IMU400CC_200::processPacket unsigned char  packet[18],
ostream &  out
[inline, private]

void RobotFlow::IMU400CC_200::ReceivePacket  )  [inline, private]

void RobotFlow::IMU400CC_200::SendPacket  )  [inline, private]

Friends And Related Function Documentation

void* imu400_recv_thread void *  dev  )  [friend]

void* imu400_send_thread void *  dev  )  [friend]

Field Documentation

IMU400_DATA RobotFlow::IMU400CC_200::m_actual_IMU_data [private]

int RobotFlow::IMU400CC_200::m_bias_values [private]

int RobotFlow::IMU400CC_200::m_fd [private]

int RobotFlow::IMU400CC_200::m_killed [private]

float RobotFlow::IMU400CC_200::m_pitch [private]

float RobotFlow::IMU400CC_200::m_pitch_bias [private]

int RobotFlow::IMU400CC_200::m_pitchID [private]

int RobotFlow::IMU400CC_200::m_pitchRateID [private]

list<IMU400_DATA> RobotFlow::IMU400CC_200::m_recv_list [private]

pthread_mutex_t RobotFlow::IMU400CC_200::m_recv_list_lock [private]

pthread_t RobotFlow::IMU400CC_200::m_recvThread [private]

float RobotFlow::IMU400CC_200::m_roll [private]

float RobotFlow::IMU400CC_200::m_roll_bias [private]

int RobotFlow::IMU400CC_200::m_rollID [private]

int RobotFlow::IMU400CC_200::m_rollRateID [private]

pseudosem_t RobotFlow::IMU400CC_200::m_semaphore [private]

list<string> RobotFlow::IMU400CC_200::m_send_list [private]

pthread_mutex_t RobotFlow::IMU400CC_200::m_send_list_lock [private]

pthread_t RobotFlow::IMU400CC_200::m_sendThread [private]

string RobotFlow::IMU400CC_200::m_serial_port [private]

float RobotFlow::IMU400CC_200::m_x_pos [private]

float RobotFlow::IMU400CC_200::m_x_vel [private]

int RobotFlow::IMU400CC_200::m_xAccelID [private]

int RobotFlow::IMU400CC_200::m_xPosID [private]

float RobotFlow::IMU400CC_200::m_y_pos [private]

float RobotFlow::IMU400CC_200::m_y_vel [private]

int RobotFlow::IMU400CC_200::m_yAccelID [private]

float RobotFlow::IMU400CC_200::m_yaw [private]

float RobotFlow::IMU400CC_200::m_yaw_bias [private]

int RobotFlow::IMU400CC_200::m_yawID [private]

int RobotFlow::IMU400CC_200::m_yawRateID [private]

int RobotFlow::IMU400CC_200::m_yPosID [private]

float RobotFlow::IMU400CC_200::m_z_pos [private]

float RobotFlow::IMU400CC_200::m_z_vel [private]

int RobotFlow::IMU400CC_200::m_zAccelID [private]

int RobotFlow::IMU400CC_200::m_zPosID [private]

The documentation for this class was generated from the following file:
Generated on Wed Oct 5 14:36:28 2005 for RobotFlow by  doxygen 1.4.4