Skip to content

Commit 0604a08

Browse files
author
Murilo Marinho
committed
[DQ_Kinematics] Removing all 'this->'.
1 parent f0ae357 commit 0604a08

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/robot_modeling/DQ_Kinematics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ DQ_Kinematics::DQ_Kinematics():
4343
*/
4444
void DQ_Kinematics::_check_to_ith_link(const int &to_ith_link) const
4545
{
46-
if(to_ith_link >= this->get_dim_configuration_space() || to_ith_link < 0)
46+
if(to_ith_link >= get_dim_configuration_space() || to_ith_link < 0)
4747
{
4848
throw std::runtime_error(std::string("Tried to access link index ") + std::to_string(to_ith_link) + std::string(" which is unnavailable."));
4949
}

src/robot_modeling/DQ_SerialManipulator.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ DQ DQ_SerialManipulator::fkm(const VectorXd& q_vec, const int& to_ith_link) con
115115
_check_q_vec(q_vec);
116116
_check_to_ith_link(to_ith_link);
117117

118-
DQ q = reference_frame_ * ( this->raw_fkm(q_vec, to_ith_link) ); //Take the base into account
118+
DQ q = reference_frame_ * raw_fkm(q_vec, to_ith_link); //Take the base into account
119119

120120
if(to_ith_link == get_dim_configuration_space() - 1)
121121
q = q * curr_effector_; //Take into account the end effector
@@ -138,7 +138,7 @@ MatrixXd DQ_SerialManipulator::pose_jacobian(const VectorXd& q_vec, const int &
138138

139139
MatrixXd J = raw_pose_jacobian(q_vec,to_ith_link);
140140

141-
if(to_ith_link==this->get_dim_configuration_space()-1)
141+
if(to_ith_link==get_dim_configuration_space()-1)
142142
{
143143
J = hamiplus8(reference_frame_)*haminus8(curr_effector_)*J;
144144
}
@@ -154,7 +154,7 @@ MatrixXd DQ_SerialManipulator::pose_jacobian(const VectorXd &q_vec) const
154154
{
155155
_check_q_vec(q_vec);
156156

157-
return this->DQ_Kinematics::pose_jacobian(q_vec);
157+
return DQ_Kinematics::pose_jacobian(q_vec);
158158
}
159159

160160

@@ -190,7 +190,7 @@ MatrixXd DQ_SerialManipulator::pose_jacobian_derivative(const VectorXd &q, cons
190190
_check_to_ith_link(to_ith_link);
191191
MatrixXd J_dot = raw_pose_jacobian_derivative(q, q_dot, to_ith_link);
192192

193-
if(to_ith_link==this->get_dim_configuration_space()-1)
193+
if(to_ith_link==get_dim_configuration_space()-1)
194194
{
195195
J_dot = hamiplus8(reference_frame_)*haminus8(curr_effector_)*J_dot;
196196
}
@@ -212,7 +212,7 @@ MatrixXd DQ_SerialManipulator::pose_jacobian_derivative(const VectorXd &q, const
212212
{
213213
_check_q_vec(q);
214214
_check_q_vec(q_dot);
215-
return this->DQ_Kinematics::pose_jacobian_derivative(q, q_dot);
215+
return DQ_Kinematics::pose_jacobian_derivative(q, q_dot);
216216
}
217217

218218
}//namespace DQ_robotics

0 commit comments

Comments
 (0)