Files
RL-Sim-Framework/assets/rotary_cartpole/robot.yaml
2026-03-09 23:37:10 +01:00

20 lines
750 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Rotary cartpole (Furuta pendulum) — robot hardware config.
# Lives next to the URDF so all robot-specific settings are in one place.
urdf: rotary_cartpole.urdf
actuators:
- joint: motor_joint
type: motor # direct torque control
gear: 0.064 # stall torque @ 58.8% PWM: 0.108 × 150/255 = 0.064 N·m
ctrl_range: [-1.0, 1.0]
damping: 0.003 # viscous back-EMF only (small)
filter_tau: 0.03 # mechanical time constant ~30ms (37mm gearmotor)
joints:
motor_joint:
armature: 0.0001 # reflected rotor inertia: ~1e-7 × 30² = 9e-5 kg·m²
frictionloss: 0.03 # disabled — may slow MJX (constraint-based solver)
pendulum_joint:
damping: 0.0001 # bearing friction