Public Types | Static Public Attributes | List of all members
ttl_driver::StepperReg Struct Reference

#include <stepper_reg.hpp>

Public Types

using TYPE_BAUDRATE = uint8_t
 
using TYPE_COMMAND = uint8_t
 
using TYPE_ENTER_BOOTLOADER = uint32_t
 
using TYPE_FIRMWARE_RUNNING = uint8_t
 
using TYPE_FIRMWARE_VERSION = uint32_t
 
using TYPE_GOAL_POSITION = uint32_t
 
using TYPE_GOAL_VELOCITY = uint32_t
 
using TYPE_HOMING_ABS_POSITION = uint32_t
 
using TYPE_HOMING_DIRECTION = uint8_t
 
using TYPE_HOMING_STALL_THRESHOLD = uint8_t
 
using TYPE_HOMING_STATUS = uint8_t
 
using TYPE_HW_ERROR_STATUS = uint8_t
 
using TYPE_ID = uint8_t
 
using TYPE_MAX_POSITION_LIMIT = uint32_t
 
using TYPE_MIN_POSITION_LIMIT = uint32_t
 
using TYPE_MODEL_NUMBER = uint16_t
 
using TYPE_OPERATING_MODE = uint8_t
 
using TYPE_PRESENT_POSITION = uint32_t
 
using TYPE_PRESENT_TEMPERATURE = uint8_t
 
using TYPE_PRESENT_VELOCITY = uint32_t
 
using TYPE_PRESENT_VOLTAGE = uint16_t
 
using TYPE_PROFILE = uint32_t
 
using TYPE_TORQUE_ENABLE = uint8_t
 

Static Public Attributes

static constexpr uint16_t ADDR_A1 = 1028
 
static constexpr uint16_t ADDR_AMAX = 1036
 
static constexpr uint16_t ADDR_BAUDRATE = 8
 
static constexpr uint16_t ADDR_COMMAND = 147
 
static constexpr uint16_t ADDR_D1 = 1048
 
static constexpr uint16_t ADDR_DMAX = 1044
 
static constexpr uint16_t ADDR_ENTER_BOOTLOADER = 8193
 
static constexpr uint16_t ADDR_FIRMWARE_RUNNING = 8192
 
static constexpr uint16_t ADDR_FIRMWARE_VERSION = 59
 
static constexpr uint16_t ADDR_GOAL_POSITION = 116
 
static constexpr uint16_t ADDR_GOAL_VELOCITY = 104
 
static constexpr uint16_t ADDR_HOMING_ABS_POSITION = 151
 
static constexpr uint16_t ADDR_HOMING_DIRECTION = 149
 
static constexpr uint16_t ADDR_HOMING_STALL_THRESHOLD = 150
 
static constexpr uint16_t ADDR_HOMING_STATUS = 148
 
static constexpr uint16_t ADDR_HW_ERROR_STATUS = 70
 
static constexpr uint16_t ADDR_ID = 7
 
static constexpr uint16_t ADDR_MAX_POSITION_LIMIT = 48
 
static constexpr uint16_t ADDR_MIN_POSITION_LIMIT = 52
 
static constexpr uint16_t ADDR_MODEL_NUMBER = 0
 
static constexpr uint16_t ADDR_OPERATING_MODE = 11
 
static constexpr uint16_t ADDR_PRESENT_POSITION = 132
 
static constexpr uint16_t ADDR_PRESENT_TEMPERATURE = 146
 
static constexpr uint16_t ADDR_PRESENT_VELOCITY = 128
 
static constexpr uint16_t ADDR_PRESENT_VOLTAGE = 144
 
static constexpr uint16_t ADDR_TORQUE_ENABLE = 64
 
static constexpr uint16_t ADDR_V1 = 1032
 
static constexpr uint16_t ADDR_VMAX = 1040
 
static constexpr uint16_t ADDR_VSTART = 1024
 
static constexpr uint16_t ADDR_VSTOP = 1052
 
static constexpr int MODEL_NUMBER = 2000
 
static constexpr common::model::EHardwareType motor_type = common::model::EHardwareType::STEPPER
 
static constexpr float PROTOCOL_VERSION = 2.0
 
static constexpr float VELOCITY_UNIT = 0.01
 
static constexpr int VOLTAGE_CONVERSION = 1000
 

Detailed Description

Definition at line 26 of file stepper_reg.hpp.

Member Typedef Documentation

◆ TYPE_BAUDRATE

Definition at line 42 of file stepper_reg.hpp.

◆ TYPE_COMMAND

Definition at line 88 of file stepper_reg.hpp.

◆ TYPE_ENTER_BOOTLOADER

Definition at line 119 of file stepper_reg.hpp.

◆ TYPE_FIRMWARE_RUNNING

Definition at line 116 of file stepper_reg.hpp.

◆ TYPE_FIRMWARE_VERSION

Definition at line 54 of file stepper_reg.hpp.

