Conversation
|
Ideally, tf2_ros should also export tf2_msgs as dependencies. We also need this constructor for the StaticTransformBroadcaster btw. |
|
I filed another PR for my changes and rebased on top of this one. |
additional changes
|
The non-static |
|
What's the current state of this PR? Can we merge this soonish? I'll open a bunch of PRs in the near future for the robot_state_publisher, which relies on that PR. |
|
@Karsten1987 I should be able to finish this tomorrow. |
|
ec04e3e fixes the topic name in the non-static broadcaster. http://ci.ros2.org/job/ci_linux/2315/ |
|
Windows is sad about linking: |
|
After debugging with @tfoote, the underlying problem appears to be a lack of visibility macro usage in the library. When no symbols are explicitly exported, the Windows linker doesn't bother producing a I'll add in visibility control as we've done in the other packages (won't get to this until next week). |
|
|
|
Previously the tf2 lib was being built static. Part of this PR switches it to by shared, for two reasons:
In retrospect, my linking problems likely could have been addressed by modifying tf2 to export more dependencies. But I think that making it work as a shared lib is the better answer. [My understanding of Windows linking is poor at best, so I might be wrong here:] The problem now is that because tf2 doesn't explicitly export any symbols using the usual So the fix, I believe is to:
That's what I'm planning to do. |
|
I failed to correctly operate git, so I created a new branch |
I needed these changes to be able to compile and link a program using a
tf2_ros::TransformBroadcaster.