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

Add VelocityForceController #279

Merged
merged 4 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have to add the velocity_force_controller dependency to package.xml?

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
Loading