54 th_it_ = std::make_shared<OneDVelocityIterator>(current_velocity.theta,
77 nav_2d_msgs::Twist2D velocity;
78 velocity.x =
x_it_->getVelocity();
79 velocity.y =
y_it_->getVelocity();
80 velocity.theta =
th_it_->getVelocity();
97 if (
y_it_->isFinished())
bool hasMoreTwists() override
nav_2d_msgs::Twist2D nextTwist() override
void initialize(ros::NodeHandle &nh, KinematicParameters::Ptr kinematics) override
std::shared_ptr< KinematicParameters > Ptr
void startNewIteration(const nav_2d_msgs::Twist2D ¤t_velocity, double dt) override
KinematicParameters::Ptr kinematics_
virtual bool isValidVelocity()
std::shared_ptr< OneDVelocityIterator > y_it_
void iterateToValidVelocity()
bool param(const std::string ¶m_name, T ¶m_val, const T &default_val) const
std::shared_ptr< OneDVelocityIterator > th_it_
std::shared_ptr< OneDVelocityIterator > x_it_
param_t loadParameterWithDeprecation(const ros::NodeHandle &nh, const std::string current_name, const std::string old_name, const param_t &default_value)