Skip to content

Commit 8669d91

Browse files
committed
missing identity init
1 parent d754599 commit 8669d91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kuka_cartesian_impedance_controller/src/kuka_cartesian_impedance_controller.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ KukaCartesianImpedanceController::on_configure(
3737
CallbackReturn::SUCCESS) {
3838
return ret;
3939
}
40+
m_identity = ctrl::MatrixND::Identity(Base::m_joint_number, Base::m_joint_number);
4041

4142
m_target_frame_subscriber =
4243
get_node()->create_subscription<geometry_msgs::msg::PoseStamped>(
@@ -345,7 +346,7 @@ void KukaCartesianImpedanceController::computeTargetPos() {
345346

346347
// CLIK parameters
347348
const double eps = 2e-4;
348-
const int IT_MAX = 50;
349+
const int IT_MAX = 100;
349350
const double DT = 0.1;
350351

351352
typedef Eigen::Matrix<double, 6, 1> Vector6d;

0 commit comments

Comments
 (0)