Skip to content

Commit

Permalink
Merge pull request SharedAutonomyToolkit#2 from furushchev/gallow-back
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
furushchev authored Nov 26, 2019
2 parents 10f60fa + 911146d commit be96802
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions safe_teleop_base/src/safe_trajectory_planner_ros.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ namespace safe_teleop {
void SafeTrajectoryPlannerROS::cmdCallback(const geometry_msgs::Twist::ConstPtr& vel) {
if ((safe_backwards_ && ((fabs(vel->linear.x) > 0) || (fabs(vel->linear.y) > 0))) ||
(!safe_backwards_ && ((vel->linear.x > 0) || (fabs(vel->linear.y) > 0))))
{
geometry_msgs::Twist safe_vel;
if (computeVelocityCommands(vel, safe_vel)) {
cmd_pub_.publish(safe_vel);
Expand Down

0 comments on commit be96802

Please sign in to comment.