def sub_state_message(self, root, info): """StateMessage subscription handler""" return EventEmitterAsyncIterator( self.subscriptions, "maverick_api.modules.api.mavros.VehicleStateSchema" + "VehicleState", )
def sub_vehicle_info_list(self, root, info): """Vehicle info list subscription handler""" return EventEmitterAsyncIterator( self.subscriptions, "maverick_api.modules.api.mavros.VehicleInfoSchema" + "VehicleInfoList", )
def sub_pose_stamped_message(self, root, info): """PoseStampedMessage subscription handler""" return EventEmitterAsyncIterator( self.subscriptions, "maverick_api.modules.api.mavros.PoseStampedSchema" + "PoseStamped", )
def sub_report(self, root, info, **kwargs): """API status report subscription handler""" application_log.info(f"API status report subscription handler {info}") return EventEmitterAsyncIterator( self.subscriptions, "maverick_api.modules.api.status.StatusSchema" + "Status", )
def sub_imu_message(self, root, info): """ImuMessage subscription handler""" return EventEmitterAsyncIterator( self.subscriptions, "modules.api.mavros.ImuSchema" + "Imu")
def sub_shutdown_command_status(self, root, info): return EventEmitterAsyncIterator( self.subscriptions, self.subscription_string + self.name, )
def sub_auth(self, root, info, **kwargs): """Authentication subscription handler""" return EventEmitterAsyncIterator(self.subscriptions, __name__)
def sub_vfr_hud_message(self, root, info): """VfrHudMessage subscription handler""" return EventEmitterAsyncIterator( self.subscriptions, "modules.api.mavros.VfrHudSchema" + "VfrHud" )
def sub_status_text_message(self, root, info): """StatusTextMessage subscription handler""" return EventEmitterAsyncIterator( self.subscriptions, "modules.api.mavros.StatusTextSchema" + "StatusText")
def sub_vehicle_info(self, root, info): """Vehicle info subscription handler""" return EventEmitterAsyncIterator( self.subscriptions, "modules.api.mavros.VehicleInfoSchema" + "VehicleInfo" )
def sub_status_text_message(self, root, info): """StatusTextMessage subscription handler""" return EventEmitterAsyncIterator(self.subscriptions, str(__name__) + "StatusTextMessage")
def sub_vfr_hud_message(self, root, info): """VfrHudMessage subscription handler""" return EventEmitterAsyncIterator(self.subscriptions, str(__name__) + "VfrHudMessage")
def sub_pose_stamped_message(self, root, info): """PoseStampedMessage subscription handler""" return EventEmitterAsyncIterator(self.subscriptions, str(__name__) + "PoseStampedMessage")
def sub_imu_message(self, root, info): """ImuMessage subscription handler""" return EventEmitterAsyncIterator(self.subscriptions, str(__name__) + "ImuMessage")
def sub_nav_sat_fix_message(self, root, info): """NavSatFixMessage subscription handler""" return EventEmitterAsyncIterator(self.subscriptions, __name__)
def sub_mission_list(self, root, info): """Mission list subscription handler""" return EventEmitterAsyncIterator( self.subscriptions, "modules.api.mavros.MissionSchema" + "MissionList")
def sub_mission_database(self, root, info): """Mission database subscription handler""" return EventEmitterAsyncIterator( self.subscriptions, "modules.api.mavros.MissionSchema" + "MissionDatabase")
def sub_shutdown_command_status(self, root, info): return EventEmitterAsyncIterator( self.subscriptions, "modules.api.maverick.MaverickShutdownSchema" + "MaverickShutdown", )
def sub_mode(self, root, info): """mode subscription handler""" return EventEmitterAsyncIterator( self.subscriptions, "modules.api.mavros.ModeSchema" + "Mode")
def sub_configure_command_status(self, root, info): return EventEmitterAsyncIterator( self.subscriptions, "modules.api.maverick.MaverickSchema" + "MaverickConfigure", )
def sub_nav_sat_fix_message(self, root, info): """NavSatFixMessage subscription handler""" return EventEmitterAsyncIterator( self.subscriptions, "maverick_api.modules.api.mavros.NavSatFixSchema" + "NavSatFix", )
def sub_parameter(self, root, info): application_log.debug(f"Parameter subscription handler") return EventEmitterAsyncIterator( self.subscriptions, "maverick_api.modules.api.mavros.ParamSchema" + "Parameter", )