Files
ecmc_hexapod/cfg/axis_coordinate.yaml
2026-10-26 16:59:40 +01:00

64 lines
1.1 KiB
YAML

# Macros: AX_ID, AX_NAME, AX_UNIT (default mm).
# Coordinate axis: external encoder from forward kinematics.
axis:
id: ${AX_ID}
group: virt
type: virtual
tweakDist: 5
features:
allowSrcChangeWhenEnabled: true
autoEnable:
atStartup: false
enableTimeout: 1.0
disableTimeout: 2.0
epics:
name: ${AX_NAME}
precision: 4
unit: ${AX_UNIT=mm}
motorRecord:
enable: true
description: "Hexapod ${AX_NAME}"
encoder:
type: 0
source: 1
numerator: 1
denominator: 1
bits: 32
# External feedback is supplied by C++ FK; no EtherCAT position link.
trajectory:
source: 0
axis:
velocity: 10
acceleration: 10
deceleration: 10
input:
limit:
forward: ec0.s-1.ONE.0
backward: ec0.s-1.ONE.0
home: ec0.s-1.ZERO.0
softlimits:
enable: false
monitoring:
target:
enable: true
# Axis units: 0.01 mm for X/Y/Z, 0.01 deg for Rx/Ry/Rz.
tolerance: 0.01
# Consecutive cycles within tolerance: 100 ms at 1 kHz.
time: 100
lag:
enable: false
tolerance: 0.1
time: 100
velocity:
enable: false
max: 0
time:
trajectory: 100
drive: 100