scenario_simulator_v2 C++ API
walk_straight_action.hpp
Go to the documentation of this file.
1 
12 // Copyright 2015 TIER IV, Inc. All rights reserved.
13 //
14 // Licensed under the Apache License, Version 2.0 (the "License");
15 // you may not use this file except in compliance with the License.
16 // You may obtain a copy of the License at
17 //
18 // http://www.apache.org/licenses/LICENSE-2.0
19 //
20 // Unless required by applicable law or agreed to in writing, software
21 // distributed under the License is distributed on an "AS IS" BASIS,
22 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23 // See the License for the specific language governing permissions and
24 // limitations under the License.
25 
26 #ifndef BEHAVIOR_TREE_PLUGIN__PEDESTRIAN__WALK_STRAIGHT_ACTION_HPP_
27 #define BEHAVIOR_TREE_PLUGIN__PEDESTRIAN__WALK_STRAIGHT_ACTION_HPP_
28 
29 #include <behaviortree_cpp_v3/behavior_tree.h>
30 #include <behaviortree_cpp_v3/bt_factory.h>
31 
33 #include <memory>
34 #include <string>
36 #include <traffic_simulator_msgs/msg/entity_status.hpp>
37 #include <vector>
38 
39 namespace entity_behavior
40 {
41 namespace pedestrian
42 {
44 {
45 public:
46  WalkStraightAction(const std::string & name, const BT::NodeConfiguration & config);
47  BT::NodeStatus tick() override;
48  void getBlackBoardValues() override;
49  static BT::PortsList providedPorts()
50  {
52  }
53 };
54 } // namespace pedestrian
55 } // namespace entity_behavior
56 
57 #endif // BEHAVIOR_TREE_PLUGIN__PEDESTRIAN__WALK_STRAIGHT_ACTION_HPP_
Definition: pedestrian_action_node.hpp:28
static BT::PortsList providedPorts()
Definition: pedestrian_action_node.hpp:32
Definition: walk_straight_action.hpp:44
void getBlackBoardValues() override
Definition: walk_straight_action.cpp:39
static BT::PortsList providedPorts()
Definition: walk_straight_action.hpp:49
WalkStraightAction(const std::string &name, const BT::NodeConfiguration &config)
Definition: walk_straight_action.cpp:33
BT::NodeStatus tick() override
Definition: walk_straight_action.cpp:41
Definition: action_node.hpp:39
std::string string
Definition: junit5.hpp:26