Skip to content

Commit

Permalink
mavros_extras: Fix some init order warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenfyhn committed Jun 12, 2023
1 parent 9b35a43 commit abe90d7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions mavros_extras/src/plugins/landing_target.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@ class LandingTargetPlugin : public plugin::PluginBase,
public:
LandingTargetPlugin() :
nh("~landing_target"),
tf_rate(10.0),
send_tf(true),
listen_tf(false),
tf_rate(10.0),
listen_lt(false),
mav_frame("LOCAL_NED"),
target_size_x(1.0),
target_size_y(1.0),
image_width(640),
image_height(480),
fov_x(2.0071286398),
fov_y(2.0071286398),
focal_length(2.8),
image_width(640),
image_height(480),
mav_frame("LOCAL_NED"),
land_target_type("VISION_FIDUCIAL")
{ }

Expand Down
4 changes: 2 additions & 2 deletions mavros_extras/src/plugins/mount_control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ class MountControlPlugin : public plugin::PluginBase {
public:
MountControlPlugin() : PluginBase(),
nh("~"),
mount_diag("Mount"),
mount_nh("~mount_control")
mount_nh("~mount_control"),
mount_diag("Mount")
{ }

void initialize(UAS &uas_) override
Expand Down
2 changes: 1 addition & 1 deletion mavros_extras/src/plugins/wheel_odometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class WheelOdometryPlugin : public plugin::PluginBase {

WheelOdometryPlugin() : PluginBase(),
wo_nh("~wheel_odometry"),
count(0),
odom_mode(OM::NONE),
count(0),
raw_send(false),
twist_send(false),
tf_send(false),
Expand Down

0 comments on commit abe90d7

Please sign in to comment.