Repository navigation
Conversation
| d = generate_distutils_setup( | ||
| packages=['tf2_geometry_msgs'], | ||
| package_dir={'': 'src'}, | ||
| requires={'rospy','geometry_msgs','tf2_ros','orocos_kdl'} |
There was a problem hiding this comment.
There's no associated python code updates.
tfoote
left a comment
There was a problem hiding this comment.
Overall this is good idea to remove the dependency if possible. I have two comments though. Since this is a stable released package we cannot modify or remove API without a deprecation cycle and recommended migration path replacing the removed functions with equivalent ones elsewhere. And secondly this removes the dependency in the setup.py but does not change the python implementation to not use kdl.
| */ | ||
| template <> | ||
| inline | ||
| const ros::Time& getTimestamp(const geometry_msgs::PoseStamped& t) {return t.header.stamp;} |
There was a problem hiding this comment.
This is one of many places removing public API. They will all need to go through a deprecation cycle.
There was a problem hiding this comment.
The only change affecting the api is the removing gmTransformToKDL(); every other functions has just been moved in order to avoid some code duplication (git did not get this actually...). Of cause gmTransformToKDL() can be re-added in order to do the deprecation cycle, if desired.
|
Removing KDL from the python implementation was not that easy, because numpy does not provide a quaternion implementation, but I see basically three ways to do it:
|
…s3d in tf2_geometry_msgs.py to avoid further dependency
Instead of KDL, tf2 methods and types are now used to transform geometry_msgs.