#include <map>
#include <stdio.h>
#include <getopt.h>
#include <sys/mman.h>
#include <tinyxml.h>
#include <ethercat/ethercat_xenomai_drv.h>
#include <dll/ethercat_dll.h>
#include <al/ethercat_AL.h>
#include <al/ethercat_master.h>
#include <al/ethercat_slave_handler.h>
#include "ethercat_hardware/motor_heating_model.h"
#include <ethercat_hardware/wg0x.h>
#include <ethercat_hardware/wg05.h>
#include <ethercat_hardware/wg06.h>
#include <ethercat_hardware/wg021.h>
#include <ethercat_hardware/wg014.h>
#include <boost/foreach.hpp>
#include <net/if.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
#include <log4cxx/logger.h>
Go to the source code of this file.
|
string | boardName (EthercatDevice *d) |
|
bool | getDoubleAttribute (TiXmlElement *params, const char *motor_name, const char *param_name, double &value) |
|
bool | getIntegerAttribute (TiXmlElement *params, const char *motor_name, const char *param_name, int &value) |
|
bool | getStringAttribute (TiXmlElement *params, const char *motor_name, const char *param_name, char *strbuf, unsigned buflen) |
|
WG0X * | getWGDevice (int device) |
|
void | init (char *interface) |
|
int | main (int argc, char *argv[]) |
|
bool | parseConfig (TiXmlElement *config) |
|
bool | programDevice (int device, const Config &config, char *name, string expected_board, bool enforce_heating_model) |
|
bool | updateAllHeatingConfig () |
|
bool | updateHeatingConfig (int device) |
|
void | Usage (string msg="") |
|
◆ ActuatorPair
◆ MotorPair
◆ boardName()
◆ getDoubleAttribute()
bool getDoubleAttribute |
( |
TiXmlElement * |
params, |
|
|
const char * |
motor_name, |
|
|
const char * |
param_name, |
|
|
double & |
value |
|
) |
| |
◆ getIntegerAttribute()
bool getIntegerAttribute |
( |
TiXmlElement * |
params, |
|
|
const char * |
motor_name, |
|
|
const char * |
param_name, |
|
|
int & |
value |
|
) |
| |
◆ getStringAttribute()
bool getStringAttribute |
( |
TiXmlElement * |
params, |
|
|
const char * |
motor_name, |
|
|
const char * |
param_name, |
|
|
char * |
strbuf, |
|
|
unsigned |
buflen |
|
) |
| |
◆ getWGDevice()
WG0X* getWGDevice |
( |
int |
device | ) |
|
◆ init()
void init |
( |
char * |
interface | ) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ parseConfig()
bool parseConfig |
( |
TiXmlElement * |
config | ) |
|
◆ programDevice()
bool programDevice |
( |
int |
device, |
|
|
const Config & |
config, |
|
|
char * |
name, |
|
|
string |
expected_board, |
|
|
bool |
enforce_heating_model |
|
) |
| |
◆ updateAllHeatingConfig()
bool updateAllHeatingConfig |
( |
| ) |
|
◆ updateHeatingConfig()
bool updateHeatingConfig |
( |
int |
device | ) |
|
◆ Usage()
void Usage |
( |
string |
msg = "" | ) |
|
◆ actuators
◆ actuators_
◆ board_
◆ device_
◆ devices
◆ enforce_heating_model_
bool enforce_heating_model_ |
◆ g_options
◆ help_
◆ interface_
◆ motor_
◆ motors
◆ name_
◆ program_
◆ program_name_
◆ update_motor_heating_config_
bool update_motor_heating_config_ |