Skip to content

Commit ba87f4e

Browse files
committed
ManualSelector removed
1 parent d382cae commit ba87f4e

File tree

5 files changed

+0
-30
lines changed

5 files changed

+0
-30
lines changed

CMakeLists.txt

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ endif()
2626

2727
#---- project configuration ----
2828
option(BTCPP_SHARED_LIBS "Build shared libraries" ON)
29-
option(BTCPP_MANUAL_SELECTOR "Build manual selector node" OFF)
3029
option(BTCPP_BUILD_TOOLS "Build commandline tools" ON)
3130
option(BTCPP_EXAMPLES "Build tutorials and examples" ON)
3231
option(BTCPP_UNIT_TESTS "Build the unit tests" ON)
@@ -123,16 +122,6 @@ list(APPEND BT_SOURCE
123122
3rdparty/minitrace/minitrace.cpp
124123
)
125124

126-
if(BTCPP_MANUAL_SELECTOR)
127-
find_package(Curses QUIET)
128-
if(CURSES_FOUND)
129-
message(STATUS "NCurses: found.")
130-
list(APPEND BT_SOURCE src/controls/manual_node.cpp )
131-
else()
132-
message(WARNING "NCurses NOT found. Skipping the build of manual selector node.")
133-
endif()
134-
endif()
135-
136125

137126
######################################################
138127

@@ -172,15 +161,6 @@ target_include_directories(${BTCPP_LIBRARY}
172161
${BTCPP_EXTRA_INCLUDE_DIRS}
173162
)
174163

175-
if(CURSES_FOUND)
176-
target_link_libraries(${BTCPP_LIBRARY} PRIVATE
177-
${CURSES_LIBRARIES} )
178-
target_include_directories(${BTCPP_LIBRARY} PRIVATE
179-
${CURSES_INCLUDE_DIRS} )
180-
target_compile_definitions(${BTCPP_LIBRARY} PRIVATE NCURSES_FOUND)
181-
endif()
182-
183-
184164
target_compile_definitions(${BTCPP_LIBRARY} PRIVATE $<$<CONFIG:Debug>:TINYXML2_DEBUG>)
185165

186166
if(MSVC)

examples/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,4 @@ CompileExample("t12_groot_howto")
3131

3232
CompileExample("ex01_wrap_legacy")
3333
CompileExample("ex02_runtime_ports")
34-
35-
if(BTCPP_MANUAL_SELECTOR)
36-
CompileExample("ex03_ncurses_manual_selector")
37-
endif()
38-
3934
CompileExample("ex04_waypoints")

include/behaviortree_cpp/behavior_tree.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#include "behaviortree_cpp/controls/sequence_node.h"
2121
#include "behaviortree_cpp/controls/sequence_star_node.h"
2222
#include "behaviortree_cpp/controls/switch_node.h"
23-
#include "behaviortree_cpp/controls/manual_node.h"
2423
#include "behaviortree_cpp/controls/if_then_else_node.h"
2524
#include "behaviortree_cpp/controls/while_do_else_node.h"
2625

package.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323

2424
<depend>libsqlite3-dev</depend>
2525
<depend>libzmq3-dev</depend>
26-
<depend>libncurses-dev</depend>
2726

2827
<test_depend condition="$ROS_VERSION == 2">ament_cmake_gtest</test_depend>
2928

src/bt_factory.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ BehaviorTreeFactory::BehaviorTreeFactory()
6767
registerNodeType<SwitchNode<5>>("Switch5");
6868
registerNodeType<SwitchNode<6>>("Switch6");
6969

70-
#ifdef NCURSES_FOUND
71-
registerNodeType<ManualSelectorNode>("ManualSelector");
72-
#endif
7370
for (const auto& it : builders_)
7471
{
7572
builtin_IDs_.insert(it.first);

0 commit comments

Comments
 (0)