ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Joint with 2 controllers

asked 2021-06-15 13:29:21 -0500

PGTKing gravatar image

updated 2021-06-15 14:35:15 -0500

jayess gravatar image

Hi all, I have a joint that is controlled by a joint effort controller but I want to reset the joint with the joint position controller. Is this possible and how do it do it? this is my yaml file

rrbot:
  # Publish all joint states -----------------------------------
  joint_state_controller:
    type: joint_state_controller/JointStateController
    publish_rate: 50  

  # Position Controllers ---------------------------------------
  joint1_position_controller:
    type: effort_controllers/JointEffortController
    joint: joint1
    pid: {p: 100.0, i: 0.01, d: 10.0}
  joint2_position_controller:
    type: effort_controllers/JointEffortController
    joint: joint2
    pid: {p: 100.0, i: 0.01, d: 10.0}
edit retag flag offensive close merge delete

Comments

how do I switch between controllers? or send a position command to the effort controller?

PGTKing gravatar image PGTKing  ( 2021-06-15 13:29:59 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-06-16 00:08:04 -0500

Alireza_msb gravatar image

@pregnantghettoteen I think this is what you are looking for: https://answers.ros.org/question/2590...

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2021-06-15 13:29:21 -0500

Seen: 85 times

Last updated: Jun 16 '21