IOadr Class Reference

List of all members.

Classes

struct  poll_parms_t

Public Types

typedef int(IOadr::* poll_method_t )(int ch)

Public Member Functions

 IOadr ()
void Main ()
int poll_Analog_10bit (int ch)
int poll_Analog_8bit (int ch)
int poll_Digital (int ch)
int poll_ShifterInd (int ch)
int Setup (ros::NodeHandle node)
int Shutdown ()

Private Member Functions

void GetSetRelays (void)
void PollDevice (void)
void processOutput (const art_msgs::IOadrCommand::ConstPtr &cmd)
void processShifter (const art_msgs::Shifter::ConstPtr &shifterIn)

Private Attributes

dev8xdev_
bool do_shifter_
ros::Subscriber ioadr_cmd_
ros::Publisher ioadr_state_
art_msgs::IOadrState ioMsg_
std::string node_name_
std::vector< poll_parms_t * > poll_list_
std::string port_
uint8_t relay_bits_
uint8_t relay_mask_
int reset_relays_
ros::Subscriber shifter_cmd_
uint8_t shifter_gear_
ros::Publisher shifter_state_

Detailed Description

Definition at line 59 of file ioadr.cc.


Member Typedef Documentation

typedef int(IOadr::* IOadr::poll_method_t)(int ch)

Definition at line 70 of file ioadr.cc.


Constructor & Destructor Documentation

IOadr::IOadr (  ) 

Definition at line 149 of file ioadr.cc.


Member Function Documentation

void IOadr::GetSetRelays ( void   )  [private]

Definition at line 392 of file ioadr.cc.

void IOadr::Main (  ) 

Definition at line 419 of file ioadr.cc.

int IOadr::poll_Analog_10bit ( int  ch  ) 

Definition at line 290 of file ioadr.cc.

int IOadr::poll_Analog_8bit ( int  ch  ) 

Definition at line 275 of file ioadr.cc.

int IOadr::poll_Digital ( int  ch  ) 

Definition at line 305 of file ioadr.cc.

int IOadr::poll_ShifterInd ( int  ch  ) 

Definition at line 318 of file ioadr.cc.

void IOadr::PollDevice ( void   )  [private]

Definition at line 351 of file ioadr.cc.

void IOadr::processOutput ( const art_msgs::IOadrCommand::ConstPtr &  cmd  )  [private]

Definition at line 255 of file ioadr.cc.

void IOadr::processShifter ( const art_msgs::Shifter::ConstPtr &  shifterIn  )  [private]

Definition at line 264 of file ioadr.cc.

int IOadr::Setup ( ros::NodeHandle  node  ) 

Definition at line 199 of file ioadr.cc.

int IOadr::Shutdown (  ) 

Definition at line 239 of file ioadr.cc.


Member Data Documentation

dev8x* IOadr::dev_ [private]

Definition at line 115 of file ioadr.cc.

bool IOadr::do_shifter_ [private]

Definition at line 98 of file ioadr.cc.

ros::Subscriber IOadr::ioadr_cmd_ [private]

Definition at line 101 of file ioadr.cc.

ros::Publisher IOadr::ioadr_state_ [private]

Definition at line 102 of file ioadr.cc.

art_msgs::IOadrState IOadr::ioMsg_ [private]

Definition at line 112 of file ioadr.cc.

std::string IOadr::node_name_ [private]

Definition at line 95 of file ioadr.cc.

std::vector<poll_parms_t *> IOadr::poll_list_ [private]

Definition at line 92 of file ioadr.cc.

std::string IOadr::port_ [private]

Definition at line 97 of file ioadr.cc.

uint8_t IOadr::relay_bits_ [private]

Definition at line 109 of file ioadr.cc.

uint8_t IOadr::relay_mask_ [private]

Definition at line 108 of file ioadr.cc.

int IOadr::reset_relays_ [private]

Definition at line 96 of file ioadr.cc.

ros::Subscriber IOadr::shifter_cmd_ [private]

Definition at line 103 of file ioadr.cc.

uint8_t IOadr::shifter_gear_ [private]

Definition at line 105 of file ioadr.cc.

ros::Publisher IOadr::shifter_state_ [private]

Definition at line 104 of file ioadr.cc.


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


art_servo
Author(s): Austin Robot Technology, Jack O'Quin
autogenerated on Fri Jan 11 10:00:01 2013