Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Commit

Permalink
Add velocity force controller (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyackzan authored Jun 11, 2024
1 parent 1b77102 commit 1d92f80
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/picknik_ur_base_config/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ ros2_control:
- "admittance_controller_open_door"
- "joint_trajectory_controller_chained_open_door"
- "joint_trajectory_admittance_controller"
- "velocity_force_controller"
# Any controllers here will not be spawned by MoveIt Pro.
# [Optional, default=[]]
controllers_not_managed: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ controller_manager:
type: joint_trajectory_controller/JointTrajectoryController
joint_trajectory_admittance_controller:
type: joint_trajectory_admittance_controller/JointTrajectoryAdmittanceController
velocity_force_controller:
type: velocity_force_controller/VelocityForceController

io_and_status_controller:
ros__parameters:
Expand Down Expand Up @@ -282,3 +284,47 @@ joint_trajectory_admittance_controller:
- 30.0
- 30.0
- 30.0

velocity_force_controller:
ros__parameters:
joints:
- shoulder_pan_joint
- shoulder_lift_joint
- elbow_joint
- wrist_1_joint
- wrist_2_joint
- wrist_3_joint
base_frame: base_link
sensor_frame: tool0
ee_frame: grasp_link
ft_sensor_name: tcp_fts_sensor
ft_force_deadband: 2.0
ft_torque_deadband: 1.0
max_joint_velocity:
- 0.524
- 0.524
- 0.524
- 1.047
- 1.047
- 1.047
max_joint_acceleration:
- 52.4
- 52.4
- 52.4
- 52.4
- 52.4
- 52.4
max_cartesian_velocity:
- 0.25
- 0.25
- 0.25
- 1.5707
- 1.5707
- 1.5707
max_cartesian_acceleration:
- 20.0
- 20.0
- 20.0
- 40.0
- 40.0
- 40.0

0 comments on commit 1d92f80

Please sign in to comment.