Files
2026-10-23 15:22:13 +02:00

67 lines
1.2 KiB
YAML

# Simulated rotary joints, home-relative degrees.
# WARNING: independent joint moves can leave the Cartesian workspace or cross
# singularities; use virt axes for normal tool moves. No collision checking.
axis:
id: ${AX_ID}
group: phys
type: virtual
features:
allowSrcChangeWhenEnabled: true
autoEnable:
atStartup: false
enableTimeout: 1.0
disableTimeout: 2.0
epics:
name: ${AX_NAME}
precision: 4
unit: ${AX_UNIT=deg}
motorRecord:
enable: true
description: "Arm ${AX_NAME}"
encoder:
type: 0
source: 1
numerator: 1
denominator: 1
bits: 32
# External feedback is supplied by the C++ ideal plant; no EtherCAT position link.
trajectory:
source: 1
axis:
velocity: 1
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: true
forwardEnable: true
backwardEnable: true
backward: -85
forward: 155
monitoring:
target:
enable: true
tolerance: 0.01 # deg
# 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