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

ROS package template for Python package generation

asked 2018-04-06 14:15:41 -0500

thinwybk gravatar image

Are there any project templates for ROS Python packages which can be used with a project generator like cookiecutter?

edit retag flag offensive close merge delete


I don't know of anything distributed "officially" (ie: through some package or other distributable artefact from OSRF or the ROS buildfarm). I know of some work within ROSIN that goes in this direction (slightly further, code generation as well). Not sure when that will be released though.

gvdhoorn gravatar image gvdhoorn  ( 2018-04-08 03:23:34 -0500 )edit

Would have been nice if one could streamline package skeleton generation a bit. In case you can provide info about...: What will the ROSIN generation deal with exactly (what will it generate)?

thinwybk gravatar image thinwybk  ( 2018-04-08 04:34:45 -0500 )edit

Package structure, nodes, topics, launch files, etc. A bit more than just a skeleton package. And based on a declarative data structure (essentially an xml file, nothing too fancy). And some expectation management: it's not a research topic in ROSIN, so this is a convenience tool.

gvdhoorn gravatar image gvdhoorn  ( 2018-04-08 04:38:33 -0500 )edit

Sound helpful. Will this support ROS node packages (which include node/nodelet specific code) separate from ROS lib packages (which include code without any ROS dependencies despite of building)?

thinwybk gravatar image thinwybk  ( 2018-04-08 04:42:10 -0500 )edit

Note that the fact that I don't know about something for tools like cookiecutter doesn't mean it doesn't exist.

gvdhoorn gravatar image gvdhoorn  ( 2018-04-08 04:43:48 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-05-30 01:38:20 -0500

DangTran gravatar image

Look like this one is what you are looking for?


edit flag offensive delete link more

Question Tools



Asked: 2018-04-06 14:15:41 -0500

Seen: 541 times

Last updated: May 30 '20