Closed Abi-64 closed 7 months ago
I noticed that DCMotor actutors should be defined like this not like the one in the example, the thing is that if I don't add the armature term it wont settle to the target value and it will vibrate. why?
Motor1_CFG1 = DCMotorCfg( joint_names_expr=["theta1"], saturation_effort=1, effort_limit=1, velocity_limit=50, stiffness={"theta1": 100.0}, damping={"theta1": 10.0}, armature={"theta1": 0.10} )
Well yes. You need to provide these values for the DCMotor to configure them correctly. Otherwise, they are MISSING (error) or None (loads the default values from the USD).
If it is vibrating, then it could very likely be your PD controller is not tuned properly. Adding an armature is similar to having more damping to the joint model.
Also please note that, when using an explicit model, you may require to reduce the simulation timestep to deal with time-step discretization error.
Hey guy, thank you for publishing the new version, it's amazing work. I'm wondering if you have examples for using actuators, I'm trying to use DCMotor actuator for a simple 2 joints robot, in my asset config file I have defined the robot like this:
I'm trying to run the joints in different modes in the main code which is a copy of run_articulation. when the actuator model is ImplicitActuatorCfg it works correctly, but when i change it to DCMotorCfg it generate an error! when i change it to IdealPDActuatorCfg it moves randomly! could you please help understand what's going on, there is no example for using actuators in the documents,thanks.