Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send rospy-build genmsg to a different directory #36

Open
jbcpollak opened this issue Oct 1, 2020 · 0 comments
Open

send rospy-build genmsg to a different directory #36

jbcpollak opened this issue Oct 1, 2020 · 0 comments

Comments

@jbcpollak
Copy link

if I have a folder structure like this:

repo/foo_msgs
  +-msg/
  +-package.xml

and I run the following from repo/:

rospy-build genmsg foo_msgs/

I end up with the following directory structure, which seems counter intuitive to me:

repo/foo_msgs
  +-foo_msgs/
       +-msg/
       +-__init__.py
  +-msg/
  +-package.xml
  +-setup.py

I'm not a python packaging or ROS expert, but interleaving the output with the source directory seems really confusing to me.

Is there a best practice so I can get the generated/nested foo_msg/ folder somewhere where I can easily import it in my code just like std_msg?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant