15 #ifndef DO_NOTHING_PLUGIN__PEDESTRIAN__PLUGIN_HPP_
16 #define DO_NOTHING_PLUGIN__PEDESTRIAN__PLUGIN_HPP_
30 void update(
double current_time,
double step_time)
override;
35 void configure(
const rclcpp::Logger & logger)
override;
43 #define DEFINE_GETTER_SETTER(NAME, TYPE) \
45 TYPE get##NAME() override { return TYPE(); }; \
46 void set##NAME(const TYPE &) override{};
62 #undef DEFINE_GETTER_SETTER
65 #define DEFINE_GETTER_SETTER(NAME, TYPE, FIELD_NAME) \
67 TYPE get##NAME() override { return FIELD_NAME; }; \
68 void set##NAME(const TYPE & value) override { FIELD_NAME = value; }; \
73 DEFINE_GETTER_SETTER(BehaviorParameter, traffic_simulator_msgs::msg::BehaviorParameter, behavior_parameter_)
77 DEFINE_GETTER_SETTER(PolylineTrajectory,
std::shared_ptr<traffic_simulator_msgs::msg::PolylineTrajectory>, polyline_trajectory)
81 #undef DEFINE_GETTER_SETTER
Definition: behavior_plugin_base.hpp:40
Definition: plugin.hpp:23
void update(double current_time, double step_time) override
just update timestamp of entity_status_ member variable.
Definition: plugin.cpp:162
void configure(const rclcpp::Logger &logger) override
setup rclcpp::logger for debug output, but there is no debug output in this plugin.
Definition: plugin.cpp:157
const std::string & getCurrentAction() const override
Get the Current Action object.
Definition: plugin.cpp:197
Definition: action_node.hpp:39
std::unordered_map< std::string, traffic_simulator::CanonicalizedEntityStatus > EntityStatusDict
Definition: behavior_plugin_base.hpp:37
Definition: bounding_box.hpp:32
Request
Definition: behavior.hpp:25
std::string string
Definition: junit5.hpp:26
#define DEFINE_GETTER_SETTER(NAME, TYPE)
Definition: plugin.hpp:65