franky.ImpedanceFilterParams¶
- class franky.ImpedanceFilterParams¶
Bases:
pybind11_objectTime constants of the exponential smoothing filters of the Cartesian impedance controller.
Each filter is a first-order exponential moving average with the given time constant [s]; an unset time constant disables the corresponding filter. Smoothing the reference and the measured signals trades responsiveness for smoother torques, which is particularly useful when the reference comes from a low-rate or noisy source such as a learned policy or teleoperation.
- __init__(self: franky._franky.ImpedanceFilterParams, target_pose_time_constant: SupportsFloat | SupportsIndex | None = None, q_time_constant: SupportsFloat | SupportsIndex | None = None, dq_time_constant: SupportsFloat | SupportsIndex | None = None, output_torque_time_constant: SupportsFloat | SupportsIndex | None = None) None¶
- property dq_time_constant¶
Time constant [s] for smoothing the measured joint velocities before they enter the damping, nullspace, and friction terms. Unset disables joint-velocity smoothing.
- property output_torque_time_constant¶
Time constant [s] for smoothing the commanded torque after rate saturation. The filter memory is the previously commanded torque, so it low-passes the torque signal itself. Unset disables output smoothing.
- property q_time_constant¶
Time constant [s] for smoothing the measured joint positions before they enter the controller. The end-effector pose and all model quantities are recomputed from the filtered positions. Unset disables joint-position smoothing.
- property target_pose_time_constant¶
Time constant [s] for smoothing the target pose.
The target position is filtered with an exponential moving average and the target orientation via spherical linear interpolation toward the raw target. This turns discontinuous reference jumps into smooth approach trajectories. Unset disables target-pose smoothing.