Skip to content

Commit

Permalink
fixed uninitialized translation in _att_only tfs
Browse files Browse the repository at this point in the history
  • Loading branch information
petrlmat committed Dec 14, 2023
1 parent 4a729f2 commit 5266f54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/transform_manager/tf_source.h
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,9 @@ class TfSource {
tf_msg.header.stamp = msg->header.stamp;

geometry_msgs::Pose pose;
pose.position.x = 0.0;
pose.position.y = 0.0;
pose.position.z = 0.0;
pose.orientation = msg->quaternion;
if (is_inverted_) {

Expand Down

0 comments on commit 5266f54

Please sign in to comment.