Skip to content

Commit

Permalink
Merge branch 'master' into traj
Browse files Browse the repository at this point in the history
  • Loading branch information
liyixin135 committed Jul 19, 2024
2 parents 9670317 + 167cde0 commit a5db247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rm_chassis_controllers/src/chassis_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ void ChassisBase<T...>::follow(const ros::Time& time, const ros::Duration& perio
roll, pitch, yaw);
double follow_error = angles::shortest_angular_distance(yaw, 0);
pid_follow_.computeCommand(-follow_error, period);
vel_cmd_.z = pid_follow_.getCurrentCmd();
vel_cmd_.z = pid_follow_.getCurrentCmd() + cmd_rt_buffer_.readFromRT()->cmd_chassis_.follow_vel_des;
}
catch (tf2::TransformException& ex)
{
Expand Down

0 comments on commit a5db247

Please sign in to comment.