From c6748d8d0b566a736d6415b38c70023f5cdd980c Mon Sep 17 00:00:00 2001 From: howetuft Date: Thu, 15 Aug 2019 16:56:46 +0200 Subject: [PATCH] [Robot] jacobian.cpp: Fix compiler warnings "Warning: comparison between signed and unsigned integer expressions [-Wsign-compare]" Changed 'unsigned int' into 'Eigen::Index' type for several loop indexes... --- src/Mod/Robot/App/kdl_cp/jacobian.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Robot/App/kdl_cp/jacobian.cpp b/src/Mod/Robot/App/kdl_cp/jacobian.cpp index 7c49c18c07..dffd7d7bf6 100644 --- a/src/Mod/Robot/App/kdl_cp/jacobian.cpp +++ b/src/Mod/Robot/App/kdl_cp/jacobian.cpp @@ -83,7 +83,7 @@ namespace KDL } void Jacobian::changeRefPoint(const Vector& base_AB){ - for(unsigned int i=0;isetColumn(i,this->getColumn(i).RefPoint(base_AB)); } @@ -97,7 +97,7 @@ namespace KDL } void Jacobian::changeBase(const Rotation& rot){ - for(unsigned int i=0;isetColumn(i,rot*this->getColumn(i));; } @@ -111,7 +111,7 @@ namespace KDL } void Jacobian::changeRefFrame(const Frame& frame){ - for(unsigned int i=0;isetColumn(i,frame*this->getColumn(i)); }