Fixed theta not being set
This commit is contained in:
@ -88,6 +88,7 @@ private:
|
|||||||
tf2::Matrix3x3(quaternion).getRPY(ro,phi,theta);
|
tf2::Matrix3x3(quaternion).getRPY(ro,phi,theta);
|
||||||
point_mtx_.lock();
|
point_mtx_.lock();
|
||||||
point2d_ = {tf2_frame.translation.x,tf2_frame.translation.y};
|
point2d_ = {tf2_frame.translation.x,tf2_frame.translation.y};
|
||||||
|
theta_ = theta;
|
||||||
|
|
||||||
point_mtx_.unlock();
|
point_mtx_.unlock();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user