Skip to content
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

Remove tf subscription #4

Merged
merged 2 commits into from
Apr 9, 2024
Merged

Remove tf subscription #4

merged 2 commits into from
Apr 9, 2024

Conversation

Jaeyoung-Lim
Copy link
Member

@Jaeyoung-Lim Jaeyoung-Lim commented Apr 2, 2024

Problem Description
This PR subscribes to gridmap information being published with grid_map_geo_msgs.

This PR requries ethz-asl/grid_map_geo#62

@Jaeyoung-Lim Jaeyoung-Lim marked this pull request as ready for review April 8, 2024 13:45
Publish gridmap info using grid_map_geo_msgs

Set map origin info from subscribed map
Copy link
Collaborator

@Claudio-Chies Claudio-Chies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment, some declaration and import seems to be wrong, and it doesnt build

@@ -73,6 +73,7 @@ class PlanningPanel : public rviz::Panel {
void targetAngleCallback(const std_msgs::Float64& msg);
void snowDepthCallback(const std_msgs::Float64& msg);
void sspStateCallback(const std_msgs::Int8& msg);
void mapInfoCallback(const std_msgs::Float64& msg);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldnt this be
void mapInfoCallback(const grid_map_geo_msgs::GeographicMapInfo& msg)
i get the build error that no declaration found in line 316 at plannting_panel.cpp
and then i also had to add the import
#include "grid_map_geo_msgs/GeographicMapInfo.h"

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a commit, which resolves the issue. Now it is ready to merge.
Tried and tested

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah wait, strange I thought I did that but thanks for the fix!

@Jaeyoung-Lim Jaeyoung-Lim merged commit 28d2b10 into ros1 Apr 9, 2024
1 of 2 checks passed
@Jaeyoung-Lim Jaeyoung-Lim deleted the pr-fix-planning-panel branch April 9, 2024 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants