Skip to content

Commit

Permalink
Update franka_arm.py
Browse files Browse the repository at this point in the history
Fixed Time Termination Handler
  • Loading branch information
firephinx authored Aug 15, 2024
1 parent 132bd44 commit 77ac361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frankapy/franka_arm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1522,13 +1522,13 @@ def selective_guidance_mode(self,
skill = Skill(SkillType.ImpedanceControlSkill,
TrajectoryGeneratorType.StayInInitialJointsTrajectoryGenerator,
feedback_controller_type=FeedbackControllerType.JointImpedanceFeedbackController,
termination_handler_type=TerminationHandlerType.FinalJointTerminationHandler,
termination_handler_type=TerminationHandlerType.TimeTerminationHandler,
skill_desc=skill_desc)
else:
skill = Skill(SkillType.JointPositionSkill,
TrajectoryGeneratorType.StayInInitialJointsTrajectoryGenerator,
feedback_controller_type=FeedbackControllerType.SetInternalImpedanceFeedbackController,
termination_handler_type=TerminationHandlerType.FinalJointTerminationHandler,
termination_handler_type=TerminationHandlerType.TimeTerminationHandler,
skill_desc=skill_desc)
else:
if use_impedance:
Expand Down

0 comments on commit 77ac361

Please sign in to comment.