-
Notifications
You must be signed in to change notification settings - Fork 70
feat(trajectory): add pretty_build() function for Planning/Control component node #332
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
feat(trajectory): add pretty_build() function for Planning/Control component node #332
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
42f5eb6
to
3a4a3e6
Compare
b6f194e
to
d830a10
Compare
11f4623
to
4f7cc92
Compare
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
4f7cc92
to
576f31f
Compare
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.
Only hpp interface addition. LGTM
// limitations under the License. | ||
|
||
#include "autoware/trajectory/utils/pretty_trajectory.hpp" | ||
#include "autoware_utils_geometry/geometry.hpp" |
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.
#include "autoware_utils_geometry/geometry.hpp" | |
#include <autoware_utils_geometry/geometry.hpp> |
#include "autoware/trajectory/interpolator/spherical_linear.hpp" | ||
#include "autoware/trajectory/path_point_with_lane_id.hpp" | ||
#include "autoware/trajectory/trajectory_point.hpp" | ||
#include "autoware_utils_geometry/geometry.hpp" |
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.
#include "autoware_utils_geometry/geometry.hpp" | |
#include <autoware_utils_geometry/geometry.hpp> |
@@ -15,6 +15,8 @@ | |||
#include "autoware/trajectory/utils/closest.hpp" | |||
#include "autoware/trajectory/utils/crossed.hpp" | |||
#include "autoware/trajectory/utils/curvature_utils.hpp" | |||
#include "autoware/trajectory/utils/pretty_trajectory.hpp" | |||
#include "autoware_utils_geometry/geometry.hpp" |
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.
#include "autoware_utils_geometry/geometry.hpp" | |
#include <autoware_utils_geometry/geometry.hpp> |
|
||
const auto & interpolation = input3_interpolation_result.value(); | ||
|
||
const auto new_bases = insert_middle_into_largest_interval(interpolation.get_internal_bases()); |
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.
const auto new_bases = insert_middle_into_largest_interval(interpolation.get_internal_bases()); | |
const auto new_bases = insert_middle_into_largest_interval(interpolation.get_underlying_bases()); |
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.
Yeah that's right 👍
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #332 +/- ##
===========================================
- Coverage 78.75% 22.15% -56.61%
===========================================
Files 11 150 +139
Lines 193 9399 +9206
Branches 73 2137 +2064
===========================================
+ Hits 152 2082 +1930
- Misses 11 7074 +7063
- Partials 30 243 +213
☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…mponent node (autowarefoundation#332) Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Description
Added
pretty_trajectory
function that will be used in most of the Planning/Control component's node entry point.Related links
#322
How was this PR tested?
test passes and coverage is 89.8%
Notes for reviewers
None.
Interface changes
Add following functions
pretty_trajectory
Topic changes
Additions and removals
/topic_name
std_msgs/String
Modifications
/old_topic_name
sensor_msgs/Image
/new_topic_name
sensor_msgs/Image
ROS Parameter Changes
Additions and removals
param_name
double
1.0
Modifications
old_param_name
double
1.0
new_param_name
double
1.0
🔴⬆️ -->
Effects on system behavior
None.