sr_board_0x.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2013, Shadow Robot Company, All rights reserved.
00003  * 
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 3.0 of the License, or (at your option) any later version.
00008  * 
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00012  * Lesser General Public License for more details.
00013  * 
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with this library.
00016  */
00017 
00028 #ifndef SR_RONEX_DRIVERS_SR_BOARD_0X_H
00029 #define SR_RONEX_DRIVERS_SR_BOARD_0X_H
00030 
00031 #include <sr_ronex_drivers/standard_ethercat_device.h>
00032 
00033 #include <vector>
00034 
00035 
00036 class SrBoard0X : public StandardEthercatDevice
00037 {
00038 public:
00039   virtual void construct(EtherCAT_SlaveHandler *sh, int &start_address);
00040 
00041 protected:
00042   void packCommand(unsigned char *buffer, bool halt, bool reset);
00043   bool unpackState(unsigned char *this_buffer, unsigned char *prev_buffer);
00044 };
00045 
00046 #endif  // SR_RONEX_DRIVERS_SR_BOARD_0X_H
00047 


sr_ronex_drivers
Author(s): Ugo Cupcic, Toni Oliver, Mark Pitchless
autogenerated on Thu Jun 6 2019 21:22:00