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

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

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

robot_commander gravatar image

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

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
1

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

robot_commander gravatar image

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

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

Comments

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 -0600 )edit

Question Tools

2 followers

Stats

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

Seen: 266 times

Last updated: Sep 25 '18