Ask Your Question
0

parse $(find ...) from python?

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

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

gvdhoorn gravatar image

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

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 imageHendrik Wiese ( 2018-10-01 04:02:28 -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

2 followers

Stats

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

Seen: 23 times

Last updated: Oct 01 '18