YARP CiA-402 EtherCAT Device 0.6.0
YARP device plugin for EtherCAT CiA-402 drives
Loading...
Searching...
No Matches
StoreHomePosition.cpp File Reference
#include <chrono>
#include <ctime>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <thread>
#include <vector>
#include <toml++/toml.h>
#include <CiA402/EncoderSdoIndices.h>
#include <CiA402/EthercatManager.h>
#include <CiA402/LogComponent.h>
#include <CiA402/TimeUtils.h>
#include <StoreHomePosition/StoreHomePosition.h>
#include <yarp/os/LogStream.h>
#include <yarp/os/ResourceFinder.h>
Include dependency graph for StoreHomePosition.cpp:

Go to the source code of this file.

Classes

class  CiA402::StoreHome37::Impl
 

Functions

static bool swHomingAttained (uint16_t sw)
 
static bool swHomingError (uint16_t sw)
 

Variables

static constexpr uint16_t IDX_CONTROLWORD = 0x6040
 
static constexpr uint16_t IDX_STATUSWORD = 0x6041
 
static constexpr uint16_t IDX_OPMODE = 0x6060
 
static constexpr uint16_t IDX_POSITION_ACT = 0x6064
 
static constexpr uint16_t IDX_HOMING_METHOD = 0x6098
 
static constexpr uint16_t IDX_HOME_OFFSET = 0x607C
 
static constexpr uint16_t IDX_STORE_PARAMS = 0x1010
 
static constexpr uint16_t IDX_HOME_VENDOR = 0x2005
 

Function Documentation

◆ swHomingAttained()

static bool swHomingAttained ( uint16_t sw)
inlinestatic

Definition at line 41 of file StoreHomePosition.cpp.

◆ swHomingError()

static bool swHomingError ( uint16_t sw)
inlinestatic

Definition at line 45 of file StoreHomePosition.cpp.

Variable Documentation

◆ IDX_CONTROLWORD

uint16_t IDX_CONTROLWORD = 0x6040
staticconstexpr

Definition at line 28 of file StoreHomePosition.cpp.

◆ IDX_HOME_OFFSET

uint16_t IDX_HOME_OFFSET = 0x607C
staticconstexpr

Definition at line 33 of file StoreHomePosition.cpp.

◆ IDX_HOME_VENDOR

uint16_t IDX_HOME_VENDOR = 0x2005
staticconstexpr

Definition at line 36 of file StoreHomePosition.cpp.

◆ IDX_HOMING_METHOD

uint16_t IDX_HOMING_METHOD = 0x6098
staticconstexpr

Definition at line 32 of file StoreHomePosition.cpp.

◆ IDX_OPMODE

uint16_t IDX_OPMODE = 0x6060
staticconstexpr

Definition at line 30 of file StoreHomePosition.cpp.

◆ IDX_POSITION_ACT

uint16_t IDX_POSITION_ACT = 0x6064
staticconstexpr

Definition at line 31 of file StoreHomePosition.cpp.

◆ IDX_STATUSWORD

uint16_t IDX_STATUSWORD = 0x6041
staticconstexpr

Definition at line 29 of file StoreHomePosition.cpp.

◆ IDX_STORE_PARAMS

uint16_t IDX_STORE_PARAMS = 0x1010
staticconstexpr

Definition at line 34 of file StoreHomePosition.cpp.