35 #ifndef ETHERCAT_HARDWARE_WG021_H    36 #define ETHERCAT_HARDWARE_WG021_H    67   static const unsigned SIZE=44;
    88   WG021() : projector_(digital_out_A_, digital_out_B_, digital_out_I_, digital_out_M_, digital_out_L0_, digital_out_L1_) {}
    89   void construct(EtherCAT_SlaveHandler *sh, 
int &start_address);
    91   void packCommand(
unsigned char *buffer, 
bool halt, 
bool reset);
    92   bool unpackState(
unsigned char *this_buffer, 
unsigned char *prev_buffer);
    96     PRODUCT_CODE = 6805021
   100     PROJECTOR_CONFIG_ENABLE = 8,
   101     PROJECTOR_CONFIG_ENABLE_ENABLED = 8,
   102     PROJECTOR_CONFIG_ENABLE_DISABLED = 0,
   104     PROJECTOR_CONFIG_ACTION = 4,
   105     PROJECTOR_CONFIG_ACTION_ON = 4,
   106     PROJECTOR_CONFIG_ACTION_OFF = 0,
   108     PROJECTOR_CONFIG_POLARITY = 2,
   109     PROJECTOR_CONFIG_POLARITY_ACTIVE_HIGH = 2,
   110     PROJECTOR_CONFIG_POLARITY_ACTIVE_LOW = 0,
   112     PROJECTOR_CONFIG_STATE = 1,
   113     PROJECTOR_CONFIG_STATE_HIGH = 1,
   114     PROJECTOR_CONFIG_STATE_LOW = 0
 int16_t measured_current_
 
pr2_hardware_interface::DigitalOut digital_out_L0_
 
ROSCONSOLE_DECL void initialize()
 
pr2_hardware_interface::Projector projector_
 
uint16_t board_temperature_
 
pr2_hardware_interface::DigitalOut digital_out_B_
 
pr2_hardware_interface::DigitalOut digital_out_I_
 
static const unsigned SIZE
 
pr2_hardware_interface::DigitalOut digital_out_A_
 
uint16_t bridge_temperature_
 
int16_t programmed_current_
 
pr2_hardware_interface::DigitalOut digital_out_M_
 
pr2_hardware_interface::DigitalOut digital_out_L1_
 
uint32_t output_start_timestamp_
 
uint32_t output_stop_timestamp_