Skip to content

Commit

Permalink
Update fuse_models/include/fuse_models/unicycle_2d_state_cost_function.h
Browse files Browse the repository at this point in the history
Co-authored-by: Enrique Fernandez Perdomo <[email protected]>
  • Loading branch information
jakemclaughlin6 and efernandez authored Sep 17, 2024
1 parent eacf435 commit df22203
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class Unicycle2DStateCostFunction : public ceres::SizedCostFunction<8, 2, 1, 2,
const double delta_yaw_est = parameters[6][0] - parameters[1][0];
const fuse_core::Vector2d position1(parameters[0][0], parameters[0][1]);
const fuse_core::Vector2d position2(parameters[5][0], parameters[5][1]);
const fuse_core::Vector2d position_diff = (position2 - position1);
const fuse_core::Vector2d position_diff = position2 - position1;
const fuse_core::Matrix2d R_yaw_inv = fuse_core::rotationMatrix2D(-parameters[1][0]);

Eigen::Map<fuse_core::Vector8d> residuals_map(residuals);
Expand Down

0 comments on commit df22203

Please sign in to comment.