Replies: 3 comments
-
if gravity is turned off does this still happen? If it doesn't then So the if the issue is that joint position can't hold after immediately due to gravity, maybe you could tune down sim_dt? you could try set actuator_cfg.velocity_limit_sim to a desirable number so joint speed can't exceed that limit at simulation level. or you could define a more loose termination that is not too strict. If you application is RL, you could make velocity out of limit a penalty rewterm rather than termination term |
Beta Was this translation helpful? Give feedback.
-
If I turn off gravity and apply zero effort actions, the arm doesn't move at all, so the issue doesn't occur. I will try your suggestions, thank you! |
Beta Was this translation helpful? Give feedback.
-
Yes this is for an RL application. I suppose I could create a curriculum that starts with having joint violations be a penalty, and eventually switch them to a termination condition once a certain success threshold has been met. Thanks! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
Setup
*_limit_sim
fieldsSymptoms
On every
reset()
,terminations.joint_vel_out_of_limit
trips because some joints have|dq| > limit
. This happens before any action is applied and witheffort=0
(i.e. falling due to gravity).Actuators
Reset sequence (based on docs)
What I verified
set_*_target
oraction
writes on the reset frame.solver_position_iteration_count=8
,solver_velocity_iteration_count=4
(also tried 0),sleep_threshold=0.0
,stabilization_threshold=0.001
.soft_joint_vel_limits
match Franka specs.Observed
Immediately after
reset()
, some joints report|dq| ≳ limits
(e.g., j2 ≈ 2.19 rad/s vs 2.175).Questions
effort=0
?dq=0
afterreset()
under pure torque control?Beta Was this translation helpful? Give feedback.
All reactions