35 #ifndef DWB_CRITICS__TWIRLING_HPP_
36 #define DWB_CRITICS__TWIRLING_HPP_
38 #include "dwb_core/trajectory_critic.hpp"
54 void onInit()
override;
55 double scoreTrajectory(
const dwb_msgs::msg::Trajectory2D & traj)
override;
Evaluates a Trajectory2D to produce a score.
Penalize trajectories with rotational velocities.
double scoreTrajectory(const dwb_msgs::msg::Trajectory2D &traj) override
Return a raw score for the given trajectory.