-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate map display #267
Migrate map display #267
Conversation
241be68
to
692ed4d
Compare
I added a pr to add |
09890ab
to
bfa76f5
Compare
bfa76f5
to
ae01f11
Compare
@wjwwood to look into the issue with the service definitions in |
From a quick look it seems that the parser requires the |
ae01f11
to
49d89d9
Compare
@wjwwood I rebased this branch but will not start a new CI as it cannot succeed due to the |
@anhosi You can use https://github.com/mikaelarguedas/navigation_msgs branch |
New CI (restricted to rviz) including |
I'm gonna place this in progress until CI is fixed up. |
@wjwwood reminder to self merge ros2/ros2#500 with this. |
Headsup: ros-planning/navigation_msgs#5 has been merged and the branch deleted so next round of CI should use the |
- stl_loader tests (see rviz_rendering) - Delete tests for pose, map, image superseded by visual tests
bc153d5
to
91d49ce
Compare
Then let's give it a try with the new CI: @wjwwood We added the last commit (91d49ce) only the make the tests pass. This commit resolves an undetected merge error from last night and will be published as a pr of its own. The last commit will cause a conflict once the other pr is merged. Simply remove the last commit from this pr before merging will work |
I resolved the conflict, running CI again on Linux as a tripwire for issues with the conflict resolution: @Martin-Idel-SI Please review my merge commit e6f038a to make sure I didn't screw anything up logically. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few small style comments, but those aren't blocking the merge.
class Swatch | ||
{ | ||
public: | ||
RVIZ_DEFAULT_PLUGINS_PUBLIC Swatch( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: macro and class name should be on two separate lines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll fix that together with #297 .
return palette_builder->setColorForIllegalPositiveValues(0, 255, 0) | ||
->setRedYellowColorsForIllegalNegativeValues() | ||
->setColorForLegalNegativeValueMinusOne(0x70, 0x89, 0x86) | ||
->buildPalette(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This indentation is strange to me. I would have expected it to either be aligned with the ->
on the first line or only have one extra indention (two spaces) from the return
.
I guess this is what uncrustify did?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I would have preferred the alignment with ->
, but it wouldn't let me do it.
@wjwwood Looks good. Map works as expected. Visual test runs, all other tests run, too. |
Closes #99
This PR migrates the Map display to ROS2. The old map display could subscribe to OccupancyGridUpdate messages, too. This functionality has also been ported, but it is commented out due to the fact that the message types are not available in ROS2, yet. Once they become available, it should be easy to enable updating a map again.
Furthermore, this PR
rviz
test folder that are now superseded by automated visual tests (including all python tests for maps). More tests can probably be deleted, but we have to have a look whether all functionality has been ported. This will be done in follow-up pull requests.msg_conversions.hpp
functions and uses them when possible.rviz_rendering
.