pantor / ruckig

Motion Generation for Robots and Machines. Real-time. Jerk-constrained. Time-optimal.
https://ruckig.com
MIT License
689 stars 162 forks source link

Extract version from package manifest (where possible) #67

Closed gavanderhoorn closed 3 years ago

gavanderhoorn commented 3 years ago

With #10, you got one more additional file to update when releasing new versions.

70bc57cc67e83b1c5f2b198019167897f4c9e3a2 shows you now have to edit 4 files to do a simple increment.

In other packages, we've managed to reduce it to just updating package.xml, with things like CMakeLists.txt and setup.py parsing it out of the manifest.

For a CMake example: ros-industrial/abb_robot_driver/abb_egm_hardware_interface/CMakeLists.txt (parsing the name might be a bit much/unneeded in this case).

setup.py would be similar (parse it out using lxml or similar).

That's all still ROS-agnostic btw, so it wouldn't affect non-ROS users.