Namespaces | Macros | Functions
sr09.cpp File Reference

This is a ROS driver for Shadow Robot #9 EtherCAT product ID. More...

#include <sr_edc_ethercat_drivers/sr09.h>
#include <realtime_tools/realtime_publisher.h>
#include <math.h>
#include <sstream>
#include <string>
#include <vector>
#include <iomanip>
#include <boost/foreach.hpp>
#include <std_msgs/Int16.h>
#include <fcntl.h>
#include <stdio.h>
#include <pthread.h>
#include <sr_utilities/sr_math_utils.hpp>
#include <sr_external_dependencies/types_for_external.h>
#include <boost/static_assert.hpp>
Include dependency graph for sr09.cpp:

Go to the source code of this file.

Namespaces

 is_edc_command_32_bits
 

Macros

#define ETHERCAT_CAN_BRIDGE_DATA_COMMAND_ADDRESS   PALM_0240_ETHERCAT_CAN_BRIDGE_DATA_COMMAND_ADDRESS
 
#define ETHERCAT_CAN_BRIDGE_DATA_SIZE   sizeof(ETHERCAT_CAN_BRIDGE_DATA)
 
#define ETHERCAT_CAN_BRIDGE_DATA_STATUS_ADDRESS   PALM_0240_ETHERCAT_CAN_BRIDGE_DATA_STATUS_ADDRESS
 
#define ETHERCAT_COMMAND_DATA_ADDRESS   PALM_0240_ETHERCAT_COMMAND_DATA_ADDRESS
 
#define ETHERCAT_COMMAND_DATA_SIZE   sizeof(ETHERCAT_DATA_STRUCTURE_0240_PALM_EDC_COMMAND)
 
#define ETHERCAT_STATUS_DATA_ADDRESS   PALM_0240_ETHERCAT_STATUS_DATA_ADDRESS
 
#define ETHERCAT_STATUS_DATA_SIZE   sizeof(ETHERCAT_DATA_STRUCTURE_0240_PALM_EDC_STATUS)
 

Functions

 is_edc_command_32_bits::BOOST_STATIC_ASSERT (sizeof(EDC_COMMAND)==4)
 
 PLUGINLIB_EXPORT_CLASS (SR09, EthercatDevice)
 

Detailed Description

This is a ROS driver for Shadow Robot #9 EtherCAT product ID.

Author
Yann Sionneau yann..nosp@m.sion.nosp@m.neau@.nosp@m.gmai.nosp@m.l.com, Hugo Elias hugo@.nosp@m.shad.nosp@m.owrob.nosp@m.ot.c.nosp@m.om, Ugo Cupcic ugo@s.nosp@m.hado.nosp@m.wrobo.nosp@m.t.co.nosp@m.m, Toni Oliver toni@.nosp@m.shad.nosp@m.owrob.nosp@m.ot.c.nosp@m.om, Dan Greenwald dg@sh.nosp@m.adow.nosp@m.robot.nosp@m..com, contact softw.nosp@m.are@.nosp@m.shado.nosp@m.wrob.nosp@m.ot.co.nosp@m.m

/* Copyright 2017 Shadow Robot Company Ltd.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file sr09.cpp.

Macro Definition Documentation

#define ETHERCAT_CAN_BRIDGE_DATA_COMMAND_ADDRESS   PALM_0240_ETHERCAT_CAN_BRIDGE_DATA_COMMAND_ADDRESS

Definition at line 66 of file sr09.cpp.

#define ETHERCAT_CAN_BRIDGE_DATA_SIZE   sizeof(ETHERCAT_CAN_BRIDGE_DATA)

Definition at line 62 of file sr09.cpp.

#define ETHERCAT_CAN_BRIDGE_DATA_STATUS_ADDRESS   PALM_0240_ETHERCAT_CAN_BRIDGE_DATA_STATUS_ADDRESS

Definition at line 67 of file sr09.cpp.

#define ETHERCAT_COMMAND_DATA_ADDRESS   PALM_0240_ETHERCAT_COMMAND_DATA_ADDRESS

Definition at line 64 of file sr09.cpp.

#define ETHERCAT_COMMAND_DATA_SIZE   sizeof(ETHERCAT_DATA_STRUCTURE_0240_PALM_EDC_COMMAND)

Definition at line 60 of file sr09.cpp.

#define ETHERCAT_STATUS_DATA_ADDRESS   PALM_0240_ETHERCAT_STATUS_DATA_ADDRESS

Definition at line 65 of file sr09.cpp.

#define ETHERCAT_STATUS_DATA_SIZE   sizeof(ETHERCAT_DATA_STRUCTURE_0240_PALM_EDC_STATUS)

Definition at line 59 of file sr09.cpp.

Function Documentation

PLUGINLIB_EXPORT_CLASS ( SR09  ,
EthercatDevice   
)


sr_edc_ethercat_drivers
Author(s): Ugo Cupcic, Yann Sionneau, Toni Oliver
autogenerated on Tue Oct 13 2020 04:02:02