forked from tenfoldpaper/panda_ros2
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mock Franka Setup fixed for ros2 controllers
- Loading branch information
1 parent
fcd9d4d
commit 4dad4aa
Showing
2 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
franka_moveit_config/config/panda_mock_ros_controllers.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
controller_manager: | ||
ros__parameters: | ||
update_rate: 1000 # Hz | ||
|
||
panda_arm_controller: | ||
type: joint_trajectory_controller/JointTrajectoryController | ||
|
||
joint_state_broadcaster: | ||
type: joint_state_broadcaster/JointStateBroadcaster | ||
|
||
|
||
panda_arm_controller: | ||
ros__parameters: | ||
command_interfaces: | ||
- position # for real arm: -effort, for fake arm: -position | ||
state_interfaces: | ||
- position | ||
- velocity | ||
joints: | ||
- panda_joint1 | ||
- panda_joint2 | ||
- panda_joint3 | ||
- panda_joint4 | ||
- panda_joint5 | ||
- panda_joint6 | ||
- panda_joint7 | ||
gains: | ||
panda_joint1: { p: 600., d: 30., i: 0., i_clamp: 1., ff_velocity_scale: 1. } | ||
panda_joint2: { p: 600., d: 30., i: 0., i_clamp: 1., ff_velocity_scale: 1. } | ||
panda_joint3: { p: 600., d: 30., i: 0., i_clamp: 1., ff_velocity_scale: 1. } | ||
panda_joint4: { p: 600., d: 30., i: 0., i_clamp: 1., ff_velocity_scale: 1. } | ||
panda_joint5: { p: 250., d: 10., i: 0., i_clamp: 1., ff_velocity_scale: 1. } | ||
panda_joint6: { p: 150., d: 10., i: 0., i_clamp: 1., ff_velocity_scale: 1. } | ||
panda_joint7: { p: 50., d: 5., i: 0., i_clamp: 1., ff_velocity_scale: 1. } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters