File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ class ESCStatusPlugin : public plugin::PluginBase
29
29
{
30
30
public:
31
31
ESCStatusPlugin () : PluginBase(),
32
+ nh (" ~" ),
32
33
_max_esc_count(0 ),
33
34
_max_esc_info_index(0 ),
34
- _max_esc_status_index(0 ),
35
- nh(" ~" )
35
+ _max_esc_status_index(0 )
36
36
{}
37
37
38
38
void initialize (UAS &uas_) override
@@ -151,4 +151,4 @@ class ESCStatusPlugin : public plugin::PluginBase
151
151
} // namespace mavros
152
152
153
153
#include < pluginlib/class_list_macros.h>
154
- PLUGINLIB_EXPORT_CLASS (mavros::extra_plugins::ESCStatusPlugin, mavros::plugin::PluginBase)
154
+ PLUGINLIB_EXPORT_CLASS (mavros::extra_plugins::ESCStatusPlugin, mavros::plugin::PluginBase)
Original file line number Diff line number Diff line change @@ -55,24 +55,24 @@ class FakeGPSPlugin : public plugin::PluginBase,
55
55
FakeGPSPlugin () : PluginBase(),
56
56
fp_nh (" ~fake_gps" ),
57
57
gps_rate(5.0 ),
58
+ // WGS-84 ellipsoid (a - equatorial radius, f - flattening of ellipsoid)
59
+ earth(GeographicLib::Constants::WGS84_a(), GeographicLib::Constants::WGS84_f()),
58
60
use_mocap(true ),
59
- map_origin(0.0 , 0.0 , 0.0 ),
60
- mocap_transform(true ),
61
- mocap_withcovariance(false ),
62
61
use_vision(false ),
63
62
use_hil_gps(true ),
64
- gps_id(0 ),
63
+ mocap_transform(true ),
64
+ mocap_withcovariance(false ),
65
65
tf_listen(false ),
66
- tf_rate(10.0 ),
67
66
eph(2.0 ),
68
67
epv(2.0 ),
69
68
horiz_accuracy(0 .0f ),
70
69
vert_accuracy(0 .0f ),
71
70
speed_accuracy(0 .0f ),
71
+ gps_id(0 ),
72
72
satellites_visible(5 ),
73
73
fix_type(GPS_FIX_TYPE::NO_GPS),
74
- // WGS-84 ellipsoid (a - equatorial radius, f - flattening of ellipsoid)
75
- earth(GeographicLib::Constants::WGS84_a(), GeographicLib::Constants::WGS84_f() )
74
+ tf_rate( 10.0 ),
75
+ map_origin( 0.0 , 0.0 , 0.0 )
76
76
{ }
77
77
78
78
void initialize (UAS &uas_) override
You can’t perform that action at this time.
0 commit comments