Ask Your Question
1

what are the different types of ros_control ?

asked 2018-10-28 05:22:49 -0600

mewbot gravatar image

I've read from here that there are many types of ros controllers.

1) I noticed that joint_position_controller appears both in effort_controllers and position_controllers (the latter being logical). why is this so ?

2)this is what I think the joint_position_controller does : we give a joint position it calculates the effort needed and ensures joint reaches the position and similarly in joint_effort_controller, do we give the effort at each joint ?

3)while using position controllers can I read the effort at each joint ?

4)I'm using MoveIt! for a gazebo simulation. I've setup an action server FollowJointTrajectory. which controller should I be using for this ?

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
2

answered 2018-10-28 05:39:13 -0600

To answer questions, 1 & 2. The reason they have two slightly confusing descriptions in the names is that they are describing both the type of output from the controller to the joint as well as the input. For example the effort_controller/joint_position_controller receives position requests from ROS and outputs the efforts required to reach that position.

3) Whichever node is controlling your joints will be publishing a joint_state topic. These messages (may) include the efforts at each joint, this is an optional parameter so will depend on the node that you use.

4) Joint trajectories are specified as a sequence of positions, so you'll need a controller than accepts these. The output will depend on how you're controlling the actual robot, probably an effort controller.

Hope this helps.

edit flag offensive delete link more

Comments

3) for a physical simulation isnt it necessary to have torque as output from the controllers?

mewbot gravatar imagemewbot ( 2018-10-28 06:54:06 -0600 )edit
2

A torque is an effort on an angular joint. A force is an effort on a linear joint. These are described as efforts so that the description is accurate for any joint type.

PeteBlackerThe3rd gravatar imagePeteBlackerThe3rd ( 2018-10-28 07:43:05 -0600 )edit
2

answered 2018-10-28 05:28:30 -0600

gvdhoorn gravatar image

Please see #q292248 which should clear up at least the first 2 questions you post.

As for the other two:

while using position controllers can I read the effort at each joint ?

yes, joint state is decoupled from the controller that is being used.

I'm using MoveIt! for a gazebo simulation. I've setup an action server FollowJointTrajectory. which controller should I be using for this ?

I don't understand your question. MoveIt expects a FollowJointTrajectory action server. How exactly did you "setup" one?

ros_control provides the joint_trajectory_controller which also offers a FollowJointTrajectory action server. That is typically used in setups of ros_control that need to be compatible with MoveIt.

edit flag offensive delete link more

Comments

PS: I'm not saying you haven't, but please try to use the search first. There are multiple Q&As about the different kinds of ros_control controllers. If the search doesn't work for you, try to use Google (use: <search terms> site:answers.ros.org).

gvdhoorn gravatar imagegvdhoorn ( 2018-10-28 05:29:50 -0600 )edit

Finally: please don't include multiple questions in a single post.

You already run into the biggest issue with this here: the title of your question is "what are the different types of ros_control ?", but you then also ask 3 other questions which are not covered by the title.

gvdhoorn gravatar imagegvdhoorn ( 2018-10-28 05:31:20 -0600 )edit

Sorry i'm new to forums i will do so from now.

mewbot gravatar imagemewbot ( 2018-10-28 06:57:56 -0600 )edit

yea Im using the FollowJointTrajectory provided by ros_control. The is what I think : moveit sends the trajectory plan to the Action server and the action server calls/instructs the controllers to do the action . ?

mewbot gravatar imagemewbot ( 2018-10-28 07:04:46 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-10-28 05:22:49 -0600

Seen: 290 times

Last updated: Oct 28 '18