88
99from . import action
1010from . import action_server
11+ from . import arm_authorizer_server
1112from . import calibration
1213from . import camera
1314from . import camera_server
1415from . import component_information
1516from . import component_information_server
17+ from . import component_metadata
18+ from . import component_metadata_server
1619from . import core
20+ from . import events
1721from . import failure
1822from . import follow_me
1923from . import ftp
24+ from . import ftp_server
2025from . import geofence
2126from . import gimbal
2227from . import gripper
2328from . import info
2429from . import log_files
2530from . import log_streaming
2631from . import manual_control
32+ from . import mavlink_direct
2733from . import mission
2834from . import mission_raw
2935from . import mission_raw_server
@@ -137,22 +143,28 @@ async def _init_plugins(self, host, port):
137143 self ._plugins = {}
138144 self ._plugins ["action" ] = action .Action (plugin_manager )
139145 self ._plugins ["action_server" ] = action_server .ActionServer (plugin_manager )
146+ self ._plugins ["arm_authorizer_server" ] = arm_authorizer_server .ArmAuthorizerServer (plugin_manager )
140147 self ._plugins ["calibration" ] = calibration .Calibration (plugin_manager )
141148 self ._plugins ["camera" ] = camera .Camera (plugin_manager )
142149 self ._plugins ["camera_server" ] = camera_server .CameraServer (plugin_manager )
143150 self ._plugins ["component_information" ] = component_information .ComponentInformation (plugin_manager )
144151 self ._plugins ["component_information_server" ] = component_information_server .ComponentInformationServer (plugin_manager )
152+ self ._plugins ["component_metadata" ] = component_metadata .ComponentMetadata (plugin_manager )
153+ self ._plugins ["component_metadata_server" ] = component_metadata_server .ComponentMetadataServer (plugin_manager )
145154 self ._plugins ["core" ] = core .Core (plugin_manager )
155+ self ._plugins ["events" ] = events .Events (plugin_manager )
146156 self ._plugins ["failure" ] = failure .Failure (plugin_manager )
147157 self ._plugins ["follow_me" ] = follow_me .FollowMe (plugin_manager )
148158 self ._plugins ["ftp" ] = ftp .Ftp (plugin_manager )
159+ self ._plugins ["ftp_server" ] = ftp_server .FtpServer (plugin_manager )
149160 self ._plugins ["geofence" ] = geofence .Geofence (plugin_manager )
150161 self ._plugins ["gimbal" ] = gimbal .Gimbal (plugin_manager )
151162 self ._plugins ["gripper" ] = gripper .Gripper (plugin_manager )
152163 self ._plugins ["info" ] = info .Info (plugin_manager )
153164 self ._plugins ["log_files" ] = log_files .LogFiles (plugin_manager )
154165 self ._plugins ["log_streaming" ] = log_streaming .LogStreaming (plugin_manager )
155166 self ._plugins ["manual_control" ] = manual_control .ManualControl (plugin_manager )
167+ self ._plugins ["mavlink_direct" ] = mavlink_direct .MavlinkDirect (plugin_manager )
156168 self ._plugins ["mission" ] = mission .Mission (plugin_manager )
157169 self ._plugins ["mission_raw" ] = mission_raw .MissionRaw (plugin_manager )
158170 self ._plugins ["mission_raw_server" ] = mission_raw_server .MissionRawServer (plugin_manager )
@@ -187,6 +199,12 @@ def action_server(self) -> action_server.ActionServer:
187199 raise RuntimeError (self .error_uninitialized ("ActionServer" ))
188200 return self ._plugins ["action_server" ]
189201
202+ @property
203+ def arm_authorizer_server (self ) -> arm_authorizer_server .ArmAuthorizerServer :
204+ if "arm_authorizer_server" not in self ._plugins :
205+ raise RuntimeError (self .error_uninitialized ("ArmAuthorizerServer" ))
206+ return self ._plugins ["arm_authorizer_server" ]
207+
190208 @property
191209 def calibration (self ) -> calibration .Calibration :
192210 if "calibration" not in self ._plugins :
@@ -217,12 +235,30 @@ def component_information_server(self) -> component_information_server.Component
217235 raise RuntimeError (self .error_uninitialized ("ComponentInformationServer" ))
218236 return self ._plugins ["component_information_server" ]
219237
238+ @property
239+ def component_metadata (self ) -> component_metadata .ComponentMetadata :
240+ if "component_metadata" not in self ._plugins :
241+ raise RuntimeError (self .error_uninitialized ("ComponentMetadata" ))
242+ return self ._plugins ["component_metadata" ]
243+
244+ @property
245+ def component_metadata_server (self ) -> component_metadata_server .ComponentMetadataServer :
246+ if "component_metadata_server" not in self ._plugins :
247+ raise RuntimeError (self .error_uninitialized ("ComponentMetadataServer" ))
248+ return self ._plugins ["component_metadata_server" ]
249+
220250 @property
221251 def core (self ) -> core .Core :
222252 if "core" not in self ._plugins :
223253 raise RuntimeError (self .error_uninitialized ("Core" ))
224254 return self ._plugins ["core" ]
225255
256+ @property
257+ def events (self ) -> events .Events :
258+ if "events" not in self ._plugins :
259+ raise RuntimeError (self .error_uninitialized ("Events" ))
260+ return self ._plugins ["events" ]
261+
226262 @property
227263 def failure (self ) -> failure .Failure :
228264 if "failure" not in self ._plugins :
@@ -241,6 +277,12 @@ def ftp(self) -> ftp.Ftp:
241277 raise RuntimeError (self .error_uninitialized ("Ftp" ))
242278 return self ._plugins ["ftp" ]
243279
280+ @property
281+ def ftp_server (self ) -> ftp_server .FtpServer :
282+ if "ftp_server" not in self ._plugins :
283+ raise RuntimeError (self .error_uninitialized ("FtpServer" ))
284+ return self ._plugins ["ftp_server" ]
285+
244286 @property
245287 def geofence (self ) -> geofence .Geofence :
246288 if "geofence" not in self ._plugins :
@@ -283,6 +325,12 @@ def manual_control(self) -> manual_control.ManualControl:
283325 raise RuntimeError (self .error_uninitialized ("ManualControl" ))
284326 return self ._plugins ["manual_control" ]
285327
328+ @property
329+ def mavlink_direct (self ) -> mavlink_direct .MavlinkDirect :
330+ if "mavlink_direct" not in self ._plugins :
331+ raise RuntimeError (self .error_uninitialized ("MavlinkDirect" ))
332+ return self ._plugins ["mavlink_direct" ]
333+
286334 @property
287335 def mission (self ) -> mission .Mission :
288336 if "mission" not in self ._plugins :
@@ -375,7 +423,7 @@ def tune(self) -> tune.Tune:
375423
376424 @property
377425 def winch (self ) -> winch .Winch :
378- if "tune " not in self ._plugins :
426+ if "winch " not in self ._plugins :
379427 raise RuntimeError (self .error_uninitialized ("Winch" ))
380428 return self ._plugins ["winch" ]
381429
0 commit comments