Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/example_behaviors/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ add_library(
src/example_setup_mtc_wave_hand.cpp
src/example_ndt_registration.cpp
src/example_ransac_registration.cpp
src/example_sam2_segmentation.cpp
src/register_behaviors.cpp)
target_include_directories(
example_behaviors
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ class ExampleSAM2Segmentation : public moveit_studio::behaviors::AsyncBehaviorBa
std::shared_future<tl::expected<bool, std::string>> future_;

};
} // namespace sam2_segmentation
} // namespace example_behaviors
2 changes: 1 addition & 1 deletion src/example_behaviors/src/example_sam2_segmentation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,4 @@ namespace example_behaviors
}
};
}
} // namespace sam2_segmentation
} // namespace example_behaviors
2 changes: 2 additions & 0 deletions src/example_behaviors/test/test_behavior_plugins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ TEST(BehaviorTests, test_load_behavior_plugins)
(void)factory.instantiateTreeNode("test_behavior_name", "ExampleNDTRegistration", BT::NodeConfiguration()));
EXPECT_NO_THROW(
(void)factory.instantiateTreeNode("test_behavior_name", "ExampleRANSACRegistration", BT::NodeConfiguration()));
EXPECT_NO_THROW(
(void)factory.instantiateTreeNode("test_behavior_name", "ExampleSAM2Segmentation", BT::NodeConfiguration()));
}

int main(int argc, char** argv)
Expand Down
Loading