Fix MTC unittests for new pipeline refactoring (#515)

This commit is contained in:
Sebastian Jahr 2023-12-07 17:29:52 -07:00 committed by Robert Haschke
parent 11c3126052
commit f661c18e69

View File

@ -11,7 +11,7 @@ using namespace moveit::task_constructor;
struct PipelinePlannerTest : public testing::Test struct PipelinePlannerTest : public testing::Test
{ {
PipelinePlannerTest() { PipelinePlannerTest() {
node->declare_parameter<std::string>("STOMP.planning_plugin", "stomp_moveit/StompPlanner"); node->declare_parameter<std::vector<std::string>>("STOMP.planning_plugins", { "stomp_moveit/StompPlanner" });
}; };
const rclcpp::Node::SharedPtr node = rclcpp::Node::make_shared("test_pipeline_planner"); const rclcpp::Node::SharedPtr node = rclcpp::Node::make_shared("test_pipeline_planner");
const moveit::core::RobotModelPtr robot_model = getModel(); const moveit::core::RobotModelPtr robot_model = getModel();