Skip to content

Commit

Permalink
Fix failing test from different rotational error calc methods
Browse files Browse the repository at this point in the history
  • Loading branch information
marrts committed Jan 12, 2024
1 parent 885e93b commit 566b795
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion trajopt/test/kinematic_costs_unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ TEST_F(KinematicCostsTest, CartPoseJacCalculator) // NOLINT
std::string source_frame = env_->getRootLinkName();
std::string target_frame = "r_gripper_tool_frame";
Eigen::Isometry3d source_frame_offset = env_->getState().link_transforms.at(target_frame);
Eigen::Isometry3d target_frame_offset = Eigen::Isometry3d::Identity();
Eigen::Isometry3d target_frame_offset =
Eigen::Isometry3d::Identity() * Eigen::AngleAxisd(M_PI, Eigen::Vector3d::UnitZ());

Eigen::VectorXd values(7);
values << -1.1, 1.2, -3.3, -1.4, 5.5, -1.6, 7.7;
Expand Down

0 comments on commit 566b795

Please sign in to comment.