◆ TYPE_GOAL_POSITION

Definition at line 70 of file stepper_reg.hpp.

◆ TYPE_GOAL_VELOCITY

Definition at line 66 of file stepper_reg.hpp.

◆ TYPE_HOMING_ABS_POSITION

Definition at line 100 of file stepper_reg.hpp.

◆ TYPE_HOMING_DIRECTION

Definition at line 94 of file stepper_reg.hpp.

◆ TYPE_HOMING_STALL_THRESHOLD

Definition at line 97 of file stepper_reg.hpp.

◆ TYPE_HOMING_STATUS

Definition at line 91 of file stepper_reg.hpp.

◆ TYPE_HW_ERROR_STATUS

Definition at line 62 of file stepper_reg.hpp.

◆ TYPE_ID

Definition at line 39 of file stepper_reg.hpp.

◆ TYPE_MAX_POSITION_LIMIT

Definition at line 48 of file stepper_reg.hpp.

◆ TYPE_MIN_POSITION_LIMIT

Definition at line 51 of file stepper_reg.hpp.

◆ TYPE_MODEL_NUMBER

Definition at line 36 of file stepper_reg.hpp.

◆ TYPE_OPERATING_MODE

Definition at line 45 of file stepper_reg.hpp.

◆ TYPE_PRESENT_POSITION

Definition at line 78 of file stepper_reg.hpp.

◆ TYPE_PRESENT_TEMPERATURE

Definition at line 85 of file stepper_reg.hpp.

◆ TYPE_PRESENT_VELOCITY

Definition at line 74 of file stepper_reg.hpp.

◆ TYPE_PRESENT_VOLTAGE

Definition at line 82 of file stepper_reg.hpp.

◆ TYPE_PROFILE

Definition at line 103 of file stepper_reg.hpp.

◆ TYPE_TORQUE_ENABLE

Definition at line 59 of file stepper_reg.hpp.

Member Data Documentation

◆ ADDR_A1

constexpr uint16_t ttl_driver::StepperReg::ADDR_A1 = 1028
staticconstexpr

Definition at line 105 of file stepper_reg.hpp.

◆ ADDR_AMAX

constexpr uint16_t ttl_driver::StepperReg::ADDR_AMAX = 1036
staticconstexpr

Definition at line 107 of file stepper_reg.hpp.

◆ ADDR_BAUDRATE

constexpr uint16_t ttl_driver::StepperReg::ADDR_BAUDRATE = 8
staticconstexpr

Definition at line 41 of file stepper_reg.hpp.

◆ ADDR_COMMAND

constexpr uint16_t ttl_driver::StepperReg::ADDR_COMMAND = 147
staticconstexpr

Definition at line 87 of file stepper_reg.hpp.

◆ ADDR_D1

constexpr uint16_t ttl_driver::StepperReg::ADDR_D1 = 1048
staticconstexpr

Definition at line 110 of file stepper_reg.hpp.

◆ ADDR_DMAX

constexpr uint16_t ttl_driver::StepperReg::ADDR_DMAX = 1044
staticconstexpr

Definition at line 109 of file stepper_reg.hpp.

◆ ADDR_ENTER_BOOTLOADER

constexpr uint16_t ttl_driver::StepperReg::ADDR_ENTER_BOOTLOADER = 8193
staticconstexpr

Definition at line 118 of file stepper_reg.hpp.

◆ ADDR_FIRMWARE_RUNNING

constexpr uint16_t ttl_driver::StepperReg::ADDR_FIRMWARE_RUNNING = 8192
staticconstexpr

Definition at line 115 of file stepper_reg.hpp.

◆ ADDR_FIRMWARE_VERSION

constexpr uint16_t ttl_driver::StepperReg::ADDR_FIRMWARE_VERSION = 59
staticconstexpr

Definition at line 53 of file stepper_reg.hpp.

◆ ADDR_GOAL_POSITION

constexpr uint16_t ttl_driver::StepperReg::ADDR_GOAL_POSITION = 116
staticconstexpr

Definition at line 69 of file stepper_reg.hpp.

◆ ADDR_GOAL_VELOCITY

constexpr uint16_t ttl_driver::StepperReg::ADDR_GOAL_VELOCITY = 104
staticconstexpr

Definition at line 65 of file stepper_reg.hpp.

◆ ADDR_HOMING_ABS_POSITION

constexpr uint16_t ttl_driver::StepperReg::ADDR_HOMING_ABS_POSITION = 151
staticconstexpr

Definition at line 99 of file stepper_reg.hpp.

◆ ADDR_HOMING_DIRECTION

constexpr uint16_t ttl_driver::StepperReg::ADDR_HOMING_DIRECTION = 149
staticconstexpr

Definition at line 93 of file stepper_reg.hpp.

◆ ADDR_HOMING_STALL_THRESHOLD

