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

Valid intermediate Points #2307

Merged
merged 3 commits into from
Nov 11, 2024
Merged

Valid intermediate Points #2307

merged 3 commits into from
Nov 11, 2024

Conversation

sanatd33
Copy link
Contributor

@sanatd33 sanatd33 commented Nov 4, 2024

Passes in field dimensions into the create path so that the chosen intermediate point is within the field borders so we dont get stuck

automated style fixes

Co-authored-by: sanatd33 <sanatd33@users.noreply.github.com>
@sanatd33 sanatd33 requested a review from jacksherling November 4, 2024 01:36
@@ -74,6 +74,10 @@ GlobalState::GlobalState(rclcpp::Node* node) {
auto lock = std::lock_guard(last_world_state_mutex_);
return &last_world_state_;
}
[[nodiscard]] FieldDimensions GlobalState::field_dimensions() const {
auto lock = std::lock_guard(last_field_dimensions_mutex_);
return last_field_dimensions_;
Copy link
Contributor

Choose a reason for hiding this comment

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

can we return a reference like with world state?

@jacksherling jacksherling merged commit 1788787 into ros2 Nov 11, 2024
2 checks passed
@jacksherling jacksherling deleted the valid-intermediate-points branch November 11, 2024 02:28
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