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

moveit: How do I get joint_value_target which are set in the srdf?

asked 2018-09-15 17:20:09 -0500

robot_commander gravatar image

updated 2018-09-17 13:22:13 -0500

I have different group_states defined in my robot.srdf file in robot_moveit_config/config location.

Say, I have 'home_robot' and 'pos1_robot' and 'pos2_robot' defined in the file. How would I get the 'pos1_robot' joint values from the SRDF file with moveit robot instance?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-09-25 12:12:29 -0500

robot_commander gravatar image

updated 2018-09-25 12:12:42 -0500

Answering my own question: I created an issue in github moveit page regarding this: link I will make a PR soon to make this happen.

edit flag offensive delete link more


I created a PR, PR link, and it got merged. Now, we can access the joint values in the SRDF by using this exposed function get_named_target_values

robot_commander gravatar image robot_commander  ( 2019-03-26 18:01:42 -0500 )edit

Question Tools



Asked: 2018-09-15 17:20:09 -0500

Seen: 258 times

Last updated: Sep 25 '18