Skip to content

Commit a328bdc

Browse files
committed
fix uninitialzied memory in dynup ik
1 parent 6781439 commit a328bdc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bitbots_motion/bitbots_dynup/src/dynup_ik.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ bitbots_splines::JointGoals DynupIK::calculate(const DynupResponse& ik_goals) {
6464
tf2::toMsg(ik_goals.r_hand_goal_pose, right_hand_goal_msg);
6565
tf2::toMsg(ik_goals.l_hand_goal_pose, left_hand_goal_msg);
6666

67-
bool success;
67+
bool success = true;
6868
goal_state_->updateLinkTransforms();
6969

7070
// Kann man den einfach löschen? Scheint ja nciht so benutzt zu werden

0 commit comments

Comments
 (0)