00001 /* Copyright (C) 2015-2017 Michele Colledanchise - All Rights Reserved 00002 * 00003 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 00004 * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 00005 * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 00006 * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 00007 * 00008 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00009 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 00010 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 00011 */ 00012 00013 #ifndef BEHAVIOR_TREE_H 00014 #define BEHAVIOR_TREE_H 00015 00016 00017 00018 00019 00020 #include <draw.h> 00021 00022 #include <parallel_node.h> 00023 #include <fallback_node.h> 00024 #include <sequence_node.h> 00025 00026 #include <decorator_node.h> 00027 #include <decorators/negation_node.h> 00028 00029 #include <sequence_node_with_memory.h> 00030 #include <fallback_node_with_memory.h> 00031 00032 00033 #include <actions/action_test_node.h> 00034 #include <conditions/condition_test_node.h> 00035 #include <actions/ros_action.h> 00036 #include <conditions/ros_condition.h> 00037 00038 00039 #include <exceptions.h> 00040 00041 #include <string> 00042 #include <map> 00043 00044 #include <typeinfo> 00045 #include <math.h> /* pow */ 00046 00047 #include "ros/ros.h" 00048 #include "std_msgs/UInt8.h" 00049 00050 void Execute(BT::ControlNode* root, int TickPeriod_milliseconds); 00051 00052 00053 #endif // BEHAVIOR_TREE_H