Skip to content

Commit

Permalink
fix(trajectory_follower): fix mpc trajectory z pos (autowarefoundatio…
Browse files Browse the repository at this point in the history
…n#2482)

Signed-off-by: takahoribe <horibe.takamasa@gmail.com>

Signed-off-by: takahoribe <horibe.takamasa@gmail.com>
  • Loading branch information
TakaHoribe authored Dec 9, 2022
1 parent d493905 commit 8906a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control/trajectory_follower/src/mpc_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ bool convertToMPCTrajectory(
for (const autoware_auto_planning_msgs::msg::TrajectoryPoint & p : input.points) {
const double x = p.pose.position.x;
const double y = p.pose.position.y;
const double z = 0.0;
const double z = p.pose.position.z;
const double yaw = tf2::getYaw(p.pose.orientation);
const double vx = p.longitudinal_velocity_mps;
const double k = 0.0;
Expand Down

0 comments on commit 8906a1e

Please sign in to comment.