-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OMPL and Qt API update, bump cmake minimum version requirement #6136
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -99,7 +99,7 @@ class Circle : public Polygon | |
| * @brief Updates polygon from radius value | ||
| * @param radius New circle radius to update polygon | ||
| */ | ||
| void updatePolygon(double radius); | ||
| void updatePolygonFromRadius(double radius); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please explain |
||
|
|
||
| /** | ||
| * @brief Dynamic circle radius callback | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| cmake_minimum_required(VERSION 3.8) | ||
| cmake_minimum_required(VERSION 3.20) | ||
|
|
||
| project(nav2_common NONE) | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,6 +15,7 @@ | |
| #ifndef NAV2_COSTMAP_2D__FOOTPRINT_SUBSCRIBER_HPP_ | ||
| #define NAV2_COSTMAP_2D__FOOTPRINT_SUBSCRIBER_HPP_ | ||
|
|
||
| #include <atomic> | ||
| #include <string> | ||
| #include <vector> | ||
|
|
||
|
|
@@ -90,8 +91,8 @@ class FootprintSubscriber | |
| tf2_ros::Buffer & tf_; | ||
| std::string robot_base_frame_; | ||
| double transform_tolerance_; | ||
| bool footprint_received_{false}; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please explain |
||
| geometry_msgs::msg::PolygonStamped::ConstSharedPtr footprint_; | ||
| std::atomic_bool footprint_received_{false}; | ||
| std::atomic<geometry_msgs::msg::PolygonStamped::ConstSharedPtr> footprint_; | ||
| nav2::Subscription<geometry_msgs::msg::PolygonStamped>::SharedPtr footprint_sub_; | ||
| }; | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -85,7 +85,7 @@ class FollowingServerShim : public FollowingServer | |
| return FollowingServer::getTrackingPose(pose, frame_id); | ||
| } | ||
|
|
||
| virtual bool rotateToObject(geometry_msgs::msg::PoseStamped &) | ||
| virtual bool rotateToObject(geometry_msgs::msg::PoseStamped &, const std::string &) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please explain |
||
| { | ||
| return true; | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -63,10 +63,15 @@ TEST(ParameterHandlerTest, asTypeConversionTest) | |
| EXPECT_EQ(a.asWrapped<bool>(bool_p), false); | ||
| EXPECT_EQ(a.asWrapped<std::string>(string_p), std::string("hello")); | ||
|
|
||
| EXPECT_EQ(a.asWrapped<std::vector<int64_t>>(intv_p)[0], 1); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please explain |
||
| EXPECT_EQ(a.asWrapped<std::vector<double>>(doublev_p)[0], 10.0); | ||
| EXPECT_EQ(a.asWrapped<std::vector<bool>>(boolv_p)[0], false); | ||
| EXPECT_EQ(a.asWrapped<std::vector<std::string>>(stringv_p)[0], std::string("hello")); | ||
| const auto intv = a.asWrapped<std::vector<int64_t>>(intv_p); | ||
| const auto doublev = a.asWrapped<std::vector<double>>(doublev_p); | ||
| const auto boolv = a.asWrapped<std::vector<bool>>(boolv_p); | ||
| const auto stringv = a.asWrapped<std::vector<std::string>>(stringv_p); | ||
|
|
||
| EXPECT_EQ(intv[0], 1L); | ||
| EXPECT_DOUBLE_EQ(doublev[0], 10.0); | ||
| EXPECT_EQ(boolv[0], false); | ||
| EXPECT_EQ(stringv[0], std::string("hello")); | ||
| } | ||
|
|
||
| TEST(ParameterHandlerTest, PrePostDynamicCallbackTest) | ||
|
|
||
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.
Please explain