Skip to content

Commit 26e44f2

Browse files
committed
extras landing_target: fix #2080 fov vector init
Signed-off-by: Vladimir Ermakov <[email protected]>
1 parent d3ac243 commit 26e44f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mavros_extras/src/plugins/landing_target.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ class LandingTargetPlugin : public plugin::Plugin,
315315

316316
Eigen::Vector2f angle;
317317
Eigen::Vector2f size_rad;
318-
Eigen::Vector2f fov;
318+
Eigen::Vector2f fov(fov_x, fov_y);
319319

320320
// the norm of the position vector is considered the distance to the landing target
321321
float distance = pos.norm();

0 commit comments

Comments
 (0)