Robotics StackExchange | Archived questions

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

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?

Asked by robot_commander on 2018-09-15 17:20:09 UTC

Comments

Answers

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.

Asked by robot_commander on 2018-09-25 12:12:29 UTC

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

Asked by robot_commander on 2019-03-26 18:01:42 UTC