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

parse $(find ...) from python?

asked 2018-10-01 03:51:45 -0500

Hendrik Wiese gravatar image

Hi everyone,

how can I make use of the ROS API to parse roslaunch macros like $(find <package>)?

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-10-01 03:57:30 -0500

gvdhoorn gravatar image

updated 2018-10-01 03:59:06 -0500

It's not well documented as I believe it's not really intended to be reused outside of roslaunch, but you do this by essentially calling substitution_args.py::resolve_args(..) (here).

An example can be seen in xacro here.

edit flag offensive delete link more

Comments

Exactly what I've been looking for. Thank you!

Hendrik Wiese gravatar image Hendrik Wiese  ( 2018-10-01 04:02:28 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2018-10-01 03:51:45 -0500

Seen: 160 times

Last updated: Oct 01 '18