Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

refactor to not use tf version 1 - #561

Merged
mikeferguson merged 7 commits into
ros-planning:kinetic-develfrom
wjwwood:map_server_refactor_out_tf
Aug 1, 2017
Merged

mikeferguson merged 7 commits into
ros-planning:kinetic-develfrom
wjwwood:map_server_refactor_out_tf

Conversation

@wjwwood

@wjwwood wjwwood commented Mar 3, 2017

Copy link
Copy Markdown
Contributor

@mikeferguson

Copy link
Copy Markdown
Contributor

Seems reasonable -- I presume you've actually loaded a map and tested this?

@mikeferguson mikeferguson self-assigned this Apr 16, 2017
@wjwwood

wjwwood commented Apr 17, 2017

Copy link
Copy Markdown
Contributor Author

I have used this patch in the ROS 2 demo work we've been doing. I haven't tried it in ROS 1 yet.

I just resolved the conflicts too.

@vrabaud

vrabaud commented Jul 17, 2017

Copy link
Copy Markdown
Contributor

I probably need to rebase by now but there is a full tf2 port of navigation since hydro: #531

@wjwwood

wjwwood commented Jul 17, 2017

Copy link
Copy Markdown
Contributor Author

@vrabaud that would be great to get in, but I avoided using tf2's internal transform in favor of bullets in this pr at @tfoote's recommendation. Your pr does the former I think:

https://github.com/ros-planning/navigation/pull/531/files#diff-131b6b4d9e11b01840556ffeeb9acfe0

So if we close this in favor of #531, then I think we should update it to fix image_loader and map_saver like this pr does.

@vrabaud

vrabaud commented Jul 17, 2017

Copy link
Copy Markdown
Contributor

Your PR is smaller so go with it, I'll adapt. Then again, there is still some tf1 in there you need to also fix in your current PR:
https://github.com/ros-planning/navigation/blob/kinetic-devel/map_server/src/map_saver.cpp#L35

@wjwwood

wjwwood commented Jul 17, 2017

Copy link
Copy Markdown
Contributor Author

@vrabaud that's true. I guess I missed it from my port in our ROS 2 demo, but I just used the tf2 version of that header:

https://github.com/ros2/navigation/blob/ros2/map_server/src/map_saver.cpp#L38

@vrabaud

vrabaud commented Jul 17, 2017

Copy link
Copy Markdown
Contributor

Still not working. From my experience when switching to tf2: just do a grep on "tf/" or "tf::". You still have a "tf::".
Please refer to: https://github.com/ros-planning/navigation/pull/531/files#diff-11fba1ba2b27983920dd7eab46a366dd

@wjwwood

wjwwood commented Jul 17, 2017

Copy link
Copy Markdown
Contributor Author

@vrabaud I was being lazy, and then remembered that pr testing is currently down. I'll fix it up asap.

Also we could roll this into your pr and close this one. Wouldn't matter to me.

@vrabaud

vrabaud commented Jul 17, 2017

Copy link
Copy Markdown
Contributor

Naah, go with this one. The smaller the better.

@vrabaud

vrabaud commented Jul 17, 2017

Copy link
Copy Markdown
Contributor

@vrabaud, that's not what she said !

@wjwwood

wjwwood commented Jul 17, 2017

Copy link
Copy Markdown
Contributor Author

Haha, ok I'll fix this one up asap.

@nuclearsandwich

Copy link
Copy Markdown

@ros-pull-request-builder retest this please.

@vrabaud

vrabaud commented Jul 17, 2017

Copy link
Copy Markdown
Contributor

LGTM, feel free to comment on #531

@wjwwood

wjwwood commented Jul 17, 2017

Copy link
Copy Markdown
Contributor Author

The only test failures was in the costmap tests, I'm thinking it might just be flakey. I'm going to rerun the tests to see.

@ros-pull-request-builder retest this please

@wjwwood

wjwwood commented Jul 18, 2017

Copy link
Copy Markdown
Contributor Author

Ok, CI and stuff looks good. I still haven't tried this locally with ROS 1 as a sanity check.

@vrabaud

vrabaud commented Jul 31, 2017

Copy link
Copy Markdown
Contributor

@wjwwood , I have rebased #458 and #531 and used your changes. But let's merge this PR first.

@wjwwood

wjwwood commented Jul 31, 2017

Copy link
Copy Markdown
Contributor Author

@vrabaud that's fine by me, but I'm not the maintainer. I'll let one of them decide on when/if to merge this.

@mikeferguson

Copy link
Copy Markdown
Contributor

Ok -- tested on live ROS1 system. Going to squash-merge for ease of pulling into lunar

@mikeferguson
mikeferguson merged commit c118e8e into ros-planning:kinetic-devel Aug 1, 2017
mikeferguson pushed a commit that referenced this pull request Aug 1, 2017
gerkey pushed a commit to codebot/navigation that referenced this pull request Jan 19, 2018
johaq pushed a commit to CentralLabFacilities/navigation that referenced this pull request Mar 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants