47 #include <Box2D/Box2D.h> 48 #include <flatland_plugins/update_timer.h> 49 #include <flatland_server/model_plugin.h> 50 #include <flatland_server/timekeeper.h> 51 #include <flatland_server/types.h> 52 #include <geometry_msgs/Twist.h> 53 #include <nav_msgs/Odometry.h> 54 #include <std_msgs/Bool.h> 57 #ifndef FLATLAND_PLUGINS_TWEEN_H 58 #define FLATLAND_PLUGINS_TWEEN_H 71 ros::Subscriber trigger_sub_;
72 bool triggered_ =
false;
74 tweeny::tween<double, double, double> tween_;
77 enum class ModeType_ {
84 static std::map<std::string, Tween::ModeType_> mode_strings_;
86 enum class EasingType_ {
117 static std::map<std::string, Tween::EasingType_> easing_strings_;
124 void OnInitialize(
const YAML::Node& config)
override;
130 void BeforePhysicsStep(
const Timekeeper& timekeeper)
override;
137 void TriggerCallback(
const std_msgs::Bool& msg);
Definition: dummy_model_plugin.h:59
Definition: timekeeper.h:55
Definition: model_plugin.h:64