constexpr uint16_t ttl_driver::StepperReg::ADDR_HOMING_STALL_THRESHOLD = 150
staticconstexpr

Definition at line 96 of file stepper_reg.hpp.

◆ ADDR_HOMING_STATUS

constexpr uint16_t ttl_driver::StepperReg::ADDR_HOMING_STATUS = 148
staticconstexpr

Definition at line 90 of file stepper_reg.hpp.

◆ ADDR_HW_ERROR_STATUS

constexpr uint16_t ttl_driver::StepperReg::ADDR_HW_ERROR_STATUS = 70
staticconstexpr

Definition at line 61 of file stepper_reg.hpp.

◆ ADDR_ID

constexpr uint16_t ttl_driver::StepperReg::ADDR_ID = 7
staticconstexpr

Definition at line 38 of file stepper_reg.hpp.

◆ ADDR_MAX_POSITION_LIMIT

constexpr uint16_t ttl_driver::StepperReg::ADDR_MAX_POSITION_LIMIT = 48
staticconstexpr

Definition at line 47 of file stepper_reg.hpp.

◆ ADDR_MIN_POSITION_LIMIT

constexpr uint16_t ttl_driver::StepperReg::ADDR_MIN_POSITION_LIMIT = 52
staticconstexpr

Definition at line 50 of file stepper_reg.hpp.

◆ ADDR_MODEL_NUMBER

constexpr uint16_t ttl_driver::StepperReg::ADDR_MODEL_NUMBER = 0
staticconstexpr

Definition at line 35 of file stepper_reg.hpp.

◆ ADDR_OPERATING_MODE

constexpr uint16_t ttl_driver::StepperReg::ADDR_OPERATING_MODE = 11
staticconstexpr

Definition at line 44 of file stepper_reg.hpp.

◆ ADDR_PRESENT_POSITION

constexpr uint16_t ttl_driver::StepperReg::ADDR_PRESENT_POSITION = 132
staticconstexpr

Definition at line 77 of file stepper_reg.hpp.

◆ ADDR_PRESENT_TEMPERATURE

constexpr uint16_t ttl_driver::StepperReg::ADDR_PRESENT_TEMPERATURE = 146
staticconstexpr

Definition at line 84 of file stepper_reg.hpp.

◆ ADDR_PRESENT_VELOCITY

constexpr uint16_t ttl_driver::StepperReg::ADDR_PRESENT_VELOCITY = 128
staticconstexpr

Definition at line 73 of file stepper_reg.hpp.

◆ ADDR_PRESENT_VOLTAGE

constexpr uint16_t ttl_driver::StepperReg::ADDR_PRESENT_VOLTAGE = 144
staticconstexpr

Definition at line 81 of file stepper_reg.hpp.

◆ ADDR_TORQUE_ENABLE

constexpr uint16_t ttl_driver::StepperReg::ADDR_TORQUE_ENABLE = 64
staticconstexpr

Definition at line 58 of file stepper_reg.hpp.

◆ ADDR_V1

constexpr uint16_t ttl_driver::StepperReg::ADDR_V1 = 1032
staticconstexpr

Definition at line 106 of file stepper_reg.hpp.

◆ ADDR_VMAX

constexpr uint16_t ttl_driver::StepperReg::ADDR_VMAX = 1040
staticconstexpr

Definition at line 108 of file stepper_reg.hpp.

◆ ADDR_VSTART

constexpr uint16_t ttl_driver::StepperReg::ADDR_VSTART = 1024
staticconstexpr

Definition at line 104 of file stepper_reg.hpp.

◆ ADDR_VSTOP

constexpr uint16_t ttl_driver::StepperReg::ADDR_VSTOP = 1052
staticconstexpr

Definition at line 111 of file stepper_reg.hpp.

◆ MODEL_NUMBER

constexpr int ttl_driver::StepperReg::MODEL_NUMBER = 2000
staticconstexpr

Definition at line 31 of file stepper_reg.hpp.

◆ motor_type

constexpr common::model::EHardwareType ttl_driver::StepperReg::motor_type = common::model::EHardwareType::STEPPER
staticconstexpr

Definition at line 28 of file stepper_reg.hpp.

◆ PROTOCOL_VERSION

constexpr float ttl_driver::StepperReg::PROTOCOL_VERSION = 2.0
staticconstexpr

Definition at line 30 of file stepper_reg.hpp.

◆ VELOCITY_UNIT

constexpr float ttl_driver::StepperReg::VELOCITY_UNIT = 0.01
staticconstexpr

Definition at line 64 of file stepper_reg.hpp.

◆ VOLTAGE_CONVERSION

constexpr int ttl_driver::StepperReg::VOLTAGE_CONVERSION = 1000
staticconstexpr

Definition at line 32 of file stepper_reg.hpp.


The documentation for this struct was generated from the following file:


ttl_driver
Author(s): Clement Cocquempot
autogenerated on Wed May 21 2025 08:30:15