-
Notifications
You must be signed in to change notification settings - Fork 673
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
test(freespace_planner): add off-track test #3593
test(freespace_planner): add off-track test #3593
Conversation
colcon test fail |
// test for normal route | ||
ASSERT_NO_THROW(test_manager->testWithBehaviorNominalRoute(test_target_node)); | ||
EXPECT_GE(test_manager->getReceivedTopicNum(), 1); | ||
|
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.
test_manager->setInitialPoseTopicName("freespace_planner/input/odometry");
is necessary to define input_initial_pose_name_
And with this change, colcon test passed
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.
test_manager->setInitialPoseTopicName("freespace_planner/input/odometry");
is better to be in generateTestManager()
?
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.
Thank you. Addressed in 1d029c4
Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
8c9a388
to
708759d
Compare
Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
* test(freespace_planner): add off-track test Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * add initialpose topic name initialization Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> --------- Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> Signed-off-by: Mingyu Li <mingyu.li@tier4.jp>
Description
Add a test to check the node will not die when the ego-vehicle pose is located far from the target trajectory.
Related links
#3587 needs to be merged before.
Tests performed
run colcon test.
Notes for reviewers
Interface changes
Effects on system behavior
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.