YARP CiA-402 EtherCAT Device 0.6.0
YARP device plugin for EtherCAT CiA-402 drives
Loading...
Searching...
No Matches
EncoderSdoIndices.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Generative Bionics
2// SPDX-License-Identifier: BSD-3-Clause
3
4#ifndef YARP_DEV_CIA402_ENCODER_SDO_INDICES_H
5#define YARP_DEV_CIA402_ENCODER_SDO_INDICES_H
6
7#include <cstdint>
8
9namespace CiA402
10{
11
12/// @name Encoder SDO indices
13/// @{
14static constexpr uint16_t IDX_ENC1_CONFIG = 0x2110; ///< :03 = resolution (counts/rev)
15static constexpr uint16_t IDX_ENC1_DATA = 0x2111; ///< :01 = raw position, :02 = adjusted position
16static constexpr uint16_t IDX_ENC2_CONFIG = 0x2112; ///< :03 = resolution (counts/rev)
17static constexpr uint16_t IDX_ENC2_DATA = 0x2113; ///< :01 = raw position, :02 = adjusted position
18/// @}
19
20} // namespace CiA402
21
22#endif // YARP_DEV_CIA402_ENCODER_SDO_INDICES_H
static constexpr uint16_t IDX_ENC2_CONFIG
:03 = resolution (counts/rev)
static constexpr uint16_t IDX_ENC1_DATA
:01 = raw position, :02 = adjusted position
static constexpr uint16_t IDX_ENC1_CONFIG
:03 = resolution (counts/rev)
static constexpr uint16_t IDX_ENC2_DATA
:01 = raw position, :02 = adjusted position