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

Broadcast map-to-odom transform in laser callback #81

Merged
merged 1 commit into from
Feb 13, 2023

Conversation

olmerg
Copy link
Collaborator

@olmerg olmerg commented Jan 24, 2023

#40

@olmerg
Copy link
Collaborator Author

olmerg commented Jan 24, 2023

Decision taken over the implementation:

  • if the robot do not move the map to odom publish will be published at the rate of laser scanner (like nav2_amcl)
  • When a Initial position is received the map to odom TF start in zero.
  • some noise was added in the turtlebot.model.yaml to test, but I think that should be removed in the main branch
  • Maybe by performance the estimated_pose() could be saved to be used in the timer

Copy link
Member

@nahueespinosa nahueespinosa left a comment

Choose a reason for hiding this comment

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

@olmerg Left a few comments!

It's difficult to review the code with so many unrelated style changes, can you run the linter and disable your IDE formatter?

.vscode/settings.json Outdated Show resolved Hide resolved
beluga_amcl/src/amcl_node.cpp Outdated Show resolved Hide resolved
beluga_amcl/src/amcl_node.cpp Outdated Show resolved Hide resolved
beluga_amcl/src/amcl_node.cpp Outdated Show resolved Hide resolved
beluga_amcl/src/amcl_node.cpp Outdated Show resolved Hide resolved
@nahueespinosa nahueespinosa changed the title map to odom in laser callback Broadcast map-to-odom transform in laser callback Jan 24, 2023
beluga_amcl/src/amcl_node.cpp Outdated Show resolved Hide resolved
beluga_amcl/src/amcl_node.cpp Outdated Show resolved Hide resolved
beluga_amcl/src/amcl_node.cpp Outdated Show resolved Hide resolved
beluga_amcl/src/amcl_node.cpp Outdated Show resolved Hide resolved
@nahueespinosa nahueespinosa added enhancement New feature or request ros Related to ROS labels Jan 25, 2023
@olmerg olmerg changed the base branch from main to gh-pages February 1, 2023 16:22
@olmerg olmerg changed the base branch from gh-pages to main February 1, 2023 16:22
Copy link
Member

@nahueespinosa nahueespinosa left a comment

Choose a reason for hiding this comment

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

@olmerg Second pass!

beluga_amcl/src/amcl_node.cpp Outdated Show resolved Hide resolved
beluga_amcl/src/amcl_node.cpp Outdated Show resolved Hide resolved
beluga_amcl/include/beluga_amcl/amcl_node.hpp Outdated Show resolved Hide resolved
beluga_example/models/turtlebot.model.yaml Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
Copy link
Member

@nahueespinosa nahueespinosa left a comment

Choose a reason for hiding this comment

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

@olmerg Great! Left a few minor comments.

beluga_amcl/src/amcl_node.cpp Outdated Show resolved Hide resolved
beluga_amcl/src/amcl_node.cpp Outdated Show resolved Hide resolved
beluga_amcl/src/amcl_node.cpp Show resolved Hide resolved
beluga_amcl/src/amcl_node.cpp Outdated Show resolved Hide resolved
beluga_amcl/src/amcl_node.cpp Outdated Show resolved Hide resolved
@nahueespinosa
Copy link
Member

nahueespinosa commented Feb 10, 2023

Looks like this needs a rebase.

@nahueespinosa nahueespinosa changed the base branch from main to gh-pages February 10, 2023 21:17
@nahueespinosa nahueespinosa changed the base branch from gh-pages to main February 10, 2023 21:17
@nahueespinosa nahueespinosa added the cpp Related to C++ code label Feb 11, 2023
@nahueespinosa
Copy link
Member

@olmerg It seems like you merged changes from ivanpauno/set-initial-pose-from-params instead of main. We'll need to wait until that lands on main and you'll need to rebase again after that. Or you can rebase on main now and remove those commits.

Co-authored-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
Copy link
Member

@nahueespinosa nahueespinosa left a comment

Choose a reason for hiding this comment

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

@olmerg I rebased and force-pushed so you don't have to deal with that again. Going in!

@nahueespinosa nahueespinosa merged commit 7c8dcef into main Feb 13, 2023
@nahueespinosa nahueespinosa deleted the olmer/map-to-odom2 branch February 13, 2023 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cpp Related to C++ code enhancement New feature or request ros Related to ROS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants