kaserf / rosdashboard

ROS Dashboard is a graphical tool to allow you easy debugging and monitoring of your robot. It is designed to give you all the flexibility to extend the tool however you want to fit your scenario best.
7 stars 1 forks source link

create start script and make python files non-executable #33

Closed kaserf closed 12 years ago

kaserf commented 12 years ago

as suggested there should be no executable files in the src folder. Follow the rqt example and create a script in bin that starts the whole machinery.

tkruse commented 12 years ago

Is there a tutorial that explains the best practice for python projects? I saw in rqt/rosgui that you have a script, I'll try to follow that example.

http://guide.python-distribute.org/creation.html http://packages.python.org/an_example_pypi_project/setuptools.html http://as.ynchrono.us/2007/12/filesystem-structure-of-python-project_21.html

Note they all do not use a src folder, but in the ROS community most use src, maybe because there is a lot of mixing c++ and python going on.

kaserf commented 12 years ago

I gave it a shot but to be honest I don't really understand what I'm doing here. Especially the part I took from rqt seems a bit magic to me. @tkruse: any comments?

tkruse commented 12 years ago

That part of rqt was written by Dirk Thomas, he will tell you the purpose of the code. I guess the code looks like a hack because it had to work with old ROS distributions.