diff --git a/MAVSDK_SERVER_VERSION b/MAVSDK_SERVER_VERSION index f6460f6b..795460fc 100644 --- a/MAVSDK_SERVER_VERSION +++ b/MAVSDK_SERVER_VERSION @@ -1 +1 @@ -v0.50.0 +v1.1.0 diff --git a/examples/takeoff_and_land.py b/examples/takeoff_and_land.py index 4eda81d6..7899fe93 100755 --- a/examples/takeoff_and_land.py +++ b/examples/takeoff_and_land.py @@ -27,7 +27,7 @@ async def run(): print("-- Taking off") await drone.action.takeoff() - await asyncio.sleep(5) + await asyncio.sleep(10) print("-- Landing") await drone.action.land() diff --git a/mavsdk/action.py b/mavsdk/action.py index 26c80b03..d517adc8 100644 --- a/mavsdk/action.py +++ b/mavsdk/action.py @@ -124,6 +124,9 @@ class Result(Enum): PARAMETER_ERROR Error getting or setting parameter + UNSUPPORTED + Action not supported + """ @@ -139,6 +142,7 @@ class Result(Enum): VTOL_TRANSITION_SUPPORT_UNKNOWN = 9 NO_VTOL_TRANSITION_SUPPORT = 10 PARAMETER_ERROR = 11 + UNSUPPORTED = 12 def translate_to_rpc(self): if self == ActionResult.Result.UNKNOWN: @@ -165,6 +169,8 @@ def translate_to_rpc(self): return action_pb2.ActionResult.RESULT_NO_VTOL_TRANSITION_SUPPORT if self == ActionResult.Result.PARAMETER_ERROR: return action_pb2.ActionResult.RESULT_PARAMETER_ERROR + if self == ActionResult.Result.UNSUPPORTED: + return action_pb2.ActionResult.RESULT_UNSUPPORTED @staticmethod def translate_from_rpc(rpc_enum_value): @@ -193,6 +199,8 @@ def translate_from_rpc(rpc_enum_value): return ActionResult.Result.NO_VTOL_TRANSITION_SUPPORT if rpc_enum_value == action_pb2.ActionResult.RESULT_PARAMETER_ERROR: return ActionResult.Result.PARAMETER_ERROR + if rpc_enum_value == action_pb2.ActionResult.RESULT_UNSUPPORTED: + return ActionResult.Result.UNSUPPORTED def __str__(self): return self.name diff --git a/mavsdk/action_pb2.py b/mavsdk/action_pb2.py index 559d8eac..9aee6ee9 100644 --- a/mavsdk/action_pb2.py +++ b/mavsdk/action_pb2.py @@ -4,6 +4,7 @@ """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -15,56 +16,9 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='action/action.proto', - package='mavsdk.rpc.action', - syntax='proto3', - serialized_options=b'\n\020io.mavsdk.actionB\013ActionProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x13\x61\x63tion/action.proto\x12\x11mavsdk.rpc.action\x1a\x14mavsdk_options.proto\"\x0c\n\nArmRequest\"E\n\x0b\x41rmResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\x0f\n\rDisarmRequest\"H\n\x0e\x44isarmResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\x10\n\x0eTakeoffRequest\"I\n\x0fTakeoffResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\r\n\x0bLandRequest\"F\n\x0cLandResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\x0f\n\rRebootRequest\"H\n\x0eRebootResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\x11\n\x0fShutdownRequest\"J\n\x10ShutdownResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\x12\n\x10TerminateRequest\"K\n\x11TerminateResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\r\n\x0bKillRequest\"F\n\x0cKillResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\x17\n\x15ReturnToLaunchRequest\"P\n\x16ReturnToLaunchResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"p\n\x13GotoLocationRequest\x12\x14\n\x0clatitude_deg\x18\x01 \x01(\x01\x12\x15\n\rlongitude_deg\x18\x02 \x01(\x01\x12\x1b\n\x13\x61\x62solute_altitude_m\x18\x03 \x01(\x02\x12\x0f\n\x07yaw_deg\x18\x04 \x01(\x02\"N\n\x14GotoLocationResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\xd7\x01\n\x0e\x44oOrbitRequest\x12\x10\n\x08radius_m\x18\x01 \x01(\x02\x12\x13\n\x0bvelocity_ms\x18\x02 \x01(\x02\x12\x39\n\x0cyaw_behavior\x18\x03 \x01(\x0e\x32#.mavsdk.rpc.action.OrbitYawBehavior\x12\x1d\n\x0clatitude_deg\x18\x05 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12\x1e\n\rlongitude_deg\x18\x06 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13\x61\x62solute_altitude_m\x18\x07 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\"I\n\x0f\x44oOrbitResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\r\n\x0bHoldRequest\"F\n\x0cHoldResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"2\n\x12SetActuatorRequest\x12\r\n\x05index\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02\"M\n\x13SetActuatorResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\x1e\n\x1cTransitionToFixedwingRequest\"W\n\x1dTransitionToFixedwingResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\" \n\x1eTransitionToMulticopterRequest\"Y\n\x1fTransitionToMulticopterResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\x1b\n\x19GetTakeoffAltitudeRequest\"f\n\x1aGetTakeoffAltitudeResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\x12\x10\n\x08\x61ltitude\x18\x02 \x01(\x02\"-\n\x19SetTakeoffAltitudeRequest\x12\x10\n\x08\x61ltitude\x18\x01 \x01(\x02\"T\n\x1aSetTakeoffAltitudeResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\x18\n\x16GetMaximumSpeedRequest\"`\n\x17GetMaximumSpeedResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\x12\r\n\x05speed\x18\x02 \x01(\x02\"\'\n\x16SetMaximumSpeedRequest\x12\r\n\x05speed\x18\x01 \x01(\x02\"Q\n\x17SetMaximumSpeedResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\"\n GetReturnToLaunchAltitudeRequest\"x\n!GetReturnToLaunchAltitudeResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\x12\x1b\n\x13relative_altitude_m\x18\x02 \x01(\x02\"?\n SetReturnToLaunchAltitudeRequest\x12\x1b\n\x13relative_altitude_m\x18\x01 \x01(\x02\"[\n!SetReturnToLaunchAltitudeResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\xc5\x03\n\x0c\x41\x63tionResult\x12\x36\n\x06result\x18\x01 \x01(\x0e\x32&.mavsdk.rpc.action.ActionResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xe8\x02\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x19\n\x15RESULT_COMMAND_DENIED\x10\x05\x12.\n*RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN\x10\x06\x12$\n RESULT_COMMAND_DENIED_NOT_LANDED\x10\x07\x12\x12\n\x0eRESULT_TIMEOUT\x10\x08\x12*\n&RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN\x10\t\x12%\n!RESULT_NO_VTOL_TRANSITION_SUPPORT\x10\n\x12\x1a\n\x16RESULT_PARAMETER_ERROR\x10\x0b*\xf3\x01\n\x10OrbitYawBehavior\x12\x32\n.ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TO_CIRCLE_CENTER\x10\x00\x12+\n\'ORBIT_YAW_BEHAVIOR_HOLD_INITIAL_HEADING\x10\x01\x12#\n\x1fORBIT_YAW_BEHAVIOR_UNCONTROLLED\x10\x02\x12\x33\n/ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TANGENT_TO_CIRCLE\x10\x03\x12$\n ORBIT_YAW_BEHAVIOR_RC_CONTROLLED\x10\x04\x32\xba\x10\n\rActionService\x12\x46\n\x03\x41rm\x12\x1d.mavsdk.rpc.action.ArmRequest\x1a\x1e.mavsdk.rpc.action.ArmResponse\"\x00\x12O\n\x06\x44isarm\x12 .mavsdk.rpc.action.DisarmRequest\x1a!.mavsdk.rpc.action.DisarmResponse\"\x00\x12R\n\x07Takeoff\x12!.mavsdk.rpc.action.TakeoffRequest\x1a\".mavsdk.rpc.action.TakeoffResponse\"\x00\x12I\n\x04Land\x12\x1e.mavsdk.rpc.action.LandRequest\x1a\x1f.mavsdk.rpc.action.LandResponse\"\x00\x12O\n\x06Reboot\x12 .mavsdk.rpc.action.RebootRequest\x1a!.mavsdk.rpc.action.RebootResponse\"\x00\x12U\n\x08Shutdown\x12\".mavsdk.rpc.action.ShutdownRequest\x1a#.mavsdk.rpc.action.ShutdownResponse\"\x00\x12X\n\tTerminate\x12#.mavsdk.rpc.action.TerminateRequest\x1a$.mavsdk.rpc.action.TerminateResponse\"\x00\x12I\n\x04Kill\x12\x1e.mavsdk.rpc.action.KillRequest\x1a\x1f.mavsdk.rpc.action.KillResponse\"\x00\x12g\n\x0eReturnToLaunch\x12(.mavsdk.rpc.action.ReturnToLaunchRequest\x1a).mavsdk.rpc.action.ReturnToLaunchResponse\"\x00\x12\x61\n\x0cGotoLocation\x12&.mavsdk.rpc.action.GotoLocationRequest\x1a\'.mavsdk.rpc.action.GotoLocationResponse\"\x00\x12R\n\x07\x44oOrbit\x12!.mavsdk.rpc.action.DoOrbitRequest\x1a\".mavsdk.rpc.action.DoOrbitResponse\"\x00\x12I\n\x04Hold\x12\x1e.mavsdk.rpc.action.HoldRequest\x1a\x1f.mavsdk.rpc.action.HoldResponse\"\x00\x12^\n\x0bSetActuator\x12%.mavsdk.rpc.action.SetActuatorRequest\x1a&.mavsdk.rpc.action.SetActuatorResponse\"\x00\x12|\n\x15TransitionToFixedwing\x12/.mavsdk.rpc.action.TransitionToFixedwingRequest\x1a\x30.mavsdk.rpc.action.TransitionToFixedwingResponse\"\x00\x12\x82\x01\n\x17TransitionToMulticopter\x12\x31.mavsdk.rpc.action.TransitionToMulticopterRequest\x1a\x32.mavsdk.rpc.action.TransitionToMulticopterResponse\"\x00\x12s\n\x12GetTakeoffAltitude\x12,.mavsdk.rpc.action.GetTakeoffAltitudeRequest\x1a-.mavsdk.rpc.action.GetTakeoffAltitudeResponse\"\x00\x12s\n\x12SetTakeoffAltitude\x12,.mavsdk.rpc.action.SetTakeoffAltitudeRequest\x1a-.mavsdk.rpc.action.SetTakeoffAltitudeResponse\"\x00\x12j\n\x0fGetMaximumSpeed\x12).mavsdk.rpc.action.GetMaximumSpeedRequest\x1a*.mavsdk.rpc.action.GetMaximumSpeedResponse\"\x00\x12j\n\x0fSetMaximumSpeed\x12).mavsdk.rpc.action.SetMaximumSpeedRequest\x1a*.mavsdk.rpc.action.SetMaximumSpeedResponse\"\x00\x12\x88\x01\n\x19GetReturnToLaunchAltitude\x12\x33.mavsdk.rpc.action.GetReturnToLaunchAltitudeRequest\x1a\x34.mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse\"\x00\x12\x88\x01\n\x19SetReturnToLaunchAltitude\x12\x33.mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest\x1a\x34.mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse\"\x00\x42\x1f\n\x10io.mavsdk.actionB\x0b\x41\x63tionProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) - -_ORBITYAWBEHAVIOR = _descriptor.EnumDescriptor( - name='OrbitYawBehavior', - full_name='mavsdk.rpc.action.OrbitYawBehavior', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TO_CIRCLE_CENTER', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ORBIT_YAW_BEHAVIOR_HOLD_INITIAL_HEADING', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ORBIT_YAW_BEHAVIOR_UNCONTROLLED', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TANGENT_TO_CIRCLE', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ORBIT_YAW_BEHAVIOR_RC_CONTROLLED', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=3135, - serialized_end=3378, -) -_sym_db.RegisterEnumDescriptor(_ORBITYAWBEHAVIOR) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13\x61\x63tion/action.proto\x12\x11mavsdk.rpc.action\x1a\x14mavsdk_options.proto\"\x0c\n\nArmRequest\"E\n\x0b\x41rmResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\x0f\n\rDisarmRequest\"H\n\x0e\x44isarmResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\x10\n\x0eTakeoffRequest\"I\n\x0fTakeoffResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\r\n\x0bLandRequest\"F\n\x0cLandResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\x0f\n\rRebootRequest\"H\n\x0eRebootResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\x11\n\x0fShutdownRequest\"J\n\x10ShutdownResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\x12\n\x10TerminateRequest\"K\n\x11TerminateResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\r\n\x0bKillRequest\"F\n\x0cKillResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\x17\n\x15ReturnToLaunchRequest\"P\n\x16ReturnToLaunchResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"p\n\x13GotoLocationRequest\x12\x14\n\x0clatitude_deg\x18\x01 \x01(\x01\x12\x15\n\rlongitude_deg\x18\x02 \x01(\x01\x12\x1b\n\x13\x61\x62solute_altitude_m\x18\x03 \x01(\x02\x12\x0f\n\x07yaw_deg\x18\x04 \x01(\x02\"N\n\x14GotoLocationResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\xd7\x01\n\x0e\x44oOrbitRequest\x12\x10\n\x08radius_m\x18\x01 \x01(\x02\x12\x13\n\x0bvelocity_ms\x18\x02 \x01(\x02\x12\x39\n\x0cyaw_behavior\x18\x03 \x01(\x0e\x32#.mavsdk.rpc.action.OrbitYawBehavior\x12\x1d\n\x0clatitude_deg\x18\x05 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12\x1e\n\rlongitude_deg\x18\x06 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13\x61\x62solute_altitude_m\x18\x07 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\"I\n\x0f\x44oOrbitResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\r\n\x0bHoldRequest\"F\n\x0cHoldResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"2\n\x12SetActuatorRequest\x12\r\n\x05index\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02\"M\n\x13SetActuatorResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\x1e\n\x1cTransitionToFixedwingRequest\"W\n\x1dTransitionToFixedwingResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\" \n\x1eTransitionToMulticopterRequest\"Y\n\x1fTransitionToMulticopterResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\x1b\n\x19GetTakeoffAltitudeRequest\"f\n\x1aGetTakeoffAltitudeResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\x12\x10\n\x08\x61ltitude\x18\x02 \x01(\x02\"-\n\x19SetTakeoffAltitudeRequest\x12\x10\n\x08\x61ltitude\x18\x01 \x01(\x02\"T\n\x1aSetTakeoffAltitudeResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\x18\n\x16GetMaximumSpeedRequest\"`\n\x17GetMaximumSpeedResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\x12\r\n\x05speed\x18\x02 \x01(\x02\"\'\n\x16SetMaximumSpeedRequest\x12\r\n\x05speed\x18\x01 \x01(\x02\"Q\n\x17SetMaximumSpeedResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\"\n GetReturnToLaunchAltitudeRequest\"x\n!GetReturnToLaunchAltitudeResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\x12\x1b\n\x13relative_altitude_m\x18\x02 \x01(\x02\"?\n SetReturnToLaunchAltitudeRequest\x12\x1b\n\x13relative_altitude_m\x18\x01 \x01(\x02\"[\n!SetReturnToLaunchAltitudeResponse\x12\x36\n\raction_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.action.ActionResult\"\xdd\x03\n\x0c\x41\x63tionResult\x12\x36\n\x06result\x18\x01 \x01(\x0e\x32&.mavsdk.rpc.action.ActionResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\x80\x03\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x19\n\x15RESULT_COMMAND_DENIED\x10\x05\x12.\n*RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN\x10\x06\x12$\n RESULT_COMMAND_DENIED_NOT_LANDED\x10\x07\x12\x12\n\x0eRESULT_TIMEOUT\x10\x08\x12*\n&RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN\x10\t\x12%\n!RESULT_NO_VTOL_TRANSITION_SUPPORT\x10\n\x12\x1a\n\x16RESULT_PARAMETER_ERROR\x10\x0b\x12\x16\n\x12RESULT_UNSUPPORTED\x10\x0c*\xf3\x01\n\x10OrbitYawBehavior\x12\x32\n.ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TO_CIRCLE_CENTER\x10\x00\x12+\n\'ORBIT_YAW_BEHAVIOR_HOLD_INITIAL_HEADING\x10\x01\x12#\n\x1fORBIT_YAW_BEHAVIOR_UNCONTROLLED\x10\x02\x12\x33\n/ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TANGENT_TO_CIRCLE\x10\x03\x12$\n ORBIT_YAW_BEHAVIOR_RC_CONTROLLED\x10\x04\x32\xba\x10\n\rActionService\x12\x46\n\x03\x41rm\x12\x1d.mavsdk.rpc.action.ArmRequest\x1a\x1e.mavsdk.rpc.action.ArmResponse\"\x00\x12O\n\x06\x44isarm\x12 .mavsdk.rpc.action.DisarmRequest\x1a!.mavsdk.rpc.action.DisarmResponse\"\x00\x12R\n\x07Takeoff\x12!.mavsdk.rpc.action.TakeoffRequest\x1a\".mavsdk.rpc.action.TakeoffResponse\"\x00\x12I\n\x04Land\x12\x1e.mavsdk.rpc.action.LandRequest\x1a\x1f.mavsdk.rpc.action.LandResponse\"\x00\x12O\n\x06Reboot\x12 .mavsdk.rpc.action.RebootRequest\x1a!.mavsdk.rpc.action.RebootResponse\"\x00\x12U\n\x08Shutdown\x12\".mavsdk.rpc.action.ShutdownRequest\x1a#.mavsdk.rpc.action.ShutdownResponse\"\x00\x12X\n\tTerminate\x12#.mavsdk.rpc.action.TerminateRequest\x1a$.mavsdk.rpc.action.TerminateResponse\"\x00\x12I\n\x04Kill\x12\x1e.mavsdk.rpc.action.KillRequest\x1a\x1f.mavsdk.rpc.action.KillResponse\"\x00\x12g\n\x0eReturnToLaunch\x12(.mavsdk.rpc.action.ReturnToLaunchRequest\x1a).mavsdk.rpc.action.ReturnToLaunchResponse\"\x00\x12\x61\n\x0cGotoLocation\x12&.mavsdk.rpc.action.GotoLocationRequest\x1a\'.mavsdk.rpc.action.GotoLocationResponse\"\x00\x12R\n\x07\x44oOrbit\x12!.mavsdk.rpc.action.DoOrbitRequest\x1a\".mavsdk.rpc.action.DoOrbitResponse\"\x00\x12I\n\x04Hold\x12\x1e.mavsdk.rpc.action.HoldRequest\x1a\x1f.mavsdk.rpc.action.HoldResponse\"\x00\x12^\n\x0bSetActuator\x12%.mavsdk.rpc.action.SetActuatorRequest\x1a&.mavsdk.rpc.action.SetActuatorResponse\"\x00\x12|\n\x15TransitionToFixedwing\x12/.mavsdk.rpc.action.TransitionToFixedwingRequest\x1a\x30.mavsdk.rpc.action.TransitionToFixedwingResponse\"\x00\x12\x82\x01\n\x17TransitionToMulticopter\x12\x31.mavsdk.rpc.action.TransitionToMulticopterRequest\x1a\x32.mavsdk.rpc.action.TransitionToMulticopterResponse\"\x00\x12s\n\x12GetTakeoffAltitude\x12,.mavsdk.rpc.action.GetTakeoffAltitudeRequest\x1a-.mavsdk.rpc.action.GetTakeoffAltitudeResponse\"\x00\x12s\n\x12SetTakeoffAltitude\x12,.mavsdk.rpc.action.SetTakeoffAltitudeRequest\x1a-.mavsdk.rpc.action.SetTakeoffAltitudeResponse\"\x00\x12j\n\x0fGetMaximumSpeed\x12).mavsdk.rpc.action.GetMaximumSpeedRequest\x1a*.mavsdk.rpc.action.GetMaximumSpeedResponse\"\x00\x12j\n\x0fSetMaximumSpeed\x12).mavsdk.rpc.action.SetMaximumSpeedRequest\x1a*.mavsdk.rpc.action.SetMaximumSpeedResponse\"\x00\x12\x88\x01\n\x19GetReturnToLaunchAltitude\x12\x33.mavsdk.rpc.action.GetReturnToLaunchAltitudeRequest\x1a\x34.mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse\"\x00\x12\x88\x01\n\x19SetReturnToLaunchAltitude\x12\x33.mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest\x1a\x34.mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse\"\x00\x42\x1f\n\x10io.mavsdk.actionB\x0b\x41\x63tionProtob\x06proto3') +_ORBITYAWBEHAVIOR = DESCRIPTOR.enum_types_by_name['OrbitYawBehavior'] OrbitYawBehavior = enum_type_wrapper.EnumTypeWrapper(_ORBITYAWBEHAVIOR) ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TO_CIRCLE_CENTER = 0 ORBIT_YAW_BEHAVIOR_HOLD_INITIAL_HEADING = 1 @@ -73,1514 +27,50 @@ ORBIT_YAW_BEHAVIOR_RC_CONTROLLED = 4 -_ACTIONRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.action.ActionResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_CONNECTION_ERROR', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_BUSY', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_COMMAND_DENIED', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_COMMAND_DENIED_NOT_LANDED', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TIMEOUT', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN', index=9, number=9, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_VTOL_TRANSITION_SUPPORT', index=10, number=10, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_PARAMETER_ERROR', index=11, number=11, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=2772, - serialized_end=3132, -) -_sym_db.RegisterEnumDescriptor(_ACTIONRESULT_RESULT) - - -_ARMREQUEST = _descriptor.Descriptor( - name='ArmRequest', - full_name='mavsdk.rpc.action.ArmRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=64, - serialized_end=76, -) - - -_ARMRESPONSE = _descriptor.Descriptor( - name='ArmResponse', - full_name='mavsdk.rpc.action.ArmResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.ArmResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=78, - serialized_end=147, -) - - -_DISARMREQUEST = _descriptor.Descriptor( - name='DisarmRequest', - full_name='mavsdk.rpc.action.DisarmRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=149, - serialized_end=164, -) - - -_DISARMRESPONSE = _descriptor.Descriptor( - name='DisarmResponse', - full_name='mavsdk.rpc.action.DisarmResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.DisarmResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=166, - serialized_end=238, -) - - -_TAKEOFFREQUEST = _descriptor.Descriptor( - name='TakeoffRequest', - full_name='mavsdk.rpc.action.TakeoffRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=240, - serialized_end=256, -) - - -_TAKEOFFRESPONSE = _descriptor.Descriptor( - name='TakeoffResponse', - full_name='mavsdk.rpc.action.TakeoffResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.TakeoffResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=258, - serialized_end=331, -) - - -_LANDREQUEST = _descriptor.Descriptor( - name='LandRequest', - full_name='mavsdk.rpc.action.LandRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=333, - serialized_end=346, -) - - -_LANDRESPONSE = _descriptor.Descriptor( - name='LandResponse', - full_name='mavsdk.rpc.action.LandResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.LandResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=348, - serialized_end=418, -) - - -_REBOOTREQUEST = _descriptor.Descriptor( - name='RebootRequest', - full_name='mavsdk.rpc.action.RebootRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=420, - serialized_end=435, -) - - -_REBOOTRESPONSE = _descriptor.Descriptor( - name='RebootResponse', - full_name='mavsdk.rpc.action.RebootResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.RebootResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=437, - serialized_end=509, -) - - -_SHUTDOWNREQUEST = _descriptor.Descriptor( - name='ShutdownRequest', - full_name='mavsdk.rpc.action.ShutdownRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=511, - serialized_end=528, -) - - -_SHUTDOWNRESPONSE = _descriptor.Descriptor( - name='ShutdownResponse', - full_name='mavsdk.rpc.action.ShutdownResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.ShutdownResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=530, - serialized_end=604, -) - - -_TERMINATEREQUEST = _descriptor.Descriptor( - name='TerminateRequest', - full_name='mavsdk.rpc.action.TerminateRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=606, - serialized_end=624, -) - - -_TERMINATERESPONSE = _descriptor.Descriptor( - name='TerminateResponse', - full_name='mavsdk.rpc.action.TerminateResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.TerminateResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=626, - serialized_end=701, -) - - -_KILLREQUEST = _descriptor.Descriptor( - name='KillRequest', - full_name='mavsdk.rpc.action.KillRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=703, - serialized_end=716, -) - - -_KILLRESPONSE = _descriptor.Descriptor( - name='KillResponse', - full_name='mavsdk.rpc.action.KillResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.KillResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=718, - serialized_end=788, -) - - -_RETURNTOLAUNCHREQUEST = _descriptor.Descriptor( - name='ReturnToLaunchRequest', - full_name='mavsdk.rpc.action.ReturnToLaunchRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=790, - serialized_end=813, -) - - -_RETURNTOLAUNCHRESPONSE = _descriptor.Descriptor( - name='ReturnToLaunchResponse', - full_name='mavsdk.rpc.action.ReturnToLaunchResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.ReturnToLaunchResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=815, - serialized_end=895, -) - - -_GOTOLOCATIONREQUEST = _descriptor.Descriptor( - name='GotoLocationRequest', - full_name='mavsdk.rpc.action.GotoLocationRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='latitude_deg', full_name='mavsdk.rpc.action.GotoLocationRequest.latitude_deg', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='longitude_deg', full_name='mavsdk.rpc.action.GotoLocationRequest.longitude_deg', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='absolute_altitude_m', full_name='mavsdk.rpc.action.GotoLocationRequest.absolute_altitude_m', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yaw_deg', full_name='mavsdk.rpc.action.GotoLocationRequest.yaw_deg', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=897, - serialized_end=1009, -) - - -_GOTOLOCATIONRESPONSE = _descriptor.Descriptor( - name='GotoLocationResponse', - full_name='mavsdk.rpc.action.GotoLocationResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.GotoLocationResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1011, - serialized_end=1089, -) - - -_DOORBITREQUEST = _descriptor.Descriptor( - name='DoOrbitRequest', - full_name='mavsdk.rpc.action.DoOrbitRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='radius_m', full_name='mavsdk.rpc.action.DoOrbitRequest.radius_m', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='velocity_ms', full_name='mavsdk.rpc.action.DoOrbitRequest.velocity_ms', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yaw_behavior', full_name='mavsdk.rpc.action.DoOrbitRequest.yaw_behavior', index=2, - number=3, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='latitude_deg', full_name='mavsdk.rpc.action.DoOrbitRequest.latitude_deg', index=3, - number=5, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='longitude_deg', full_name='mavsdk.rpc.action.DoOrbitRequest.longitude_deg', index=4, - number=6, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='absolute_altitude_m', full_name='mavsdk.rpc.action.DoOrbitRequest.absolute_altitude_m', index=5, - number=7, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1092, - serialized_end=1307, -) - - -_DOORBITRESPONSE = _descriptor.Descriptor( - name='DoOrbitResponse', - full_name='mavsdk.rpc.action.DoOrbitResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.DoOrbitResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1309, - serialized_end=1382, -) - - -_HOLDREQUEST = _descriptor.Descriptor( - name='HoldRequest', - full_name='mavsdk.rpc.action.HoldRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1384, - serialized_end=1397, -) - - -_HOLDRESPONSE = _descriptor.Descriptor( - name='HoldResponse', - full_name='mavsdk.rpc.action.HoldResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.HoldResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1399, - serialized_end=1469, -) - - -_SETACTUATORREQUEST = _descriptor.Descriptor( - name='SetActuatorRequest', - full_name='mavsdk.rpc.action.SetActuatorRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='index', full_name='mavsdk.rpc.action.SetActuatorRequest.index', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='mavsdk.rpc.action.SetActuatorRequest.value', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1471, - serialized_end=1521, -) - - -_SETACTUATORRESPONSE = _descriptor.Descriptor( - name='SetActuatorResponse', - full_name='mavsdk.rpc.action.SetActuatorResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.SetActuatorResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1523, - serialized_end=1600, -) - - -_TRANSITIONTOFIXEDWINGREQUEST = _descriptor.Descriptor( - name='TransitionToFixedwingRequest', - full_name='mavsdk.rpc.action.TransitionToFixedwingRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1602, - serialized_end=1632, -) - - -_TRANSITIONTOFIXEDWINGRESPONSE = _descriptor.Descriptor( - name='TransitionToFixedwingResponse', - full_name='mavsdk.rpc.action.TransitionToFixedwingResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.TransitionToFixedwingResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1634, - serialized_end=1721, -) - - -_TRANSITIONTOMULTICOPTERREQUEST = _descriptor.Descriptor( - name='TransitionToMulticopterRequest', - full_name='mavsdk.rpc.action.TransitionToMulticopterRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1723, - serialized_end=1755, -) - - -_TRANSITIONTOMULTICOPTERRESPONSE = _descriptor.Descriptor( - name='TransitionToMulticopterResponse', - full_name='mavsdk.rpc.action.TransitionToMulticopterResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.TransitionToMulticopterResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1757, - serialized_end=1846, -) - - -_GETTAKEOFFALTITUDEREQUEST = _descriptor.Descriptor( - name='GetTakeoffAltitudeRequest', - full_name='mavsdk.rpc.action.GetTakeoffAltitudeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1848, - serialized_end=1875, -) - - -_GETTAKEOFFALTITUDERESPONSE = _descriptor.Descriptor( - name='GetTakeoffAltitudeResponse', - full_name='mavsdk.rpc.action.GetTakeoffAltitudeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.GetTakeoffAltitudeResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='altitude', full_name='mavsdk.rpc.action.GetTakeoffAltitudeResponse.altitude', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1877, - serialized_end=1979, -) - - -_SETTAKEOFFALTITUDEREQUEST = _descriptor.Descriptor( - name='SetTakeoffAltitudeRequest', - full_name='mavsdk.rpc.action.SetTakeoffAltitudeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='altitude', full_name='mavsdk.rpc.action.SetTakeoffAltitudeRequest.altitude', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1981, - serialized_end=2026, -) - - -_SETTAKEOFFALTITUDERESPONSE = _descriptor.Descriptor( - name='SetTakeoffAltitudeResponse', - full_name='mavsdk.rpc.action.SetTakeoffAltitudeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.SetTakeoffAltitudeResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2028, - serialized_end=2112, -) - - -_GETMAXIMUMSPEEDREQUEST = _descriptor.Descriptor( - name='GetMaximumSpeedRequest', - full_name='mavsdk.rpc.action.GetMaximumSpeedRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2114, - serialized_end=2138, -) - - -_GETMAXIMUMSPEEDRESPONSE = _descriptor.Descriptor( - name='GetMaximumSpeedResponse', - full_name='mavsdk.rpc.action.GetMaximumSpeedResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.GetMaximumSpeedResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='speed', full_name='mavsdk.rpc.action.GetMaximumSpeedResponse.speed', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2140, - serialized_end=2236, -) - - -_SETMAXIMUMSPEEDREQUEST = _descriptor.Descriptor( - name='SetMaximumSpeedRequest', - full_name='mavsdk.rpc.action.SetMaximumSpeedRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='speed', full_name='mavsdk.rpc.action.SetMaximumSpeedRequest.speed', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2238, - serialized_end=2277, -) - - -_SETMAXIMUMSPEEDRESPONSE = _descriptor.Descriptor( - name='SetMaximumSpeedResponse', - full_name='mavsdk.rpc.action.SetMaximumSpeedResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.SetMaximumSpeedResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2279, - serialized_end=2360, -) - - -_GETRETURNTOLAUNCHALTITUDEREQUEST = _descriptor.Descriptor( - name='GetReturnToLaunchAltitudeRequest', - full_name='mavsdk.rpc.action.GetReturnToLaunchAltitudeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2362, - serialized_end=2396, -) - - -_GETRETURNTOLAUNCHALTITUDERESPONSE = _descriptor.Descriptor( - name='GetReturnToLaunchAltitudeResponse', - full_name='mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='relative_altitude_m', full_name='mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse.relative_altitude_m', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2398, - serialized_end=2518, -) - - -_SETRETURNTOLAUNCHALTITUDEREQUEST = _descriptor.Descriptor( - name='SetReturnToLaunchAltitudeRequest', - full_name='mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='relative_altitude_m', full_name='mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest.relative_altitude_m', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2520, - serialized_end=2583, -) - - -_SETRETURNTOLAUNCHALTITUDERESPONSE = _descriptor.Descriptor( - name='SetReturnToLaunchAltitudeResponse', - full_name='mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_result', full_name='mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse.action_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2585, - serialized_end=2676, -) - - -_ACTIONRESULT = _descriptor.Descriptor( - name='ActionResult', - full_name='mavsdk.rpc.action.ActionResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.action.ActionResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.action.ActionResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ACTIONRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2679, - serialized_end=3132, -) - -_ARMRESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_DISARMRESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_TAKEOFFRESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_LANDRESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_REBOOTRESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_SHUTDOWNRESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_TERMINATERESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_KILLRESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_RETURNTOLAUNCHRESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_GOTOLOCATIONRESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_DOORBITREQUEST.fields_by_name['yaw_behavior'].enum_type = _ORBITYAWBEHAVIOR -_DOORBITRESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_HOLDRESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_SETACTUATORRESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_TRANSITIONTOFIXEDWINGRESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_TRANSITIONTOMULTICOPTERRESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_GETTAKEOFFALTITUDERESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_SETTAKEOFFALTITUDERESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_GETMAXIMUMSPEEDRESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_SETMAXIMUMSPEEDRESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_GETRETURNTOLAUNCHALTITUDERESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_SETRETURNTOLAUNCHALTITUDERESPONSE.fields_by_name['action_result'].message_type = _ACTIONRESULT -_ACTIONRESULT.fields_by_name['result'].enum_type = _ACTIONRESULT_RESULT -_ACTIONRESULT_RESULT.containing_type = _ACTIONRESULT -DESCRIPTOR.message_types_by_name['ArmRequest'] = _ARMREQUEST -DESCRIPTOR.message_types_by_name['ArmResponse'] = _ARMRESPONSE -DESCRIPTOR.message_types_by_name['DisarmRequest'] = _DISARMREQUEST -DESCRIPTOR.message_types_by_name['DisarmResponse'] = _DISARMRESPONSE -DESCRIPTOR.message_types_by_name['TakeoffRequest'] = _TAKEOFFREQUEST -DESCRIPTOR.message_types_by_name['TakeoffResponse'] = _TAKEOFFRESPONSE -DESCRIPTOR.message_types_by_name['LandRequest'] = _LANDREQUEST -DESCRIPTOR.message_types_by_name['LandResponse'] = _LANDRESPONSE -DESCRIPTOR.message_types_by_name['RebootRequest'] = _REBOOTREQUEST -DESCRIPTOR.message_types_by_name['RebootResponse'] = _REBOOTRESPONSE -DESCRIPTOR.message_types_by_name['ShutdownRequest'] = _SHUTDOWNREQUEST -DESCRIPTOR.message_types_by_name['ShutdownResponse'] = _SHUTDOWNRESPONSE -DESCRIPTOR.message_types_by_name['TerminateRequest'] = _TERMINATEREQUEST -DESCRIPTOR.message_types_by_name['TerminateResponse'] = _TERMINATERESPONSE -DESCRIPTOR.message_types_by_name['KillRequest'] = _KILLREQUEST -DESCRIPTOR.message_types_by_name['KillResponse'] = _KILLRESPONSE -DESCRIPTOR.message_types_by_name['ReturnToLaunchRequest'] = _RETURNTOLAUNCHREQUEST -DESCRIPTOR.message_types_by_name['ReturnToLaunchResponse'] = _RETURNTOLAUNCHRESPONSE -DESCRIPTOR.message_types_by_name['GotoLocationRequest'] = _GOTOLOCATIONREQUEST -DESCRIPTOR.message_types_by_name['GotoLocationResponse'] = _GOTOLOCATIONRESPONSE -DESCRIPTOR.message_types_by_name['DoOrbitRequest'] = _DOORBITREQUEST -DESCRIPTOR.message_types_by_name['DoOrbitResponse'] = _DOORBITRESPONSE -DESCRIPTOR.message_types_by_name['HoldRequest'] = _HOLDREQUEST -DESCRIPTOR.message_types_by_name['HoldResponse'] = _HOLDRESPONSE -DESCRIPTOR.message_types_by_name['SetActuatorRequest'] = _SETACTUATORREQUEST -DESCRIPTOR.message_types_by_name['SetActuatorResponse'] = _SETACTUATORRESPONSE -DESCRIPTOR.message_types_by_name['TransitionToFixedwingRequest'] = _TRANSITIONTOFIXEDWINGREQUEST -DESCRIPTOR.message_types_by_name['TransitionToFixedwingResponse'] = _TRANSITIONTOFIXEDWINGRESPONSE -DESCRIPTOR.message_types_by_name['TransitionToMulticopterRequest'] = _TRANSITIONTOMULTICOPTERREQUEST -DESCRIPTOR.message_types_by_name['TransitionToMulticopterResponse'] = _TRANSITIONTOMULTICOPTERRESPONSE -DESCRIPTOR.message_types_by_name['GetTakeoffAltitudeRequest'] = _GETTAKEOFFALTITUDEREQUEST -DESCRIPTOR.message_types_by_name['GetTakeoffAltitudeResponse'] = _GETTAKEOFFALTITUDERESPONSE -DESCRIPTOR.message_types_by_name['SetTakeoffAltitudeRequest'] = _SETTAKEOFFALTITUDEREQUEST -DESCRIPTOR.message_types_by_name['SetTakeoffAltitudeResponse'] = _SETTAKEOFFALTITUDERESPONSE -DESCRIPTOR.message_types_by_name['GetMaximumSpeedRequest'] = _GETMAXIMUMSPEEDREQUEST -DESCRIPTOR.message_types_by_name['GetMaximumSpeedResponse'] = _GETMAXIMUMSPEEDRESPONSE -DESCRIPTOR.message_types_by_name['SetMaximumSpeedRequest'] = _SETMAXIMUMSPEEDREQUEST -DESCRIPTOR.message_types_by_name['SetMaximumSpeedResponse'] = _SETMAXIMUMSPEEDRESPONSE -DESCRIPTOR.message_types_by_name['GetReturnToLaunchAltitudeRequest'] = _GETRETURNTOLAUNCHALTITUDEREQUEST -DESCRIPTOR.message_types_by_name['GetReturnToLaunchAltitudeResponse'] = _GETRETURNTOLAUNCHALTITUDERESPONSE -DESCRIPTOR.message_types_by_name['SetReturnToLaunchAltitudeRequest'] = _SETRETURNTOLAUNCHALTITUDEREQUEST -DESCRIPTOR.message_types_by_name['SetReturnToLaunchAltitudeResponse'] = _SETRETURNTOLAUNCHALTITUDERESPONSE -DESCRIPTOR.message_types_by_name['ActionResult'] = _ACTIONRESULT -DESCRIPTOR.enum_types_by_name['OrbitYawBehavior'] = _ORBITYAWBEHAVIOR -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_ARMREQUEST = DESCRIPTOR.message_types_by_name['ArmRequest'] +_ARMRESPONSE = DESCRIPTOR.message_types_by_name['ArmResponse'] +_DISARMREQUEST = DESCRIPTOR.message_types_by_name['DisarmRequest'] +_DISARMRESPONSE = DESCRIPTOR.message_types_by_name['DisarmResponse'] +_TAKEOFFREQUEST = DESCRIPTOR.message_types_by_name['TakeoffRequest'] +_TAKEOFFRESPONSE = DESCRIPTOR.message_types_by_name['TakeoffResponse'] +_LANDREQUEST = DESCRIPTOR.message_types_by_name['LandRequest'] +_LANDRESPONSE = DESCRIPTOR.message_types_by_name['LandResponse'] +_REBOOTREQUEST = DESCRIPTOR.message_types_by_name['RebootRequest'] +_REBOOTRESPONSE = DESCRIPTOR.message_types_by_name['RebootResponse'] +_SHUTDOWNREQUEST = DESCRIPTOR.message_types_by_name['ShutdownRequest'] +_SHUTDOWNRESPONSE = DESCRIPTOR.message_types_by_name['ShutdownResponse'] +_TERMINATEREQUEST = DESCRIPTOR.message_types_by_name['TerminateRequest'] +_TERMINATERESPONSE = DESCRIPTOR.message_types_by_name['TerminateResponse'] +_KILLREQUEST = DESCRIPTOR.message_types_by_name['KillRequest'] +_KILLRESPONSE = DESCRIPTOR.message_types_by_name['KillResponse'] +_RETURNTOLAUNCHREQUEST = DESCRIPTOR.message_types_by_name['ReturnToLaunchRequest'] +_RETURNTOLAUNCHRESPONSE = DESCRIPTOR.message_types_by_name['ReturnToLaunchResponse'] +_GOTOLOCATIONREQUEST = DESCRIPTOR.message_types_by_name['GotoLocationRequest'] +_GOTOLOCATIONRESPONSE = DESCRIPTOR.message_types_by_name['GotoLocationResponse'] +_DOORBITREQUEST = DESCRIPTOR.message_types_by_name['DoOrbitRequest'] +_DOORBITRESPONSE = DESCRIPTOR.message_types_by_name['DoOrbitResponse'] +_HOLDREQUEST = DESCRIPTOR.message_types_by_name['HoldRequest'] +_HOLDRESPONSE = DESCRIPTOR.message_types_by_name['HoldResponse'] +_SETACTUATORREQUEST = DESCRIPTOR.message_types_by_name['SetActuatorRequest'] +_SETACTUATORRESPONSE = DESCRIPTOR.message_types_by_name['SetActuatorResponse'] +_TRANSITIONTOFIXEDWINGREQUEST = DESCRIPTOR.message_types_by_name['TransitionToFixedwingRequest'] +_TRANSITIONTOFIXEDWINGRESPONSE = DESCRIPTOR.message_types_by_name['TransitionToFixedwingResponse'] +_TRANSITIONTOMULTICOPTERREQUEST = DESCRIPTOR.message_types_by_name['TransitionToMulticopterRequest'] +_TRANSITIONTOMULTICOPTERRESPONSE = DESCRIPTOR.message_types_by_name['TransitionToMulticopterResponse'] +_GETTAKEOFFALTITUDEREQUEST = DESCRIPTOR.message_types_by_name['GetTakeoffAltitudeRequest'] +_GETTAKEOFFALTITUDERESPONSE = DESCRIPTOR.message_types_by_name['GetTakeoffAltitudeResponse'] +_SETTAKEOFFALTITUDEREQUEST = DESCRIPTOR.message_types_by_name['SetTakeoffAltitudeRequest'] +_SETTAKEOFFALTITUDERESPONSE = DESCRIPTOR.message_types_by_name['SetTakeoffAltitudeResponse'] +_GETMAXIMUMSPEEDREQUEST = DESCRIPTOR.message_types_by_name['GetMaximumSpeedRequest'] +_GETMAXIMUMSPEEDRESPONSE = DESCRIPTOR.message_types_by_name['GetMaximumSpeedResponse'] +_SETMAXIMUMSPEEDREQUEST = DESCRIPTOR.message_types_by_name['SetMaximumSpeedRequest'] +_SETMAXIMUMSPEEDRESPONSE = DESCRIPTOR.message_types_by_name['SetMaximumSpeedResponse'] +_GETRETURNTOLAUNCHALTITUDEREQUEST = DESCRIPTOR.message_types_by_name['GetReturnToLaunchAltitudeRequest'] +_GETRETURNTOLAUNCHALTITUDERESPONSE = DESCRIPTOR.message_types_by_name['GetReturnToLaunchAltitudeResponse'] +_SETRETURNTOLAUNCHALTITUDEREQUEST = DESCRIPTOR.message_types_by_name['SetReturnToLaunchAltitudeRequest'] +_SETRETURNTOLAUNCHALTITUDERESPONSE = DESCRIPTOR.message_types_by_name['SetReturnToLaunchAltitudeResponse'] +_ACTIONRESULT = DESCRIPTOR.message_types_by_name['ActionResult'] +_ACTIONRESULT_RESULT = _ACTIONRESULT.enum_types_by_name['Result'] ArmRequest = _reflection.GeneratedProtocolMessageType('ArmRequest', (_message.Message,), { 'DESCRIPTOR' : _ARMREQUEST, '__module__' : 'action.action_pb2' @@ -1882,235 +372,107 @@ }) _sym_db.RegisterMessage(ActionResult) - -DESCRIPTOR._options = None -_DOORBITREQUEST.fields_by_name['latitude_deg']._options = None -_DOORBITREQUEST.fields_by_name['longitude_deg']._options = None -_DOORBITREQUEST.fields_by_name['absolute_altitude_m']._options = None - -_ACTIONSERVICE = _descriptor.ServiceDescriptor( - name='ActionService', - full_name='mavsdk.rpc.action.ActionService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=3381, - serialized_end=5487, - methods=[ - _descriptor.MethodDescriptor( - name='Arm', - full_name='mavsdk.rpc.action.ActionService.Arm', - index=0, - containing_service=None, - input_type=_ARMREQUEST, - output_type=_ARMRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Disarm', - full_name='mavsdk.rpc.action.ActionService.Disarm', - index=1, - containing_service=None, - input_type=_DISARMREQUEST, - output_type=_DISARMRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Takeoff', - full_name='mavsdk.rpc.action.ActionService.Takeoff', - index=2, - containing_service=None, - input_type=_TAKEOFFREQUEST, - output_type=_TAKEOFFRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Land', - full_name='mavsdk.rpc.action.ActionService.Land', - index=3, - containing_service=None, - input_type=_LANDREQUEST, - output_type=_LANDRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Reboot', - full_name='mavsdk.rpc.action.ActionService.Reboot', - index=4, - containing_service=None, - input_type=_REBOOTREQUEST, - output_type=_REBOOTRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Shutdown', - full_name='mavsdk.rpc.action.ActionService.Shutdown', - index=5, - containing_service=None, - input_type=_SHUTDOWNREQUEST, - output_type=_SHUTDOWNRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Terminate', - full_name='mavsdk.rpc.action.ActionService.Terminate', - index=6, - containing_service=None, - input_type=_TERMINATEREQUEST, - output_type=_TERMINATERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Kill', - full_name='mavsdk.rpc.action.ActionService.Kill', - index=7, - containing_service=None, - input_type=_KILLREQUEST, - output_type=_KILLRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ReturnToLaunch', - full_name='mavsdk.rpc.action.ActionService.ReturnToLaunch', - index=8, - containing_service=None, - input_type=_RETURNTOLAUNCHREQUEST, - output_type=_RETURNTOLAUNCHRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GotoLocation', - full_name='mavsdk.rpc.action.ActionService.GotoLocation', - index=9, - containing_service=None, - input_type=_GOTOLOCATIONREQUEST, - output_type=_GOTOLOCATIONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='DoOrbit', - full_name='mavsdk.rpc.action.ActionService.DoOrbit', - index=10, - containing_service=None, - input_type=_DOORBITREQUEST, - output_type=_DOORBITRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Hold', - full_name='mavsdk.rpc.action.ActionService.Hold', - index=11, - containing_service=None, - input_type=_HOLDREQUEST, - output_type=_HOLDRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetActuator', - full_name='mavsdk.rpc.action.ActionService.SetActuator', - index=12, - containing_service=None, - input_type=_SETACTUATORREQUEST, - output_type=_SETACTUATORRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='TransitionToFixedwing', - full_name='mavsdk.rpc.action.ActionService.TransitionToFixedwing', - index=13, - containing_service=None, - input_type=_TRANSITIONTOFIXEDWINGREQUEST, - output_type=_TRANSITIONTOFIXEDWINGRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='TransitionToMulticopter', - full_name='mavsdk.rpc.action.ActionService.TransitionToMulticopter', - index=14, - containing_service=None, - input_type=_TRANSITIONTOMULTICOPTERREQUEST, - output_type=_TRANSITIONTOMULTICOPTERRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetTakeoffAltitude', - full_name='mavsdk.rpc.action.ActionService.GetTakeoffAltitude', - index=15, - containing_service=None, - input_type=_GETTAKEOFFALTITUDEREQUEST, - output_type=_GETTAKEOFFALTITUDERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetTakeoffAltitude', - full_name='mavsdk.rpc.action.ActionService.SetTakeoffAltitude', - index=16, - containing_service=None, - input_type=_SETTAKEOFFALTITUDEREQUEST, - output_type=_SETTAKEOFFALTITUDERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetMaximumSpeed', - full_name='mavsdk.rpc.action.ActionService.GetMaximumSpeed', - index=17, - containing_service=None, - input_type=_GETMAXIMUMSPEEDREQUEST, - output_type=_GETMAXIMUMSPEEDRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetMaximumSpeed', - full_name='mavsdk.rpc.action.ActionService.SetMaximumSpeed', - index=18, - containing_service=None, - input_type=_SETMAXIMUMSPEEDREQUEST, - output_type=_SETMAXIMUMSPEEDRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetReturnToLaunchAltitude', - full_name='mavsdk.rpc.action.ActionService.GetReturnToLaunchAltitude', - index=19, - containing_service=None, - input_type=_GETRETURNTOLAUNCHALTITUDEREQUEST, - output_type=_GETRETURNTOLAUNCHALTITUDERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetReturnToLaunchAltitude', - full_name='mavsdk.rpc.action.ActionService.SetReturnToLaunchAltitude', - index=20, - containing_service=None, - input_type=_SETRETURNTOLAUNCHALTITUDEREQUEST, - output_type=_SETRETURNTOLAUNCHALTITUDERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_ACTIONSERVICE) - -DESCRIPTOR.services_by_name['ActionService'] = _ACTIONSERVICE - +_ACTIONSERVICE = DESCRIPTOR.services_by_name['ActionService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\020io.mavsdk.actionB\013ActionProto' + _DOORBITREQUEST.fields_by_name['latitude_deg']._options = None + _DOORBITREQUEST.fields_by_name['latitude_deg']._serialized_options = b'\202\265\030\003NaN' + _DOORBITREQUEST.fields_by_name['longitude_deg']._options = None + _DOORBITREQUEST.fields_by_name['longitude_deg']._serialized_options = b'\202\265\030\003NaN' + _DOORBITREQUEST.fields_by_name['absolute_altitude_m']._options = None + _DOORBITREQUEST.fields_by_name['absolute_altitude_m']._serialized_options = b'\202\265\030\003NaN' + _ORBITYAWBEHAVIOR._serialized_start=3159 + _ORBITYAWBEHAVIOR._serialized_end=3402 + _ARMREQUEST._serialized_start=64 + _ARMREQUEST._serialized_end=76 + _ARMRESPONSE._serialized_start=78 + _ARMRESPONSE._serialized_end=147 + _DISARMREQUEST._serialized_start=149 + _DISARMREQUEST._serialized_end=164 + _DISARMRESPONSE._serialized_start=166 + _DISARMRESPONSE._serialized_end=238 + _TAKEOFFREQUEST._serialized_start=240 + _TAKEOFFREQUEST._serialized_end=256 + _TAKEOFFRESPONSE._serialized_start=258 + _TAKEOFFRESPONSE._serialized_end=331 + _LANDREQUEST._serialized_start=333 + _LANDREQUEST._serialized_end=346 + _LANDRESPONSE._serialized_start=348 + _LANDRESPONSE._serialized_end=418 + _REBOOTREQUEST._serialized_start=420 + _REBOOTREQUEST._serialized_end=435 + _REBOOTRESPONSE._serialized_start=437 + _REBOOTRESPONSE._serialized_end=509 + _SHUTDOWNREQUEST._serialized_start=511 + _SHUTDOWNREQUEST._serialized_end=528 + _SHUTDOWNRESPONSE._serialized_start=530 + _SHUTDOWNRESPONSE._serialized_end=604 + _TERMINATEREQUEST._serialized_start=606 + _TERMINATEREQUEST._serialized_end=624 + _TERMINATERESPONSE._serialized_start=626 + _TERMINATERESPONSE._serialized_end=701 + _KILLREQUEST._serialized_start=703 + _KILLREQUEST._serialized_end=716 + _KILLRESPONSE._serialized_start=718 + _KILLRESPONSE._serialized_end=788 + _RETURNTOLAUNCHREQUEST._serialized_start=790 + _RETURNTOLAUNCHREQUEST._serialized_end=813 + _RETURNTOLAUNCHRESPONSE._serialized_start=815 + _RETURNTOLAUNCHRESPONSE._serialized_end=895 + _GOTOLOCATIONREQUEST._serialized_start=897 + _GOTOLOCATIONREQUEST._serialized_end=1009 + _GOTOLOCATIONRESPONSE._serialized_start=1011 + _GOTOLOCATIONRESPONSE._serialized_end=1089 + _DOORBITREQUEST._serialized_start=1092 + _DOORBITREQUEST._serialized_end=1307 + _DOORBITRESPONSE._serialized_start=1309 + _DOORBITRESPONSE._serialized_end=1382 + _HOLDREQUEST._serialized_start=1384 + _HOLDREQUEST._serialized_end=1397 + _HOLDRESPONSE._serialized_start=1399 + _HOLDRESPONSE._serialized_end=1469 + _SETACTUATORREQUEST._serialized_start=1471 + _SETACTUATORREQUEST._serialized_end=1521 + _SETACTUATORRESPONSE._serialized_start=1523 + _SETACTUATORRESPONSE._serialized_end=1600 + _TRANSITIONTOFIXEDWINGREQUEST._serialized_start=1602 + _TRANSITIONTOFIXEDWINGREQUEST._serialized_end=1632 + _TRANSITIONTOFIXEDWINGRESPONSE._serialized_start=1634 + _TRANSITIONTOFIXEDWINGRESPONSE._serialized_end=1721 + _TRANSITIONTOMULTICOPTERREQUEST._serialized_start=1723 + _TRANSITIONTOMULTICOPTERREQUEST._serialized_end=1755 + _TRANSITIONTOMULTICOPTERRESPONSE._serialized_start=1757 + _TRANSITIONTOMULTICOPTERRESPONSE._serialized_end=1846 + _GETTAKEOFFALTITUDEREQUEST._serialized_start=1848 + _GETTAKEOFFALTITUDEREQUEST._serialized_end=1875 + _GETTAKEOFFALTITUDERESPONSE._serialized_start=1877 + _GETTAKEOFFALTITUDERESPONSE._serialized_end=1979 + _SETTAKEOFFALTITUDEREQUEST._serialized_start=1981 + _SETTAKEOFFALTITUDEREQUEST._serialized_end=2026 + _SETTAKEOFFALTITUDERESPONSE._serialized_start=2028 + _SETTAKEOFFALTITUDERESPONSE._serialized_end=2112 + _GETMAXIMUMSPEEDREQUEST._serialized_start=2114 + _GETMAXIMUMSPEEDREQUEST._serialized_end=2138 + _GETMAXIMUMSPEEDRESPONSE._serialized_start=2140 + _GETMAXIMUMSPEEDRESPONSE._serialized_end=2236 + _SETMAXIMUMSPEEDREQUEST._serialized_start=2238 + _SETMAXIMUMSPEEDREQUEST._serialized_end=2277 + _SETMAXIMUMSPEEDRESPONSE._serialized_start=2279 + _SETMAXIMUMSPEEDRESPONSE._serialized_end=2360 + _GETRETURNTOLAUNCHALTITUDEREQUEST._serialized_start=2362 + _GETRETURNTOLAUNCHALTITUDEREQUEST._serialized_end=2396 + _GETRETURNTOLAUNCHALTITUDERESPONSE._serialized_start=2398 + _GETRETURNTOLAUNCHALTITUDERESPONSE._serialized_end=2518 + _SETRETURNTOLAUNCHALTITUDEREQUEST._serialized_start=2520 + _SETRETURNTOLAUNCHALTITUDEREQUEST._serialized_end=2583 + _SETRETURNTOLAUNCHALTITUDERESPONSE._serialized_start=2585 + _SETRETURNTOLAUNCHALTITUDERESPONSE._serialized_end=2676 + _ACTIONRESULT._serialized_start=2679 + _ACTIONRESULT._serialized_end=3156 + _ACTIONRESULT_RESULT._serialized_start=2772 + _ACTIONRESULT_RESULT._serialized_end=3156 + _ACTIONSERVICE._serialized_start=3405 + _ACTIONSERVICE._serialized_end=5511 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/action_server_pb2.py b/mavsdk/action_server_pb2.py index ea9914e0..b9eee4de 100644 --- a/mavsdk/action_server_pb2.py +++ b/mavsdk/action_server_pb2.py @@ -4,6 +4,7 @@ """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -15,101 +16,9 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='action_server/action_server.proto', - package='mavsdk.rpc.action_server', - syntax='proto3', - serialized_options=b'\n\027io.mavsdk.action_serverB\021ActionServerProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n!action_server/action_server.proto\x12\x18mavsdk.rpc.action_server\x1a\x14mavsdk_options.proto\"/\n\x16SetAllowTakeoffRequest\x12\x15\n\rallow_takeoff\x18\x01 \x01(\x08\";\n\x11SetArmableRequest\x12\x0f\n\x07\x61rmable\x18\x01 \x01(\x08\x12\x15\n\rforce_armable\x18\x02 \x01(\x08\"D\n\x14SetDisarmableRequest\x12\x12\n\ndisarmable\x18\x01 \x01(\x08\x12\x18\n\x10\x66orce_disarmable\x18\x02 \x01(\x08\"f\n\x1eSetAllowableFlightModesRequest\x12\x44\n\x0c\x66light_modes\x18\x01 \x01(\x0b\x32..mavsdk.rpc.action_server.AllowableFlightModes\" \n\x1eGetAllowableFlightModesRequest\"\x1b\n\x19SubscribeArmDisarmRequest\"\"\n SubscribeFlightModeChangeRequest\"\x19\n\x17SubscribeTakeoffRequest\"\x16\n\x14SubscribeLandRequest\"\x18\n\x16SubscribeRebootRequest\"\x1a\n\x18SubscribeShutdownRequest\"\x1b\n\x19SubscribeTerminateRequest\"\x91\x01\n\x11\x41rmDisarmResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\x12\x30\n\x03\x61rm\x18\x02 \x01(\x0b\x32#.mavsdk.rpc.action_server.ArmDisarm\"\xa1\x01\n\x18\x46lightModeChangeResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\x12\x39\n\x0b\x66light_mode\x18\x02 \x01(\x0e\x32$.mavsdk.rpc.action_server.FlightMode\"n\n\x0fTakeoffResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\x12\x0f\n\x07takeoff\x18\x02 \x01(\x08\"h\n\x0cLandResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\x12\x0c\n\x04land\x18\x02 \x01(\x08\"l\n\x0eRebootResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\x12\x0e\n\x06reboot\x18\x02 \x01(\x08\"p\n\x10ShutdownResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\x12\x10\n\x08shutdown\x18\x02 \x01(\x08\"r\n\x11TerminateResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\x12\x11\n\tterminate\x18\x02 \x01(\x08\"`\n\x12SetArmableResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\"c\n\x15SetDisarmableResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\"m\n\x1fSetAllowableFlightModesResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\"e\n\x17SetAllowTakeoffResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\"g\n\x1fGetAllowableFlightModesResponse\x12\x44\n\x0c\x66light_modes\x18\x01 \x01(\x0b\x32..mavsdk.rpc.action_server.AllowableFlightModes\"b\n\x14\x41llowableFlightModes\x12\x15\n\rcan_auto_mode\x18\x01 \x01(\x08\x12\x17\n\x0f\x63\x61n_guided_mode\x18\x02 \x01(\x08\x12\x1a\n\x12\x63\x61n_stabilize_mode\x18\x03 \x01(\x08\"\'\n\tArmDisarm\x12\x0b\n\x03\x61rm\x18\x01 \x01(\x08\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\xe9\x03\n\x12\x41\x63tionServerResult\x12\x43\n\x06result\x18\x01 \x01(\x0e\x32\x33.mavsdk.rpc.action_server.ActionServerResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xf9\x02\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x19\n\x15RESULT_COMMAND_DENIED\x10\x05\x12.\n*RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN\x10\x06\x12$\n RESULT_COMMAND_DENIED_NOT_LANDED\x10\x07\x12\x12\n\x0eRESULT_TIMEOUT\x10\x08\x12*\n&RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN\x10\t\x12%\n!RESULT_NO_VTOL_TRANSITION_SUPPORT\x10\n\x12\x1a\n\x16RESULT_PARAMETER_ERROR\x10\x0b\x12\x0f\n\x0bRESULT_NEXT\x10\x0c*\xeb\x02\n\nFlightMode\x12\x17\n\x13\x46LIGHT_MODE_UNKNOWN\x10\x00\x12\x15\n\x11\x46LIGHT_MODE_READY\x10\x01\x12\x17\n\x13\x46LIGHT_MODE_TAKEOFF\x10\x02\x12\x14\n\x10\x46LIGHT_MODE_HOLD\x10\x03\x12\x17\n\x13\x46LIGHT_MODE_MISSION\x10\x04\x12 \n\x1c\x46LIGHT_MODE_RETURN_TO_LAUNCH\x10\x05\x12\x14\n\x10\x46LIGHT_MODE_LAND\x10\x06\x12\x18\n\x14\x46LIGHT_MODE_OFFBOARD\x10\x07\x12\x19\n\x15\x46LIGHT_MODE_FOLLOW_ME\x10\x08\x12\x16\n\x12\x46LIGHT_MODE_MANUAL\x10\t\x12\x16\n\x12\x46LIGHT_MODE_ALTCTL\x10\n\x12\x16\n\x12\x46LIGHT_MODE_POSCTL\x10\x0b\x12\x14\n\x10\x46LIGHT_MODE_ACRO\x10\x0c\x12\x1a\n\x16\x46LIGHT_MODE_STABILIZED\x10\r2\x9d\x0c\n\x13\x41\x63tionServerService\x12~\n\x12SubscribeArmDisarm\x12\x33.mavsdk.rpc.action_server.SubscribeArmDisarmRequest\x1a+.mavsdk.rpc.action_server.ArmDisarmResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12\x93\x01\n\x19SubscribeFlightModeChange\x12:.mavsdk.rpc.action_server.SubscribeFlightModeChangeRequest\x1a\x32.mavsdk.rpc.action_server.FlightModeChangeResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12x\n\x10SubscribeTakeoff\x12\x31.mavsdk.rpc.action_server.SubscribeTakeoffRequest\x1a).mavsdk.rpc.action_server.TakeoffResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12o\n\rSubscribeLand\x12..mavsdk.rpc.action_server.SubscribeLandRequest\x1a&.mavsdk.rpc.action_server.LandResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12u\n\x0fSubscribeReboot\x12\x30.mavsdk.rpc.action_server.SubscribeRebootRequest\x1a(.mavsdk.rpc.action_server.RebootResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12{\n\x11SubscribeShutdown\x12\x32.mavsdk.rpc.action_server.SubscribeShutdownRequest\x1a*.mavsdk.rpc.action_server.ShutdownResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12~\n\x12SubscribeTerminate\x12\x33.mavsdk.rpc.action_server.SubscribeTerminateRequest\x1a+.mavsdk.rpc.action_server.TerminateResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12|\n\x0fSetAllowTakeoff\x12\x30.mavsdk.rpc.action_server.SetAllowTakeoffRequest\x1a\x31.mavsdk.rpc.action_server.SetAllowTakeoffResponse\"\x04\x80\xb5\x18\x01\x12m\n\nSetArmable\x12+.mavsdk.rpc.action_server.SetArmableRequest\x1a,.mavsdk.rpc.action_server.SetArmableResponse\"\x04\x80\xb5\x18\x01\x12v\n\rSetDisarmable\x12..mavsdk.rpc.action_server.SetDisarmableRequest\x1a/.mavsdk.rpc.action_server.SetDisarmableResponse\"\x04\x80\xb5\x18\x01\x12\x94\x01\n\x17SetAllowableFlightModes\x12\x38.mavsdk.rpc.action_server.SetAllowableFlightModesRequest\x1a\x39.mavsdk.rpc.action_server.SetAllowableFlightModesResponse\"\x04\x80\xb5\x18\x01\x12\x94\x01\n\x17GetAllowableFlightModes\x12\x38.mavsdk.rpc.action_server.GetAllowableFlightModesRequest\x1a\x39.mavsdk.rpc.action_server.GetAllowableFlightModesResponse\"\x04\x80\xb5\x18\x01\x42,\n\x17io.mavsdk.action_serverB\x11\x41\x63tionServerProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) - -_FLIGHTMODE = _descriptor.EnumDescriptor( - name='FlightMode', - full_name='mavsdk.rpc.action_server.FlightMode', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_READY', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_TAKEOFF', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_HOLD', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_MISSION', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_RETURN_TO_LAUNCH', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_LAND', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_OFFBOARD', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_FOLLOW_ME', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_MANUAL', index=9, number=9, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_ALTCTL', index=10, number=10, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_POSCTL', index=11, number=11, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_ACRO', index=12, number=12, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_STABILIZED', index=13, number=13, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=2624, - serialized_end=2987, -) -_sym_db.RegisterEnumDescriptor(_FLIGHTMODE) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!action_server/action_server.proto\x12\x18mavsdk.rpc.action_server\x1a\x14mavsdk_options.proto\"/\n\x16SetAllowTakeoffRequest\x12\x15\n\rallow_takeoff\x18\x01 \x01(\x08\";\n\x11SetArmableRequest\x12\x0f\n\x07\x61rmable\x18\x01 \x01(\x08\x12\x15\n\rforce_armable\x18\x02 \x01(\x08\"D\n\x14SetDisarmableRequest\x12\x12\n\ndisarmable\x18\x01 \x01(\x08\x12\x18\n\x10\x66orce_disarmable\x18\x02 \x01(\x08\"f\n\x1eSetAllowableFlightModesRequest\x12\x44\n\x0c\x66light_modes\x18\x01 \x01(\x0b\x32..mavsdk.rpc.action_server.AllowableFlightModes\" \n\x1eGetAllowableFlightModesRequest\"\x1b\n\x19SubscribeArmDisarmRequest\"\"\n SubscribeFlightModeChangeRequest\"\x19\n\x17SubscribeTakeoffRequest\"\x16\n\x14SubscribeLandRequest\"\x18\n\x16SubscribeRebootRequest\"\x1a\n\x18SubscribeShutdownRequest\"\x1b\n\x19SubscribeTerminateRequest\"\x91\x01\n\x11\x41rmDisarmResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\x12\x30\n\x03\x61rm\x18\x02 \x01(\x0b\x32#.mavsdk.rpc.action_server.ArmDisarm\"\xa1\x01\n\x18\x46lightModeChangeResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\x12\x39\n\x0b\x66light_mode\x18\x02 \x01(\x0e\x32$.mavsdk.rpc.action_server.FlightMode\"n\n\x0fTakeoffResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\x12\x0f\n\x07takeoff\x18\x02 \x01(\x08\"h\n\x0cLandResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\x12\x0c\n\x04land\x18\x02 \x01(\x08\"l\n\x0eRebootResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\x12\x0e\n\x06reboot\x18\x02 \x01(\x08\"p\n\x10ShutdownResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\x12\x10\n\x08shutdown\x18\x02 \x01(\x08\"r\n\x11TerminateResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\x12\x11\n\tterminate\x18\x02 \x01(\x08\"`\n\x12SetArmableResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\"c\n\x15SetDisarmableResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\"m\n\x1fSetAllowableFlightModesResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\"e\n\x17SetAllowTakeoffResponse\x12J\n\x14\x61\x63tion_server_result\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.action_server.ActionServerResult\"g\n\x1fGetAllowableFlightModesResponse\x12\x44\n\x0c\x66light_modes\x18\x01 \x01(\x0b\x32..mavsdk.rpc.action_server.AllowableFlightModes\"b\n\x14\x41llowableFlightModes\x12\x15\n\rcan_auto_mode\x18\x01 \x01(\x08\x12\x17\n\x0f\x63\x61n_guided_mode\x18\x02 \x01(\x08\x12\x1a\n\x12\x63\x61n_stabilize_mode\x18\x03 \x01(\x08\"\'\n\tArmDisarm\x12\x0b\n\x03\x61rm\x18\x01 \x01(\x08\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\xe9\x03\n\x12\x41\x63tionServerResult\x12\x43\n\x06result\x18\x01 \x01(\x0e\x32\x33.mavsdk.rpc.action_server.ActionServerResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xf9\x02\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x19\n\x15RESULT_COMMAND_DENIED\x10\x05\x12.\n*RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN\x10\x06\x12$\n RESULT_COMMAND_DENIED_NOT_LANDED\x10\x07\x12\x12\n\x0eRESULT_TIMEOUT\x10\x08\x12*\n&RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN\x10\t\x12%\n!RESULT_NO_VTOL_TRANSITION_SUPPORT\x10\n\x12\x1a\n\x16RESULT_PARAMETER_ERROR\x10\x0b\x12\x0f\n\x0bRESULT_NEXT\x10\x0c*\xeb\x02\n\nFlightMode\x12\x17\n\x13\x46LIGHT_MODE_UNKNOWN\x10\x00\x12\x15\n\x11\x46LIGHT_MODE_READY\x10\x01\x12\x17\n\x13\x46LIGHT_MODE_TAKEOFF\x10\x02\x12\x14\n\x10\x46LIGHT_MODE_HOLD\x10\x03\x12\x17\n\x13\x46LIGHT_MODE_MISSION\x10\x04\x12 \n\x1c\x46LIGHT_MODE_RETURN_TO_LAUNCH\x10\x05\x12\x14\n\x10\x46LIGHT_MODE_LAND\x10\x06\x12\x18\n\x14\x46LIGHT_MODE_OFFBOARD\x10\x07\x12\x19\n\x15\x46LIGHT_MODE_FOLLOW_ME\x10\x08\x12\x16\n\x12\x46LIGHT_MODE_MANUAL\x10\t\x12\x16\n\x12\x46LIGHT_MODE_ALTCTL\x10\n\x12\x16\n\x12\x46LIGHT_MODE_POSCTL\x10\x0b\x12\x14\n\x10\x46LIGHT_MODE_ACRO\x10\x0c\x12\x1a\n\x16\x46LIGHT_MODE_STABILIZED\x10\r2\x9d\x0c\n\x13\x41\x63tionServerService\x12~\n\x12SubscribeArmDisarm\x12\x33.mavsdk.rpc.action_server.SubscribeArmDisarmRequest\x1a+.mavsdk.rpc.action_server.ArmDisarmResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12\x93\x01\n\x19SubscribeFlightModeChange\x12:.mavsdk.rpc.action_server.SubscribeFlightModeChangeRequest\x1a\x32.mavsdk.rpc.action_server.FlightModeChangeResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12x\n\x10SubscribeTakeoff\x12\x31.mavsdk.rpc.action_server.SubscribeTakeoffRequest\x1a).mavsdk.rpc.action_server.TakeoffResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12o\n\rSubscribeLand\x12..mavsdk.rpc.action_server.SubscribeLandRequest\x1a&.mavsdk.rpc.action_server.LandResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12u\n\x0fSubscribeReboot\x12\x30.mavsdk.rpc.action_server.SubscribeRebootRequest\x1a(.mavsdk.rpc.action_server.RebootResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12{\n\x11SubscribeShutdown\x12\x32.mavsdk.rpc.action_server.SubscribeShutdownRequest\x1a*.mavsdk.rpc.action_server.ShutdownResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12~\n\x12SubscribeTerminate\x12\x33.mavsdk.rpc.action_server.SubscribeTerminateRequest\x1a+.mavsdk.rpc.action_server.TerminateResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12|\n\x0fSetAllowTakeoff\x12\x30.mavsdk.rpc.action_server.SetAllowTakeoffRequest\x1a\x31.mavsdk.rpc.action_server.SetAllowTakeoffResponse\"\x04\x80\xb5\x18\x01\x12m\n\nSetArmable\x12+.mavsdk.rpc.action_server.SetArmableRequest\x1a,.mavsdk.rpc.action_server.SetArmableResponse\"\x04\x80\xb5\x18\x01\x12v\n\rSetDisarmable\x12..mavsdk.rpc.action_server.SetDisarmableRequest\x1a/.mavsdk.rpc.action_server.SetDisarmableResponse\"\x04\x80\xb5\x18\x01\x12\x94\x01\n\x17SetAllowableFlightModes\x12\x38.mavsdk.rpc.action_server.SetAllowableFlightModesRequest\x1a\x39.mavsdk.rpc.action_server.SetAllowableFlightModesResponse\"\x04\x80\xb5\x18\x01\x12\x94\x01\n\x17GetAllowableFlightModes\x12\x38.mavsdk.rpc.action_server.GetAllowableFlightModesRequest\x1a\x39.mavsdk.rpc.action_server.GetAllowableFlightModesResponse\"\x04\x80\xb5\x18\x01\x42,\n\x17io.mavsdk.action_serverB\x11\x41\x63tionServerProtob\x06proto3') +_FLIGHTMODE = DESCRIPTOR.enum_types_by_name['FlightMode'] FlightMode = enum_type_wrapper.EnumTypeWrapper(_FLIGHTMODE) FLIGHT_MODE_UNKNOWN = 0 FLIGHT_MODE_READY = 1 @@ -127,1033 +36,34 @@ FLIGHT_MODE_STABILIZED = 13 -_ACTIONSERVERRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.action_server.ActionServerResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_CONNECTION_ERROR', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_BUSY', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_COMMAND_DENIED', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_COMMAND_DENIED_NOT_LANDED', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TIMEOUT', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN', index=9, number=9, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_VTOL_TRANSITION_SUPPORT', index=10, number=10, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_PARAMETER_ERROR', index=11, number=11, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NEXT', index=12, number=12, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=2244, - serialized_end=2621, -) -_sym_db.RegisterEnumDescriptor(_ACTIONSERVERRESULT_RESULT) - - -_SETALLOWTAKEOFFREQUEST = _descriptor.Descriptor( - name='SetAllowTakeoffRequest', - full_name='mavsdk.rpc.action_server.SetAllowTakeoffRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='allow_takeoff', full_name='mavsdk.rpc.action_server.SetAllowTakeoffRequest.allow_takeoff', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=85, - serialized_end=132, -) - - -_SETARMABLEREQUEST = _descriptor.Descriptor( - name='SetArmableRequest', - full_name='mavsdk.rpc.action_server.SetArmableRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='armable', full_name='mavsdk.rpc.action_server.SetArmableRequest.armable', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='force_armable', full_name='mavsdk.rpc.action_server.SetArmableRequest.force_armable', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=134, - serialized_end=193, -) - - -_SETDISARMABLEREQUEST = _descriptor.Descriptor( - name='SetDisarmableRequest', - full_name='mavsdk.rpc.action_server.SetDisarmableRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='disarmable', full_name='mavsdk.rpc.action_server.SetDisarmableRequest.disarmable', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='force_disarmable', full_name='mavsdk.rpc.action_server.SetDisarmableRequest.force_disarmable', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=195, - serialized_end=263, -) - - -_SETALLOWABLEFLIGHTMODESREQUEST = _descriptor.Descriptor( - name='SetAllowableFlightModesRequest', - full_name='mavsdk.rpc.action_server.SetAllowableFlightModesRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='flight_modes', full_name='mavsdk.rpc.action_server.SetAllowableFlightModesRequest.flight_modes', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=265, - serialized_end=367, -) - - -_GETALLOWABLEFLIGHTMODESREQUEST = _descriptor.Descriptor( - name='GetAllowableFlightModesRequest', - full_name='mavsdk.rpc.action_server.GetAllowableFlightModesRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=369, - serialized_end=401, -) - - -_SUBSCRIBEARMDISARMREQUEST = _descriptor.Descriptor( - name='SubscribeArmDisarmRequest', - full_name='mavsdk.rpc.action_server.SubscribeArmDisarmRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=403, - serialized_end=430, -) - - -_SUBSCRIBEFLIGHTMODECHANGEREQUEST = _descriptor.Descriptor( - name='SubscribeFlightModeChangeRequest', - full_name='mavsdk.rpc.action_server.SubscribeFlightModeChangeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=432, - serialized_end=466, -) - - -_SUBSCRIBETAKEOFFREQUEST = _descriptor.Descriptor( - name='SubscribeTakeoffRequest', - full_name='mavsdk.rpc.action_server.SubscribeTakeoffRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=468, - serialized_end=493, -) - - -_SUBSCRIBELANDREQUEST = _descriptor.Descriptor( - name='SubscribeLandRequest', - full_name='mavsdk.rpc.action_server.SubscribeLandRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=495, - serialized_end=517, -) - - -_SUBSCRIBEREBOOTREQUEST = _descriptor.Descriptor( - name='SubscribeRebootRequest', - full_name='mavsdk.rpc.action_server.SubscribeRebootRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=519, - serialized_end=543, -) - - -_SUBSCRIBESHUTDOWNREQUEST = _descriptor.Descriptor( - name='SubscribeShutdownRequest', - full_name='mavsdk.rpc.action_server.SubscribeShutdownRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=545, - serialized_end=571, -) - - -_SUBSCRIBETERMINATEREQUEST = _descriptor.Descriptor( - name='SubscribeTerminateRequest', - full_name='mavsdk.rpc.action_server.SubscribeTerminateRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=573, - serialized_end=600, -) - - -_ARMDISARMRESPONSE = _descriptor.Descriptor( - name='ArmDisarmResponse', - full_name='mavsdk.rpc.action_server.ArmDisarmResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_server_result', full_name='mavsdk.rpc.action_server.ArmDisarmResponse.action_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='arm', full_name='mavsdk.rpc.action_server.ArmDisarmResponse.arm', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=603, - serialized_end=748, -) - - -_FLIGHTMODECHANGERESPONSE = _descriptor.Descriptor( - name='FlightModeChangeResponse', - full_name='mavsdk.rpc.action_server.FlightModeChangeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_server_result', full_name='mavsdk.rpc.action_server.FlightModeChangeResponse.action_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='flight_mode', full_name='mavsdk.rpc.action_server.FlightModeChangeResponse.flight_mode', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=751, - serialized_end=912, -) - - -_TAKEOFFRESPONSE = _descriptor.Descriptor( - name='TakeoffResponse', - full_name='mavsdk.rpc.action_server.TakeoffResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_server_result', full_name='mavsdk.rpc.action_server.TakeoffResponse.action_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='takeoff', full_name='mavsdk.rpc.action_server.TakeoffResponse.takeoff', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=914, - serialized_end=1024, -) - - -_LANDRESPONSE = _descriptor.Descriptor( - name='LandResponse', - full_name='mavsdk.rpc.action_server.LandResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_server_result', full_name='mavsdk.rpc.action_server.LandResponse.action_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='land', full_name='mavsdk.rpc.action_server.LandResponse.land', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1026, - serialized_end=1130, -) - - -_REBOOTRESPONSE = _descriptor.Descriptor( - name='RebootResponse', - full_name='mavsdk.rpc.action_server.RebootResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_server_result', full_name='mavsdk.rpc.action_server.RebootResponse.action_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='reboot', full_name='mavsdk.rpc.action_server.RebootResponse.reboot', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1132, - serialized_end=1240, -) - - -_SHUTDOWNRESPONSE = _descriptor.Descriptor( - name='ShutdownResponse', - full_name='mavsdk.rpc.action_server.ShutdownResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_server_result', full_name='mavsdk.rpc.action_server.ShutdownResponse.action_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='shutdown', full_name='mavsdk.rpc.action_server.ShutdownResponse.shutdown', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1242, - serialized_end=1354, -) - - -_TERMINATERESPONSE = _descriptor.Descriptor( - name='TerminateResponse', - full_name='mavsdk.rpc.action_server.TerminateResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_server_result', full_name='mavsdk.rpc.action_server.TerminateResponse.action_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='terminate', full_name='mavsdk.rpc.action_server.TerminateResponse.terminate', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1356, - serialized_end=1470, -) - - -_SETARMABLERESPONSE = _descriptor.Descriptor( - name='SetArmableResponse', - full_name='mavsdk.rpc.action_server.SetArmableResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_server_result', full_name='mavsdk.rpc.action_server.SetArmableResponse.action_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1472, - serialized_end=1568, -) - - -_SETDISARMABLERESPONSE = _descriptor.Descriptor( - name='SetDisarmableResponse', - full_name='mavsdk.rpc.action_server.SetDisarmableResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_server_result', full_name='mavsdk.rpc.action_server.SetDisarmableResponse.action_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1570, - serialized_end=1669, -) - - -_SETALLOWABLEFLIGHTMODESRESPONSE = _descriptor.Descriptor( - name='SetAllowableFlightModesResponse', - full_name='mavsdk.rpc.action_server.SetAllowableFlightModesResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_server_result', full_name='mavsdk.rpc.action_server.SetAllowableFlightModesResponse.action_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1671, - serialized_end=1780, -) - - -_SETALLOWTAKEOFFRESPONSE = _descriptor.Descriptor( - name='SetAllowTakeoffResponse', - full_name='mavsdk.rpc.action_server.SetAllowTakeoffResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='action_server_result', full_name='mavsdk.rpc.action_server.SetAllowTakeoffResponse.action_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1782, - serialized_end=1883, -) - - -_GETALLOWABLEFLIGHTMODESRESPONSE = _descriptor.Descriptor( - name='GetAllowableFlightModesResponse', - full_name='mavsdk.rpc.action_server.GetAllowableFlightModesResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='flight_modes', full_name='mavsdk.rpc.action_server.GetAllowableFlightModesResponse.flight_modes', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1885, - serialized_end=1988, -) - - -_ALLOWABLEFLIGHTMODES = _descriptor.Descriptor( - name='AllowableFlightModes', - full_name='mavsdk.rpc.action_server.AllowableFlightModes', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='can_auto_mode', full_name='mavsdk.rpc.action_server.AllowableFlightModes.can_auto_mode', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='can_guided_mode', full_name='mavsdk.rpc.action_server.AllowableFlightModes.can_guided_mode', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='can_stabilize_mode', full_name='mavsdk.rpc.action_server.AllowableFlightModes.can_stabilize_mode', index=2, - number=3, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1990, - serialized_end=2088, -) - - -_ARMDISARM = _descriptor.Descriptor( - name='ArmDisarm', - full_name='mavsdk.rpc.action_server.ArmDisarm', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='arm', full_name='mavsdk.rpc.action_server.ArmDisarm.arm', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='force', full_name='mavsdk.rpc.action_server.ArmDisarm.force', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2090, - serialized_end=2129, -) - - -_ACTIONSERVERRESULT = _descriptor.Descriptor( - name='ActionServerResult', - full_name='mavsdk.rpc.action_server.ActionServerResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.action_server.ActionServerResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.action_server.ActionServerResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ACTIONSERVERRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2132, - serialized_end=2621, -) - -_SETALLOWABLEFLIGHTMODESREQUEST.fields_by_name['flight_modes'].message_type = _ALLOWABLEFLIGHTMODES -_ARMDISARMRESPONSE.fields_by_name['action_server_result'].message_type = _ACTIONSERVERRESULT -_ARMDISARMRESPONSE.fields_by_name['arm'].message_type = _ARMDISARM -_FLIGHTMODECHANGERESPONSE.fields_by_name['action_server_result'].message_type = _ACTIONSERVERRESULT -_FLIGHTMODECHANGERESPONSE.fields_by_name['flight_mode'].enum_type = _FLIGHTMODE -_TAKEOFFRESPONSE.fields_by_name['action_server_result'].message_type = _ACTIONSERVERRESULT -_LANDRESPONSE.fields_by_name['action_server_result'].message_type = _ACTIONSERVERRESULT -_REBOOTRESPONSE.fields_by_name['action_server_result'].message_type = _ACTIONSERVERRESULT -_SHUTDOWNRESPONSE.fields_by_name['action_server_result'].message_type = _ACTIONSERVERRESULT -_TERMINATERESPONSE.fields_by_name['action_server_result'].message_type = _ACTIONSERVERRESULT -_SETARMABLERESPONSE.fields_by_name['action_server_result'].message_type = _ACTIONSERVERRESULT -_SETDISARMABLERESPONSE.fields_by_name['action_server_result'].message_type = _ACTIONSERVERRESULT -_SETALLOWABLEFLIGHTMODESRESPONSE.fields_by_name['action_server_result'].message_type = _ACTIONSERVERRESULT -_SETALLOWTAKEOFFRESPONSE.fields_by_name['action_server_result'].message_type = _ACTIONSERVERRESULT -_GETALLOWABLEFLIGHTMODESRESPONSE.fields_by_name['flight_modes'].message_type = _ALLOWABLEFLIGHTMODES -_ACTIONSERVERRESULT.fields_by_name['result'].enum_type = _ACTIONSERVERRESULT_RESULT -_ACTIONSERVERRESULT_RESULT.containing_type = _ACTIONSERVERRESULT -DESCRIPTOR.message_types_by_name['SetAllowTakeoffRequest'] = _SETALLOWTAKEOFFREQUEST -DESCRIPTOR.message_types_by_name['SetArmableRequest'] = _SETARMABLEREQUEST -DESCRIPTOR.message_types_by_name['SetDisarmableRequest'] = _SETDISARMABLEREQUEST -DESCRIPTOR.message_types_by_name['SetAllowableFlightModesRequest'] = _SETALLOWABLEFLIGHTMODESREQUEST -DESCRIPTOR.message_types_by_name['GetAllowableFlightModesRequest'] = _GETALLOWABLEFLIGHTMODESREQUEST -DESCRIPTOR.message_types_by_name['SubscribeArmDisarmRequest'] = _SUBSCRIBEARMDISARMREQUEST -DESCRIPTOR.message_types_by_name['SubscribeFlightModeChangeRequest'] = _SUBSCRIBEFLIGHTMODECHANGEREQUEST -DESCRIPTOR.message_types_by_name['SubscribeTakeoffRequest'] = _SUBSCRIBETAKEOFFREQUEST -DESCRIPTOR.message_types_by_name['SubscribeLandRequest'] = _SUBSCRIBELANDREQUEST -DESCRIPTOR.message_types_by_name['SubscribeRebootRequest'] = _SUBSCRIBEREBOOTREQUEST -DESCRIPTOR.message_types_by_name['SubscribeShutdownRequest'] = _SUBSCRIBESHUTDOWNREQUEST -DESCRIPTOR.message_types_by_name['SubscribeTerminateRequest'] = _SUBSCRIBETERMINATEREQUEST -DESCRIPTOR.message_types_by_name['ArmDisarmResponse'] = _ARMDISARMRESPONSE -DESCRIPTOR.message_types_by_name['FlightModeChangeResponse'] = _FLIGHTMODECHANGERESPONSE -DESCRIPTOR.message_types_by_name['TakeoffResponse'] = _TAKEOFFRESPONSE -DESCRIPTOR.message_types_by_name['LandResponse'] = _LANDRESPONSE -DESCRIPTOR.message_types_by_name['RebootResponse'] = _REBOOTRESPONSE -DESCRIPTOR.message_types_by_name['ShutdownResponse'] = _SHUTDOWNRESPONSE -DESCRIPTOR.message_types_by_name['TerminateResponse'] = _TERMINATERESPONSE -DESCRIPTOR.message_types_by_name['SetArmableResponse'] = _SETARMABLERESPONSE -DESCRIPTOR.message_types_by_name['SetDisarmableResponse'] = _SETDISARMABLERESPONSE -DESCRIPTOR.message_types_by_name['SetAllowableFlightModesResponse'] = _SETALLOWABLEFLIGHTMODESRESPONSE -DESCRIPTOR.message_types_by_name['SetAllowTakeoffResponse'] = _SETALLOWTAKEOFFRESPONSE -DESCRIPTOR.message_types_by_name['GetAllowableFlightModesResponse'] = _GETALLOWABLEFLIGHTMODESRESPONSE -DESCRIPTOR.message_types_by_name['AllowableFlightModes'] = _ALLOWABLEFLIGHTMODES -DESCRIPTOR.message_types_by_name['ArmDisarm'] = _ARMDISARM -DESCRIPTOR.message_types_by_name['ActionServerResult'] = _ACTIONSERVERRESULT -DESCRIPTOR.enum_types_by_name['FlightMode'] = _FLIGHTMODE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_SETALLOWTAKEOFFREQUEST = DESCRIPTOR.message_types_by_name['SetAllowTakeoffRequest'] +_SETARMABLEREQUEST = DESCRIPTOR.message_types_by_name['SetArmableRequest'] +_SETDISARMABLEREQUEST = DESCRIPTOR.message_types_by_name['SetDisarmableRequest'] +_SETALLOWABLEFLIGHTMODESREQUEST = DESCRIPTOR.message_types_by_name['SetAllowableFlightModesRequest'] +_GETALLOWABLEFLIGHTMODESREQUEST = DESCRIPTOR.message_types_by_name['GetAllowableFlightModesRequest'] +_SUBSCRIBEARMDISARMREQUEST = DESCRIPTOR.message_types_by_name['SubscribeArmDisarmRequest'] +_SUBSCRIBEFLIGHTMODECHANGEREQUEST = DESCRIPTOR.message_types_by_name['SubscribeFlightModeChangeRequest'] +_SUBSCRIBETAKEOFFREQUEST = DESCRIPTOR.message_types_by_name['SubscribeTakeoffRequest'] +_SUBSCRIBELANDREQUEST = DESCRIPTOR.message_types_by_name['SubscribeLandRequest'] +_SUBSCRIBEREBOOTREQUEST = DESCRIPTOR.message_types_by_name['SubscribeRebootRequest'] +_SUBSCRIBESHUTDOWNREQUEST = DESCRIPTOR.message_types_by_name['SubscribeShutdownRequest'] +_SUBSCRIBETERMINATEREQUEST = DESCRIPTOR.message_types_by_name['SubscribeTerminateRequest'] +_ARMDISARMRESPONSE = DESCRIPTOR.message_types_by_name['ArmDisarmResponse'] +_FLIGHTMODECHANGERESPONSE = DESCRIPTOR.message_types_by_name['FlightModeChangeResponse'] +_TAKEOFFRESPONSE = DESCRIPTOR.message_types_by_name['TakeoffResponse'] +_LANDRESPONSE = DESCRIPTOR.message_types_by_name['LandResponse'] +_REBOOTRESPONSE = DESCRIPTOR.message_types_by_name['RebootResponse'] +_SHUTDOWNRESPONSE = DESCRIPTOR.message_types_by_name['ShutdownResponse'] +_TERMINATERESPONSE = DESCRIPTOR.message_types_by_name['TerminateResponse'] +_SETARMABLERESPONSE = DESCRIPTOR.message_types_by_name['SetArmableResponse'] +_SETDISARMABLERESPONSE = DESCRIPTOR.message_types_by_name['SetDisarmableResponse'] +_SETALLOWABLEFLIGHTMODESRESPONSE = DESCRIPTOR.message_types_by_name['SetAllowableFlightModesResponse'] +_SETALLOWTAKEOFFRESPONSE = DESCRIPTOR.message_types_by_name['SetAllowTakeoffResponse'] +_GETALLOWABLEFLIGHTMODESRESPONSE = DESCRIPTOR.message_types_by_name['GetAllowableFlightModesResponse'] +_ALLOWABLEFLIGHTMODES = DESCRIPTOR.message_types_by_name['AllowableFlightModes'] +_ARMDISARM = DESCRIPTOR.message_types_by_name['ArmDisarm'] +_ACTIONSERVERRESULT = DESCRIPTOR.message_types_by_name['ActionServerResult'] +_ACTIONSERVERRESULT_RESULT = _ACTIONSERVERRESULT.enum_types_by_name['Result'] SetAllowTakeoffRequest = _reflection.GeneratedProtocolMessageType('SetAllowTakeoffRequest', (_message.Message,), { 'DESCRIPTOR' : _SETALLOWTAKEOFFREQUEST, '__module__' : 'action_server.action_server_pb2' @@ -1343,142 +253,93 @@ }) _sym_db.RegisterMessage(ActionServerResult) - -DESCRIPTOR._options = None - -_ACTIONSERVERSERVICE = _descriptor.ServiceDescriptor( - name='ActionServerService', - full_name='mavsdk.rpc.action_server.ActionServerService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=2990, - serialized_end=4555, - methods=[ - _descriptor.MethodDescriptor( - name='SubscribeArmDisarm', - full_name='mavsdk.rpc.action_server.ActionServerService.SubscribeArmDisarm', - index=0, - containing_service=None, - input_type=_SUBSCRIBEARMDISARMREQUEST, - output_type=_ARMDISARMRESPONSE, - serialized_options=b'\200\265\030\000', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeFlightModeChange', - full_name='mavsdk.rpc.action_server.ActionServerService.SubscribeFlightModeChange', - index=1, - containing_service=None, - input_type=_SUBSCRIBEFLIGHTMODECHANGEREQUEST, - output_type=_FLIGHTMODECHANGERESPONSE, - serialized_options=b'\200\265\030\000', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeTakeoff', - full_name='mavsdk.rpc.action_server.ActionServerService.SubscribeTakeoff', - index=2, - containing_service=None, - input_type=_SUBSCRIBETAKEOFFREQUEST, - output_type=_TAKEOFFRESPONSE, - serialized_options=b'\200\265\030\000', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeLand', - full_name='mavsdk.rpc.action_server.ActionServerService.SubscribeLand', - index=3, - containing_service=None, - input_type=_SUBSCRIBELANDREQUEST, - output_type=_LANDRESPONSE, - serialized_options=b'\200\265\030\000', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeReboot', - full_name='mavsdk.rpc.action_server.ActionServerService.SubscribeReboot', - index=4, - containing_service=None, - input_type=_SUBSCRIBEREBOOTREQUEST, - output_type=_REBOOTRESPONSE, - serialized_options=b'\200\265\030\000', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeShutdown', - full_name='mavsdk.rpc.action_server.ActionServerService.SubscribeShutdown', - index=5, - containing_service=None, - input_type=_SUBSCRIBESHUTDOWNREQUEST, - output_type=_SHUTDOWNRESPONSE, - serialized_options=b'\200\265\030\000', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeTerminate', - full_name='mavsdk.rpc.action_server.ActionServerService.SubscribeTerminate', - index=6, - containing_service=None, - input_type=_SUBSCRIBETERMINATEREQUEST, - output_type=_TERMINATERESPONSE, - serialized_options=b'\200\265\030\000', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetAllowTakeoff', - full_name='mavsdk.rpc.action_server.ActionServerService.SetAllowTakeoff', - index=7, - containing_service=None, - input_type=_SETALLOWTAKEOFFREQUEST, - output_type=_SETALLOWTAKEOFFRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetArmable', - full_name='mavsdk.rpc.action_server.ActionServerService.SetArmable', - index=8, - containing_service=None, - input_type=_SETARMABLEREQUEST, - output_type=_SETARMABLERESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetDisarmable', - full_name='mavsdk.rpc.action_server.ActionServerService.SetDisarmable', - index=9, - containing_service=None, - input_type=_SETDISARMABLEREQUEST, - output_type=_SETDISARMABLERESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetAllowableFlightModes', - full_name='mavsdk.rpc.action_server.ActionServerService.SetAllowableFlightModes', - index=10, - containing_service=None, - input_type=_SETALLOWABLEFLIGHTMODESREQUEST, - output_type=_SETALLOWABLEFLIGHTMODESRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetAllowableFlightModes', - full_name='mavsdk.rpc.action_server.ActionServerService.GetAllowableFlightModes', - index=11, - containing_service=None, - input_type=_GETALLOWABLEFLIGHTMODESREQUEST, - output_type=_GETALLOWABLEFLIGHTMODESRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_ACTIONSERVERSERVICE) - -DESCRIPTOR.services_by_name['ActionServerService'] = _ACTIONSERVERSERVICE - +_ACTIONSERVERSERVICE = DESCRIPTOR.services_by_name['ActionServerService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\027io.mavsdk.action_serverB\021ActionServerProto' + _ACTIONSERVERSERVICE.methods_by_name['SubscribeArmDisarm']._options = None + _ACTIONSERVERSERVICE.methods_by_name['SubscribeArmDisarm']._serialized_options = b'\200\265\030\000' + _ACTIONSERVERSERVICE.methods_by_name['SubscribeFlightModeChange']._options = None + _ACTIONSERVERSERVICE.methods_by_name['SubscribeFlightModeChange']._serialized_options = b'\200\265\030\000' + _ACTIONSERVERSERVICE.methods_by_name['SubscribeTakeoff']._options = None + _ACTIONSERVERSERVICE.methods_by_name['SubscribeTakeoff']._serialized_options = b'\200\265\030\000' + _ACTIONSERVERSERVICE.methods_by_name['SubscribeLand']._options = None + _ACTIONSERVERSERVICE.methods_by_name['SubscribeLand']._serialized_options = b'\200\265\030\000' + _ACTIONSERVERSERVICE.methods_by_name['SubscribeReboot']._options = None + _ACTIONSERVERSERVICE.methods_by_name['SubscribeReboot']._serialized_options = b'\200\265\030\000' + _ACTIONSERVERSERVICE.methods_by_name['SubscribeShutdown']._options = None + _ACTIONSERVERSERVICE.methods_by_name['SubscribeShutdown']._serialized_options = b'\200\265\030\000' + _ACTIONSERVERSERVICE.methods_by_name['SubscribeTerminate']._options = None + _ACTIONSERVERSERVICE.methods_by_name['SubscribeTerminate']._serialized_options = b'\200\265\030\000' + _ACTIONSERVERSERVICE.methods_by_name['SetAllowTakeoff']._options = None + _ACTIONSERVERSERVICE.methods_by_name['SetAllowTakeoff']._serialized_options = b'\200\265\030\001' + _ACTIONSERVERSERVICE.methods_by_name['SetArmable']._options = None + _ACTIONSERVERSERVICE.methods_by_name['SetArmable']._serialized_options = b'\200\265\030\001' + _ACTIONSERVERSERVICE.methods_by_name['SetDisarmable']._options = None + _ACTIONSERVERSERVICE.methods_by_name['SetDisarmable']._serialized_options = b'\200\265\030\001' + _ACTIONSERVERSERVICE.methods_by_name['SetAllowableFlightModes']._options = None + _ACTIONSERVERSERVICE.methods_by_name['SetAllowableFlightModes']._serialized_options = b'\200\265\030\001' + _ACTIONSERVERSERVICE.methods_by_name['GetAllowableFlightModes']._options = None + _ACTIONSERVERSERVICE.methods_by_name['GetAllowableFlightModes']._serialized_options = b'\200\265\030\001' + _FLIGHTMODE._serialized_start=2624 + _FLIGHTMODE._serialized_end=2987 + _SETALLOWTAKEOFFREQUEST._serialized_start=85 + _SETALLOWTAKEOFFREQUEST._serialized_end=132 + _SETARMABLEREQUEST._serialized_start=134 + _SETARMABLEREQUEST._serialized_end=193 + _SETDISARMABLEREQUEST._serialized_start=195 + _SETDISARMABLEREQUEST._serialized_end=263 + _SETALLOWABLEFLIGHTMODESREQUEST._serialized_start=265 + _SETALLOWABLEFLIGHTMODESREQUEST._serialized_end=367 + _GETALLOWABLEFLIGHTMODESREQUEST._serialized_start=369 + _GETALLOWABLEFLIGHTMODESREQUEST._serialized_end=401 + _SUBSCRIBEARMDISARMREQUEST._serialized_start=403 + _SUBSCRIBEARMDISARMREQUEST._serialized_end=430 + _SUBSCRIBEFLIGHTMODECHANGEREQUEST._serialized_start=432 + _SUBSCRIBEFLIGHTMODECHANGEREQUEST._serialized_end=466 + _SUBSCRIBETAKEOFFREQUEST._serialized_start=468 + _SUBSCRIBETAKEOFFREQUEST._serialized_end=493 + _SUBSCRIBELANDREQUEST._serialized_start=495 + _SUBSCRIBELANDREQUEST._serialized_end=517 + _SUBSCRIBEREBOOTREQUEST._serialized_start=519 + _SUBSCRIBEREBOOTREQUEST._serialized_end=543 + _SUBSCRIBESHUTDOWNREQUEST._serialized_start=545 + _SUBSCRIBESHUTDOWNREQUEST._serialized_end=571 + _SUBSCRIBETERMINATEREQUEST._serialized_start=573 + _SUBSCRIBETERMINATEREQUEST._serialized_end=600 + _ARMDISARMRESPONSE._serialized_start=603 + _ARMDISARMRESPONSE._serialized_end=748 + _FLIGHTMODECHANGERESPONSE._serialized_start=751 + _FLIGHTMODECHANGERESPONSE._serialized_end=912 + _TAKEOFFRESPONSE._serialized_start=914 + _TAKEOFFRESPONSE._serialized_end=1024 + _LANDRESPONSE._serialized_start=1026 + _LANDRESPONSE._serialized_end=1130 + _REBOOTRESPONSE._serialized_start=1132 + _REBOOTRESPONSE._serialized_end=1240 + _SHUTDOWNRESPONSE._serialized_start=1242 + _SHUTDOWNRESPONSE._serialized_end=1354 + _TERMINATERESPONSE._serialized_start=1356 + _TERMINATERESPONSE._serialized_end=1470 + _SETARMABLERESPONSE._serialized_start=1472 + _SETARMABLERESPONSE._serialized_end=1568 + _SETDISARMABLERESPONSE._serialized_start=1570 + _SETDISARMABLERESPONSE._serialized_end=1669 + _SETALLOWABLEFLIGHTMODESRESPONSE._serialized_start=1671 + _SETALLOWABLEFLIGHTMODESRESPONSE._serialized_end=1780 + _SETALLOWTAKEOFFRESPONSE._serialized_start=1782 + _SETALLOWTAKEOFFRESPONSE._serialized_end=1883 + _GETALLOWABLEFLIGHTMODESRESPONSE._serialized_start=1885 + _GETALLOWABLEFLIGHTMODESRESPONSE._serialized_end=1988 + _ALLOWABLEFLIGHTMODES._serialized_start=1990 + _ALLOWABLEFLIGHTMODES._serialized_end=2088 + _ARMDISARM._serialized_start=2090 + _ARMDISARM._serialized_end=2129 + _ACTIONSERVERRESULT._serialized_start=2132 + _ACTIONSERVERRESULT._serialized_end=2621 + _ACTIONSERVERRESULT_RESULT._serialized_start=2244 + _ACTIONSERVERRESULT_RESULT._serialized_end=2621 + _ACTIONSERVERSERVICE._serialized_start=2990 + _ACTIONSERVERSERVICE._serialized_end=4555 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/calibration.py b/mavsdk/calibration.py index bc4abf3b..52a5f80a 100644 --- a/mavsdk/calibration.py +++ b/mavsdk/calibration.py @@ -61,6 +61,9 @@ class Result(Enum): FAILED_ARMED Calibration process failed since the vehicle is armed + UNSUPPORTED + Functionality not supported + """ @@ -75,6 +78,7 @@ class Result(Enum): TIMEOUT = 8 CANCELLED = 9 FAILED_ARMED = 10 + UNSUPPORTED = 11 def translate_to_rpc(self): if self == CalibrationResult.Result.UNKNOWN: @@ -99,6 +103,8 @@ def translate_to_rpc(self): return calibration_pb2.CalibrationResult.RESULT_CANCELLED if self == CalibrationResult.Result.FAILED_ARMED: return calibration_pb2.CalibrationResult.RESULT_FAILED_ARMED + if self == CalibrationResult.Result.UNSUPPORTED: + return calibration_pb2.CalibrationResult.RESULT_UNSUPPORTED @staticmethod def translate_from_rpc(rpc_enum_value): @@ -125,6 +131,8 @@ def translate_from_rpc(rpc_enum_value): return CalibrationResult.Result.CANCELLED if rpc_enum_value == calibration_pb2.CalibrationResult.RESULT_FAILED_ARMED: return CalibrationResult.Result.FAILED_ARMED + if rpc_enum_value == calibration_pb2.CalibrationResult.RESULT_UNSUPPORTED: + return CalibrationResult.Result.UNSUPPORTED def __str__(self): return self.name diff --git a/mavsdk/calibration_pb2.py b/mavsdk/calibration_pb2.py index a1416fd9..0b1c4a46 100644 --- a/mavsdk/calibration_pb2.py +++ b/mavsdk/calibration_pb2.py @@ -3,6 +3,7 @@ # source: calibration/calibration.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -14,587 +15,25 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='calibration/calibration.proto', - package='mavsdk.rpc.calibration', - syntax='proto3', - serialized_options=b'\n\025io.mavsdk.calibrationB\020CalibrationProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1d\x63\x61libration/calibration.proto\x12\x16mavsdk.rpc.calibration\x1a\x14mavsdk_options.proto\"\x1f\n\x1dSubscribeCalibrateGyroRequest\"\x9b\x01\n\x15\x43\x61librateGyroResponse\x12\x45\n\x12\x63\x61libration_result\x18\x01 \x01(\x0b\x32).mavsdk.rpc.calibration.CalibrationResult\x12;\n\rprogress_data\x18\x02 \x01(\x0b\x32$.mavsdk.rpc.calibration.ProgressData\"(\n&SubscribeCalibrateAccelerometerRequest\"\xa4\x01\n\x1e\x43\x61librateAccelerometerResponse\x12\x45\n\x12\x63\x61libration_result\x18\x01 \x01(\x0b\x32).mavsdk.rpc.calibration.CalibrationResult\x12;\n\rprogress_data\x18\x02 \x01(\x0b\x32$.mavsdk.rpc.calibration.ProgressData\"\'\n%SubscribeCalibrateMagnetometerRequest\"\xa3\x01\n\x1d\x43\x61librateMagnetometerResponse\x12\x45\n\x12\x63\x61libration_result\x18\x01 \x01(\x0b\x32).mavsdk.rpc.calibration.CalibrationResult\x12;\n\rprogress_data\x18\x02 \x01(\x0b\x32$.mavsdk.rpc.calibration.ProgressData\"\'\n%SubscribeCalibrateLevelHorizonRequest\"\xa3\x01\n\x1d\x43\x61librateLevelHorizonResponse\x12\x45\n\x12\x63\x61libration_result\x18\x01 \x01(\x0b\x32).mavsdk.rpc.calibration.CalibrationResult\x12;\n\rprogress_data\x18\x02 \x01(\x0b\x32$.mavsdk.rpc.calibration.ProgressData\".\n,SubscribeCalibrateGimbalAccelerometerRequest\"\xaa\x01\n$CalibrateGimbalAccelerometerResponse\x12\x45\n\x12\x63\x61libration_result\x18\x01 \x01(\x0b\x32).mavsdk.rpc.calibration.CalibrationResult\x12;\n\rprogress_data\x18\x02 \x01(\x0b\x32$.mavsdk.rpc.calibration.ProgressData\"\x0f\n\rCancelRequest\"W\n\x0e\x43\x61ncelResponse\x12\x45\n\x12\x63\x61libration_result\x18\x01 \x01(\x0b\x32).mavsdk.rpc.calibration.CalibrationResult\"\xe2\x02\n\x11\x43\x61librationResult\x12@\n\x06result\x18\x01 \x01(\x0e\x32\x30.mavsdk.rpc.calibration.CalibrationResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xf6\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x0f\n\x0bRESULT_NEXT\x10\x02\x12\x11\n\rRESULT_FAILED\x10\x03\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x04\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x05\x12\x0f\n\x0bRESULT_BUSY\x10\x06\x12\x19\n\x15RESULT_COMMAND_DENIED\x10\x07\x12\x12\n\x0eRESULT_TIMEOUT\x10\x08\x12\x14\n\x10RESULT_CANCELLED\x10\t\x12\x17\n\x13RESULT_FAILED_ARMED\x10\n\"\x83\x01\n\x0cProgressData\x12\x1f\n\x0chas_progress\x18\x01 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12\x19\n\x08progress\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\"\n\x0fhas_status_text\x18\x03 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12\x13\n\x0bstatus_text\x18\x04 \x01(\t2\xac\x07\n\x12\x43\x61librationService\x12\x8a\x01\n\x16SubscribeCalibrateGyro\x12\x35.mavsdk.rpc.calibration.SubscribeCalibrateGyroRequest\x1a-.mavsdk.rpc.calibration.CalibrateGyroResponse\"\x08\x80\xb5\x18\x00\x88\xb5\x18\x01\x30\x01\x12\xa5\x01\n\x1fSubscribeCalibrateAccelerometer\x12>.mavsdk.rpc.calibration.SubscribeCalibrateAccelerometerRequest\x1a\x36.mavsdk.rpc.calibration.CalibrateAccelerometerResponse\"\x08\x80\xb5\x18\x00\x88\xb5\x18\x01\x30\x01\x12\xa2\x01\n\x1eSubscribeCalibrateMagnetometer\x12=.mavsdk.rpc.calibration.SubscribeCalibrateMagnetometerRequest\x1a\x35.mavsdk.rpc.calibration.CalibrateMagnetometerResponse\"\x08\x80\xb5\x18\x00\x88\xb5\x18\x01\x30\x01\x12\xa2\x01\n\x1eSubscribeCalibrateLevelHorizon\x12=.mavsdk.rpc.calibration.SubscribeCalibrateLevelHorizonRequest\x1a\x35.mavsdk.rpc.calibration.CalibrateLevelHorizonResponse\"\x08\x80\xb5\x18\x00\x88\xb5\x18\x01\x30\x01\x12\xb7\x01\n%SubscribeCalibrateGimbalAccelerometer\x12\x44.mavsdk.rpc.calibration.SubscribeCalibrateGimbalAccelerometerRequest\x1a<.mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse\"\x08\x80\xb5\x18\x00\x88\xb5\x18\x01\x30\x01\x12]\n\x06\x43\x61ncel\x12%.mavsdk.rpc.calibration.CancelRequest\x1a&.mavsdk.rpc.calibration.CancelResponse\"\x04\x80\xb5\x18\x01\x42)\n\x15io.mavsdk.calibrationB\x10\x43\x61librationProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63\x61libration/calibration.proto\x12\x16mavsdk.rpc.calibration\x1a\x14mavsdk_options.proto\"\x1f\n\x1dSubscribeCalibrateGyroRequest\"\x9b\x01\n\x15\x43\x61librateGyroResponse\x12\x45\n\x12\x63\x61libration_result\x18\x01 \x01(\x0b\x32).mavsdk.rpc.calibration.CalibrationResult\x12;\n\rprogress_data\x18\x02 \x01(\x0b\x32$.mavsdk.rpc.calibration.ProgressData\"(\n&SubscribeCalibrateAccelerometerRequest\"\xa4\x01\n\x1e\x43\x61librateAccelerometerResponse\x12\x45\n\x12\x63\x61libration_result\x18\x01 \x01(\x0b\x32).mavsdk.rpc.calibration.CalibrationResult\x12;\n\rprogress_data\x18\x02 \x01(\x0b\x32$.mavsdk.rpc.calibration.ProgressData\"\'\n%SubscribeCalibrateMagnetometerRequest\"\xa3\x01\n\x1d\x43\x61librateMagnetometerResponse\x12\x45\n\x12\x63\x61libration_result\x18\x01 \x01(\x0b\x32).mavsdk.rpc.calibration.CalibrationResult\x12;\n\rprogress_data\x18\x02 \x01(\x0b\x32$.mavsdk.rpc.calibration.ProgressData\"\'\n%SubscribeCalibrateLevelHorizonRequest\"\xa3\x01\n\x1d\x43\x61librateLevelHorizonResponse\x12\x45\n\x12\x63\x61libration_result\x18\x01 \x01(\x0b\x32).mavsdk.rpc.calibration.CalibrationResult\x12;\n\rprogress_data\x18\x02 \x01(\x0b\x32$.mavsdk.rpc.calibration.ProgressData\".\n,SubscribeCalibrateGimbalAccelerometerRequest\"\xaa\x01\n$CalibrateGimbalAccelerometerResponse\x12\x45\n\x12\x63\x61libration_result\x18\x01 \x01(\x0b\x32).mavsdk.rpc.calibration.CalibrationResult\x12;\n\rprogress_data\x18\x02 \x01(\x0b\x32$.mavsdk.rpc.calibration.ProgressData\"\x0f\n\rCancelRequest\"W\n\x0e\x43\x61ncelResponse\x12\x45\n\x12\x63\x61libration_result\x18\x01 \x01(\x0b\x32).mavsdk.rpc.calibration.CalibrationResult\"\xfa\x02\n\x11\x43\x61librationResult\x12@\n\x06result\x18\x01 \x01(\x0e\x32\x30.mavsdk.rpc.calibration.CalibrationResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\x8e\x02\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x0f\n\x0bRESULT_NEXT\x10\x02\x12\x11\n\rRESULT_FAILED\x10\x03\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x04\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x05\x12\x0f\n\x0bRESULT_BUSY\x10\x06\x12\x19\n\x15RESULT_COMMAND_DENIED\x10\x07\x12\x12\n\x0eRESULT_TIMEOUT\x10\x08\x12\x14\n\x10RESULT_CANCELLED\x10\t\x12\x17\n\x13RESULT_FAILED_ARMED\x10\n\x12\x16\n\x12RESULT_UNSUPPORTED\x10\x0b\"\x83\x01\n\x0cProgressData\x12\x1f\n\x0chas_progress\x18\x01 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12\x19\n\x08progress\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\"\n\x0fhas_status_text\x18\x03 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12\x13\n\x0bstatus_text\x18\x04 \x01(\t2\xac\x07\n\x12\x43\x61librationService\x12\x8a\x01\n\x16SubscribeCalibrateGyro\x12\x35.mavsdk.rpc.calibration.SubscribeCalibrateGyroRequest\x1a-.mavsdk.rpc.calibration.CalibrateGyroResponse\"\x08\x80\xb5\x18\x00\x88\xb5\x18\x01\x30\x01\x12\xa5\x01\n\x1fSubscribeCalibrateAccelerometer\x12>.mavsdk.rpc.calibration.SubscribeCalibrateAccelerometerRequest\x1a\x36.mavsdk.rpc.calibration.CalibrateAccelerometerResponse\"\x08\x80\xb5\x18\x00\x88\xb5\x18\x01\x30\x01\x12\xa2\x01\n\x1eSubscribeCalibrateMagnetometer\x12=.mavsdk.rpc.calibration.SubscribeCalibrateMagnetometerRequest\x1a\x35.mavsdk.rpc.calibration.CalibrateMagnetometerResponse\"\x08\x80\xb5\x18\x00\x88\xb5\x18\x01\x30\x01\x12\xa2\x01\n\x1eSubscribeCalibrateLevelHorizon\x12=.mavsdk.rpc.calibration.SubscribeCalibrateLevelHorizonRequest\x1a\x35.mavsdk.rpc.calibration.CalibrateLevelHorizonResponse\"\x08\x80\xb5\x18\x00\x88\xb5\x18\x01\x30\x01\x12\xb7\x01\n%SubscribeCalibrateGimbalAccelerometer\x12\x44.mavsdk.rpc.calibration.SubscribeCalibrateGimbalAccelerometerRequest\x1a<.mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse\"\x08\x80\xb5\x18\x00\x88\xb5\x18\x01\x30\x01\x12]\n\x06\x43\x61ncel\x12%.mavsdk.rpc.calibration.CancelRequest\x1a&.mavsdk.rpc.calibration.CancelResponse\"\x04\x80\xb5\x18\x01\x42)\n\x15io.mavsdk.calibrationB\x10\x43\x61librationProtob\x06proto3') -_CALIBRATIONRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.calibration.CalibrationResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NEXT', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_FAILED', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_CONNECTION_ERROR', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_BUSY', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_COMMAND_DENIED', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TIMEOUT', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_CANCELLED', index=9, number=9, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_FAILED_ARMED', index=10, number=10, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=1329, - serialized_end=1575, -) -_sym_db.RegisterEnumDescriptor(_CALIBRATIONRESULT_RESULT) - - -_SUBSCRIBECALIBRATEGYROREQUEST = _descriptor.Descriptor( - name='SubscribeCalibrateGyroRequest', - full_name='mavsdk.rpc.calibration.SubscribeCalibrateGyroRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=79, - serialized_end=110, -) - - -_CALIBRATEGYRORESPONSE = _descriptor.Descriptor( - name='CalibrateGyroResponse', - full_name='mavsdk.rpc.calibration.CalibrateGyroResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='calibration_result', full_name='mavsdk.rpc.calibration.CalibrateGyroResponse.calibration_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='progress_data', full_name='mavsdk.rpc.calibration.CalibrateGyroResponse.progress_data', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=113, - serialized_end=268, -) - - -_SUBSCRIBECALIBRATEACCELEROMETERREQUEST = _descriptor.Descriptor( - name='SubscribeCalibrateAccelerometerRequest', - full_name='mavsdk.rpc.calibration.SubscribeCalibrateAccelerometerRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=270, - serialized_end=310, -) - - -_CALIBRATEACCELEROMETERRESPONSE = _descriptor.Descriptor( - name='CalibrateAccelerometerResponse', - full_name='mavsdk.rpc.calibration.CalibrateAccelerometerResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='calibration_result', full_name='mavsdk.rpc.calibration.CalibrateAccelerometerResponse.calibration_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='progress_data', full_name='mavsdk.rpc.calibration.CalibrateAccelerometerResponse.progress_data', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=313, - serialized_end=477, -) - - -_SUBSCRIBECALIBRATEMAGNETOMETERREQUEST = _descriptor.Descriptor( - name='SubscribeCalibrateMagnetometerRequest', - full_name='mavsdk.rpc.calibration.SubscribeCalibrateMagnetometerRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=479, - serialized_end=518, -) - - -_CALIBRATEMAGNETOMETERRESPONSE = _descriptor.Descriptor( - name='CalibrateMagnetometerResponse', - full_name='mavsdk.rpc.calibration.CalibrateMagnetometerResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='calibration_result', full_name='mavsdk.rpc.calibration.CalibrateMagnetometerResponse.calibration_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='progress_data', full_name='mavsdk.rpc.calibration.CalibrateMagnetometerResponse.progress_data', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=521, - serialized_end=684, -) - - -_SUBSCRIBECALIBRATELEVELHORIZONREQUEST = _descriptor.Descriptor( - name='SubscribeCalibrateLevelHorizonRequest', - full_name='mavsdk.rpc.calibration.SubscribeCalibrateLevelHorizonRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=686, - serialized_end=725, -) - - -_CALIBRATELEVELHORIZONRESPONSE = _descriptor.Descriptor( - name='CalibrateLevelHorizonResponse', - full_name='mavsdk.rpc.calibration.CalibrateLevelHorizonResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='calibration_result', full_name='mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.calibration_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='progress_data', full_name='mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.progress_data', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=728, - serialized_end=891, -) - - -_SUBSCRIBECALIBRATEGIMBALACCELEROMETERREQUEST = _descriptor.Descriptor( - name='SubscribeCalibrateGimbalAccelerometerRequest', - full_name='mavsdk.rpc.calibration.SubscribeCalibrateGimbalAccelerometerRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=893, - serialized_end=939, -) - - -_CALIBRATEGIMBALACCELEROMETERRESPONSE = _descriptor.Descriptor( - name='CalibrateGimbalAccelerometerResponse', - full_name='mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='calibration_result', full_name='mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.calibration_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='progress_data', full_name='mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.progress_data', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=942, - serialized_end=1112, -) - - -_CANCELREQUEST = _descriptor.Descriptor( - name='CancelRequest', - full_name='mavsdk.rpc.calibration.CancelRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1114, - serialized_end=1129, -) - - -_CANCELRESPONSE = _descriptor.Descriptor( - name='CancelResponse', - full_name='mavsdk.rpc.calibration.CancelResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='calibration_result', full_name='mavsdk.rpc.calibration.CancelResponse.calibration_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1131, - serialized_end=1218, -) - - -_CALIBRATIONRESULT = _descriptor.Descriptor( - name='CalibrationResult', - full_name='mavsdk.rpc.calibration.CalibrationResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.calibration.CalibrationResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.calibration.CalibrationResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CALIBRATIONRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1221, - serialized_end=1575, -) - - -_PROGRESSDATA = _descriptor.Descriptor( - name='ProgressData', - full_name='mavsdk.rpc.calibration.ProgressData', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='has_progress', full_name='mavsdk.rpc.calibration.ProgressData.has_progress', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\005false', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='progress', full_name='mavsdk.rpc.calibration.ProgressData.progress', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='has_status_text', full_name='mavsdk.rpc.calibration.ProgressData.has_status_text', index=2, - number=3, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\005false', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='status_text', full_name='mavsdk.rpc.calibration.ProgressData.status_text', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1578, - serialized_end=1709, -) - -_CALIBRATEGYRORESPONSE.fields_by_name['calibration_result'].message_type = _CALIBRATIONRESULT -_CALIBRATEGYRORESPONSE.fields_by_name['progress_data'].message_type = _PROGRESSDATA -_CALIBRATEACCELEROMETERRESPONSE.fields_by_name['calibration_result'].message_type = _CALIBRATIONRESULT -_CALIBRATEACCELEROMETERRESPONSE.fields_by_name['progress_data'].message_type = _PROGRESSDATA -_CALIBRATEMAGNETOMETERRESPONSE.fields_by_name['calibration_result'].message_type = _CALIBRATIONRESULT -_CALIBRATEMAGNETOMETERRESPONSE.fields_by_name['progress_data'].message_type = _PROGRESSDATA -_CALIBRATELEVELHORIZONRESPONSE.fields_by_name['calibration_result'].message_type = _CALIBRATIONRESULT -_CALIBRATELEVELHORIZONRESPONSE.fields_by_name['progress_data'].message_type = _PROGRESSDATA -_CALIBRATEGIMBALACCELEROMETERRESPONSE.fields_by_name['calibration_result'].message_type = _CALIBRATIONRESULT -_CALIBRATEGIMBALACCELEROMETERRESPONSE.fields_by_name['progress_data'].message_type = _PROGRESSDATA -_CANCELRESPONSE.fields_by_name['calibration_result'].message_type = _CALIBRATIONRESULT -_CALIBRATIONRESULT.fields_by_name['result'].enum_type = _CALIBRATIONRESULT_RESULT -_CALIBRATIONRESULT_RESULT.containing_type = _CALIBRATIONRESULT -DESCRIPTOR.message_types_by_name['SubscribeCalibrateGyroRequest'] = _SUBSCRIBECALIBRATEGYROREQUEST -DESCRIPTOR.message_types_by_name['CalibrateGyroResponse'] = _CALIBRATEGYRORESPONSE -DESCRIPTOR.message_types_by_name['SubscribeCalibrateAccelerometerRequest'] = _SUBSCRIBECALIBRATEACCELEROMETERREQUEST -DESCRIPTOR.message_types_by_name['CalibrateAccelerometerResponse'] = _CALIBRATEACCELEROMETERRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeCalibrateMagnetometerRequest'] = _SUBSCRIBECALIBRATEMAGNETOMETERREQUEST -DESCRIPTOR.message_types_by_name['CalibrateMagnetometerResponse'] = _CALIBRATEMAGNETOMETERRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeCalibrateLevelHorizonRequest'] = _SUBSCRIBECALIBRATELEVELHORIZONREQUEST -DESCRIPTOR.message_types_by_name['CalibrateLevelHorizonResponse'] = _CALIBRATELEVELHORIZONRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeCalibrateGimbalAccelerometerRequest'] = _SUBSCRIBECALIBRATEGIMBALACCELEROMETERREQUEST -DESCRIPTOR.message_types_by_name['CalibrateGimbalAccelerometerResponse'] = _CALIBRATEGIMBALACCELEROMETERRESPONSE -DESCRIPTOR.message_types_by_name['CancelRequest'] = _CANCELREQUEST -DESCRIPTOR.message_types_by_name['CancelResponse'] = _CANCELRESPONSE -DESCRIPTOR.message_types_by_name['CalibrationResult'] = _CALIBRATIONRESULT -DESCRIPTOR.message_types_by_name['ProgressData'] = _PROGRESSDATA -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_SUBSCRIBECALIBRATEGYROREQUEST = DESCRIPTOR.message_types_by_name['SubscribeCalibrateGyroRequest'] +_CALIBRATEGYRORESPONSE = DESCRIPTOR.message_types_by_name['CalibrateGyroResponse'] +_SUBSCRIBECALIBRATEACCELEROMETERREQUEST = DESCRIPTOR.message_types_by_name['SubscribeCalibrateAccelerometerRequest'] +_CALIBRATEACCELEROMETERRESPONSE = DESCRIPTOR.message_types_by_name['CalibrateAccelerometerResponse'] +_SUBSCRIBECALIBRATEMAGNETOMETERREQUEST = DESCRIPTOR.message_types_by_name['SubscribeCalibrateMagnetometerRequest'] +_CALIBRATEMAGNETOMETERRESPONSE = DESCRIPTOR.message_types_by_name['CalibrateMagnetometerResponse'] +_SUBSCRIBECALIBRATELEVELHORIZONREQUEST = DESCRIPTOR.message_types_by_name['SubscribeCalibrateLevelHorizonRequest'] +_CALIBRATELEVELHORIZONRESPONSE = DESCRIPTOR.message_types_by_name['CalibrateLevelHorizonResponse'] +_SUBSCRIBECALIBRATEGIMBALACCELEROMETERREQUEST = DESCRIPTOR.message_types_by_name['SubscribeCalibrateGimbalAccelerometerRequest'] +_CALIBRATEGIMBALACCELEROMETERRESPONSE = DESCRIPTOR.message_types_by_name['CalibrateGimbalAccelerometerResponse'] +_CANCELREQUEST = DESCRIPTOR.message_types_by_name['CancelRequest'] +_CANCELRESPONSE = DESCRIPTOR.message_types_by_name['CancelResponse'] +_CALIBRATIONRESULT = DESCRIPTOR.message_types_by_name['CalibrationResult'] +_PROGRESSDATA = DESCRIPTOR.message_types_by_name['ProgressData'] +_CALIBRATIONRESULT_RESULT = _CALIBRATIONRESULT.enum_types_by_name['Result'] SubscribeCalibrateGyroRequest = _reflection.GeneratedProtocolMessageType('SubscribeCalibrateGyroRequest', (_message.Message,), { 'DESCRIPTOR' : _SUBSCRIBECALIBRATEGYROREQUEST, '__module__' : 'calibration.calibration_pb2' @@ -693,85 +132,59 @@ }) _sym_db.RegisterMessage(ProgressData) - -DESCRIPTOR._options = None -_PROGRESSDATA.fields_by_name['has_progress']._options = None -_PROGRESSDATA.fields_by_name['progress']._options = None -_PROGRESSDATA.fields_by_name['has_status_text']._options = None - -_CALIBRATIONSERVICE = _descriptor.ServiceDescriptor( - name='CalibrationService', - full_name='mavsdk.rpc.calibration.CalibrationService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=1712, - serialized_end=2652, - methods=[ - _descriptor.MethodDescriptor( - name='SubscribeCalibrateGyro', - full_name='mavsdk.rpc.calibration.CalibrationService.SubscribeCalibrateGyro', - index=0, - containing_service=None, - input_type=_SUBSCRIBECALIBRATEGYROREQUEST, - output_type=_CALIBRATEGYRORESPONSE, - serialized_options=b'\200\265\030\000\210\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeCalibrateAccelerometer', - full_name='mavsdk.rpc.calibration.CalibrationService.SubscribeCalibrateAccelerometer', - index=1, - containing_service=None, - input_type=_SUBSCRIBECALIBRATEACCELEROMETERREQUEST, - output_type=_CALIBRATEACCELEROMETERRESPONSE, - serialized_options=b'\200\265\030\000\210\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeCalibrateMagnetometer', - full_name='mavsdk.rpc.calibration.CalibrationService.SubscribeCalibrateMagnetometer', - index=2, - containing_service=None, - input_type=_SUBSCRIBECALIBRATEMAGNETOMETERREQUEST, - output_type=_CALIBRATEMAGNETOMETERRESPONSE, - serialized_options=b'\200\265\030\000\210\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeCalibrateLevelHorizon', - full_name='mavsdk.rpc.calibration.CalibrationService.SubscribeCalibrateLevelHorizon', - index=3, - containing_service=None, - input_type=_SUBSCRIBECALIBRATELEVELHORIZONREQUEST, - output_type=_CALIBRATELEVELHORIZONRESPONSE, - serialized_options=b'\200\265\030\000\210\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeCalibrateGimbalAccelerometer', - full_name='mavsdk.rpc.calibration.CalibrationService.SubscribeCalibrateGimbalAccelerometer', - index=4, - containing_service=None, - input_type=_SUBSCRIBECALIBRATEGIMBALACCELEROMETERREQUEST, - output_type=_CALIBRATEGIMBALACCELEROMETERRESPONSE, - serialized_options=b'\200\265\030\000\210\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Cancel', - full_name='mavsdk.rpc.calibration.CalibrationService.Cancel', - index=5, - containing_service=None, - input_type=_CANCELREQUEST, - output_type=_CANCELRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_CALIBRATIONSERVICE) - -DESCRIPTOR.services_by_name['CalibrationService'] = _CALIBRATIONSERVICE - +_CALIBRATIONSERVICE = DESCRIPTOR.services_by_name['CalibrationService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\025io.mavsdk.calibrationB\020CalibrationProto' + _PROGRESSDATA.fields_by_name['has_progress']._options = None + _PROGRESSDATA.fields_by_name['has_progress']._serialized_options = b'\202\265\030\005false' + _PROGRESSDATA.fields_by_name['progress']._options = None + _PROGRESSDATA.fields_by_name['progress']._serialized_options = b'\202\265\030\003NaN' + _PROGRESSDATA.fields_by_name['has_status_text']._options = None + _PROGRESSDATA.fields_by_name['has_status_text']._serialized_options = b'\202\265\030\005false' + _CALIBRATIONSERVICE.methods_by_name['SubscribeCalibrateGyro']._options = None + _CALIBRATIONSERVICE.methods_by_name['SubscribeCalibrateGyro']._serialized_options = b'\200\265\030\000\210\265\030\001' + _CALIBRATIONSERVICE.methods_by_name['SubscribeCalibrateAccelerometer']._options = None + _CALIBRATIONSERVICE.methods_by_name['SubscribeCalibrateAccelerometer']._serialized_options = b'\200\265\030\000\210\265\030\001' + _CALIBRATIONSERVICE.methods_by_name['SubscribeCalibrateMagnetometer']._options = None + _CALIBRATIONSERVICE.methods_by_name['SubscribeCalibrateMagnetometer']._serialized_options = b'\200\265\030\000\210\265\030\001' + _CALIBRATIONSERVICE.methods_by_name['SubscribeCalibrateLevelHorizon']._options = None + _CALIBRATIONSERVICE.methods_by_name['SubscribeCalibrateLevelHorizon']._serialized_options = b'\200\265\030\000\210\265\030\001' + _CALIBRATIONSERVICE.methods_by_name['SubscribeCalibrateGimbalAccelerometer']._options = None + _CALIBRATIONSERVICE.methods_by_name['SubscribeCalibrateGimbalAccelerometer']._serialized_options = b'\200\265\030\000\210\265\030\001' + _CALIBRATIONSERVICE.methods_by_name['Cancel']._options = None + _CALIBRATIONSERVICE.methods_by_name['Cancel']._serialized_options = b'\200\265\030\001' + _SUBSCRIBECALIBRATEGYROREQUEST._serialized_start=79 + _SUBSCRIBECALIBRATEGYROREQUEST._serialized_end=110 + _CALIBRATEGYRORESPONSE._serialized_start=113 + _CALIBRATEGYRORESPONSE._serialized_end=268 + _SUBSCRIBECALIBRATEACCELEROMETERREQUEST._serialized_start=270 + _SUBSCRIBECALIBRATEACCELEROMETERREQUEST._serialized_end=310 + _CALIBRATEACCELEROMETERRESPONSE._serialized_start=313 + _CALIBRATEACCELEROMETERRESPONSE._serialized_end=477 + _SUBSCRIBECALIBRATEMAGNETOMETERREQUEST._serialized_start=479 + _SUBSCRIBECALIBRATEMAGNETOMETERREQUEST._serialized_end=518 + _CALIBRATEMAGNETOMETERRESPONSE._serialized_start=521 + _CALIBRATEMAGNETOMETERRESPONSE._serialized_end=684 + _SUBSCRIBECALIBRATELEVELHORIZONREQUEST._serialized_start=686 + _SUBSCRIBECALIBRATELEVELHORIZONREQUEST._serialized_end=725 + _CALIBRATELEVELHORIZONRESPONSE._serialized_start=728 + _CALIBRATELEVELHORIZONRESPONSE._serialized_end=891 + _SUBSCRIBECALIBRATEGIMBALACCELEROMETERREQUEST._serialized_start=893 + _SUBSCRIBECALIBRATEGIMBALACCELEROMETERREQUEST._serialized_end=939 + _CALIBRATEGIMBALACCELEROMETERRESPONSE._serialized_start=942 + _CALIBRATEGIMBALACCELEROMETERRESPONSE._serialized_end=1112 + _CANCELREQUEST._serialized_start=1114 + _CANCELREQUEST._serialized_end=1129 + _CANCELRESPONSE._serialized_start=1131 + _CANCELRESPONSE._serialized_end=1218 + _CALIBRATIONRESULT._serialized_start=1221 + _CALIBRATIONRESULT._serialized_end=1599 + _CALIBRATIONRESULT_RESULT._serialized_start=1329 + _CALIBRATIONRESULT_RESULT._serialized_end=1599 + _PROGRESSDATA._serialized_start=1602 + _PROGRESSDATA._serialized_end=1733 + _CALIBRATIONSERVICE._serialized_start=1736 + _CALIBRATIONSERVICE._serialized_end=2676 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/camera.py b/mavsdk/camera.py index 05cdfaee..08da4ca3 100644 --- a/mavsdk/camera.py +++ b/mavsdk/camera.py @@ -1074,6 +1074,12 @@ class Status: storage_status : StorageStatus Storage status + storage_id : uint32_t + Storage ID starting at 1 + + storage_type : StorageType + Storage type + """ @@ -1129,6 +1135,74 @@ def translate_from_rpc(rpc_enum_value): def __str__(self): return self.name + + class StorageType(Enum): + """ + Storage type. + + Values + ------ + UNKNOWN + Storage type unknown + + USB_STICK + Storage type USB stick + + SD + Storage type SD card + + MICROSD + Storage type MicroSD card + + HD + Storage type HD mass storage + + OTHER + Storage type other, not listed + + """ + + + UNKNOWN = 0 + USB_STICK = 1 + SD = 2 + MICROSD = 3 + HD = 4 + OTHER = 5 + + def translate_to_rpc(self): + if self == Status.StorageType.UNKNOWN: + return camera_pb2.Status.STORAGE_TYPE_UNKNOWN + if self == Status.StorageType.USB_STICK: + return camera_pb2.Status.STORAGE_TYPE_USB_STICK + if self == Status.StorageType.SD: + return camera_pb2.Status.STORAGE_TYPE_SD + if self == Status.StorageType.MICROSD: + return camera_pb2.Status.STORAGE_TYPE_MICROSD + if self == Status.StorageType.HD: + return camera_pb2.Status.STORAGE_TYPE_HD + if self == Status.StorageType.OTHER: + return camera_pb2.Status.STORAGE_TYPE_OTHER + + @staticmethod + def translate_from_rpc(rpc_enum_value): + """ Parses a gRPC response """ + if rpc_enum_value == camera_pb2.Status.STORAGE_TYPE_UNKNOWN: + return Status.StorageType.UNKNOWN + if rpc_enum_value == camera_pb2.Status.STORAGE_TYPE_USB_STICK: + return Status.StorageType.USB_STICK + if rpc_enum_value == camera_pb2.Status.STORAGE_TYPE_SD: + return Status.StorageType.SD + if rpc_enum_value == camera_pb2.Status.STORAGE_TYPE_MICROSD: + return Status.StorageType.MICROSD + if rpc_enum_value == camera_pb2.Status.STORAGE_TYPE_HD: + return Status.StorageType.HD + if rpc_enum_value == camera_pb2.Status.STORAGE_TYPE_OTHER: + return Status.StorageType.OTHER + + def __str__(self): + return self.name + def __init__( self, @@ -1139,7 +1213,9 @@ def __init__( total_storage_mib, recording_time_s, media_folder_name, - storage_status): + storage_status, + storage_id, + storage_type): """ Initializes the Status object """ self.video_on = video_on self.photo_interval_on = photo_interval_on @@ -1149,6 +1225,8 @@ def __init__( self.recording_time_s = recording_time_s self.media_folder_name = media_folder_name self.storage_status = storage_status + self.storage_id = storage_id + self.storage_type = storage_type def __eq__(self, to_compare): """ Checks if two Status are the same """ @@ -1163,7 +1241,9 @@ def __eq__(self, to_compare): (self.total_storage_mib == to_compare.total_storage_mib) and \ (self.recording_time_s == to_compare.recording_time_s) and \ (self.media_folder_name == to_compare.media_folder_name) and \ - (self.storage_status == to_compare.storage_status) + (self.storage_status == to_compare.storage_status) and \ + (self.storage_id == to_compare.storage_id) and \ + (self.storage_type == to_compare.storage_type) except AttributeError: return False @@ -1178,7 +1258,9 @@ def __str__(self): "total_storage_mib: " + str(self.total_storage_mib), "recording_time_s: " + str(self.recording_time_s), "media_folder_name: " + str(self.media_folder_name), - "storage_status: " + str(self.storage_status) + "storage_status: " + str(self.storage_status), + "storage_id: " + str(self.storage_id), + "storage_type: " + str(self.storage_type) ]) return f"Status: [{struct_repr}]" @@ -1209,7 +1291,13 @@ def translate_from_rpc(rpcStatus): rpcStatus.media_folder_name, - Status.StorageStatus.translate_from_rpc(rpcStatus.storage_status) + Status.StorageStatus.translate_from_rpc(rpcStatus.storage_status), + + + rpcStatus.storage_id, + + + Status.StorageType.translate_from_rpc(rpcStatus.storage_type) ) def translate_to_rpc(self, rpcStatus): @@ -1264,6 +1352,18 @@ def translate_to_rpc(self, rpcStatus): + + + rpcStatus.storage_id = self.storage_id + + + + + + rpcStatus.storage_type = self.storage_type.translate_to_rpc() + + + class Option: diff --git a/mavsdk/camera_pb2.py b/mavsdk/camera_pb2.py index d117cf3a..56cd03e6 100644 --- a/mavsdk/camera_pb2.py +++ b/mavsdk/camera_pb2.py @@ -4,6 +4,7 @@ """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -15,72 +16,11 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='camera/camera.proto', - package='mavsdk.rpc.camera', - syntax='proto3', - serialized_options=b'\n\020io.mavsdk.cameraB\013CameraProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x13\x63\x61mera/camera.proto\x12\x11mavsdk.rpc.camera\x1a\x14mavsdk_options.proto\"\x10\n\x0ePrepareRequest\"I\n\x0fPrepareResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"\x12\n\x10TakePhotoRequest\"K\n\x11TakePhotoResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"/\n\x19StartPhotoIntervalRequest\x12\x12\n\ninterval_s\x18\x01 \x01(\x02\"T\n\x1aStartPhotoIntervalResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"\x1a\n\x18StopPhotoIntervalRequest\"S\n\x19StopPhotoIntervalResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"\x13\n\x11StartVideoRequest\"L\n\x12StartVideoResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"\x12\n\x10StopVideoRequest\"K\n\x11StopVideoResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"\x1c\n\x1aStartVideoStreamingRequest\"U\n\x1bStartVideoStreamingResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"\x1b\n\x19StopVideoStreamingRequest\"T\n\x1aStopVideoStreamingResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"7\n\x0eSetModeRequest\x12%\n\x04mode\x18\x01 \x01(\x0e\x32\x17.mavsdk.rpc.camera.Mode\"I\n\x0fSetModeResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"I\n\x11ListPhotosRequest\x12\x34\n\x0cphotos_range\x18\x01 \x01(\x0e\x32\x1e.mavsdk.rpc.camera.PhotosRange\"\x83\x01\n\x12ListPhotosResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\x12\x35\n\rcapture_infos\x18\x02 \x03(\x0b\x32\x1e.mavsdk.rpc.camera.CaptureInfo\"\x1d\n\x1bSubscribeInformationRequest\"J\n\x13InformationResponse\x12\x33\n\x0binformation\x18\x01 \x01(\x0b\x32\x1e.mavsdk.rpc.camera.Information\"\x16\n\x14SubscribeModeRequest\"5\n\x0cModeResponse\x12%\n\x04mode\x18\x01 \x01(\x0e\x32\x17.mavsdk.rpc.camera.Mode\"!\n\x1fSubscribeVideoStreamInfoRequest\"X\n\x17VideoStreamInfoResponse\x12=\n\x11video_stream_info\x18\x01 \x01(\x0b\x32\".mavsdk.rpc.camera.VideoStreamInfo\"\x1d\n\x1bSubscribeCaptureInfoRequest\"K\n\x13\x43\x61ptureInfoResponse\x12\x34\n\x0c\x63\x61pture_info\x18\x01 \x01(\x0b\x32\x1e.mavsdk.rpc.camera.CaptureInfo\"\x18\n\x16SubscribeStatusRequest\"B\n\x0eStatusResponse\x12\x30\n\rcamera_status\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.camera.Status\"!\n\x1fSubscribeCurrentSettingsRequest\"O\n\x17\x43urrentSettingsResponse\x12\x34\n\x10\x63urrent_settings\x18\x01 \x03(\x0b\x32\x1a.mavsdk.rpc.camera.Setting\"(\n&SubscribePossibleSettingOptionsRequest\"\\\n\x1ePossibleSettingOptionsResponse\x12:\n\x0fsetting_options\x18\x01 \x03(\x0b\x32!.mavsdk.rpc.camera.SettingOptions\"@\n\x11SetSettingRequest\x12+\n\x07setting\x18\x01 \x01(\x0b\x32\x1a.mavsdk.rpc.camera.Setting\"L\n\x12SetSettingResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"@\n\x11GetSettingRequest\x12+\n\x07setting\x18\x01 \x01(\x0b\x32\x1a.mavsdk.rpc.camera.Setting\"y\n\x12GetSettingResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\x12+\n\x07setting\x18\x02 \x01(\x0b\x32\x1a.mavsdk.rpc.camera.Setting\"\x16\n\x14\x46ormatStorageRequest\"O\n\x15\x46ormatStorageResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"\xa0\x02\n\x0c\x43\x61meraResult\x12\x36\n\x06result\x18\x01 \x01(\x0e\x32&.mavsdk.rpc.camera.CameraResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xc3\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x16\n\x12RESULT_IN_PROGRESS\x10\x02\x12\x0f\n\x0bRESULT_BUSY\x10\x03\x12\x11\n\rRESULT_DENIED\x10\x04\x12\x10\n\x0cRESULT_ERROR\x10\x05\x12\x12\n\x0eRESULT_TIMEOUT\x10\x06\x12\x19\n\x15RESULT_WRONG_ARGUMENT\x10\x07\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x08\"q\n\x08Position\x12\x14\n\x0clatitude_deg\x18\x01 \x01(\x01\x12\x15\n\rlongitude_deg\x18\x02 \x01(\x01\x12\x1b\n\x13\x61\x62solute_altitude_m\x18\x03 \x01(\x02\x12\x1b\n\x13relative_altitude_m\x18\x04 \x01(\x02\"8\n\nQuaternion\x12\t\n\x01w\x18\x01 \x01(\x02\x12\t\n\x01x\x18\x02 \x01(\x02\x12\t\n\x01y\x18\x03 \x01(\x02\x12\t\n\x01z\x18\x04 \x01(\x02\"B\n\nEulerAngle\x12\x10\n\x08roll_deg\x18\x01 \x01(\x02\x12\x11\n\tpitch_deg\x18\x02 \x01(\x02\x12\x0f\n\x07yaw_deg\x18\x03 \x01(\x02\"\xff\x01\n\x0b\x43\x61ptureInfo\x12-\n\x08position\x18\x01 \x01(\x0b\x32\x1b.mavsdk.rpc.camera.Position\x12:\n\x13\x61ttitude_quaternion\x18\x02 \x01(\x0b\x32\x1d.mavsdk.rpc.camera.Quaternion\x12;\n\x14\x61ttitude_euler_angle\x18\x03 \x01(\x0b\x32\x1d.mavsdk.rpc.camera.EulerAngle\x12\x13\n\x0btime_utc_us\x18\x04 \x01(\x04\x12\x12\n\nis_success\x18\x05 \x01(\x08\x12\r\n\x05index\x18\x06 \x01(\x05\x12\x10\n\x08\x66ile_url\x18\x07 \x01(\t\"\xc5\x01\n\x13VideoStreamSettings\x12\x15\n\rframe_rate_hz\x18\x01 \x01(\x02\x12!\n\x19horizontal_resolution_pix\x18\x02 \x01(\r\x12\x1f\n\x17vertical_resolution_pix\x18\x03 \x01(\r\x12\x14\n\x0c\x62it_rate_b_s\x18\x04 \x01(\r\x12\x14\n\x0crotation_deg\x18\x05 \x01(\r\x12\x0b\n\x03uri\x18\x06 \x01(\t\x12\x1a\n\x12horizontal_fov_deg\x18\x07 \x01(\x02\"\xc2\x03\n\x0fVideoStreamInfo\x12\x38\n\x08settings\x18\x01 \x01(\x0b\x32&.mavsdk.rpc.camera.VideoStreamSettings\x12\x44\n\x06status\x18\x02 \x01(\x0e\x32\x34.mavsdk.rpc.camera.VideoStreamInfo.VideoStreamStatus\x12H\n\x08spectrum\x18\x03 \x01(\x0e\x32\x36.mavsdk.rpc.camera.VideoStreamInfo.VideoStreamSpectrum\"]\n\x11VideoStreamStatus\x12#\n\x1fVIDEO_STREAM_STATUS_NOT_RUNNING\x10\x00\x12#\n\x1fVIDEO_STREAM_STATUS_IN_PROGRESS\x10\x01\"\x85\x01\n\x13VideoStreamSpectrum\x12!\n\x1dVIDEO_STREAM_SPECTRUM_UNKNOWN\x10\x00\x12\'\n#VIDEO_STREAM_SPECTRUM_VISIBLE_LIGHT\x10\x01\x12\"\n\x1eVIDEO_STREAM_SPECTRUM_INFRARED\x10\x02\"\x93\x03\n\x06Status\x12\x10\n\x08video_on\x18\x01 \x01(\x08\x12\x19\n\x11photo_interval_on\x18\x02 \x01(\x08\x12\x18\n\x10used_storage_mib\x18\x03 \x01(\x02\x12\x1d\n\x15\x61vailable_storage_mib\x18\x04 \x01(\x02\x12\x19\n\x11total_storage_mib\x18\x05 \x01(\x02\x12\x18\n\x10recording_time_s\x18\x06 \x01(\x02\x12\x19\n\x11media_folder_name\x18\x07 \x01(\t\x12?\n\x0estorage_status\x18\x08 \x01(\x0e\x32\'.mavsdk.rpc.camera.Status.StorageStatus\"\x91\x01\n\rStorageStatus\x12 \n\x1cSTORAGE_STATUS_NOT_AVAILABLE\x10\x00\x12\x1e\n\x1aSTORAGE_STATUS_UNFORMATTED\x10\x01\x12\x1c\n\x18STORAGE_STATUS_FORMATTED\x10\x02\x12 \n\x1cSTORAGE_STATUS_NOT_SUPPORTED\x10\x03\"7\n\x06Option\x12\x11\n\toption_id\x18\x01 \x01(\t\x12\x1a\n\x12option_description\x18\x02 \x01(\t\"w\n\x07Setting\x12\x12\n\nsetting_id\x18\x01 \x01(\t\x12\x1b\n\x13setting_description\x18\x02 \x01(\t\x12)\n\x06option\x18\x03 \x01(\x0b\x32\x19.mavsdk.rpc.camera.Option\x12\x10\n\x08is_range\x18\x04 \x01(\x08\"\x7f\n\x0eSettingOptions\x12\x12\n\nsetting_id\x18\x01 \x01(\t\x12\x1b\n\x13setting_description\x18\x02 \x01(\t\x12*\n\x07options\x18\x03 \x03(\x0b\x32\x19.mavsdk.rpc.camera.Option\x12\x10\n\x08is_range\x18\x04 \x01(\x08\"\xd5\x01\n\x0bInformation\x12\x13\n\x0bvendor_name\x18\x01 \x01(\t\x12\x12\n\nmodel_name\x18\x02 \x01(\t\x12\x17\n\x0f\x66ocal_length_mm\x18\x03 \x01(\x02\x12!\n\x19horizontal_sensor_size_mm\x18\x04 \x01(\x02\x12\x1f\n\x17vertical_sensor_size_mm\x18\x05 \x01(\x02\x12 \n\x18horizontal_resolution_px\x18\x06 \x01(\r\x12\x1e\n\x16vertical_resolution_px\x18\x07 \x01(\r*8\n\x04Mode\x12\x10\n\x0cMODE_UNKNOWN\x10\x00\x12\x0e\n\nMODE_PHOTO\x10\x01\x12\x0e\n\nMODE_VIDEO\x10\x02*F\n\x0bPhotosRange\x12\x14\n\x10PHOTOS_RANGE_ALL\x10\x00\x12!\n\x1dPHOTOS_RANGE_SINCE_CONNECTION\x10\x01\x32\xec\x10\n\rCameraService\x12R\n\x07Prepare\x12!.mavsdk.rpc.camera.PrepareRequest\x1a\".mavsdk.rpc.camera.PrepareResponse\"\x00\x12X\n\tTakePhoto\x12#.mavsdk.rpc.camera.TakePhotoRequest\x1a$.mavsdk.rpc.camera.TakePhotoResponse\"\x00\x12s\n\x12StartPhotoInterval\x12,.mavsdk.rpc.camera.StartPhotoIntervalRequest\x1a-.mavsdk.rpc.camera.StartPhotoIntervalResponse\"\x00\x12p\n\x11StopPhotoInterval\x12+.mavsdk.rpc.camera.StopPhotoIntervalRequest\x1a,.mavsdk.rpc.camera.StopPhotoIntervalResponse\"\x00\x12[\n\nStartVideo\x12$.mavsdk.rpc.camera.StartVideoRequest\x1a%.mavsdk.rpc.camera.StartVideoResponse\"\x00\x12X\n\tStopVideo\x12#.mavsdk.rpc.camera.StopVideoRequest\x1a$.mavsdk.rpc.camera.StopVideoResponse\"\x00\x12z\n\x13StartVideoStreaming\x12-.mavsdk.rpc.camera.StartVideoStreamingRequest\x1a..mavsdk.rpc.camera.StartVideoStreamingResponse\"\x04\x80\xb5\x18\x01\x12w\n\x12StopVideoStreaming\x12,.mavsdk.rpc.camera.StopVideoStreamingRequest\x1a-.mavsdk.rpc.camera.StopVideoStreamingResponse\"\x04\x80\xb5\x18\x01\x12R\n\x07SetMode\x12!.mavsdk.rpc.camera.SetModeRequest\x1a\".mavsdk.rpc.camera.SetModeResponse\"\x00\x12[\n\nListPhotos\x12$.mavsdk.rpc.camera.ListPhotosRequest\x1a%.mavsdk.rpc.camera.ListPhotosResponse\"\x00\x12]\n\rSubscribeMode\x12\'.mavsdk.rpc.camera.SubscribeModeRequest\x1a\x1f.mavsdk.rpc.camera.ModeResponse\"\x00\x30\x01\x12r\n\x14SubscribeInformation\x12..mavsdk.rpc.camera.SubscribeInformationRequest\x1a&.mavsdk.rpc.camera.InformationResponse\"\x00\x30\x01\x12~\n\x18SubscribeVideoStreamInfo\x12\x32.mavsdk.rpc.camera.SubscribeVideoStreamInfoRequest\x1a*.mavsdk.rpc.camera.VideoStreamInfoResponse\"\x00\x30\x01\x12v\n\x14SubscribeCaptureInfo\x12..mavsdk.rpc.camera.SubscribeCaptureInfoRequest\x1a&.mavsdk.rpc.camera.CaptureInfoResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12\x63\n\x0fSubscribeStatus\x12).mavsdk.rpc.camera.SubscribeStatusRequest\x1a!.mavsdk.rpc.camera.StatusResponse\"\x00\x30\x01\x12\x82\x01\n\x18SubscribeCurrentSettings\x12\x32.mavsdk.rpc.camera.SubscribeCurrentSettingsRequest\x1a*.mavsdk.rpc.camera.CurrentSettingsResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12\x93\x01\n\x1fSubscribePossibleSettingOptions\x12\x39.mavsdk.rpc.camera.SubscribePossibleSettingOptionsRequest\x1a\x31.mavsdk.rpc.camera.PossibleSettingOptionsResponse\"\x00\x30\x01\x12[\n\nSetSetting\x12$.mavsdk.rpc.camera.SetSettingRequest\x1a%.mavsdk.rpc.camera.SetSettingResponse\"\x00\x12[\n\nGetSetting\x12$.mavsdk.rpc.camera.GetSettingRequest\x1a%.mavsdk.rpc.camera.GetSettingResponse\"\x00\x12\x64\n\rFormatStorage\x12\'.mavsdk.rpc.camera.FormatStorageRequest\x1a(.mavsdk.rpc.camera.FormatStorageResponse\"\x00\x42\x1f\n\x10io.mavsdk.cameraB\x0b\x43\x61meraProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) - -_MODE = _descriptor.EnumDescriptor( - name='Mode', - full_name='mavsdk.rpc.camera.Mode', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='MODE_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='MODE_PHOTO', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='MODE_VIDEO', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=4846, - serialized_end=4902, -) -_sym_db.RegisterEnumDescriptor(_MODE) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13\x63\x61mera/camera.proto\x12\x11mavsdk.rpc.camera\x1a\x14mavsdk_options.proto\"\x10\n\x0ePrepareRequest\"I\n\x0fPrepareResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"\x12\n\x10TakePhotoRequest\"K\n\x11TakePhotoResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"/\n\x19StartPhotoIntervalRequest\x12\x12\n\ninterval_s\x18\x01 \x01(\x02\"T\n\x1aStartPhotoIntervalResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"\x1a\n\x18StopPhotoIntervalRequest\"S\n\x19StopPhotoIntervalResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"\x13\n\x11StartVideoRequest\"L\n\x12StartVideoResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"\x12\n\x10StopVideoRequest\"K\n\x11StopVideoResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"\x1c\n\x1aStartVideoStreamingRequest\"U\n\x1bStartVideoStreamingResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"\x1b\n\x19StopVideoStreamingRequest\"T\n\x1aStopVideoStreamingResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"7\n\x0eSetModeRequest\x12%\n\x04mode\x18\x01 \x01(\x0e\x32\x17.mavsdk.rpc.camera.Mode\"I\n\x0fSetModeResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"I\n\x11ListPhotosRequest\x12\x34\n\x0cphotos_range\x18\x01 \x01(\x0e\x32\x1e.mavsdk.rpc.camera.PhotosRange\"\x83\x01\n\x12ListPhotosResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\x12\x35\n\rcapture_infos\x18\x02 \x03(\x0b\x32\x1e.mavsdk.rpc.camera.CaptureInfo\"\x1d\n\x1bSubscribeInformationRequest\"J\n\x13InformationResponse\x12\x33\n\x0binformation\x18\x01 \x01(\x0b\x32\x1e.mavsdk.rpc.camera.Information\"\x16\n\x14SubscribeModeRequest\"5\n\x0cModeResponse\x12%\n\x04mode\x18\x01 \x01(\x0e\x32\x17.mavsdk.rpc.camera.Mode\"!\n\x1fSubscribeVideoStreamInfoRequest\"X\n\x17VideoStreamInfoResponse\x12=\n\x11video_stream_info\x18\x01 \x01(\x0b\x32\".mavsdk.rpc.camera.VideoStreamInfo\"\x1d\n\x1bSubscribeCaptureInfoRequest\"K\n\x13\x43\x61ptureInfoResponse\x12\x34\n\x0c\x63\x61pture_info\x18\x01 \x01(\x0b\x32\x1e.mavsdk.rpc.camera.CaptureInfo\"\x18\n\x16SubscribeStatusRequest\"B\n\x0eStatusResponse\x12\x30\n\rcamera_status\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.camera.Status\"!\n\x1fSubscribeCurrentSettingsRequest\"O\n\x17\x43urrentSettingsResponse\x12\x34\n\x10\x63urrent_settings\x18\x01 \x03(\x0b\x32\x1a.mavsdk.rpc.camera.Setting\"(\n&SubscribePossibleSettingOptionsRequest\"\\\n\x1ePossibleSettingOptionsResponse\x12:\n\x0fsetting_options\x18\x01 \x03(\x0b\x32!.mavsdk.rpc.camera.SettingOptions\"@\n\x11SetSettingRequest\x12+\n\x07setting\x18\x01 \x01(\x0b\x32\x1a.mavsdk.rpc.camera.Setting\"L\n\x12SetSettingResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"@\n\x11GetSettingRequest\x12+\n\x07setting\x18\x01 \x01(\x0b\x32\x1a.mavsdk.rpc.camera.Setting\"y\n\x12GetSettingResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\x12+\n\x07setting\x18\x02 \x01(\x0b\x32\x1a.mavsdk.rpc.camera.Setting\"\x16\n\x14\x46ormatStorageRequest\"O\n\x15\x46ormatStorageResponse\x12\x36\n\rcamera_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.camera.CameraResult\"\xa0\x02\n\x0c\x43\x61meraResult\x12\x36\n\x06result\x18\x01 \x01(\x0e\x32&.mavsdk.rpc.camera.CameraResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xc3\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x16\n\x12RESULT_IN_PROGRESS\x10\x02\x12\x0f\n\x0bRESULT_BUSY\x10\x03\x12\x11\n\rRESULT_DENIED\x10\x04\x12\x10\n\x0cRESULT_ERROR\x10\x05\x12\x12\n\x0eRESULT_TIMEOUT\x10\x06\x12\x19\n\x15RESULT_WRONG_ARGUMENT\x10\x07\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x08\"q\n\x08Position\x12\x14\n\x0clatitude_deg\x18\x01 \x01(\x01\x12\x15\n\rlongitude_deg\x18\x02 \x01(\x01\x12\x1b\n\x13\x61\x62solute_altitude_m\x18\x03 \x01(\x02\x12\x1b\n\x13relative_altitude_m\x18\x04 \x01(\x02\"8\n\nQuaternion\x12\t\n\x01w\x18\x01 \x01(\x02\x12\t\n\x01x\x18\x02 \x01(\x02\x12\t\n\x01y\x18\x03 \x01(\x02\x12\t\n\x01z\x18\x04 \x01(\x02\"B\n\nEulerAngle\x12\x10\n\x08roll_deg\x18\x01 \x01(\x02\x12\x11\n\tpitch_deg\x18\x02 \x01(\x02\x12\x0f\n\x07yaw_deg\x18\x03 \x01(\x02\"\xff\x01\n\x0b\x43\x61ptureInfo\x12-\n\x08position\x18\x01 \x01(\x0b\x32\x1b.mavsdk.rpc.camera.Position\x12:\n\x13\x61ttitude_quaternion\x18\x02 \x01(\x0b\x32\x1d.mavsdk.rpc.camera.Quaternion\x12;\n\x14\x61ttitude_euler_angle\x18\x03 \x01(\x0b\x32\x1d.mavsdk.rpc.camera.EulerAngle\x12\x13\n\x0btime_utc_us\x18\x04 \x01(\x04\x12\x12\n\nis_success\x18\x05 \x01(\x08\x12\r\n\x05index\x18\x06 \x01(\x05\x12\x10\n\x08\x66ile_url\x18\x07 \x01(\t\"\xc5\x01\n\x13VideoStreamSettings\x12\x15\n\rframe_rate_hz\x18\x01 \x01(\x02\x12!\n\x19horizontal_resolution_pix\x18\x02 \x01(\r\x12\x1f\n\x17vertical_resolution_pix\x18\x03 \x01(\r\x12\x14\n\x0c\x62it_rate_b_s\x18\x04 \x01(\r\x12\x14\n\x0crotation_deg\x18\x05 \x01(\r\x12\x0b\n\x03uri\x18\x06 \x01(\t\x12\x1a\n\x12horizontal_fov_deg\x18\x07 \x01(\x02\"\xc2\x03\n\x0fVideoStreamInfo\x12\x38\n\x08settings\x18\x01 \x01(\x0b\x32&.mavsdk.rpc.camera.VideoStreamSettings\x12\x44\n\x06status\x18\x02 \x01(\x0e\x32\x34.mavsdk.rpc.camera.VideoStreamInfo.VideoStreamStatus\x12H\n\x08spectrum\x18\x03 \x01(\x0e\x32\x36.mavsdk.rpc.camera.VideoStreamInfo.VideoStreamSpectrum\"]\n\x11VideoStreamStatus\x12#\n\x1fVIDEO_STREAM_STATUS_NOT_RUNNING\x10\x00\x12#\n\x1fVIDEO_STREAM_STATUS_IN_PROGRESS\x10\x01\"\x85\x01\n\x13VideoStreamSpectrum\x12!\n\x1dVIDEO_STREAM_SPECTRUM_UNKNOWN\x10\x00\x12\'\n#VIDEO_STREAM_SPECTRUM_VISIBLE_LIGHT\x10\x01\x12\"\n\x1eVIDEO_STREAM_SPECTRUM_INFRARED\x10\x02\"\x87\x05\n\x06Status\x12\x10\n\x08video_on\x18\x01 \x01(\x08\x12\x19\n\x11photo_interval_on\x18\x02 \x01(\x08\x12\x18\n\x10used_storage_mib\x18\x03 \x01(\x02\x12\x1d\n\x15\x61vailable_storage_mib\x18\x04 \x01(\x02\x12\x19\n\x11total_storage_mib\x18\x05 \x01(\x02\x12\x18\n\x10recording_time_s\x18\x06 \x01(\x02\x12\x19\n\x11media_folder_name\x18\x07 \x01(\t\x12?\n\x0estorage_status\x18\x08 \x01(\x0e\x32\'.mavsdk.rpc.camera.Status.StorageStatus\x12\x12\n\nstorage_id\x18\t \x01(\r\x12;\n\x0cstorage_type\x18\n \x01(\x0e\x32%.mavsdk.rpc.camera.Status.StorageType\"\x91\x01\n\rStorageStatus\x12 \n\x1cSTORAGE_STATUS_NOT_AVAILABLE\x10\x00\x12\x1e\n\x1aSTORAGE_STATUS_UNFORMATTED\x10\x01\x12\x1c\n\x18STORAGE_STATUS_FORMATTED\x10\x02\x12 \n\x1cSTORAGE_STATUS_NOT_SUPPORTED\x10\x03\"\xa0\x01\n\x0bStorageType\x12\x18\n\x14STORAGE_TYPE_UNKNOWN\x10\x00\x12\x1a\n\x16STORAGE_TYPE_USB_STICK\x10\x01\x12\x13\n\x0fSTORAGE_TYPE_SD\x10\x02\x12\x18\n\x14STORAGE_TYPE_MICROSD\x10\x03\x12\x13\n\x0fSTORAGE_TYPE_HD\x10\x07\x12\x17\n\x12STORAGE_TYPE_OTHER\x10\xfe\x01\"7\n\x06Option\x12\x11\n\toption_id\x18\x01 \x01(\t\x12\x1a\n\x12option_description\x18\x02 \x01(\t\"w\n\x07Setting\x12\x12\n\nsetting_id\x18\x01 \x01(\t\x12\x1b\n\x13setting_description\x18\x02 \x01(\t\x12)\n\x06option\x18\x03 \x01(\x0b\x32\x19.mavsdk.rpc.camera.Option\x12\x10\n\x08is_range\x18\x04 \x01(\x08\"\x7f\n\x0eSettingOptions\x12\x12\n\nsetting_id\x18\x01 \x01(\t\x12\x1b\n\x13setting_description\x18\x02 \x01(\t\x12*\n\x07options\x18\x03 \x03(\x0b\x32\x19.mavsdk.rpc.camera.Option\x12\x10\n\x08is_range\x18\x04 \x01(\x08\"\xd5\x01\n\x0bInformation\x12\x13\n\x0bvendor_name\x18\x01 \x01(\t\x12\x12\n\nmodel_name\x18\x02 \x01(\t\x12\x17\n\x0f\x66ocal_length_mm\x18\x03 \x01(\x02\x12!\n\x19horizontal_sensor_size_mm\x18\x04 \x01(\x02\x12\x1f\n\x17vertical_sensor_size_mm\x18\x05 \x01(\x02\x12 \n\x18horizontal_resolution_px\x18\x06 \x01(\r\x12\x1e\n\x16vertical_resolution_px\x18\x07 \x01(\r*8\n\x04Mode\x12\x10\n\x0cMODE_UNKNOWN\x10\x00\x12\x0e\n\nMODE_PHOTO\x10\x01\x12\x0e\n\nMODE_VIDEO\x10\x02*F\n\x0bPhotosRange\x12\x14\n\x10PHOTOS_RANGE_ALL\x10\x00\x12!\n\x1dPHOTOS_RANGE_SINCE_CONNECTION\x10\x01\x32\xec\x10\n\rCameraService\x12R\n\x07Prepare\x12!.mavsdk.rpc.camera.PrepareRequest\x1a\".mavsdk.rpc.camera.PrepareResponse\"\x00\x12X\n\tTakePhoto\x12#.mavsdk.rpc.camera.TakePhotoRequest\x1a$.mavsdk.rpc.camera.TakePhotoResponse\"\x00\x12s\n\x12StartPhotoInterval\x12,.mavsdk.rpc.camera.StartPhotoIntervalRequest\x1a-.mavsdk.rpc.camera.StartPhotoIntervalResponse\"\x00\x12p\n\x11StopPhotoInterval\x12+.mavsdk.rpc.camera.StopPhotoIntervalRequest\x1a,.mavsdk.rpc.camera.StopPhotoIntervalResponse\"\x00\x12[\n\nStartVideo\x12$.mavsdk.rpc.camera.StartVideoRequest\x1a%.mavsdk.rpc.camera.StartVideoResponse\"\x00\x12X\n\tStopVideo\x12#.mavsdk.rpc.camera.StopVideoRequest\x1a$.mavsdk.rpc.camera.StopVideoResponse\"\x00\x12z\n\x13StartVideoStreaming\x12-.mavsdk.rpc.camera.StartVideoStreamingRequest\x1a..mavsdk.rpc.camera.StartVideoStreamingResponse\"\x04\x80\xb5\x18\x01\x12w\n\x12StopVideoStreaming\x12,.mavsdk.rpc.camera.StopVideoStreamingRequest\x1a-.mavsdk.rpc.camera.StopVideoStreamingResponse\"\x04\x80\xb5\x18\x01\x12R\n\x07SetMode\x12!.mavsdk.rpc.camera.SetModeRequest\x1a\".mavsdk.rpc.camera.SetModeResponse\"\x00\x12[\n\nListPhotos\x12$.mavsdk.rpc.camera.ListPhotosRequest\x1a%.mavsdk.rpc.camera.ListPhotosResponse\"\x00\x12]\n\rSubscribeMode\x12\'.mavsdk.rpc.camera.SubscribeModeRequest\x1a\x1f.mavsdk.rpc.camera.ModeResponse\"\x00\x30\x01\x12r\n\x14SubscribeInformation\x12..mavsdk.rpc.camera.SubscribeInformationRequest\x1a&.mavsdk.rpc.camera.InformationResponse\"\x00\x30\x01\x12~\n\x18SubscribeVideoStreamInfo\x12\x32.mavsdk.rpc.camera.SubscribeVideoStreamInfoRequest\x1a*.mavsdk.rpc.camera.VideoStreamInfoResponse\"\x00\x30\x01\x12v\n\x14SubscribeCaptureInfo\x12..mavsdk.rpc.camera.SubscribeCaptureInfoRequest\x1a&.mavsdk.rpc.camera.CaptureInfoResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12\x63\n\x0fSubscribeStatus\x12).mavsdk.rpc.camera.SubscribeStatusRequest\x1a!.mavsdk.rpc.camera.StatusResponse\"\x00\x30\x01\x12\x82\x01\n\x18SubscribeCurrentSettings\x12\x32.mavsdk.rpc.camera.SubscribeCurrentSettingsRequest\x1a*.mavsdk.rpc.camera.CurrentSettingsResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12\x93\x01\n\x1fSubscribePossibleSettingOptions\x12\x39.mavsdk.rpc.camera.SubscribePossibleSettingOptionsRequest\x1a\x31.mavsdk.rpc.camera.PossibleSettingOptionsResponse\"\x00\x30\x01\x12[\n\nSetSetting\x12$.mavsdk.rpc.camera.SetSettingRequest\x1a%.mavsdk.rpc.camera.SetSettingResponse\"\x00\x12[\n\nGetSetting\x12$.mavsdk.rpc.camera.GetSettingRequest\x1a%.mavsdk.rpc.camera.GetSettingResponse\"\x00\x12\x64\n\rFormatStorage\x12\'.mavsdk.rpc.camera.FormatStorageRequest\x1a(.mavsdk.rpc.camera.FormatStorageResponse\"\x00\x42\x1f\n\x10io.mavsdk.cameraB\x0b\x43\x61meraProtob\x06proto3') +_MODE = DESCRIPTOR.enum_types_by_name['Mode'] Mode = enum_type_wrapper.EnumTypeWrapper(_MODE) -_PHOTOSRANGE = _descriptor.EnumDescriptor( - name='PhotosRange', - full_name='mavsdk.rpc.camera.PhotosRange', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='PHOTOS_RANGE_ALL', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='PHOTOS_RANGE_SINCE_CONNECTION', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=4904, - serialized_end=4974, -) -_sym_db.RegisterEnumDescriptor(_PHOTOSRANGE) - +_PHOTOSRANGE = DESCRIPTOR.enum_types_by_name['PhotosRange'] PhotosRange = enum_type_wrapper.EnumTypeWrapper(_PHOTOSRANGE) MODE_UNKNOWN = 0 MODE_PHOTO = 1 @@ -89,2130 +29,63 @@ PHOTOS_RANGE_SINCE_CONNECTION = 1 -_CAMERARESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.camera.CameraResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_IN_PROGRESS', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_BUSY', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_DENIED', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_ERROR', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TIMEOUT', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_WRONG_ARGUMENT', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=2568, - serialized_end=2763, -) -_sym_db.RegisterEnumDescriptor(_CAMERARESULT_RESULT) - -_VIDEOSTREAMINFO_VIDEOSTREAMSTATUS = _descriptor.EnumDescriptor( - name='VideoStreamStatus', - full_name='mavsdk.rpc.camera.VideoStreamInfo.VideoStreamStatus', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='VIDEO_STREAM_STATUS_NOT_RUNNING', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='VIDEO_STREAM_STATUS_IN_PROGRESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=3686, - serialized_end=3779, -) -_sym_db.RegisterEnumDescriptor(_VIDEOSTREAMINFO_VIDEOSTREAMSTATUS) - -_VIDEOSTREAMINFO_VIDEOSTREAMSPECTRUM = _descriptor.EnumDescriptor( - name='VideoStreamSpectrum', - full_name='mavsdk.rpc.camera.VideoStreamInfo.VideoStreamSpectrum', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='VIDEO_STREAM_SPECTRUM_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='VIDEO_STREAM_SPECTRUM_VISIBLE_LIGHT', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='VIDEO_STREAM_SPECTRUM_INFRARED', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=3782, - serialized_end=3915, -) -_sym_db.RegisterEnumDescriptor(_VIDEOSTREAMINFO_VIDEOSTREAMSPECTRUM) - -_STATUS_STORAGESTATUS = _descriptor.EnumDescriptor( - name='StorageStatus', - full_name='mavsdk.rpc.camera.Status.StorageStatus', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='STORAGE_STATUS_NOT_AVAILABLE', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STORAGE_STATUS_UNFORMATTED', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STORAGE_STATUS_FORMATTED', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STORAGE_STATUS_NOT_SUPPORTED', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=4176, - serialized_end=4321, -) -_sym_db.RegisterEnumDescriptor(_STATUS_STORAGESTATUS) - - -_PREPAREREQUEST = _descriptor.Descriptor( - name='PrepareRequest', - full_name='mavsdk.rpc.camera.PrepareRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=64, - serialized_end=80, -) - - -_PREPARERESPONSE = _descriptor.Descriptor( - name='PrepareResponse', - full_name='mavsdk.rpc.camera.PrepareResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='camera_result', full_name='mavsdk.rpc.camera.PrepareResponse.camera_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=82, - serialized_end=155, -) - - -_TAKEPHOTOREQUEST = _descriptor.Descriptor( - name='TakePhotoRequest', - full_name='mavsdk.rpc.camera.TakePhotoRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=157, - serialized_end=175, -) - - -_TAKEPHOTORESPONSE = _descriptor.Descriptor( - name='TakePhotoResponse', - full_name='mavsdk.rpc.camera.TakePhotoResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='camera_result', full_name='mavsdk.rpc.camera.TakePhotoResponse.camera_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=177, - serialized_end=252, -) - - -_STARTPHOTOINTERVALREQUEST = _descriptor.Descriptor( - name='StartPhotoIntervalRequest', - full_name='mavsdk.rpc.camera.StartPhotoIntervalRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='interval_s', full_name='mavsdk.rpc.camera.StartPhotoIntervalRequest.interval_s', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=254, - serialized_end=301, -) - - -_STARTPHOTOINTERVALRESPONSE = _descriptor.Descriptor( - name='StartPhotoIntervalResponse', - full_name='mavsdk.rpc.camera.StartPhotoIntervalResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='camera_result', full_name='mavsdk.rpc.camera.StartPhotoIntervalResponse.camera_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=303, - serialized_end=387, -) - - -_STOPPHOTOINTERVALREQUEST = _descriptor.Descriptor( - name='StopPhotoIntervalRequest', - full_name='mavsdk.rpc.camera.StopPhotoIntervalRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=389, - serialized_end=415, -) - - -_STOPPHOTOINTERVALRESPONSE = _descriptor.Descriptor( - name='StopPhotoIntervalResponse', - full_name='mavsdk.rpc.camera.StopPhotoIntervalResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='camera_result', full_name='mavsdk.rpc.camera.StopPhotoIntervalResponse.camera_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=417, - serialized_end=500, -) - - -_STARTVIDEOREQUEST = _descriptor.Descriptor( - name='StartVideoRequest', - full_name='mavsdk.rpc.camera.StartVideoRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=502, - serialized_end=521, -) - - -_STARTVIDEORESPONSE = _descriptor.Descriptor( - name='StartVideoResponse', - full_name='mavsdk.rpc.camera.StartVideoResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='camera_result', full_name='mavsdk.rpc.camera.StartVideoResponse.camera_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=523, - serialized_end=599, -) - - -_STOPVIDEOREQUEST = _descriptor.Descriptor( - name='StopVideoRequest', - full_name='mavsdk.rpc.camera.StopVideoRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=601, - serialized_end=619, -) - - -_STOPVIDEORESPONSE = _descriptor.Descriptor( - name='StopVideoResponse', - full_name='mavsdk.rpc.camera.StopVideoResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='camera_result', full_name='mavsdk.rpc.camera.StopVideoResponse.camera_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=621, - serialized_end=696, -) - - -_STARTVIDEOSTREAMINGREQUEST = _descriptor.Descriptor( - name='StartVideoStreamingRequest', - full_name='mavsdk.rpc.camera.StartVideoStreamingRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=698, - serialized_end=726, -) - - -_STARTVIDEOSTREAMINGRESPONSE = _descriptor.Descriptor( - name='StartVideoStreamingResponse', - full_name='mavsdk.rpc.camera.StartVideoStreamingResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='camera_result', full_name='mavsdk.rpc.camera.StartVideoStreamingResponse.camera_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=728, - serialized_end=813, -) - - -_STOPVIDEOSTREAMINGREQUEST = _descriptor.Descriptor( - name='StopVideoStreamingRequest', - full_name='mavsdk.rpc.camera.StopVideoStreamingRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=815, - serialized_end=842, -) - - -_STOPVIDEOSTREAMINGRESPONSE = _descriptor.Descriptor( - name='StopVideoStreamingResponse', - full_name='mavsdk.rpc.camera.StopVideoStreamingResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='camera_result', full_name='mavsdk.rpc.camera.StopVideoStreamingResponse.camera_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=844, - serialized_end=928, -) - - -_SETMODEREQUEST = _descriptor.Descriptor( - name='SetModeRequest', - full_name='mavsdk.rpc.camera.SetModeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mode', full_name='mavsdk.rpc.camera.SetModeRequest.mode', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=930, - serialized_end=985, -) - - -_SETMODERESPONSE = _descriptor.Descriptor( - name='SetModeResponse', - full_name='mavsdk.rpc.camera.SetModeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='camera_result', full_name='mavsdk.rpc.camera.SetModeResponse.camera_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=987, - serialized_end=1060, -) - - -_LISTPHOTOSREQUEST = _descriptor.Descriptor( - name='ListPhotosRequest', - full_name='mavsdk.rpc.camera.ListPhotosRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='photos_range', full_name='mavsdk.rpc.camera.ListPhotosRequest.photos_range', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1062, - serialized_end=1135, -) - - -_LISTPHOTOSRESPONSE = _descriptor.Descriptor( - name='ListPhotosResponse', - full_name='mavsdk.rpc.camera.ListPhotosResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='camera_result', full_name='mavsdk.rpc.camera.ListPhotosResponse.camera_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='capture_infos', full_name='mavsdk.rpc.camera.ListPhotosResponse.capture_infos', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1138, - serialized_end=1269, -) - - -_SUBSCRIBEINFORMATIONREQUEST = _descriptor.Descriptor( - name='SubscribeInformationRequest', - full_name='mavsdk.rpc.camera.SubscribeInformationRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1271, - serialized_end=1300, -) - - -_INFORMATIONRESPONSE = _descriptor.Descriptor( - name='InformationResponse', - full_name='mavsdk.rpc.camera.InformationResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='information', full_name='mavsdk.rpc.camera.InformationResponse.information', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1302, - serialized_end=1376, -) - - -_SUBSCRIBEMODEREQUEST = _descriptor.Descriptor( - name='SubscribeModeRequest', - full_name='mavsdk.rpc.camera.SubscribeModeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1378, - serialized_end=1400, -) - - -_MODERESPONSE = _descriptor.Descriptor( - name='ModeResponse', - full_name='mavsdk.rpc.camera.ModeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mode', full_name='mavsdk.rpc.camera.ModeResponse.mode', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1402, - serialized_end=1455, -) - - -_SUBSCRIBEVIDEOSTREAMINFOREQUEST = _descriptor.Descriptor( - name='SubscribeVideoStreamInfoRequest', - full_name='mavsdk.rpc.camera.SubscribeVideoStreamInfoRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1457, - serialized_end=1490, -) - - -_VIDEOSTREAMINFORESPONSE = _descriptor.Descriptor( - name='VideoStreamInfoResponse', - full_name='mavsdk.rpc.camera.VideoStreamInfoResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='video_stream_info', full_name='mavsdk.rpc.camera.VideoStreamInfoResponse.video_stream_info', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1492, - serialized_end=1580, -) - - -_SUBSCRIBECAPTUREINFOREQUEST = _descriptor.Descriptor( - name='SubscribeCaptureInfoRequest', - full_name='mavsdk.rpc.camera.SubscribeCaptureInfoRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1582, - serialized_end=1611, -) - - -_CAPTUREINFORESPONSE = _descriptor.Descriptor( - name='CaptureInfoResponse', - full_name='mavsdk.rpc.camera.CaptureInfoResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='capture_info', full_name='mavsdk.rpc.camera.CaptureInfoResponse.capture_info', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1613, - serialized_end=1688, -) - - -_SUBSCRIBESTATUSREQUEST = _descriptor.Descriptor( - name='SubscribeStatusRequest', - full_name='mavsdk.rpc.camera.SubscribeStatusRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1690, - serialized_end=1714, -) - - -_STATUSRESPONSE = _descriptor.Descriptor( - name='StatusResponse', - full_name='mavsdk.rpc.camera.StatusResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='camera_status', full_name='mavsdk.rpc.camera.StatusResponse.camera_status', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1716, - serialized_end=1782, -) - - -_SUBSCRIBECURRENTSETTINGSREQUEST = _descriptor.Descriptor( - name='SubscribeCurrentSettingsRequest', - full_name='mavsdk.rpc.camera.SubscribeCurrentSettingsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1784, - serialized_end=1817, -) - - -_CURRENTSETTINGSRESPONSE = _descriptor.Descriptor( - name='CurrentSettingsResponse', - full_name='mavsdk.rpc.camera.CurrentSettingsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='current_settings', full_name='mavsdk.rpc.camera.CurrentSettingsResponse.current_settings', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1819, - serialized_end=1898, -) - - -_SUBSCRIBEPOSSIBLESETTINGOPTIONSREQUEST = _descriptor.Descriptor( - name='SubscribePossibleSettingOptionsRequest', - full_name='mavsdk.rpc.camera.SubscribePossibleSettingOptionsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1900, - serialized_end=1940, -) - - -_POSSIBLESETTINGOPTIONSRESPONSE = _descriptor.Descriptor( - name='PossibleSettingOptionsResponse', - full_name='mavsdk.rpc.camera.PossibleSettingOptionsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='setting_options', full_name='mavsdk.rpc.camera.PossibleSettingOptionsResponse.setting_options', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1942, - serialized_end=2034, -) - - -_SETSETTINGREQUEST = _descriptor.Descriptor( - name='SetSettingRequest', - full_name='mavsdk.rpc.camera.SetSettingRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='setting', full_name='mavsdk.rpc.camera.SetSettingRequest.setting', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2036, - serialized_end=2100, -) - - -_SETSETTINGRESPONSE = _descriptor.Descriptor( - name='SetSettingResponse', - full_name='mavsdk.rpc.camera.SetSettingResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='camera_result', full_name='mavsdk.rpc.camera.SetSettingResponse.camera_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2102, - serialized_end=2178, -) - - -_GETSETTINGREQUEST = _descriptor.Descriptor( - name='GetSettingRequest', - full_name='mavsdk.rpc.camera.GetSettingRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='setting', full_name='mavsdk.rpc.camera.GetSettingRequest.setting', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2180, - serialized_end=2244, -) - - -_GETSETTINGRESPONSE = _descriptor.Descriptor( - name='GetSettingResponse', - full_name='mavsdk.rpc.camera.GetSettingResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='camera_result', full_name='mavsdk.rpc.camera.GetSettingResponse.camera_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='setting', full_name='mavsdk.rpc.camera.GetSettingResponse.setting', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2246, - serialized_end=2367, -) - - -_FORMATSTORAGEREQUEST = _descriptor.Descriptor( - name='FormatStorageRequest', - full_name='mavsdk.rpc.camera.FormatStorageRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2369, - serialized_end=2391, -) - - -_FORMATSTORAGERESPONSE = _descriptor.Descriptor( - name='FormatStorageResponse', - full_name='mavsdk.rpc.camera.FormatStorageResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='camera_result', full_name='mavsdk.rpc.camera.FormatStorageResponse.camera_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2393, - serialized_end=2472, -) - - -_CAMERARESULT = _descriptor.Descriptor( - name='CameraResult', - full_name='mavsdk.rpc.camera.CameraResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.camera.CameraResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.camera.CameraResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CAMERARESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2475, - serialized_end=2763, -) - - -_POSITION = _descriptor.Descriptor( - name='Position', - full_name='mavsdk.rpc.camera.Position', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='latitude_deg', full_name='mavsdk.rpc.camera.Position.latitude_deg', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='longitude_deg', full_name='mavsdk.rpc.camera.Position.longitude_deg', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='absolute_altitude_m', full_name='mavsdk.rpc.camera.Position.absolute_altitude_m', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='relative_altitude_m', full_name='mavsdk.rpc.camera.Position.relative_altitude_m', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2765, - serialized_end=2878, -) - - -_QUATERNION = _descriptor.Descriptor( - name='Quaternion', - full_name='mavsdk.rpc.camera.Quaternion', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='w', full_name='mavsdk.rpc.camera.Quaternion.w', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='x', full_name='mavsdk.rpc.camera.Quaternion.x', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='mavsdk.rpc.camera.Quaternion.y', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='z', full_name='mavsdk.rpc.camera.Quaternion.z', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2880, - serialized_end=2936, -) - - -_EULERANGLE = _descriptor.Descriptor( - name='EulerAngle', - full_name='mavsdk.rpc.camera.EulerAngle', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='roll_deg', full_name='mavsdk.rpc.camera.EulerAngle.roll_deg', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pitch_deg', full_name='mavsdk.rpc.camera.EulerAngle.pitch_deg', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yaw_deg', full_name='mavsdk.rpc.camera.EulerAngle.yaw_deg', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2938, - serialized_end=3004, -) - - -_CAPTUREINFO = _descriptor.Descriptor( - name='CaptureInfo', - full_name='mavsdk.rpc.camera.CaptureInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='position', full_name='mavsdk.rpc.camera.CaptureInfo.position', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='attitude_quaternion', full_name='mavsdk.rpc.camera.CaptureInfo.attitude_quaternion', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='attitude_euler_angle', full_name='mavsdk.rpc.camera.CaptureInfo.attitude_euler_angle', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='time_utc_us', full_name='mavsdk.rpc.camera.CaptureInfo.time_utc_us', index=3, - number=4, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='is_success', full_name='mavsdk.rpc.camera.CaptureInfo.is_success', index=4, - number=5, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='index', full_name='mavsdk.rpc.camera.CaptureInfo.index', index=5, - number=6, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='file_url', full_name='mavsdk.rpc.camera.CaptureInfo.file_url', index=6, - number=7, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3007, - serialized_end=3262, -) - - -_VIDEOSTREAMSETTINGS = _descriptor.Descriptor( - name='VideoStreamSettings', - full_name='mavsdk.rpc.camera.VideoStreamSettings', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='frame_rate_hz', full_name='mavsdk.rpc.camera.VideoStreamSettings.frame_rate_hz', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='horizontal_resolution_pix', full_name='mavsdk.rpc.camera.VideoStreamSettings.horizontal_resolution_pix', index=1, - number=2, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='vertical_resolution_pix', full_name='mavsdk.rpc.camera.VideoStreamSettings.vertical_resolution_pix', index=2, - number=3, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='bit_rate_b_s', full_name='mavsdk.rpc.camera.VideoStreamSettings.bit_rate_b_s', index=3, - number=4, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='rotation_deg', full_name='mavsdk.rpc.camera.VideoStreamSettings.rotation_deg', index=4, - number=5, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='uri', full_name='mavsdk.rpc.camera.VideoStreamSettings.uri', index=5, - number=6, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='horizontal_fov_deg', full_name='mavsdk.rpc.camera.VideoStreamSettings.horizontal_fov_deg', index=6, - number=7, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3265, - serialized_end=3462, -) - - -_VIDEOSTREAMINFO = _descriptor.Descriptor( - name='VideoStreamInfo', - full_name='mavsdk.rpc.camera.VideoStreamInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='settings', full_name='mavsdk.rpc.camera.VideoStreamInfo.settings', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='status', full_name='mavsdk.rpc.camera.VideoStreamInfo.status', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='spectrum', full_name='mavsdk.rpc.camera.VideoStreamInfo.spectrum', index=2, - number=3, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _VIDEOSTREAMINFO_VIDEOSTREAMSTATUS, - _VIDEOSTREAMINFO_VIDEOSTREAMSPECTRUM, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3465, - serialized_end=3915, -) - - -_STATUS = _descriptor.Descriptor( - name='Status', - full_name='mavsdk.rpc.camera.Status', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='video_on', full_name='mavsdk.rpc.camera.Status.video_on', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='photo_interval_on', full_name='mavsdk.rpc.camera.Status.photo_interval_on', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='used_storage_mib', full_name='mavsdk.rpc.camera.Status.used_storage_mib', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='available_storage_mib', full_name='mavsdk.rpc.camera.Status.available_storage_mib', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='total_storage_mib', full_name='mavsdk.rpc.camera.Status.total_storage_mib', index=4, - number=5, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='recording_time_s', full_name='mavsdk.rpc.camera.Status.recording_time_s', index=5, - number=6, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='media_folder_name', full_name='mavsdk.rpc.camera.Status.media_folder_name', index=6, - number=7, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='storage_status', full_name='mavsdk.rpc.camera.Status.storage_status', index=7, - number=8, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _STATUS_STORAGESTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3918, - serialized_end=4321, -) - - -_OPTION = _descriptor.Descriptor( - name='Option', - full_name='mavsdk.rpc.camera.Option', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='option_id', full_name='mavsdk.rpc.camera.Option.option_id', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='option_description', full_name='mavsdk.rpc.camera.Option.option_description', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4323, - serialized_end=4378, -) - - -_SETTING = _descriptor.Descriptor( - name='Setting', - full_name='mavsdk.rpc.camera.Setting', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='setting_id', full_name='mavsdk.rpc.camera.Setting.setting_id', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='setting_description', full_name='mavsdk.rpc.camera.Setting.setting_description', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='option', full_name='mavsdk.rpc.camera.Setting.option', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='is_range', full_name='mavsdk.rpc.camera.Setting.is_range', index=3, - number=4, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4380, - serialized_end=4499, -) - - -_SETTINGOPTIONS = _descriptor.Descriptor( - name='SettingOptions', - full_name='mavsdk.rpc.camera.SettingOptions', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='setting_id', full_name='mavsdk.rpc.camera.SettingOptions.setting_id', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='setting_description', full_name='mavsdk.rpc.camera.SettingOptions.setting_description', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='options', full_name='mavsdk.rpc.camera.SettingOptions.options', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='is_range', full_name='mavsdk.rpc.camera.SettingOptions.is_range', index=3, - number=4, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4501, - serialized_end=4628, -) - - -_INFORMATION = _descriptor.Descriptor( - name='Information', - full_name='mavsdk.rpc.camera.Information', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='vendor_name', full_name='mavsdk.rpc.camera.Information.vendor_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='model_name', full_name='mavsdk.rpc.camera.Information.model_name', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='focal_length_mm', full_name='mavsdk.rpc.camera.Information.focal_length_mm', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='horizontal_sensor_size_mm', full_name='mavsdk.rpc.camera.Information.horizontal_sensor_size_mm', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='vertical_sensor_size_mm', full_name='mavsdk.rpc.camera.Information.vertical_sensor_size_mm', index=4, - number=5, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='horizontal_resolution_px', full_name='mavsdk.rpc.camera.Information.horizontal_resolution_px', index=5, - number=6, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='vertical_resolution_px', full_name='mavsdk.rpc.camera.Information.vertical_resolution_px', index=6, - number=7, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4631, - serialized_end=4844, -) - -_PREPARERESPONSE.fields_by_name['camera_result'].message_type = _CAMERARESULT -_TAKEPHOTORESPONSE.fields_by_name['camera_result'].message_type = _CAMERARESULT -_STARTPHOTOINTERVALRESPONSE.fields_by_name['camera_result'].message_type = _CAMERARESULT -_STOPPHOTOINTERVALRESPONSE.fields_by_name['camera_result'].message_type = _CAMERARESULT -_STARTVIDEORESPONSE.fields_by_name['camera_result'].message_type = _CAMERARESULT -_STOPVIDEORESPONSE.fields_by_name['camera_result'].message_type = _CAMERARESULT -_STARTVIDEOSTREAMINGRESPONSE.fields_by_name['camera_result'].message_type = _CAMERARESULT -_STOPVIDEOSTREAMINGRESPONSE.fields_by_name['camera_result'].message_type = _CAMERARESULT -_SETMODEREQUEST.fields_by_name['mode'].enum_type = _MODE -_SETMODERESPONSE.fields_by_name['camera_result'].message_type = _CAMERARESULT -_LISTPHOTOSREQUEST.fields_by_name['photos_range'].enum_type = _PHOTOSRANGE -_LISTPHOTOSRESPONSE.fields_by_name['camera_result'].message_type = _CAMERARESULT -_LISTPHOTOSRESPONSE.fields_by_name['capture_infos'].message_type = _CAPTUREINFO -_INFORMATIONRESPONSE.fields_by_name['information'].message_type = _INFORMATION -_MODERESPONSE.fields_by_name['mode'].enum_type = _MODE -_VIDEOSTREAMINFORESPONSE.fields_by_name['video_stream_info'].message_type = _VIDEOSTREAMINFO -_CAPTUREINFORESPONSE.fields_by_name['capture_info'].message_type = _CAPTUREINFO -_STATUSRESPONSE.fields_by_name['camera_status'].message_type = _STATUS -_CURRENTSETTINGSRESPONSE.fields_by_name['current_settings'].message_type = _SETTING -_POSSIBLESETTINGOPTIONSRESPONSE.fields_by_name['setting_options'].message_type = _SETTINGOPTIONS -_SETSETTINGREQUEST.fields_by_name['setting'].message_type = _SETTING -_SETSETTINGRESPONSE.fields_by_name['camera_result'].message_type = _CAMERARESULT -_GETSETTINGREQUEST.fields_by_name['setting'].message_type = _SETTING -_GETSETTINGRESPONSE.fields_by_name['camera_result'].message_type = _CAMERARESULT -_GETSETTINGRESPONSE.fields_by_name['setting'].message_type = _SETTING -_FORMATSTORAGERESPONSE.fields_by_name['camera_result'].message_type = _CAMERARESULT -_CAMERARESULT.fields_by_name['result'].enum_type = _CAMERARESULT_RESULT -_CAMERARESULT_RESULT.containing_type = _CAMERARESULT -_CAPTUREINFO.fields_by_name['position'].message_type = _POSITION -_CAPTUREINFO.fields_by_name['attitude_quaternion'].message_type = _QUATERNION -_CAPTUREINFO.fields_by_name['attitude_euler_angle'].message_type = _EULERANGLE -_VIDEOSTREAMINFO.fields_by_name['settings'].message_type = _VIDEOSTREAMSETTINGS -_VIDEOSTREAMINFO.fields_by_name['status'].enum_type = _VIDEOSTREAMINFO_VIDEOSTREAMSTATUS -_VIDEOSTREAMINFO.fields_by_name['spectrum'].enum_type = _VIDEOSTREAMINFO_VIDEOSTREAMSPECTRUM -_VIDEOSTREAMINFO_VIDEOSTREAMSTATUS.containing_type = _VIDEOSTREAMINFO -_VIDEOSTREAMINFO_VIDEOSTREAMSPECTRUM.containing_type = _VIDEOSTREAMINFO -_STATUS.fields_by_name['storage_status'].enum_type = _STATUS_STORAGESTATUS -_STATUS_STORAGESTATUS.containing_type = _STATUS -_SETTING.fields_by_name['option'].message_type = _OPTION -_SETTINGOPTIONS.fields_by_name['options'].message_type = _OPTION -DESCRIPTOR.message_types_by_name['PrepareRequest'] = _PREPAREREQUEST -DESCRIPTOR.message_types_by_name['PrepareResponse'] = _PREPARERESPONSE -DESCRIPTOR.message_types_by_name['TakePhotoRequest'] = _TAKEPHOTOREQUEST -DESCRIPTOR.message_types_by_name['TakePhotoResponse'] = _TAKEPHOTORESPONSE -DESCRIPTOR.message_types_by_name['StartPhotoIntervalRequest'] = _STARTPHOTOINTERVALREQUEST -DESCRIPTOR.message_types_by_name['StartPhotoIntervalResponse'] = _STARTPHOTOINTERVALRESPONSE -DESCRIPTOR.message_types_by_name['StopPhotoIntervalRequest'] = _STOPPHOTOINTERVALREQUEST -DESCRIPTOR.message_types_by_name['StopPhotoIntervalResponse'] = _STOPPHOTOINTERVALRESPONSE -DESCRIPTOR.message_types_by_name['StartVideoRequest'] = _STARTVIDEOREQUEST -DESCRIPTOR.message_types_by_name['StartVideoResponse'] = _STARTVIDEORESPONSE -DESCRIPTOR.message_types_by_name['StopVideoRequest'] = _STOPVIDEOREQUEST -DESCRIPTOR.message_types_by_name['StopVideoResponse'] = _STOPVIDEORESPONSE -DESCRIPTOR.message_types_by_name['StartVideoStreamingRequest'] = _STARTVIDEOSTREAMINGREQUEST -DESCRIPTOR.message_types_by_name['StartVideoStreamingResponse'] = _STARTVIDEOSTREAMINGRESPONSE -DESCRIPTOR.message_types_by_name['StopVideoStreamingRequest'] = _STOPVIDEOSTREAMINGREQUEST -DESCRIPTOR.message_types_by_name['StopVideoStreamingResponse'] = _STOPVIDEOSTREAMINGRESPONSE -DESCRIPTOR.message_types_by_name['SetModeRequest'] = _SETMODEREQUEST -DESCRIPTOR.message_types_by_name['SetModeResponse'] = _SETMODERESPONSE -DESCRIPTOR.message_types_by_name['ListPhotosRequest'] = _LISTPHOTOSREQUEST -DESCRIPTOR.message_types_by_name['ListPhotosResponse'] = _LISTPHOTOSRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeInformationRequest'] = _SUBSCRIBEINFORMATIONREQUEST -DESCRIPTOR.message_types_by_name['InformationResponse'] = _INFORMATIONRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeModeRequest'] = _SUBSCRIBEMODEREQUEST -DESCRIPTOR.message_types_by_name['ModeResponse'] = _MODERESPONSE -DESCRIPTOR.message_types_by_name['SubscribeVideoStreamInfoRequest'] = _SUBSCRIBEVIDEOSTREAMINFOREQUEST -DESCRIPTOR.message_types_by_name['VideoStreamInfoResponse'] = _VIDEOSTREAMINFORESPONSE -DESCRIPTOR.message_types_by_name['SubscribeCaptureInfoRequest'] = _SUBSCRIBECAPTUREINFOREQUEST -DESCRIPTOR.message_types_by_name['CaptureInfoResponse'] = _CAPTUREINFORESPONSE -DESCRIPTOR.message_types_by_name['SubscribeStatusRequest'] = _SUBSCRIBESTATUSREQUEST -DESCRIPTOR.message_types_by_name['StatusResponse'] = _STATUSRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeCurrentSettingsRequest'] = _SUBSCRIBECURRENTSETTINGSREQUEST -DESCRIPTOR.message_types_by_name['CurrentSettingsResponse'] = _CURRENTSETTINGSRESPONSE -DESCRIPTOR.message_types_by_name['SubscribePossibleSettingOptionsRequest'] = _SUBSCRIBEPOSSIBLESETTINGOPTIONSREQUEST -DESCRIPTOR.message_types_by_name['PossibleSettingOptionsResponse'] = _POSSIBLESETTINGOPTIONSRESPONSE -DESCRIPTOR.message_types_by_name['SetSettingRequest'] = _SETSETTINGREQUEST -DESCRIPTOR.message_types_by_name['SetSettingResponse'] = _SETSETTINGRESPONSE -DESCRIPTOR.message_types_by_name['GetSettingRequest'] = _GETSETTINGREQUEST -DESCRIPTOR.message_types_by_name['GetSettingResponse'] = _GETSETTINGRESPONSE -DESCRIPTOR.message_types_by_name['FormatStorageRequest'] = _FORMATSTORAGEREQUEST -DESCRIPTOR.message_types_by_name['FormatStorageResponse'] = _FORMATSTORAGERESPONSE -DESCRIPTOR.message_types_by_name['CameraResult'] = _CAMERARESULT -DESCRIPTOR.message_types_by_name['Position'] = _POSITION -DESCRIPTOR.message_types_by_name['Quaternion'] = _QUATERNION -DESCRIPTOR.message_types_by_name['EulerAngle'] = _EULERANGLE -DESCRIPTOR.message_types_by_name['CaptureInfo'] = _CAPTUREINFO -DESCRIPTOR.message_types_by_name['VideoStreamSettings'] = _VIDEOSTREAMSETTINGS -DESCRIPTOR.message_types_by_name['VideoStreamInfo'] = _VIDEOSTREAMINFO -DESCRIPTOR.message_types_by_name['Status'] = _STATUS -DESCRIPTOR.message_types_by_name['Option'] = _OPTION -DESCRIPTOR.message_types_by_name['Setting'] = _SETTING -DESCRIPTOR.message_types_by_name['SettingOptions'] = _SETTINGOPTIONS -DESCRIPTOR.message_types_by_name['Information'] = _INFORMATION -DESCRIPTOR.enum_types_by_name['Mode'] = _MODE -DESCRIPTOR.enum_types_by_name['PhotosRange'] = _PHOTOSRANGE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_PREPAREREQUEST = DESCRIPTOR.message_types_by_name['PrepareRequest'] +_PREPARERESPONSE = DESCRIPTOR.message_types_by_name['PrepareResponse'] +_TAKEPHOTOREQUEST = DESCRIPTOR.message_types_by_name['TakePhotoRequest'] +_TAKEPHOTORESPONSE = DESCRIPTOR.message_types_by_name['TakePhotoResponse'] +_STARTPHOTOINTERVALREQUEST = DESCRIPTOR.message_types_by_name['StartPhotoIntervalRequest'] +_STARTPHOTOINTERVALRESPONSE = DESCRIPTOR.message_types_by_name['StartPhotoIntervalResponse'] +_STOPPHOTOINTERVALREQUEST = DESCRIPTOR.message_types_by_name['StopPhotoIntervalRequest'] +_STOPPHOTOINTERVALRESPONSE = DESCRIPTOR.message_types_by_name['StopPhotoIntervalResponse'] +_STARTVIDEOREQUEST = DESCRIPTOR.message_types_by_name['StartVideoRequest'] +_STARTVIDEORESPONSE = DESCRIPTOR.message_types_by_name['StartVideoResponse'] +_STOPVIDEOREQUEST = DESCRIPTOR.message_types_by_name['StopVideoRequest'] +_STOPVIDEORESPONSE = DESCRIPTOR.message_types_by_name['StopVideoResponse'] +_STARTVIDEOSTREAMINGREQUEST = DESCRIPTOR.message_types_by_name['StartVideoStreamingRequest'] +_STARTVIDEOSTREAMINGRESPONSE = DESCRIPTOR.message_types_by_name['StartVideoStreamingResponse'] +_STOPVIDEOSTREAMINGREQUEST = DESCRIPTOR.message_types_by_name['StopVideoStreamingRequest'] +_STOPVIDEOSTREAMINGRESPONSE = DESCRIPTOR.message_types_by_name['StopVideoStreamingResponse'] +_SETMODEREQUEST = DESCRIPTOR.message_types_by_name['SetModeRequest'] +_SETMODERESPONSE = DESCRIPTOR.message_types_by_name['SetModeResponse'] +_LISTPHOTOSREQUEST = DESCRIPTOR.message_types_by_name['ListPhotosRequest'] +_LISTPHOTOSRESPONSE = DESCRIPTOR.message_types_by_name['ListPhotosResponse'] +_SUBSCRIBEINFORMATIONREQUEST = DESCRIPTOR.message_types_by_name['SubscribeInformationRequest'] +_INFORMATIONRESPONSE = DESCRIPTOR.message_types_by_name['InformationResponse'] +_SUBSCRIBEMODEREQUEST = DESCRIPTOR.message_types_by_name['SubscribeModeRequest'] +_MODERESPONSE = DESCRIPTOR.message_types_by_name['ModeResponse'] +_SUBSCRIBEVIDEOSTREAMINFOREQUEST = DESCRIPTOR.message_types_by_name['SubscribeVideoStreamInfoRequest'] +_VIDEOSTREAMINFORESPONSE = DESCRIPTOR.message_types_by_name['VideoStreamInfoResponse'] +_SUBSCRIBECAPTUREINFOREQUEST = DESCRIPTOR.message_types_by_name['SubscribeCaptureInfoRequest'] +_CAPTUREINFORESPONSE = DESCRIPTOR.message_types_by_name['CaptureInfoResponse'] +_SUBSCRIBESTATUSREQUEST = DESCRIPTOR.message_types_by_name['SubscribeStatusRequest'] +_STATUSRESPONSE = DESCRIPTOR.message_types_by_name['StatusResponse'] +_SUBSCRIBECURRENTSETTINGSREQUEST = DESCRIPTOR.message_types_by_name['SubscribeCurrentSettingsRequest'] +_CURRENTSETTINGSRESPONSE = DESCRIPTOR.message_types_by_name['CurrentSettingsResponse'] +_SUBSCRIBEPOSSIBLESETTINGOPTIONSREQUEST = DESCRIPTOR.message_types_by_name['SubscribePossibleSettingOptionsRequest'] +_POSSIBLESETTINGOPTIONSRESPONSE = DESCRIPTOR.message_types_by_name['PossibleSettingOptionsResponse'] +_SETSETTINGREQUEST = DESCRIPTOR.message_types_by_name['SetSettingRequest'] +_SETSETTINGRESPONSE = DESCRIPTOR.message_types_by_name['SetSettingResponse'] +_GETSETTINGREQUEST = DESCRIPTOR.message_types_by_name['GetSettingRequest'] +_GETSETTINGRESPONSE = DESCRIPTOR.message_types_by_name['GetSettingResponse'] +_FORMATSTORAGEREQUEST = DESCRIPTOR.message_types_by_name['FormatStorageRequest'] +_FORMATSTORAGERESPONSE = DESCRIPTOR.message_types_by_name['FormatStorageResponse'] +_CAMERARESULT = DESCRIPTOR.message_types_by_name['CameraResult'] +_POSITION = DESCRIPTOR.message_types_by_name['Position'] +_QUATERNION = DESCRIPTOR.message_types_by_name['Quaternion'] +_EULERANGLE = DESCRIPTOR.message_types_by_name['EulerAngle'] +_CAPTUREINFO = DESCRIPTOR.message_types_by_name['CaptureInfo'] +_VIDEOSTREAMSETTINGS = DESCRIPTOR.message_types_by_name['VideoStreamSettings'] +_VIDEOSTREAMINFO = DESCRIPTOR.message_types_by_name['VideoStreamInfo'] +_STATUS = DESCRIPTOR.message_types_by_name['Status'] +_OPTION = DESCRIPTOR.message_types_by_name['Option'] +_SETTING = DESCRIPTOR.message_types_by_name['Setting'] +_SETTINGOPTIONS = DESCRIPTOR.message_types_by_name['SettingOptions'] +_INFORMATION = DESCRIPTOR.message_types_by_name['Information'] +_CAMERARESULT_RESULT = _CAMERARESULT.enum_types_by_name['Result'] +_VIDEOSTREAMINFO_VIDEOSTREAMSTATUS = _VIDEOSTREAMINFO.enum_types_by_name['VideoStreamStatus'] +_VIDEOSTREAMINFO_VIDEOSTREAMSPECTRUM = _VIDEOSTREAMINFO.enum_types_by_name['VideoStreamSpectrum'] +_STATUS_STORAGESTATUS = _STATUS.enum_types_by_name['StorageStatus'] +_STATUS_STORAGETYPE = _STATUS.enum_types_by_name['StorageType'] PrepareRequest = _reflection.GeneratedProtocolMessageType('PrepareRequest', (_message.Message,), { 'DESCRIPTOR' : _PREPAREREQUEST, '__module__' : 'camera.camera_pb2' @@ -2577,222 +450,137 @@ }) _sym_db.RegisterMessage(Information) - -DESCRIPTOR._options = None - -_CAMERASERVICE = _descriptor.ServiceDescriptor( - name='CameraService', - full_name='mavsdk.rpc.camera.CameraService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=4977, - serialized_end=7133, - methods=[ - _descriptor.MethodDescriptor( - name='Prepare', - full_name='mavsdk.rpc.camera.CameraService.Prepare', - index=0, - containing_service=None, - input_type=_PREPAREREQUEST, - output_type=_PREPARERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='TakePhoto', - full_name='mavsdk.rpc.camera.CameraService.TakePhoto', - index=1, - containing_service=None, - input_type=_TAKEPHOTOREQUEST, - output_type=_TAKEPHOTORESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='StartPhotoInterval', - full_name='mavsdk.rpc.camera.CameraService.StartPhotoInterval', - index=2, - containing_service=None, - input_type=_STARTPHOTOINTERVALREQUEST, - output_type=_STARTPHOTOINTERVALRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='StopPhotoInterval', - full_name='mavsdk.rpc.camera.CameraService.StopPhotoInterval', - index=3, - containing_service=None, - input_type=_STOPPHOTOINTERVALREQUEST, - output_type=_STOPPHOTOINTERVALRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='StartVideo', - full_name='mavsdk.rpc.camera.CameraService.StartVideo', - index=4, - containing_service=None, - input_type=_STARTVIDEOREQUEST, - output_type=_STARTVIDEORESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='StopVideo', - full_name='mavsdk.rpc.camera.CameraService.StopVideo', - index=5, - containing_service=None, - input_type=_STOPVIDEOREQUEST, - output_type=_STOPVIDEORESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='StartVideoStreaming', - full_name='mavsdk.rpc.camera.CameraService.StartVideoStreaming', - index=6, - containing_service=None, - input_type=_STARTVIDEOSTREAMINGREQUEST, - output_type=_STARTVIDEOSTREAMINGRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='StopVideoStreaming', - full_name='mavsdk.rpc.camera.CameraService.StopVideoStreaming', - index=7, - containing_service=None, - input_type=_STOPVIDEOSTREAMINGREQUEST, - output_type=_STOPVIDEOSTREAMINGRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetMode', - full_name='mavsdk.rpc.camera.CameraService.SetMode', - index=8, - containing_service=None, - input_type=_SETMODEREQUEST, - output_type=_SETMODERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ListPhotos', - full_name='mavsdk.rpc.camera.CameraService.ListPhotos', - index=9, - containing_service=None, - input_type=_LISTPHOTOSREQUEST, - output_type=_LISTPHOTOSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeMode', - full_name='mavsdk.rpc.camera.CameraService.SubscribeMode', - index=10, - containing_service=None, - input_type=_SUBSCRIBEMODEREQUEST, - output_type=_MODERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeInformation', - full_name='mavsdk.rpc.camera.CameraService.SubscribeInformation', - index=11, - containing_service=None, - input_type=_SUBSCRIBEINFORMATIONREQUEST, - output_type=_INFORMATIONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeVideoStreamInfo', - full_name='mavsdk.rpc.camera.CameraService.SubscribeVideoStreamInfo', - index=12, - containing_service=None, - input_type=_SUBSCRIBEVIDEOSTREAMINFOREQUEST, - output_type=_VIDEOSTREAMINFORESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeCaptureInfo', - full_name='mavsdk.rpc.camera.CameraService.SubscribeCaptureInfo', - index=13, - containing_service=None, - input_type=_SUBSCRIBECAPTUREINFOREQUEST, - output_type=_CAPTUREINFORESPONSE, - serialized_options=b'\200\265\030\000', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeStatus', - full_name='mavsdk.rpc.camera.CameraService.SubscribeStatus', - index=14, - containing_service=None, - input_type=_SUBSCRIBESTATUSREQUEST, - output_type=_STATUSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeCurrentSettings', - full_name='mavsdk.rpc.camera.CameraService.SubscribeCurrentSettings', - index=15, - containing_service=None, - input_type=_SUBSCRIBECURRENTSETTINGSREQUEST, - output_type=_CURRENTSETTINGSRESPONSE, - serialized_options=b'\200\265\030\000', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribePossibleSettingOptions', - full_name='mavsdk.rpc.camera.CameraService.SubscribePossibleSettingOptions', - index=16, - containing_service=None, - input_type=_SUBSCRIBEPOSSIBLESETTINGOPTIONSREQUEST, - output_type=_POSSIBLESETTINGOPTIONSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetSetting', - full_name='mavsdk.rpc.camera.CameraService.SetSetting', - index=17, - containing_service=None, - input_type=_SETSETTINGREQUEST, - output_type=_SETSETTINGRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetSetting', - full_name='mavsdk.rpc.camera.CameraService.GetSetting', - index=18, - containing_service=None, - input_type=_GETSETTINGREQUEST, - output_type=_GETSETTINGRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='FormatStorage', - full_name='mavsdk.rpc.camera.CameraService.FormatStorage', - index=19, - containing_service=None, - input_type=_FORMATSTORAGEREQUEST, - output_type=_FORMATSTORAGERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_CAMERASERVICE) - -DESCRIPTOR.services_by_name['CameraService'] = _CAMERASERVICE - +_CAMERASERVICE = DESCRIPTOR.services_by_name['CameraService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\020io.mavsdk.cameraB\013CameraProto' + _CAMERASERVICE.methods_by_name['StartVideoStreaming']._options = None + _CAMERASERVICE.methods_by_name['StartVideoStreaming']._serialized_options = b'\200\265\030\001' + _CAMERASERVICE.methods_by_name['StopVideoStreaming']._options = None + _CAMERASERVICE.methods_by_name['StopVideoStreaming']._serialized_options = b'\200\265\030\001' + _CAMERASERVICE.methods_by_name['SubscribeCaptureInfo']._options = None + _CAMERASERVICE.methods_by_name['SubscribeCaptureInfo']._serialized_options = b'\200\265\030\000' + _CAMERASERVICE.methods_by_name['SubscribeCurrentSettings']._options = None + _CAMERASERVICE.methods_by_name['SubscribeCurrentSettings']._serialized_options = b'\200\265\030\000' + _MODE._serialized_start=5090 + _MODE._serialized_end=5146 + _PHOTOSRANGE._serialized_start=5148 + _PHOTOSRANGE._serialized_end=5218 + _PREPAREREQUEST._serialized_start=64 + _PREPAREREQUEST._serialized_end=80 + _PREPARERESPONSE._serialized_start=82 + _PREPARERESPONSE._serialized_end=155 + _TAKEPHOTOREQUEST._serialized_start=157 + _TAKEPHOTOREQUEST._serialized_end=175 + _TAKEPHOTORESPONSE._serialized_start=177 + _TAKEPHOTORESPONSE._serialized_end=252 + _STARTPHOTOINTERVALREQUEST._serialized_start=254 + _STARTPHOTOINTERVALREQUEST._serialized_end=301 + _STARTPHOTOINTERVALRESPONSE._serialized_start=303 + _STARTPHOTOINTERVALRESPONSE._serialized_end=387 + _STOPPHOTOINTERVALREQUEST._serialized_start=389 + _STOPPHOTOINTERVALREQUEST._serialized_end=415 + _STOPPHOTOINTERVALRESPONSE._serialized_start=417 + _STOPPHOTOINTERVALRESPONSE._serialized_end=500 + _STARTVIDEOREQUEST._serialized_start=502 + _STARTVIDEOREQUEST._serialized_end=521 + _STARTVIDEORESPONSE._serialized_start=523 + _STARTVIDEORESPONSE._serialized_end=599 + _STOPVIDEOREQUEST._serialized_start=601 + _STOPVIDEOREQUEST._serialized_end=619 + _STOPVIDEORESPONSE._serialized_start=621 + _STOPVIDEORESPONSE._serialized_end=696 + _STARTVIDEOSTREAMINGREQUEST._serialized_start=698 + _STARTVIDEOSTREAMINGREQUEST._serialized_end=726 + _STARTVIDEOSTREAMINGRESPONSE._serialized_start=728 + _STARTVIDEOSTREAMINGRESPONSE._serialized_end=813 + _STOPVIDEOSTREAMINGREQUEST._serialized_start=815 + _STOPVIDEOSTREAMINGREQUEST._serialized_end=842 + _STOPVIDEOSTREAMINGRESPONSE._serialized_start=844 + _STOPVIDEOSTREAMINGRESPONSE._serialized_end=928 + _SETMODEREQUEST._serialized_start=930 + _SETMODEREQUEST._serialized_end=985 + _SETMODERESPONSE._serialized_start=987 + _SETMODERESPONSE._serialized_end=1060 + _LISTPHOTOSREQUEST._serialized_start=1062 + _LISTPHOTOSREQUEST._serialized_end=1135 + _LISTPHOTOSRESPONSE._serialized_start=1138 + _LISTPHOTOSRESPONSE._serialized_end=1269 + _SUBSCRIBEINFORMATIONREQUEST._serialized_start=1271 + _SUBSCRIBEINFORMATIONREQUEST._serialized_end=1300 + _INFORMATIONRESPONSE._serialized_start=1302 + _INFORMATIONRESPONSE._serialized_end=1376 + _SUBSCRIBEMODEREQUEST._serialized_start=1378 + _SUBSCRIBEMODEREQUEST._serialized_end=1400 + _MODERESPONSE._serialized_start=1402 + _MODERESPONSE._serialized_end=1455 + _SUBSCRIBEVIDEOSTREAMINFOREQUEST._serialized_start=1457 + _SUBSCRIBEVIDEOSTREAMINFOREQUEST._serialized_end=1490 + _VIDEOSTREAMINFORESPONSE._serialized_start=1492 + _VIDEOSTREAMINFORESPONSE._serialized_end=1580 + _SUBSCRIBECAPTUREINFOREQUEST._serialized_start=1582 + _SUBSCRIBECAPTUREINFOREQUEST._serialized_end=1611 + _CAPTUREINFORESPONSE._serialized_start=1613 + _CAPTUREINFORESPONSE._serialized_end=1688 + _SUBSCRIBESTATUSREQUEST._serialized_start=1690 + _SUBSCRIBESTATUSREQUEST._serialized_end=1714 + _STATUSRESPONSE._serialized_start=1716 + _STATUSRESPONSE._serialized_end=1782 + _SUBSCRIBECURRENTSETTINGSREQUEST._serialized_start=1784 + _SUBSCRIBECURRENTSETTINGSREQUEST._serialized_end=1817 + _CURRENTSETTINGSRESPONSE._serialized_start=1819 + _CURRENTSETTINGSRESPONSE._serialized_end=1898 + _SUBSCRIBEPOSSIBLESETTINGOPTIONSREQUEST._serialized_start=1900 + _SUBSCRIBEPOSSIBLESETTINGOPTIONSREQUEST._serialized_end=1940 + _POSSIBLESETTINGOPTIONSRESPONSE._serialized_start=1942 + _POSSIBLESETTINGOPTIONSRESPONSE._serialized_end=2034 + _SETSETTINGREQUEST._serialized_start=2036 + _SETSETTINGREQUEST._serialized_end=2100 + _SETSETTINGRESPONSE._serialized_start=2102 + _SETSETTINGRESPONSE._serialized_end=2178 + _GETSETTINGREQUEST._serialized_start=2180 + _GETSETTINGREQUEST._serialized_end=2244 + _GETSETTINGRESPONSE._serialized_start=2246 + _GETSETTINGRESPONSE._serialized_end=2367 + _FORMATSTORAGEREQUEST._serialized_start=2369 + _FORMATSTORAGEREQUEST._serialized_end=2391 + _FORMATSTORAGERESPONSE._serialized_start=2393 + _FORMATSTORAGERESPONSE._serialized_end=2472 + _CAMERARESULT._serialized_start=2475 + _CAMERARESULT._serialized_end=2763 + _CAMERARESULT_RESULT._serialized_start=2568 + _CAMERARESULT_RESULT._serialized_end=2763 + _POSITION._serialized_start=2765 + _POSITION._serialized_end=2878 + _QUATERNION._serialized_start=2880 + _QUATERNION._serialized_end=2936 + _EULERANGLE._serialized_start=2938 + _EULERANGLE._serialized_end=3004 + _CAPTUREINFO._serialized_start=3007 + _CAPTUREINFO._serialized_end=3262 + _VIDEOSTREAMSETTINGS._serialized_start=3265 + _VIDEOSTREAMSETTINGS._serialized_end=3462 + _VIDEOSTREAMINFO._serialized_start=3465 + _VIDEOSTREAMINFO._serialized_end=3915 + _VIDEOSTREAMINFO_VIDEOSTREAMSTATUS._serialized_start=3686 + _VIDEOSTREAMINFO_VIDEOSTREAMSTATUS._serialized_end=3779 + _VIDEOSTREAMINFO_VIDEOSTREAMSPECTRUM._serialized_start=3782 + _VIDEOSTREAMINFO_VIDEOSTREAMSPECTRUM._serialized_end=3915 + _STATUS._serialized_start=3918 + _STATUS._serialized_end=4565 + _STATUS_STORAGESTATUS._serialized_start=4257 + _STATUS_STORAGESTATUS._serialized_end=4402 + _STATUS_STORAGETYPE._serialized_start=4405 + _STATUS_STORAGETYPE._serialized_end=4565 + _OPTION._serialized_start=4567 + _OPTION._serialized_end=4622 + _SETTING._serialized_start=4624 + _SETTING._serialized_end=4743 + _SETTINGOPTIONS._serialized_start=4745 + _SETTINGOPTIONS._serialized_end=4872 + _INFORMATION._serialized_start=4875 + _INFORMATION._serialized_end=5088 + _CAMERASERVICE._serialized_start=5221 + _CAMERASERVICE._serialized_end=7377 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/component_information.py b/mavsdk/component_information.py new file mode 100644 index 00000000..b10b52ea --- /dev/null +++ b/mavsdk/component_information.py @@ -0,0 +1,474 @@ +# -*- coding: utf-8 -*- +# DO NOT EDIT! This file is auto-generated from +# https://github.com/mavlink/MAVSDK-Python/tree/main/other/templates/py +from ._base import AsyncBase +from . import component_information_pb2, component_information_pb2_grpc +from enum import Enum + + +class FloatParam: + """ + Meta information for parameter of type float. + + Parameters + ---------- + name : std::string + Name (max 16 chars) + + short_description : std::string + Short description + + long_description : std::string + Long description + + unit : std::string + Unit + + decimal_places : int32_t + Decimal places for user to show + + start_value : float + Current/starting value + + default_value : float + Default value + + min_value : float + Minimum value + + max_value : float + Maximum value + + """ + + + + def __init__( + self, + name, + short_description, + long_description, + unit, + decimal_places, + start_value, + default_value, + min_value, + max_value): + """ Initializes the FloatParam object """ + self.name = name + self.short_description = short_description + self.long_description = long_description + self.unit = unit + self.decimal_places = decimal_places + self.start_value = start_value + self.default_value = default_value + self.min_value = min_value + self.max_value = max_value + + def __eq__(self, to_compare): + """ Checks if two FloatParam are the same """ + try: + # Try to compare - this likely fails when it is compared to a non + # FloatParam object + return \ + (self.name == to_compare.name) and \ + (self.short_description == to_compare.short_description) and \ + (self.long_description == to_compare.long_description) and \ + (self.unit == to_compare.unit) and \ + (self.decimal_places == to_compare.decimal_places) and \ + (self.start_value == to_compare.start_value) and \ + (self.default_value == to_compare.default_value) and \ + (self.min_value == to_compare.min_value) and \ + (self.max_value == to_compare.max_value) + + except AttributeError: + return False + + def __str__(self): + """ FloatParam in string representation """ + struct_repr = ", ".join([ + "name: " + str(self.name), + "short_description: " + str(self.short_description), + "long_description: " + str(self.long_description), + "unit: " + str(self.unit), + "decimal_places: " + str(self.decimal_places), + "start_value: " + str(self.start_value), + "default_value: " + str(self.default_value), + "min_value: " + str(self.min_value), + "max_value: " + str(self.max_value) + ]) + + return f"FloatParam: [{struct_repr}]" + + @staticmethod + def translate_from_rpc(rpcFloatParam): + """ Translates a gRPC struct to the SDK equivalent """ + return FloatParam( + + rpcFloatParam.name, + + + rpcFloatParam.short_description, + + + rpcFloatParam.long_description, + + + rpcFloatParam.unit, + + + rpcFloatParam.decimal_places, + + + rpcFloatParam.start_value, + + + rpcFloatParam.default_value, + + + rpcFloatParam.min_value, + + + rpcFloatParam.max_value + ) + + def translate_to_rpc(self, rpcFloatParam): + """ Translates this SDK object into its gRPC equivalent """ + + + + + rpcFloatParam.name = self.name + + + + + + rpcFloatParam.short_description = self.short_description + + + + + + rpcFloatParam.long_description = self.long_description + + + + + + rpcFloatParam.unit = self.unit + + + + + + rpcFloatParam.decimal_places = self.decimal_places + + + + + + rpcFloatParam.start_value = self.start_value + + + + + + rpcFloatParam.default_value = self.default_value + + + + + + rpcFloatParam.min_value = self.min_value + + + + + + rpcFloatParam.max_value = self.max_value + + + + + +class FloatParamUpdate: + """ + A float param that has been updated. + + Parameters + ---------- + name : std::string + Name of param that changed + + value : float + New value of param + + """ + + + + def __init__( + self, + name, + value): + """ Initializes the FloatParamUpdate object """ + self.name = name + self.value = value + + def __eq__(self, to_compare): + """ Checks if two FloatParamUpdate are the same """ + try: + # Try to compare - this likely fails when it is compared to a non + # FloatParamUpdate object + return \ + (self.name == to_compare.name) and \ + (self.value == to_compare.value) + + except AttributeError: + return False + + def __str__(self): + """ FloatParamUpdate in string representation """ + struct_repr = ", ".join([ + "name: " + str(self.name), + "value: " + str(self.value) + ]) + + return f"FloatParamUpdate: [{struct_repr}]" + + @staticmethod + def translate_from_rpc(rpcFloatParamUpdate): + """ Translates a gRPC struct to the SDK equivalent """ + return FloatParamUpdate( + + rpcFloatParamUpdate.name, + + + rpcFloatParamUpdate.value + ) + + def translate_to_rpc(self, rpcFloatParamUpdate): + """ Translates this SDK object into its gRPC equivalent """ + + + + + rpcFloatParamUpdate.name = self.name + + + + + + rpcFloatParamUpdate.value = self.value + + + + + +class ComponentInformationResult: + """ + Result type. + + Parameters + ---------- + result : Result + Result enum value + + result_str : std::string + Human-readable English string describing the result + + """ + + + + class Result(Enum): + """ + Possible results returned for param requests. + + Values + ------ + UNKNOWN + Unknown result + + SUCCESS + Request succeeded + + NO_SYSTEM + No system is connected + + """ + + + UNKNOWN = 0 + SUCCESS = 1 + NO_SYSTEM = 2 + + def translate_to_rpc(self): + if self == ComponentInformationResult.Result.UNKNOWN: + return component_information_pb2.ComponentInformationResult.RESULT_UNKNOWN + if self == ComponentInformationResult.Result.SUCCESS: + return component_information_pb2.ComponentInformationResult.RESULT_SUCCESS + if self == ComponentInformationResult.Result.NO_SYSTEM: + return component_information_pb2.ComponentInformationResult.RESULT_NO_SYSTEM + + @staticmethod + def translate_from_rpc(rpc_enum_value): + """ Parses a gRPC response """ + if rpc_enum_value == component_information_pb2.ComponentInformationResult.RESULT_UNKNOWN: + return ComponentInformationResult.Result.UNKNOWN + if rpc_enum_value == component_information_pb2.ComponentInformationResult.RESULT_SUCCESS: + return ComponentInformationResult.Result.SUCCESS + if rpc_enum_value == component_information_pb2.ComponentInformationResult.RESULT_NO_SYSTEM: + return ComponentInformationResult.Result.NO_SYSTEM + + def __str__(self): + return self.name + + + def __init__( + self, + result, + result_str): + """ Initializes the ComponentInformationResult object """ + self.result = result + self.result_str = result_str + + def __eq__(self, to_compare): + """ Checks if two ComponentInformationResult are the same """ + try: + # Try to compare - this likely fails when it is compared to a non + # ComponentInformationResult object + return \ + (self.result == to_compare.result) and \ + (self.result_str == to_compare.result_str) + + except AttributeError: + return False + + def __str__(self): + """ ComponentInformationResult in string representation """ + struct_repr = ", ".join([ + "result: " + str(self.result), + "result_str: " + str(self.result_str) + ]) + + return f"ComponentInformationResult: [{struct_repr}]" + + @staticmethod + def translate_from_rpc(rpcComponentInformationResult): + """ Translates a gRPC struct to the SDK equivalent """ + return ComponentInformationResult( + + ComponentInformationResult.Result.translate_from_rpc(rpcComponentInformationResult.result), + + + rpcComponentInformationResult.result_str + ) + + def translate_to_rpc(self, rpcComponentInformationResult): + """ Translates this SDK object into its gRPC equivalent """ + + + + + rpcComponentInformationResult.result = self.result.translate_to_rpc() + + + + + + rpcComponentInformationResult.result_str = self.result_str + + + + + + +class ComponentInformationError(Exception): + """ Raised when a ComponentInformationResult is a fail code """ + + def __init__(self, result, origin, *params): + self._result = result + self._origin = origin + self._params = params + + def __str__(self): + return f"{self._result.result}: '{self._result.result_str}'; origin: {self._origin}; params: {self._params}" + + +class ComponentInformation(AsyncBase): + """ + Access component information such as parameters. + + Generated by dcsdkgen - MAVSDK ComponentInformation API + """ + + # Plugin name + name = "ComponentInformation" + + def _setup_stub(self, channel): + """ Setups the api stub """ + self._stub = component_information_pb2_grpc.ComponentInformationServiceStub(channel) + + + def _extract_result(self, response): + """ Returns the response status and description """ + return ComponentInformationResult.translate_from_rpc(response.component_information_result) + + + async def access_float_params(self): + """ + List available float params. + + Returns + ------- + params : [FloatParam] + Float param definitions + + Raises + ------ + ComponentInformationError + If the request fails. The error contains the reason for the failure. + """ + + request = component_information_pb2.AccessFloatParamsRequest() + response = await self._stub.AccessFloatParams(request) + + + result = self._extract_result(response) + + if result.result != ComponentInformationResult.Result.SUCCESS: + raise ComponentInformationError(result, "access_float_params()") + + + params = [] + for params_rpc in response.params: + params.append(FloatParam.translate_from_rpc(params_rpc)) + + return params + + + async def float_param(self): + """ + Subscribe to float param changes/updates. + + Yields + ------- + param_update : FloatParamUpdate + A param update + + + """ + + request = component_information_pb2.SubscribeFloatParamRequest() + float_param_stream = self._stub.SubscribeFloatParam(request) + + try: + async for response in float_param_stream: + + + + yield FloatParamUpdate.translate_from_rpc(response.param_update) + finally: + float_param_stream.cancel() \ No newline at end of file diff --git a/mavsdk/component_information_pb2.py b/mavsdk/component_information_pb2.py new file mode 100644 index 00000000..382f44b6 --- /dev/null +++ b/mavsdk/component_information_pb2.py @@ -0,0 +1,106 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: component_information/component_information.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from . import mavsdk_options_pb2 as mavsdk__options__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1component_information/component_information.proto\x12 mavsdk.rpc.component_information\x1a\x14mavsdk_options.proto\"\xc7\x01\n\nFloatParam\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x11short_description\x18\x02 \x01(\t\x12\x18\n\x10long_description\x18\x03 \x01(\t\x12\x0c\n\x04unit\x18\x04 \x01(\t\x12\x16\n\x0e\x64\x65\x63imal_places\x18\x05 \x01(\x05\x12\x13\n\x0bstart_value\x18\x06 \x01(\x02\x12\x15\n\rdefault_value\x18\x07 \x01(\x02\x12\x11\n\tmin_value\x18\x08 \x01(\x02\x12\x11\n\tmax_value\x18\t \x01(\x02\"\x1a\n\x18\x41\x63\x63\x65ssFloatParamsRequest\"\xbd\x01\n\x19\x41\x63\x63\x65ssFloatParamsResponse\x12\x62\n\x1c\x63omponent_information_result\x18\x01 \x01(\x0b\x32<.mavsdk.rpc.component_information.ComponentInformationResult\x12<\n\x06params\x18\x02 \x03(\x0b\x32,.mavsdk.rpc.component_information.FloatParam\"/\n\x10\x46loatParamUpdate\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02\"\x1c\n\x1aSubscribeFloatParamRequest\"^\n\x12\x46loatParamResponse\x12H\n\x0cparam_update\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.component_information.FloatParamUpdate\"\xcd\x01\n\x1a\x43omponentInformationResult\x12S\n\x06result\x18\x01 \x01(\x0e\x32\x43.mavsdk.rpc.component_information.ComponentInformationResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"F\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x03\x32\xc6\x02\n\x1b\x43omponentInformationService\x12\x92\x01\n\x11\x41\x63\x63\x65ssFloatParams\x12:.mavsdk.rpc.component_information.AccessFloatParamsRequest\x1a;.mavsdk.rpc.component_information.AccessFloatParamsResponse\"\x04\x80\xb5\x18\x01\x12\x91\x01\n\x13SubscribeFloatParam\x12<.mavsdk.rpc.component_information.SubscribeFloatParamRequest\x1a\x34.mavsdk.rpc.component_information.FloatParamResponse\"\x04\x80\xb5\x18\x00\x30\x01\x42<\n\x1fio.mavsdk.component_informationB\x19\x43omponentInformationProtob\x06proto3') + + + +_FLOATPARAM = DESCRIPTOR.message_types_by_name['FloatParam'] +_ACCESSFLOATPARAMSREQUEST = DESCRIPTOR.message_types_by_name['AccessFloatParamsRequest'] +_ACCESSFLOATPARAMSRESPONSE = DESCRIPTOR.message_types_by_name['AccessFloatParamsResponse'] +_FLOATPARAMUPDATE = DESCRIPTOR.message_types_by_name['FloatParamUpdate'] +_SUBSCRIBEFLOATPARAMREQUEST = DESCRIPTOR.message_types_by_name['SubscribeFloatParamRequest'] +_FLOATPARAMRESPONSE = DESCRIPTOR.message_types_by_name['FloatParamResponse'] +_COMPONENTINFORMATIONRESULT = DESCRIPTOR.message_types_by_name['ComponentInformationResult'] +_COMPONENTINFORMATIONRESULT_RESULT = _COMPONENTINFORMATIONRESULT.enum_types_by_name['Result'] +FloatParam = _reflection.GeneratedProtocolMessageType('FloatParam', (_message.Message,), { + 'DESCRIPTOR' : _FLOATPARAM, + '__module__' : 'component_information.component_information_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.component_information.FloatParam) + }) +_sym_db.RegisterMessage(FloatParam) + +AccessFloatParamsRequest = _reflection.GeneratedProtocolMessageType('AccessFloatParamsRequest', (_message.Message,), { + 'DESCRIPTOR' : _ACCESSFLOATPARAMSREQUEST, + '__module__' : 'component_information.component_information_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.component_information.AccessFloatParamsRequest) + }) +_sym_db.RegisterMessage(AccessFloatParamsRequest) + +AccessFloatParamsResponse = _reflection.GeneratedProtocolMessageType('AccessFloatParamsResponse', (_message.Message,), { + 'DESCRIPTOR' : _ACCESSFLOATPARAMSRESPONSE, + '__module__' : 'component_information.component_information_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.component_information.AccessFloatParamsResponse) + }) +_sym_db.RegisterMessage(AccessFloatParamsResponse) + +FloatParamUpdate = _reflection.GeneratedProtocolMessageType('FloatParamUpdate', (_message.Message,), { + 'DESCRIPTOR' : _FLOATPARAMUPDATE, + '__module__' : 'component_information.component_information_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.component_information.FloatParamUpdate) + }) +_sym_db.RegisterMessage(FloatParamUpdate) + +SubscribeFloatParamRequest = _reflection.GeneratedProtocolMessageType('SubscribeFloatParamRequest', (_message.Message,), { + 'DESCRIPTOR' : _SUBSCRIBEFLOATPARAMREQUEST, + '__module__' : 'component_information.component_information_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.component_information.SubscribeFloatParamRequest) + }) +_sym_db.RegisterMessage(SubscribeFloatParamRequest) + +FloatParamResponse = _reflection.GeneratedProtocolMessageType('FloatParamResponse', (_message.Message,), { + 'DESCRIPTOR' : _FLOATPARAMRESPONSE, + '__module__' : 'component_information.component_information_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.component_information.FloatParamResponse) + }) +_sym_db.RegisterMessage(FloatParamResponse) + +ComponentInformationResult = _reflection.GeneratedProtocolMessageType('ComponentInformationResult', (_message.Message,), { + 'DESCRIPTOR' : _COMPONENTINFORMATIONRESULT, + '__module__' : 'component_information.component_information_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.component_information.ComponentInformationResult) + }) +_sym_db.RegisterMessage(ComponentInformationResult) + +_COMPONENTINFORMATIONSERVICE = DESCRIPTOR.services_by_name['ComponentInformationService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\037io.mavsdk.component_informationB\031ComponentInformationProto' + _COMPONENTINFORMATIONSERVICE.methods_by_name['AccessFloatParams']._options = None + _COMPONENTINFORMATIONSERVICE.methods_by_name['AccessFloatParams']._serialized_options = b'\200\265\030\001' + _COMPONENTINFORMATIONSERVICE.methods_by_name['SubscribeFloatParam']._options = None + _COMPONENTINFORMATIONSERVICE.methods_by_name['SubscribeFloatParam']._serialized_options = b'\200\265\030\000' + _FLOATPARAM._serialized_start=110 + _FLOATPARAM._serialized_end=309 + _ACCESSFLOATPARAMSREQUEST._serialized_start=311 + _ACCESSFLOATPARAMSREQUEST._serialized_end=337 + _ACCESSFLOATPARAMSRESPONSE._serialized_start=340 + _ACCESSFLOATPARAMSRESPONSE._serialized_end=529 + _FLOATPARAMUPDATE._serialized_start=531 + _FLOATPARAMUPDATE._serialized_end=578 + _SUBSCRIBEFLOATPARAMREQUEST._serialized_start=580 + _SUBSCRIBEFLOATPARAMREQUEST._serialized_end=608 + _FLOATPARAMRESPONSE._serialized_start=610 + _FLOATPARAMRESPONSE._serialized_end=704 + _COMPONENTINFORMATIONRESULT._serialized_start=707 + _COMPONENTINFORMATIONRESULT._serialized_end=912 + _COMPONENTINFORMATIONRESULT_RESULT._serialized_start=842 + _COMPONENTINFORMATIONRESULT_RESULT._serialized_end=912 + _COMPONENTINFORMATIONSERVICE._serialized_start=915 + _COMPONENTINFORMATIONSERVICE._serialized_end=1241 +# @@protoc_insertion_point(module_scope) diff --git a/mavsdk/component_information_pb2_grpc.py b/mavsdk/component_information_pb2_grpc.py new file mode 100644 index 00000000..7f0036aa --- /dev/null +++ b/mavsdk/component_information_pb2_grpc.py @@ -0,0 +1,106 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from . import component_information_pb2 as component__information_dot_component__information__pb2 + + +class ComponentInformationServiceStub(object): + """Access component information such as parameters. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.AccessFloatParams = channel.unary_unary( + '/mavsdk.rpc.component_information.ComponentInformationService/AccessFloatParams', + request_serializer=component__information_dot_component__information__pb2.AccessFloatParamsRequest.SerializeToString, + response_deserializer=component__information_dot_component__information__pb2.AccessFloatParamsResponse.FromString, + ) + self.SubscribeFloatParam = channel.unary_stream( + '/mavsdk.rpc.component_information.ComponentInformationService/SubscribeFloatParam', + request_serializer=component__information_dot_component__information__pb2.SubscribeFloatParamRequest.SerializeToString, + response_deserializer=component__information_dot_component__information__pb2.FloatParamResponse.FromString, + ) + + +class ComponentInformationServiceServicer(object): + """Access component information such as parameters. + """ + + def AccessFloatParams(self, request, context): + """ + List available float params. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SubscribeFloatParam(self, request, context): + """ + Subscribe to float param changes/updates. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ComponentInformationServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'AccessFloatParams': grpc.unary_unary_rpc_method_handler( + servicer.AccessFloatParams, + request_deserializer=component__information_dot_component__information__pb2.AccessFloatParamsRequest.FromString, + response_serializer=component__information_dot_component__information__pb2.AccessFloatParamsResponse.SerializeToString, + ), + 'SubscribeFloatParam': grpc.unary_stream_rpc_method_handler( + servicer.SubscribeFloatParam, + request_deserializer=component__information_dot_component__information__pb2.SubscribeFloatParamRequest.FromString, + response_serializer=component__information_dot_component__information__pb2.FloatParamResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'mavsdk.rpc.component_information.ComponentInformationService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class ComponentInformationService(object): + """Access component information such as parameters. + """ + + @staticmethod + def AccessFloatParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/mavsdk.rpc.component_information.ComponentInformationService/AccessFloatParams', + component__information_dot_component__information__pb2.AccessFloatParamsRequest.SerializeToString, + component__information_dot_component__information__pb2.AccessFloatParamsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def SubscribeFloatParam(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream(request, target, '/mavsdk.rpc.component_information.ComponentInformationService/SubscribeFloatParam', + component__information_dot_component__information__pb2.SubscribeFloatParamRequest.SerializeToString, + component__information_dot_component__information__pb2.FloatParamResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/component_information_server.py b/mavsdk/component_information_server.py new file mode 100644 index 00000000..70355101 --- /dev/null +++ b/mavsdk/component_information_server.py @@ -0,0 +1,503 @@ +# -*- coding: utf-8 -*- +# DO NOT EDIT! This file is auto-generated from +# https://github.com/mavlink/MAVSDK-Python/tree/main/other/templates/py +from ._base import AsyncBase +from . import component_information_server_pb2, component_information_server_pb2_grpc +from enum import Enum + + +class FloatParam: + """ + Meta information for parameter of type float. + + Parameters + ---------- + name : std::string + Name (max 16 chars) + + short_description : std::string + Short description + + long_description : std::string + Long description + + unit : std::string + Unit + + decimal_places : int32_t + Decimal places for user to show + + start_value : float + Current/starting value + + default_value : float + Default value + + min_value : float + Minimum value + + max_value : float + Maximum value + + """ + + + + def __init__( + self, + name, + short_description, + long_description, + unit, + decimal_places, + start_value, + default_value, + min_value, + max_value): + """ Initializes the FloatParam object """ + self.name = name + self.short_description = short_description + self.long_description = long_description + self.unit = unit + self.decimal_places = decimal_places + self.start_value = start_value + self.default_value = default_value + self.min_value = min_value + self.max_value = max_value + + def __eq__(self, to_compare): + """ Checks if two FloatParam are the same """ + try: + # Try to compare - this likely fails when it is compared to a non + # FloatParam object + return \ + (self.name == to_compare.name) and \ + (self.short_description == to_compare.short_description) and \ + (self.long_description == to_compare.long_description) and \ + (self.unit == to_compare.unit) and \ + (self.decimal_places == to_compare.decimal_places) and \ + (self.start_value == to_compare.start_value) and \ + (self.default_value == to_compare.default_value) and \ + (self.min_value == to_compare.min_value) and \ + (self.max_value == to_compare.max_value) + + except AttributeError: + return False + + def __str__(self): + """ FloatParam in string representation """ + struct_repr = ", ".join([ + "name: " + str(self.name), + "short_description: " + str(self.short_description), + "long_description: " + str(self.long_description), + "unit: " + str(self.unit), + "decimal_places: " + str(self.decimal_places), + "start_value: " + str(self.start_value), + "default_value: " + str(self.default_value), + "min_value: " + str(self.min_value), + "max_value: " + str(self.max_value) + ]) + + return f"FloatParam: [{struct_repr}]" + + @staticmethod + def translate_from_rpc(rpcFloatParam): + """ Translates a gRPC struct to the SDK equivalent """ + return FloatParam( + + rpcFloatParam.name, + + + rpcFloatParam.short_description, + + + rpcFloatParam.long_description, + + + rpcFloatParam.unit, + + + rpcFloatParam.decimal_places, + + + rpcFloatParam.start_value, + + + rpcFloatParam.default_value, + + + rpcFloatParam.min_value, + + + rpcFloatParam.max_value + ) + + def translate_to_rpc(self, rpcFloatParam): + """ Translates this SDK object into its gRPC equivalent """ + + + + + rpcFloatParam.name = self.name + + + + + + rpcFloatParam.short_description = self.short_description + + + + + + rpcFloatParam.long_description = self.long_description + + + + + + rpcFloatParam.unit = self.unit + + + + + + rpcFloatParam.decimal_places = self.decimal_places + + + + + + rpcFloatParam.start_value = self.start_value + + + + + + rpcFloatParam.default_value = self.default_value + + + + + + rpcFloatParam.min_value = self.min_value + + + + + + rpcFloatParam.max_value = self.max_value + + + + + +class FloatParamUpdate: + """ + A float param that has been updated. + + Parameters + ---------- + name : std::string + Name of param that changed + + value : float + New value of param + + """ + + + + def __init__( + self, + name, + value): + """ Initializes the FloatParamUpdate object """ + self.name = name + self.value = value + + def __eq__(self, to_compare): + """ Checks if two FloatParamUpdate are the same """ + try: + # Try to compare - this likely fails when it is compared to a non + # FloatParamUpdate object + return \ + (self.name == to_compare.name) and \ + (self.value == to_compare.value) + + except AttributeError: + return False + + def __str__(self): + """ FloatParamUpdate in string representation """ + struct_repr = ", ".join([ + "name: " + str(self.name), + "value: " + str(self.value) + ]) + + return f"FloatParamUpdate: [{struct_repr}]" + + @staticmethod + def translate_from_rpc(rpcFloatParamUpdate): + """ Translates a gRPC struct to the SDK equivalent """ + return FloatParamUpdate( + + rpcFloatParamUpdate.name, + + + rpcFloatParamUpdate.value + ) + + def translate_to_rpc(self, rpcFloatParamUpdate): + """ Translates this SDK object into its gRPC equivalent """ + + + + + rpcFloatParamUpdate.name = self.name + + + + + + rpcFloatParamUpdate.value = self.value + + + + + +class ComponentInformationServerResult: + """ + Result type. + + Parameters + ---------- + result : Result + Result enum value + + result_str : std::string + Human-readable English string describing the result + + """ + + + + class Result(Enum): + """ + Possible results returned for param requests. + + Values + ------ + UNKNOWN + Unknown result + + SUCCESS + Request succeeded + + DUPLICATE_PARAM + Duplicate param + + INVALID_PARAM_START_VALUE + Invalid start param value + + INVALID_PARAM_DEFAULT_VALUE + Invalid default param value + + INVALID_PARAM_NAME + Invalid param name + + NO_SYSTEM + No system is connected + + """ + + + UNKNOWN = 0 + SUCCESS = 1 + DUPLICATE_PARAM = 2 + INVALID_PARAM_START_VALUE = 3 + INVALID_PARAM_DEFAULT_VALUE = 4 + INVALID_PARAM_NAME = 5 + NO_SYSTEM = 6 + + def translate_to_rpc(self): + if self == ComponentInformationServerResult.Result.UNKNOWN: + return component_information_server_pb2.ComponentInformationServerResult.RESULT_UNKNOWN + if self == ComponentInformationServerResult.Result.SUCCESS: + return component_information_server_pb2.ComponentInformationServerResult.RESULT_SUCCESS + if self == ComponentInformationServerResult.Result.DUPLICATE_PARAM: + return component_information_server_pb2.ComponentInformationServerResult.RESULT_DUPLICATE_PARAM + if self == ComponentInformationServerResult.Result.INVALID_PARAM_START_VALUE: + return component_information_server_pb2.ComponentInformationServerResult.RESULT_INVALID_PARAM_START_VALUE + if self == ComponentInformationServerResult.Result.INVALID_PARAM_DEFAULT_VALUE: + return component_information_server_pb2.ComponentInformationServerResult.RESULT_INVALID_PARAM_DEFAULT_VALUE + if self == ComponentInformationServerResult.Result.INVALID_PARAM_NAME: + return component_information_server_pb2.ComponentInformationServerResult.RESULT_INVALID_PARAM_NAME + if self == ComponentInformationServerResult.Result.NO_SYSTEM: + return component_information_server_pb2.ComponentInformationServerResult.RESULT_NO_SYSTEM + + @staticmethod + def translate_from_rpc(rpc_enum_value): + """ Parses a gRPC response """ + if rpc_enum_value == component_information_server_pb2.ComponentInformationServerResult.RESULT_UNKNOWN: + return ComponentInformationServerResult.Result.UNKNOWN + if rpc_enum_value == component_information_server_pb2.ComponentInformationServerResult.RESULT_SUCCESS: + return ComponentInformationServerResult.Result.SUCCESS + if rpc_enum_value == component_information_server_pb2.ComponentInformationServerResult.RESULT_DUPLICATE_PARAM: + return ComponentInformationServerResult.Result.DUPLICATE_PARAM + if rpc_enum_value == component_information_server_pb2.ComponentInformationServerResult.RESULT_INVALID_PARAM_START_VALUE: + return ComponentInformationServerResult.Result.INVALID_PARAM_START_VALUE + if rpc_enum_value == component_information_server_pb2.ComponentInformationServerResult.RESULT_INVALID_PARAM_DEFAULT_VALUE: + return ComponentInformationServerResult.Result.INVALID_PARAM_DEFAULT_VALUE + if rpc_enum_value == component_information_server_pb2.ComponentInformationServerResult.RESULT_INVALID_PARAM_NAME: + return ComponentInformationServerResult.Result.INVALID_PARAM_NAME + if rpc_enum_value == component_information_server_pb2.ComponentInformationServerResult.RESULT_NO_SYSTEM: + return ComponentInformationServerResult.Result.NO_SYSTEM + + def __str__(self): + return self.name + + + def __init__( + self, + result, + result_str): + """ Initializes the ComponentInformationServerResult object """ + self.result = result + self.result_str = result_str + + def __eq__(self, to_compare): + """ Checks if two ComponentInformationServerResult are the same """ + try: + # Try to compare - this likely fails when it is compared to a non + # ComponentInformationServerResult object + return \ + (self.result == to_compare.result) and \ + (self.result_str == to_compare.result_str) + + except AttributeError: + return False + + def __str__(self): + """ ComponentInformationServerResult in string representation """ + struct_repr = ", ".join([ + "result: " + str(self.result), + "result_str: " + str(self.result_str) + ]) + + return f"ComponentInformationServerResult: [{struct_repr}]" + + @staticmethod + def translate_from_rpc(rpcComponentInformationServerResult): + """ Translates a gRPC struct to the SDK equivalent """ + return ComponentInformationServerResult( + + ComponentInformationServerResult.Result.translate_from_rpc(rpcComponentInformationServerResult.result), + + + rpcComponentInformationServerResult.result_str + ) + + def translate_to_rpc(self, rpcComponentInformationServerResult): + """ Translates this SDK object into its gRPC equivalent """ + + + + + rpcComponentInformationServerResult.result = self.result.translate_to_rpc() + + + + + + rpcComponentInformationServerResult.result_str = self.result_str + + + + + + +class ComponentInformationServerError(Exception): + """ Raised when a ComponentInformationServerResult is a fail code """ + + def __init__(self, result, origin, *params): + self._result = result + self._origin = origin + self._params = params + + def __str__(self): + return f"{self._result.result}: '{self._result.result_str}'; origin: {self._origin}; params: {self._params}" + + +class ComponentInformationServer(AsyncBase): + """ + Provide component information such as parameters. + + Generated by dcsdkgen - MAVSDK ComponentInformationServer API + """ + + # Plugin name + name = "ComponentInformationServer" + + def _setup_stub(self, channel): + """ Setups the api stub """ + self._stub = component_information_server_pb2_grpc.ComponentInformationServerServiceStub(channel) + + + def _extract_result(self, response): + """ Returns the response status and description """ + return ComponentInformationServerResult.translate_from_rpc(response.component_information_server_result) + + + async def provide_float_param(self, param): + """ + Provide a param of type float. + + Parameters + ---------- + param : FloatParam + Float param definition + + Raises + ------ + ComponentInformationServerError + If the request fails. The error contains the reason for the failure. + """ + + request = component_information_server_pb2.ProvideFloatParamRequest() + + param.translate_to_rpc(request.param) + + + response = await self._stub.ProvideFloatParam(request) + + + result = self._extract_result(response) + + if result.result != ComponentInformationServerResult.Result.SUCCESS: + raise ComponentInformationServerError(result, "provide_float_param()", param) + + + async def float_param(self): + """ + Subscribe to float param updates. + + Yields + ------- + param_update : FloatParamUpdate + A param update + + + """ + + request = component_information_server_pb2.SubscribeFloatParamRequest() + float_param_stream = self._stub.SubscribeFloatParam(request) + + try: + async for response in float_param_stream: + + + + yield FloatParamUpdate.translate_from_rpc(response.param_update) + finally: + float_param_stream.cancel() \ No newline at end of file diff --git a/mavsdk/component_information_server_pb2.py b/mavsdk/component_information_server_pb2.py new file mode 100644 index 00000000..e57533ab --- /dev/null +++ b/mavsdk/component_information_server_pb2.py @@ -0,0 +1,106 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: component_information_server/component_information_server.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from . import mavsdk_options_pb2 as mavsdk__options__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?component_information_server/component_information_server.proto\x12\'mavsdk.rpc.component_information_server\x1a\x14mavsdk_options.proto\"\xc7\x01\n\nFloatParam\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x11short_description\x18\x02 \x01(\t\x12\x18\n\x10long_description\x18\x03 \x01(\t\x12\x0c\n\x04unit\x18\x04 \x01(\t\x12\x16\n\x0e\x64\x65\x63imal_places\x18\x05 \x01(\x05\x12\x13\n\x0bstart_value\x18\x06 \x01(\x02\x12\x15\n\rdefault_value\x18\x07 \x01(\x02\x12\x11\n\tmin_value\x18\x08 \x01(\x02\x12\x11\n\tmax_value\x18\t \x01(\x02\"^\n\x18ProvideFloatParamRequest\x12\x42\n\x05param\x18\x01 \x01(\x0b\x32\x33.mavsdk.rpc.component_information_server.FloatParam\"\x93\x01\n\x19ProvideFloatParamResponse\x12v\n#component_information_server_result\x18\x01 \x01(\x0b\x32I.mavsdk.rpc.component_information_server.ComponentInformationServerResult\"/\n\x10\x46loatParamUpdate\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02\"\x1c\n\x1aSubscribeFloatParamRequest\"e\n\x12\x46loatParamResponse\x12O\n\x0cparam_update\x18\x01 \x01(\x0b\x32\x39.mavsdk.rpc.component_information_server.FloatParamUpdate\"\xea\x02\n ComponentInformationServerResult\x12`\n\x06result\x18\x01 \x01(\x0e\x32P.mavsdk.rpc.component_information_server.ComponentInformationServerResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xcf\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x1a\n\x16RESULT_DUPLICATE_PARAM\x10\x02\x12$\n RESULT_INVALID_PARAM_START_VALUE\x10\x03\x12&\n\"RESULT_INVALID_PARAM_DEFAULT_VALUE\x10\x04\x12\x1d\n\x19RESULT_INVALID_PARAM_NAME\x10\x05\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x06\x32\xe8\x02\n!ComponentInformationServerService\x12\xa0\x01\n\x11ProvideFloatParam\x12\x41.mavsdk.rpc.component_information_server.ProvideFloatParamRequest\x1a\x42.mavsdk.rpc.component_information_server.ProvideFloatParamResponse\"\x04\x80\xb5\x18\x01\x12\x9f\x01\n\x13SubscribeFloatParam\x12\x43.mavsdk.rpc.component_information_server.SubscribeFloatParamRequest\x1a;.mavsdk.rpc.component_information_server.FloatParamResponse\"\x04\x80\xb5\x18\x00\x30\x01\x42I\n&io.mavsdk.component_information_serverB\x1f\x43omponentInformationServerProtob\x06proto3') + + + +_FLOATPARAM = DESCRIPTOR.message_types_by_name['FloatParam'] +_PROVIDEFLOATPARAMREQUEST = DESCRIPTOR.message_types_by_name['ProvideFloatParamRequest'] +_PROVIDEFLOATPARAMRESPONSE = DESCRIPTOR.message_types_by_name['ProvideFloatParamResponse'] +_FLOATPARAMUPDATE = DESCRIPTOR.message_types_by_name['FloatParamUpdate'] +_SUBSCRIBEFLOATPARAMREQUEST = DESCRIPTOR.message_types_by_name['SubscribeFloatParamRequest'] +_FLOATPARAMRESPONSE = DESCRIPTOR.message_types_by_name['FloatParamResponse'] +_COMPONENTINFORMATIONSERVERRESULT = DESCRIPTOR.message_types_by_name['ComponentInformationServerResult'] +_COMPONENTINFORMATIONSERVERRESULT_RESULT = _COMPONENTINFORMATIONSERVERRESULT.enum_types_by_name['Result'] +FloatParam = _reflection.GeneratedProtocolMessageType('FloatParam', (_message.Message,), { + 'DESCRIPTOR' : _FLOATPARAM, + '__module__' : 'component_information_server.component_information_server_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.component_information_server.FloatParam) + }) +_sym_db.RegisterMessage(FloatParam) + +ProvideFloatParamRequest = _reflection.GeneratedProtocolMessageType('ProvideFloatParamRequest', (_message.Message,), { + 'DESCRIPTOR' : _PROVIDEFLOATPARAMREQUEST, + '__module__' : 'component_information_server.component_information_server_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.component_information_server.ProvideFloatParamRequest) + }) +_sym_db.RegisterMessage(ProvideFloatParamRequest) + +ProvideFloatParamResponse = _reflection.GeneratedProtocolMessageType('ProvideFloatParamResponse', (_message.Message,), { + 'DESCRIPTOR' : _PROVIDEFLOATPARAMRESPONSE, + '__module__' : 'component_information_server.component_information_server_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.component_information_server.ProvideFloatParamResponse) + }) +_sym_db.RegisterMessage(ProvideFloatParamResponse) + +FloatParamUpdate = _reflection.GeneratedProtocolMessageType('FloatParamUpdate', (_message.Message,), { + 'DESCRIPTOR' : _FLOATPARAMUPDATE, + '__module__' : 'component_information_server.component_information_server_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.component_information_server.FloatParamUpdate) + }) +_sym_db.RegisterMessage(FloatParamUpdate) + +SubscribeFloatParamRequest = _reflection.GeneratedProtocolMessageType('SubscribeFloatParamRequest', (_message.Message,), { + 'DESCRIPTOR' : _SUBSCRIBEFLOATPARAMREQUEST, + '__module__' : 'component_information_server.component_information_server_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.component_information_server.SubscribeFloatParamRequest) + }) +_sym_db.RegisterMessage(SubscribeFloatParamRequest) + +FloatParamResponse = _reflection.GeneratedProtocolMessageType('FloatParamResponse', (_message.Message,), { + 'DESCRIPTOR' : _FLOATPARAMRESPONSE, + '__module__' : 'component_information_server.component_information_server_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.component_information_server.FloatParamResponse) + }) +_sym_db.RegisterMessage(FloatParamResponse) + +ComponentInformationServerResult = _reflection.GeneratedProtocolMessageType('ComponentInformationServerResult', (_message.Message,), { + 'DESCRIPTOR' : _COMPONENTINFORMATIONSERVERRESULT, + '__module__' : 'component_information_server.component_information_server_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.component_information_server.ComponentInformationServerResult) + }) +_sym_db.RegisterMessage(ComponentInformationServerResult) + +_COMPONENTINFORMATIONSERVERSERVICE = DESCRIPTOR.services_by_name['ComponentInformationServerService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n&io.mavsdk.component_information_serverB\037ComponentInformationServerProto' + _COMPONENTINFORMATIONSERVERSERVICE.methods_by_name['ProvideFloatParam']._options = None + _COMPONENTINFORMATIONSERVERSERVICE.methods_by_name['ProvideFloatParam']._serialized_options = b'\200\265\030\001' + _COMPONENTINFORMATIONSERVERSERVICE.methods_by_name['SubscribeFloatParam']._options = None + _COMPONENTINFORMATIONSERVERSERVICE.methods_by_name['SubscribeFloatParam']._serialized_options = b'\200\265\030\000' + _FLOATPARAM._serialized_start=131 + _FLOATPARAM._serialized_end=330 + _PROVIDEFLOATPARAMREQUEST._serialized_start=332 + _PROVIDEFLOATPARAMREQUEST._serialized_end=426 + _PROVIDEFLOATPARAMRESPONSE._serialized_start=429 + _PROVIDEFLOATPARAMRESPONSE._serialized_end=576 + _FLOATPARAMUPDATE._serialized_start=578 + _FLOATPARAMUPDATE._serialized_end=625 + _SUBSCRIBEFLOATPARAMREQUEST._serialized_start=627 + _SUBSCRIBEFLOATPARAMREQUEST._serialized_end=655 + _FLOATPARAMRESPONSE._serialized_start=657 + _FLOATPARAMRESPONSE._serialized_end=758 + _COMPONENTINFORMATIONSERVERRESULT._serialized_start=761 + _COMPONENTINFORMATIONSERVERRESULT._serialized_end=1123 + _COMPONENTINFORMATIONSERVERRESULT_RESULT._serialized_start=916 + _COMPONENTINFORMATIONSERVERRESULT_RESULT._serialized_end=1123 + _COMPONENTINFORMATIONSERVERSERVICE._serialized_start=1126 + _COMPONENTINFORMATIONSERVERSERVICE._serialized_end=1486 +# @@protoc_insertion_point(module_scope) diff --git a/mavsdk/component_information_server_pb2_grpc.py b/mavsdk/component_information_server_pb2_grpc.py new file mode 100644 index 00000000..304b914a --- /dev/null +++ b/mavsdk/component_information_server_pb2_grpc.py @@ -0,0 +1,106 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from . import component_information_server_pb2 as component__information__server_dot_component__information__server__pb2 + + +class ComponentInformationServerServiceStub(object): + """Provide component information such as parameters. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.ProvideFloatParam = channel.unary_unary( + '/mavsdk.rpc.component_information_server.ComponentInformationServerService/ProvideFloatParam', + request_serializer=component__information__server_dot_component__information__server__pb2.ProvideFloatParamRequest.SerializeToString, + response_deserializer=component__information__server_dot_component__information__server__pb2.ProvideFloatParamResponse.FromString, + ) + self.SubscribeFloatParam = channel.unary_stream( + '/mavsdk.rpc.component_information_server.ComponentInformationServerService/SubscribeFloatParam', + request_serializer=component__information__server_dot_component__information__server__pb2.SubscribeFloatParamRequest.SerializeToString, + response_deserializer=component__information__server_dot_component__information__server__pb2.FloatParamResponse.FromString, + ) + + +class ComponentInformationServerServiceServicer(object): + """Provide component information such as parameters. + """ + + def ProvideFloatParam(self, request, context): + """ + Provide a param of type float. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SubscribeFloatParam(self, request, context): + """ + Subscribe to float param updates. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ComponentInformationServerServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'ProvideFloatParam': grpc.unary_unary_rpc_method_handler( + servicer.ProvideFloatParam, + request_deserializer=component__information__server_dot_component__information__server__pb2.ProvideFloatParamRequest.FromString, + response_serializer=component__information__server_dot_component__information__server__pb2.ProvideFloatParamResponse.SerializeToString, + ), + 'SubscribeFloatParam': grpc.unary_stream_rpc_method_handler( + servicer.SubscribeFloatParam, + request_deserializer=component__information__server_dot_component__information__server__pb2.SubscribeFloatParamRequest.FromString, + response_serializer=component__information__server_dot_component__information__server__pb2.FloatParamResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'mavsdk.rpc.component_information_server.ComponentInformationServerService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class ComponentInformationServerService(object): + """Provide component information such as parameters. + """ + + @staticmethod + def ProvideFloatParam(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/mavsdk.rpc.component_information_server.ComponentInformationServerService/ProvideFloatParam', + component__information__server_dot_component__information__server__pb2.ProvideFloatParamRequest.SerializeToString, + component__information__server_dot_component__information__server__pb2.ProvideFloatParamResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def SubscribeFloatParam(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream(request, target, '/mavsdk.rpc.component_information_server.ComponentInformationServerService/SubscribeFloatParam', + component__information__server_dot_component__information__server__pb2.SubscribeFloatParamRequest.SerializeToString, + component__information__server_dot_component__information__server__pb2.FloatParamResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/core_pb2.py b/mavsdk/core_pb2.py index 167e091c..65dda64d 100644 --- a/mavsdk/core_pb2.py +++ b/mavsdk/core_pb2.py @@ -3,6 +3,7 @@ # source: core/core.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -13,171 +14,15 @@ -DESCRIPTOR = _descriptor.FileDescriptor( - name='core/core.proto', - package='mavsdk.rpc.core', - syntax='proto3', - serialized_options=b'\n\016io.mavsdk.coreB\tCoreProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x0f\x63ore/core.proto\x12\x0fmavsdk.rpc.core\"!\n\x1fSubscribeConnectionStateRequest\"U\n\x17\x43onnectionStateResponse\x12:\n\x10\x63onnection_state\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.core.ConnectionState\"-\n\x18SetMavlinkTimeoutRequest\x12\x11\n\ttimeout_s\x18\x01 \x01(\x01\"\x1b\n\x19SetMavlinkTimeoutResponse\"\'\n\x0f\x43onnectionState\x12\x14\n\x0cis_connected\x18\x02 \x01(\x08\x32\xf7\x01\n\x0b\x43oreService\x12z\n\x18SubscribeConnectionState\x12\x30.mavsdk.rpc.core.SubscribeConnectionStateRequest\x1a(.mavsdk.rpc.core.ConnectionStateResponse\"\x00\x30\x01\x12l\n\x11SetMavlinkTimeout\x12).mavsdk.rpc.core.SetMavlinkTimeoutRequest\x1a*.mavsdk.rpc.core.SetMavlinkTimeoutResponse\"\x00\x42\x1b\n\x0eio.mavsdk.coreB\tCoreProtob\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0f\x63ore/core.proto\x12\x0fmavsdk.rpc.core\"!\n\x1fSubscribeConnectionStateRequest\"U\n\x17\x43onnectionStateResponse\x12:\n\x10\x63onnection_state\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.core.ConnectionState\"-\n\x18SetMavlinkTimeoutRequest\x12\x11\n\ttimeout_s\x18\x01 \x01(\x01\"\x1b\n\x19SetMavlinkTimeoutResponse\"\'\n\x0f\x43onnectionState\x12\x14\n\x0cis_connected\x18\x02 \x01(\x08\x32\xf7\x01\n\x0b\x43oreService\x12z\n\x18SubscribeConnectionState\x12\x30.mavsdk.rpc.core.SubscribeConnectionStateRequest\x1a(.mavsdk.rpc.core.ConnectionStateResponse\"\x00\x30\x01\x12l\n\x11SetMavlinkTimeout\x12).mavsdk.rpc.core.SetMavlinkTimeoutRequest\x1a*.mavsdk.rpc.core.SetMavlinkTimeoutResponse\"\x00\x42\x1b\n\x0eio.mavsdk.coreB\tCoreProtob\x06proto3') - -_SUBSCRIBECONNECTIONSTATEREQUEST = _descriptor.Descriptor( - name='SubscribeConnectionStateRequest', - full_name='mavsdk.rpc.core.SubscribeConnectionStateRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=36, - serialized_end=69, -) - - -_CONNECTIONSTATERESPONSE = _descriptor.Descriptor( - name='ConnectionStateResponse', - full_name='mavsdk.rpc.core.ConnectionStateResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='connection_state', full_name='mavsdk.rpc.core.ConnectionStateResponse.connection_state', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=71, - serialized_end=156, -) - - -_SETMAVLINKTIMEOUTREQUEST = _descriptor.Descriptor( - name='SetMavlinkTimeoutRequest', - full_name='mavsdk.rpc.core.SetMavlinkTimeoutRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='timeout_s', full_name='mavsdk.rpc.core.SetMavlinkTimeoutRequest.timeout_s', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=158, - serialized_end=203, -) - - -_SETMAVLINKTIMEOUTRESPONSE = _descriptor.Descriptor( - name='SetMavlinkTimeoutResponse', - full_name='mavsdk.rpc.core.SetMavlinkTimeoutResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=205, - serialized_end=232, -) - - -_CONNECTIONSTATE = _descriptor.Descriptor( - name='ConnectionState', - full_name='mavsdk.rpc.core.ConnectionState', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='is_connected', full_name='mavsdk.rpc.core.ConnectionState.is_connected', index=0, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=234, - serialized_end=273, -) - -_CONNECTIONSTATERESPONSE.fields_by_name['connection_state'].message_type = _CONNECTIONSTATE -DESCRIPTOR.message_types_by_name['SubscribeConnectionStateRequest'] = _SUBSCRIBECONNECTIONSTATEREQUEST -DESCRIPTOR.message_types_by_name['ConnectionStateResponse'] = _CONNECTIONSTATERESPONSE -DESCRIPTOR.message_types_by_name['SetMavlinkTimeoutRequest'] = _SETMAVLINKTIMEOUTREQUEST -DESCRIPTOR.message_types_by_name['SetMavlinkTimeoutResponse'] = _SETMAVLINKTIMEOUTRESPONSE -DESCRIPTOR.message_types_by_name['ConnectionState'] = _CONNECTIONSTATE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_SUBSCRIBECONNECTIONSTATEREQUEST = DESCRIPTOR.message_types_by_name['SubscribeConnectionStateRequest'] +_CONNECTIONSTATERESPONSE = DESCRIPTOR.message_types_by_name['ConnectionStateResponse'] +_SETMAVLINKTIMEOUTREQUEST = DESCRIPTOR.message_types_by_name['SetMavlinkTimeoutRequest'] +_SETMAVLINKTIMEOUTRESPONSE = DESCRIPTOR.message_types_by_name['SetMavlinkTimeoutResponse'] +_CONNECTIONSTATE = DESCRIPTOR.message_types_by_name['ConnectionState'] SubscribeConnectionStateRequest = _reflection.GeneratedProtocolMessageType('SubscribeConnectionStateRequest', (_message.Message,), { 'DESCRIPTOR' : _SUBSCRIBECONNECTIONSTATEREQUEST, '__module__' : 'core.core_pb2' @@ -213,42 +58,21 @@ }) _sym_db.RegisterMessage(ConnectionState) - -DESCRIPTOR._options = None - -_CORESERVICE = _descriptor.ServiceDescriptor( - name='CoreService', - full_name='mavsdk.rpc.core.CoreService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=276, - serialized_end=523, - methods=[ - _descriptor.MethodDescriptor( - name='SubscribeConnectionState', - full_name='mavsdk.rpc.core.CoreService.SubscribeConnectionState', - index=0, - containing_service=None, - input_type=_SUBSCRIBECONNECTIONSTATEREQUEST, - output_type=_CONNECTIONSTATERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetMavlinkTimeout', - full_name='mavsdk.rpc.core.CoreService.SetMavlinkTimeout', - index=1, - containing_service=None, - input_type=_SETMAVLINKTIMEOUTREQUEST, - output_type=_SETMAVLINKTIMEOUTRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_CORESERVICE) - -DESCRIPTOR.services_by_name['CoreService'] = _CORESERVICE - +_CORESERVICE = DESCRIPTOR.services_by_name['CoreService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\016io.mavsdk.coreB\tCoreProto' + _SUBSCRIBECONNECTIONSTATEREQUEST._serialized_start=36 + _SUBSCRIBECONNECTIONSTATEREQUEST._serialized_end=69 + _CONNECTIONSTATERESPONSE._serialized_start=71 + _CONNECTIONSTATERESPONSE._serialized_end=156 + _SETMAVLINKTIMEOUTREQUEST._serialized_start=158 + _SETMAVLINKTIMEOUTREQUEST._serialized_end=203 + _SETMAVLINKTIMEOUTRESPONSE._serialized_start=205 + _SETMAVLINKTIMEOUTRESPONSE._serialized_end=232 + _CONNECTIONSTATE._serialized_start=234 + _CONNECTIONSTATE._serialized_end=273 + _CORESERVICE._serialized_start=276 + _CORESERVICE._serialized_end=523 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/failure_pb2.py b/mavsdk/failure_pb2.py index 4618e68f..a86e020a 100644 --- a/mavsdk/failure_pb2.py +++ b/mavsdk/failure_pb2.py @@ -4,6 +4,7 @@ """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -15,162 +16,11 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='failure/failure.proto', - package='mavsdk.rpc.failure', - syntax='proto3', - serialized_options=b'\n\021io.mavsdk.failureB\014FailureProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x15\x66\x61ilure/failure.proto\x12\x12mavsdk.rpc.failure\x1a\x14mavsdk_options.proto\"\x8f\x01\n\rInjectRequest\x12\x35\n\x0c\x66\x61ilure_unit\x18\x01 \x01(\x0e\x32\x1f.mavsdk.rpc.failure.FailureUnit\x12\x35\n\x0c\x66\x61ilure_type\x18\x02 \x01(\x0e\x32\x1f.mavsdk.rpc.failure.FailureType\x12\x10\n\x08instance\x18\x03 \x01(\x05\"K\n\x0eInjectResponse\x12\x39\n\x0e\x66\x61ilure_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.failure.FailureResult\"\x97\x02\n\rFailureResult\x12\x38\n\x06result\x18\x01 \x01(\x0e\x32(.mavsdk.rpc.failure.FailureResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xb7\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x16\n\x12RESULT_UNSUPPORTED\x10\x04\x12\x11\n\rRESULT_DENIED\x10\x05\x12\x13\n\x0fRESULT_DISABLED\x10\x06\x12\x12\n\x0eRESULT_TIMEOUT\x10\x07*\xfd\x03\n\x0b\x46\x61ilureUnit\x12\x1c\n\x18\x46\x41ILURE_UNIT_SENSOR_GYRO\x10\x00\x12\x1d\n\x19\x46\x41ILURE_UNIT_SENSOR_ACCEL\x10\x01\x12\x1b\n\x17\x46\x41ILURE_UNIT_SENSOR_MAG\x10\x02\x12\x1c\n\x18\x46\x41ILURE_UNIT_SENSOR_BARO\x10\x03\x12\x1b\n\x17\x46\x41ILURE_UNIT_SENSOR_GPS\x10\x04\x12$\n FAILURE_UNIT_SENSOR_OPTICAL_FLOW\x10\x05\x12\x1b\n\x17\x46\x41ILURE_UNIT_SENSOR_VIO\x10\x06\x12\'\n#FAILURE_UNIT_SENSOR_DISTANCE_SENSOR\x10\x07\x12 \n\x1c\x46\x41ILURE_UNIT_SENSOR_AIRSPEED\x10\x08\x12\x1f\n\x1b\x46\x41ILURE_UNIT_SYSTEM_BATTERY\x10\x64\x12\x1d\n\x19\x46\x41ILURE_UNIT_SYSTEM_MOTOR\x10\x65\x12\x1d\n\x19\x46\x41ILURE_UNIT_SYSTEM_SERVO\x10\x66\x12!\n\x1d\x46\x41ILURE_UNIT_SYSTEM_AVOIDANCE\x10g\x12!\n\x1d\x46\x41ILURE_UNIT_SYSTEM_RC_SIGNAL\x10h\x12&\n\"FAILURE_UNIT_SYSTEM_MAVLINK_SIGNAL\x10i*\xd2\x01\n\x0b\x46\x61ilureType\x12\x13\n\x0f\x46\x41ILURE_TYPE_OK\x10\x00\x12\x14\n\x10\x46\x41ILURE_TYPE_OFF\x10\x01\x12\x16\n\x12\x46\x41ILURE_TYPE_STUCK\x10\x02\x12\x18\n\x14\x46\x41ILURE_TYPE_GARBAGE\x10\x03\x12\x16\n\x12\x46\x41ILURE_TYPE_WRONG\x10\x04\x12\x15\n\x11\x46\x41ILURE_TYPE_SLOW\x10\x05\x12\x18\n\x14\x46\x41ILURE_TYPE_DELAYED\x10\x06\x12\x1d\n\x19\x46\x41ILURE_TYPE_INTERMITTENT\x10\x07\x32g\n\x0e\x46\x61ilureService\x12U\n\x06Inject\x12!.mavsdk.rpc.failure.InjectRequest\x1a\".mavsdk.rpc.failure.InjectResponse\"\x04\x80\xb5\x18\x01\x42!\n\x11io.mavsdk.failureB\x0c\x46\x61ilureProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) - -_FAILUREUNIT = _descriptor.EnumDescriptor( - name='FailureUnit', - full_name='mavsdk.rpc.failure.FailureUnit', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='FAILURE_UNIT_SENSOR_GYRO', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_UNIT_SENSOR_ACCEL', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_UNIT_SENSOR_MAG', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_UNIT_SENSOR_BARO', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_UNIT_SENSOR_GPS', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_UNIT_SENSOR_OPTICAL_FLOW', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_UNIT_SENSOR_VIO', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_UNIT_SENSOR_DISTANCE_SENSOR', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_UNIT_SENSOR_AIRSPEED', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_UNIT_SYSTEM_BATTERY', index=9, number=100, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_UNIT_SYSTEM_MOTOR', index=10, number=101, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_UNIT_SYSTEM_SERVO', index=11, number=102, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_UNIT_SYSTEM_AVOIDANCE', index=12, number=103, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_UNIT_SYSTEM_RC_SIGNAL', index=13, number=104, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_UNIT_SYSTEM_MAVLINK_SIGNAL', index=14, number=105, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=573, - serialized_end=1082, -) -_sym_db.RegisterEnumDescriptor(_FAILUREUNIT) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15\x66\x61ilure/failure.proto\x12\x12mavsdk.rpc.failure\x1a\x14mavsdk_options.proto\"\x8f\x01\n\rInjectRequest\x12\x35\n\x0c\x66\x61ilure_unit\x18\x01 \x01(\x0e\x32\x1f.mavsdk.rpc.failure.FailureUnit\x12\x35\n\x0c\x66\x61ilure_type\x18\x02 \x01(\x0e\x32\x1f.mavsdk.rpc.failure.FailureType\x12\x10\n\x08instance\x18\x03 \x01(\x05\"K\n\x0eInjectResponse\x12\x39\n\x0e\x66\x61ilure_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.failure.FailureResult\"\x97\x02\n\rFailureResult\x12\x38\n\x06result\x18\x01 \x01(\x0e\x32(.mavsdk.rpc.failure.FailureResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xb7\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x16\n\x12RESULT_UNSUPPORTED\x10\x04\x12\x11\n\rRESULT_DENIED\x10\x05\x12\x13\n\x0fRESULT_DISABLED\x10\x06\x12\x12\n\x0eRESULT_TIMEOUT\x10\x07*\xfd\x03\n\x0b\x46\x61ilureUnit\x12\x1c\n\x18\x46\x41ILURE_UNIT_SENSOR_GYRO\x10\x00\x12\x1d\n\x19\x46\x41ILURE_UNIT_SENSOR_ACCEL\x10\x01\x12\x1b\n\x17\x46\x41ILURE_UNIT_SENSOR_MAG\x10\x02\x12\x1c\n\x18\x46\x41ILURE_UNIT_SENSOR_BARO\x10\x03\x12\x1b\n\x17\x46\x41ILURE_UNIT_SENSOR_GPS\x10\x04\x12$\n FAILURE_UNIT_SENSOR_OPTICAL_FLOW\x10\x05\x12\x1b\n\x17\x46\x41ILURE_UNIT_SENSOR_VIO\x10\x06\x12\'\n#FAILURE_UNIT_SENSOR_DISTANCE_SENSOR\x10\x07\x12 \n\x1c\x46\x41ILURE_UNIT_SENSOR_AIRSPEED\x10\x08\x12\x1f\n\x1b\x46\x41ILURE_UNIT_SYSTEM_BATTERY\x10\x64\x12\x1d\n\x19\x46\x41ILURE_UNIT_SYSTEM_MOTOR\x10\x65\x12\x1d\n\x19\x46\x41ILURE_UNIT_SYSTEM_SERVO\x10\x66\x12!\n\x1d\x46\x41ILURE_UNIT_SYSTEM_AVOIDANCE\x10g\x12!\n\x1d\x46\x41ILURE_UNIT_SYSTEM_RC_SIGNAL\x10h\x12&\n\"FAILURE_UNIT_SYSTEM_MAVLINK_SIGNAL\x10i*\xd2\x01\n\x0b\x46\x61ilureType\x12\x13\n\x0f\x46\x41ILURE_TYPE_OK\x10\x00\x12\x14\n\x10\x46\x41ILURE_TYPE_OFF\x10\x01\x12\x16\n\x12\x46\x41ILURE_TYPE_STUCK\x10\x02\x12\x18\n\x14\x46\x41ILURE_TYPE_GARBAGE\x10\x03\x12\x16\n\x12\x46\x41ILURE_TYPE_WRONG\x10\x04\x12\x15\n\x11\x46\x41ILURE_TYPE_SLOW\x10\x05\x12\x18\n\x14\x46\x41ILURE_TYPE_DELAYED\x10\x06\x12\x1d\n\x19\x46\x41ILURE_TYPE_INTERMITTENT\x10\x07\x32g\n\x0e\x46\x61ilureService\x12U\n\x06Inject\x12!.mavsdk.rpc.failure.InjectRequest\x1a\".mavsdk.rpc.failure.InjectResponse\"\x04\x80\xb5\x18\x01\x42!\n\x11io.mavsdk.failureB\x0c\x46\x61ilureProtob\x06proto3') +_FAILUREUNIT = DESCRIPTOR.enum_types_by_name['FailureUnit'] FailureUnit = enum_type_wrapper.EnumTypeWrapper(_FAILUREUNIT) -_FAILURETYPE = _descriptor.EnumDescriptor( - name='FailureType', - full_name='mavsdk.rpc.failure.FailureType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='FAILURE_TYPE_OK', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_TYPE_OFF', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_TYPE_STUCK', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_TYPE_GARBAGE', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_TYPE_WRONG', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_TYPE_SLOW', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_TYPE_DELAYED', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_TYPE_INTERMITTENT', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=1085, - serialized_end=1295, -) -_sym_db.RegisterEnumDescriptor(_FAILURETYPE) - +_FAILURETYPE = DESCRIPTOR.enum_types_by_name['FailureType'] FailureType = enum_type_wrapper.EnumTypeWrapper(_FAILURETYPE) FAILURE_UNIT_SENSOR_GYRO = 0 FAILURE_UNIT_SENSOR_ACCEL = 1 @@ -197,191 +47,10 @@ FAILURE_TYPE_INTERMITTENT = 7 -_FAILURERESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.failure.FailureResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_CONNECTION_ERROR', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_UNSUPPORTED', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_DENIED', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_DISABLED', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TIMEOUT', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=387, - serialized_end=570, -) -_sym_db.RegisterEnumDescriptor(_FAILURERESULT_RESULT) - - -_INJECTREQUEST = _descriptor.Descriptor( - name='InjectRequest', - full_name='mavsdk.rpc.failure.InjectRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='failure_unit', full_name='mavsdk.rpc.failure.InjectRequest.failure_unit', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='failure_type', full_name='mavsdk.rpc.failure.InjectRequest.failure_type', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='instance', full_name='mavsdk.rpc.failure.InjectRequest.instance', index=2, - number=3, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=68, - serialized_end=211, -) - - -_INJECTRESPONSE = _descriptor.Descriptor( - name='InjectResponse', - full_name='mavsdk.rpc.failure.InjectResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='failure_result', full_name='mavsdk.rpc.failure.InjectResponse.failure_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=213, - serialized_end=288, -) - - -_FAILURERESULT = _descriptor.Descriptor( - name='FailureResult', - full_name='mavsdk.rpc.failure.FailureResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.failure.FailureResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.failure.FailureResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FAILURERESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=291, - serialized_end=570, -) - -_INJECTREQUEST.fields_by_name['failure_unit'].enum_type = _FAILUREUNIT -_INJECTREQUEST.fields_by_name['failure_type'].enum_type = _FAILURETYPE -_INJECTRESPONSE.fields_by_name['failure_result'].message_type = _FAILURERESULT -_FAILURERESULT.fields_by_name['result'].enum_type = _FAILURERESULT_RESULT -_FAILURERESULT_RESULT.containing_type = _FAILURERESULT -DESCRIPTOR.message_types_by_name['InjectRequest'] = _INJECTREQUEST -DESCRIPTOR.message_types_by_name['InjectResponse'] = _INJECTRESPONSE -DESCRIPTOR.message_types_by_name['FailureResult'] = _FAILURERESULT -DESCRIPTOR.enum_types_by_name['FailureUnit'] = _FAILUREUNIT -DESCRIPTOR.enum_types_by_name['FailureType'] = _FAILURETYPE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_INJECTREQUEST = DESCRIPTOR.message_types_by_name['InjectRequest'] +_INJECTRESPONSE = DESCRIPTOR.message_types_by_name['InjectResponse'] +_FAILURERESULT = DESCRIPTOR.message_types_by_name['FailureResult'] +_FAILURERESULT_RESULT = _FAILURERESULT.enum_types_by_name['Result'] InjectRequest = _reflection.GeneratedProtocolMessageType('InjectRequest', (_message.Message,), { 'DESCRIPTOR' : _INJECTREQUEST, '__module__' : 'failure.failure_pb2' @@ -403,32 +72,25 @@ }) _sym_db.RegisterMessage(FailureResult) - -DESCRIPTOR._options = None - -_FAILURESERVICE = _descriptor.ServiceDescriptor( - name='FailureService', - full_name='mavsdk.rpc.failure.FailureService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=1297, - serialized_end=1400, - methods=[ - _descriptor.MethodDescriptor( - name='Inject', - full_name='mavsdk.rpc.failure.FailureService.Inject', - index=0, - containing_service=None, - input_type=_INJECTREQUEST, - output_type=_INJECTRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_FAILURESERVICE) - -DESCRIPTOR.services_by_name['FailureService'] = _FAILURESERVICE - +_FAILURESERVICE = DESCRIPTOR.services_by_name['FailureService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\021io.mavsdk.failureB\014FailureProto' + _FAILURESERVICE.methods_by_name['Inject']._options = None + _FAILURESERVICE.methods_by_name['Inject']._serialized_options = b'\200\265\030\001' + _FAILUREUNIT._serialized_start=573 + _FAILUREUNIT._serialized_end=1082 + _FAILURETYPE._serialized_start=1085 + _FAILURETYPE._serialized_end=1295 + _INJECTREQUEST._serialized_start=68 + _INJECTREQUEST._serialized_end=211 + _INJECTRESPONSE._serialized_start=213 + _INJECTRESPONSE._serialized_end=288 + _FAILURERESULT._serialized_start=291 + _FAILURERESULT._serialized_end=570 + _FAILURERESULT_RESULT._serialized_start=387 + _FAILURERESULT_RESULT._serialized_end=570 + _FAILURESERVICE._serialized_start=1297 + _FAILURESERVICE._serialized_end=1400 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/follow_me_pb2.py b/mavsdk/follow_me_pb2.py index 62af70d2..dba484b3 100644 --- a/mavsdk/follow_me_pb2.py +++ b/mavsdk/follow_me_pb2.py @@ -3,6 +3,7 @@ # source: follow_me/follow_me.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -14,723 +15,29 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='follow_me/follow_me.proto', - package='mavsdk.rpc.follow_me', - syntax='proto3', - serialized_options=b'\n\023io.mavsdk.follow_meB\rFollowMeProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x19\x66ollow_me/follow_me.proto\x12\x14mavsdk.rpc.follow_me\x1a\x14mavsdk_options.proto\"\xdf\x02\n\x06\x43onfig\x12\x1d\n\x0cmin_height_m\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03\x38.0\x12\"\n\x11\x66ollow_distance_m\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03\x38.0\x12\x46\n\x10\x66ollow_direction\x18\x03 \x01(\x0e\x32,.mavsdk.rpc.follow_me.Config.FollowDirection\x12\x1f\n\x0eresponsiveness\x18\x04 \x01(\x02\x42\x07\x82\xb5\x18\x03\x30.5\"\xa8\x01\n\x0f\x46ollowDirection\x12\x19\n\x15\x46OLLOW_DIRECTION_NONE\x10\x00\x12\x1b\n\x17\x46OLLOW_DIRECTION_BEHIND\x10\x01\x12\x1a\n\x16\x46OLLOW_DIRECTION_FRONT\x10\x02\x12 \n\x1c\x46OLLOW_DIRECTION_FRONT_RIGHT\x10\x03\x12\x1f\n\x1b\x46OLLOW_DIRECTION_FRONT_LEFT\x10\x04\"\xd8\x01\n\x0eTargetLocation\x12\x1d\n\x0clatitude_deg\x18\x01 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12\x1e\n\rlongitude_deg\x18\x02 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13\x61\x62solute_altitude_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1f\n\x0evelocity_x_m_s\x18\x04 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1f\n\x0evelocity_y_m_s\x18\x05 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1f\n\x0evelocity_z_m_s\x18\x06 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"\x12\n\x10GetConfigRequest\"A\n\x11GetConfigResponse\x12,\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1c.mavsdk.rpc.follow_me.Config\"@\n\x10SetConfigRequest\x12,\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1c.mavsdk.rpc.follow_me.Config\"S\n\x11SetConfigResponse\x12>\n\x10\x66ollow_me_result\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.follow_me.FollowMeResult\"\x11\n\x0fIsActiveRequest\"%\n\x10IsActiveResponse\x12\x11\n\tis_active\x18\x01 \x01(\x08\"R\n\x18SetTargetLocationRequest\x12\x36\n\x08location\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.follow_me.TargetLocation\"[\n\x19SetTargetLocationResponse\x12>\n\x10\x66ollow_me_result\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.follow_me.FollowMeResult\"\x18\n\x16GetLastLocationRequest\"Q\n\x17GetLastLocationResponse\x12\x36\n\x08location\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.follow_me.TargetLocation\"\x0e\n\x0cStartRequest\"O\n\rStartResponse\x12>\n\x10\x66ollow_me_result\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.follow_me.FollowMeResult\"\r\n\x0bStopRequest\"N\n\x0cStopResponse\x12>\n\x10\x66ollow_me_result\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.follow_me.FollowMeResult\"\xbc\x02\n\x0e\x46ollowMeResult\x12;\n\x06result\x18\x01 \x01(\x0e\x32+.mavsdk.rpc.follow_me.FollowMeResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xd8\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x19\n\x15RESULT_COMMAND_DENIED\x10\x05\x12\x12\n\x0eRESULT_TIMEOUT\x10\x06\x12\x15\n\x11RESULT_NOT_ACTIVE\x10\x07\x12\x1c\n\x18RESULT_SET_CONFIG_FAILED\x10\x08\x32\xd9\x05\n\x0f\x46ollowMeService\x12\x62\n\tGetConfig\x12&.mavsdk.rpc.follow_me.GetConfigRequest\x1a\'.mavsdk.rpc.follow_me.GetConfigResponse\"\x04\x80\xb5\x18\x01\x12\x62\n\tSetConfig\x12&.mavsdk.rpc.follow_me.SetConfigRequest\x1a\'.mavsdk.rpc.follow_me.SetConfigResponse\"\x04\x80\xb5\x18\x01\x12_\n\x08IsActive\x12%.mavsdk.rpc.follow_me.IsActiveRequest\x1a&.mavsdk.rpc.follow_me.IsActiveResponse\"\x04\x80\xb5\x18\x01\x12z\n\x11SetTargetLocation\x12..mavsdk.rpc.follow_me.SetTargetLocationRequest\x1a/.mavsdk.rpc.follow_me.SetTargetLocationResponse\"\x04\x80\xb5\x18\x01\x12t\n\x0fGetLastLocation\x12,.mavsdk.rpc.follow_me.GetLastLocationRequest\x1a-.mavsdk.rpc.follow_me.GetLastLocationResponse\"\x04\x80\xb5\x18\x01\x12V\n\x05Start\x12\".mavsdk.rpc.follow_me.StartRequest\x1a#.mavsdk.rpc.follow_me.StartResponse\"\x04\x80\xb5\x18\x01\x12S\n\x04Stop\x12!.mavsdk.rpc.follow_me.StopRequest\x1a\".mavsdk.rpc.follow_me.StopResponse\"\x04\x80\xb5\x18\x01\x42$\n\x13io.mavsdk.follow_meB\rFollowMeProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) - - - -_CONFIG_FOLLOWDIRECTION = _descriptor.EnumDescriptor( - name='FollowDirection', - full_name='mavsdk.rpc.follow_me.Config.FollowDirection', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='FOLLOW_DIRECTION_NONE', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FOLLOW_DIRECTION_BEHIND', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FOLLOW_DIRECTION_FRONT', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FOLLOW_DIRECTION_FRONT_RIGHT', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FOLLOW_DIRECTION_FRONT_LEFT', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=257, - serialized_end=425, -) -_sym_db.RegisterEnumDescriptor(_CONFIG_FOLLOWDIRECTION) - -_FOLLOWMERESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.follow_me.FollowMeResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_CONNECTION_ERROR', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_BUSY', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_COMMAND_DENIED', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TIMEOUT', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NOT_ACTIVE', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SET_CONFIG_FAILED', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=1521, - serialized_end=1737, -) -_sym_db.RegisterEnumDescriptor(_FOLLOWMERESULT_RESULT) - - -_CONFIG = _descriptor.Descriptor( - name='Config', - full_name='mavsdk.rpc.follow_me.Config', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='min_height_m', full_name='mavsdk.rpc.follow_me.Config.min_height_m', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\0038.0', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='follow_distance_m', full_name='mavsdk.rpc.follow_me.Config.follow_distance_m', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\0038.0', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='follow_direction', full_name='mavsdk.rpc.follow_me.Config.follow_direction', index=2, - number=3, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='responsiveness', full_name='mavsdk.rpc.follow_me.Config.responsiveness', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\0030.5', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CONFIG_FOLLOWDIRECTION, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=74, - serialized_end=425, -) - - -_TARGETLOCATION = _descriptor.Descriptor( - name='TargetLocation', - full_name='mavsdk.rpc.follow_me.TargetLocation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='latitude_deg', full_name='mavsdk.rpc.follow_me.TargetLocation.latitude_deg', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='longitude_deg', full_name='mavsdk.rpc.follow_me.TargetLocation.longitude_deg', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='absolute_altitude_m', full_name='mavsdk.rpc.follow_me.TargetLocation.absolute_altitude_m', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='velocity_x_m_s', full_name='mavsdk.rpc.follow_me.TargetLocation.velocity_x_m_s', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='velocity_y_m_s', full_name='mavsdk.rpc.follow_me.TargetLocation.velocity_y_m_s', index=4, - number=5, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='velocity_z_m_s', full_name='mavsdk.rpc.follow_me.TargetLocation.velocity_z_m_s', index=5, - number=6, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=428, - serialized_end=644, -) - - -_GETCONFIGREQUEST = _descriptor.Descriptor( - name='GetConfigRequest', - full_name='mavsdk.rpc.follow_me.GetConfigRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=646, - serialized_end=664, -) - - -_GETCONFIGRESPONSE = _descriptor.Descriptor( - name='GetConfigResponse', - full_name='mavsdk.rpc.follow_me.GetConfigResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='config', full_name='mavsdk.rpc.follow_me.GetConfigResponse.config', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=666, - serialized_end=731, -) - - -_SETCONFIGREQUEST = _descriptor.Descriptor( - name='SetConfigRequest', - full_name='mavsdk.rpc.follow_me.SetConfigRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='config', full_name='mavsdk.rpc.follow_me.SetConfigRequest.config', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=733, - serialized_end=797, -) - - -_SETCONFIGRESPONSE = _descriptor.Descriptor( - name='SetConfigResponse', - full_name='mavsdk.rpc.follow_me.SetConfigResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='follow_me_result', full_name='mavsdk.rpc.follow_me.SetConfigResponse.follow_me_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=799, - serialized_end=882, -) - - -_ISACTIVEREQUEST = _descriptor.Descriptor( - name='IsActiveRequest', - full_name='mavsdk.rpc.follow_me.IsActiveRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=884, - serialized_end=901, -) - - -_ISACTIVERESPONSE = _descriptor.Descriptor( - name='IsActiveResponse', - full_name='mavsdk.rpc.follow_me.IsActiveResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='is_active', full_name='mavsdk.rpc.follow_me.IsActiveResponse.is_active', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=903, - serialized_end=940, -) - - -_SETTARGETLOCATIONREQUEST = _descriptor.Descriptor( - name='SetTargetLocationRequest', - full_name='mavsdk.rpc.follow_me.SetTargetLocationRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='location', full_name='mavsdk.rpc.follow_me.SetTargetLocationRequest.location', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=942, - serialized_end=1024, -) - - -_SETTARGETLOCATIONRESPONSE = _descriptor.Descriptor( - name='SetTargetLocationResponse', - full_name='mavsdk.rpc.follow_me.SetTargetLocationResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='follow_me_result', full_name='mavsdk.rpc.follow_me.SetTargetLocationResponse.follow_me_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1026, - serialized_end=1117, -) - - -_GETLASTLOCATIONREQUEST = _descriptor.Descriptor( - name='GetLastLocationRequest', - full_name='mavsdk.rpc.follow_me.GetLastLocationRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1119, - serialized_end=1143, -) - - -_GETLASTLOCATIONRESPONSE = _descriptor.Descriptor( - name='GetLastLocationResponse', - full_name='mavsdk.rpc.follow_me.GetLastLocationResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='location', full_name='mavsdk.rpc.follow_me.GetLastLocationResponse.location', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1145, - serialized_end=1226, -) - - -_STARTREQUEST = _descriptor.Descriptor( - name='StartRequest', - full_name='mavsdk.rpc.follow_me.StartRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1228, - serialized_end=1242, -) - - -_STARTRESPONSE = _descriptor.Descriptor( - name='StartResponse', - full_name='mavsdk.rpc.follow_me.StartResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='follow_me_result', full_name='mavsdk.rpc.follow_me.StartResponse.follow_me_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1244, - serialized_end=1323, -) - - -_STOPREQUEST = _descriptor.Descriptor( - name='StopRequest', - full_name='mavsdk.rpc.follow_me.StopRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1325, - serialized_end=1338, -) - - -_STOPRESPONSE = _descriptor.Descriptor( - name='StopResponse', - full_name='mavsdk.rpc.follow_me.StopResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='follow_me_result', full_name='mavsdk.rpc.follow_me.StopResponse.follow_me_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1340, - serialized_end=1418, -) - - -_FOLLOWMERESULT = _descriptor.Descriptor( - name='FollowMeResult', - full_name='mavsdk.rpc.follow_me.FollowMeResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.follow_me.FollowMeResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.follow_me.FollowMeResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FOLLOWMERESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1421, - serialized_end=1737, -) - -_CONFIG.fields_by_name['follow_direction'].enum_type = _CONFIG_FOLLOWDIRECTION -_CONFIG_FOLLOWDIRECTION.containing_type = _CONFIG -_GETCONFIGRESPONSE.fields_by_name['config'].message_type = _CONFIG -_SETCONFIGREQUEST.fields_by_name['config'].message_type = _CONFIG -_SETCONFIGRESPONSE.fields_by_name['follow_me_result'].message_type = _FOLLOWMERESULT -_SETTARGETLOCATIONREQUEST.fields_by_name['location'].message_type = _TARGETLOCATION -_SETTARGETLOCATIONRESPONSE.fields_by_name['follow_me_result'].message_type = _FOLLOWMERESULT -_GETLASTLOCATIONRESPONSE.fields_by_name['location'].message_type = _TARGETLOCATION -_STARTRESPONSE.fields_by_name['follow_me_result'].message_type = _FOLLOWMERESULT -_STOPRESPONSE.fields_by_name['follow_me_result'].message_type = _FOLLOWMERESULT -_FOLLOWMERESULT.fields_by_name['result'].enum_type = _FOLLOWMERESULT_RESULT -_FOLLOWMERESULT_RESULT.containing_type = _FOLLOWMERESULT -DESCRIPTOR.message_types_by_name['Config'] = _CONFIG -DESCRIPTOR.message_types_by_name['TargetLocation'] = _TARGETLOCATION -DESCRIPTOR.message_types_by_name['GetConfigRequest'] = _GETCONFIGREQUEST -DESCRIPTOR.message_types_by_name['GetConfigResponse'] = _GETCONFIGRESPONSE -DESCRIPTOR.message_types_by_name['SetConfigRequest'] = _SETCONFIGREQUEST -DESCRIPTOR.message_types_by_name['SetConfigResponse'] = _SETCONFIGRESPONSE -DESCRIPTOR.message_types_by_name['IsActiveRequest'] = _ISACTIVEREQUEST -DESCRIPTOR.message_types_by_name['IsActiveResponse'] = _ISACTIVERESPONSE -DESCRIPTOR.message_types_by_name['SetTargetLocationRequest'] = _SETTARGETLOCATIONREQUEST -DESCRIPTOR.message_types_by_name['SetTargetLocationResponse'] = _SETTARGETLOCATIONRESPONSE -DESCRIPTOR.message_types_by_name['GetLastLocationRequest'] = _GETLASTLOCATIONREQUEST -DESCRIPTOR.message_types_by_name['GetLastLocationResponse'] = _GETLASTLOCATIONRESPONSE -DESCRIPTOR.message_types_by_name['StartRequest'] = _STARTREQUEST -DESCRIPTOR.message_types_by_name['StartResponse'] = _STARTRESPONSE -DESCRIPTOR.message_types_by_name['StopRequest'] = _STOPREQUEST -DESCRIPTOR.message_types_by_name['StopResponse'] = _STOPRESPONSE -DESCRIPTOR.message_types_by_name['FollowMeResult'] = _FOLLOWMERESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x66ollow_me/follow_me.proto\x12\x14mavsdk.rpc.follow_me\x1a\x14mavsdk_options.proto\"\xdf\x02\n\x06\x43onfig\x12\x1d\n\x0cmin_height_m\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03\x38.0\x12\"\n\x11\x66ollow_distance_m\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03\x38.0\x12\x46\n\x10\x66ollow_direction\x18\x03 \x01(\x0e\x32,.mavsdk.rpc.follow_me.Config.FollowDirection\x12\x1f\n\x0eresponsiveness\x18\x04 \x01(\x02\x42\x07\x82\xb5\x18\x03\x30.5\"\xa8\x01\n\x0f\x46ollowDirection\x12\x19\n\x15\x46OLLOW_DIRECTION_NONE\x10\x00\x12\x1b\n\x17\x46OLLOW_DIRECTION_BEHIND\x10\x01\x12\x1a\n\x16\x46OLLOW_DIRECTION_FRONT\x10\x02\x12 \n\x1c\x46OLLOW_DIRECTION_FRONT_RIGHT\x10\x03\x12\x1f\n\x1b\x46OLLOW_DIRECTION_FRONT_LEFT\x10\x04\"\xd8\x01\n\x0eTargetLocation\x12\x1d\n\x0clatitude_deg\x18\x01 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12\x1e\n\rlongitude_deg\x18\x02 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13\x61\x62solute_altitude_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1f\n\x0evelocity_x_m_s\x18\x04 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1f\n\x0evelocity_y_m_s\x18\x05 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1f\n\x0evelocity_z_m_s\x18\x06 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"\x12\n\x10GetConfigRequest\"A\n\x11GetConfigResponse\x12,\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1c.mavsdk.rpc.follow_me.Config\"@\n\x10SetConfigRequest\x12,\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1c.mavsdk.rpc.follow_me.Config\"S\n\x11SetConfigResponse\x12>\n\x10\x66ollow_me_result\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.follow_me.FollowMeResult\"\x11\n\x0fIsActiveRequest\"%\n\x10IsActiveResponse\x12\x11\n\tis_active\x18\x01 \x01(\x08\"R\n\x18SetTargetLocationRequest\x12\x36\n\x08location\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.follow_me.TargetLocation\"[\n\x19SetTargetLocationResponse\x12>\n\x10\x66ollow_me_result\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.follow_me.FollowMeResult\"\x18\n\x16GetLastLocationRequest\"Q\n\x17GetLastLocationResponse\x12\x36\n\x08location\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.follow_me.TargetLocation\"\x0e\n\x0cStartRequest\"O\n\rStartResponse\x12>\n\x10\x66ollow_me_result\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.follow_me.FollowMeResult\"\r\n\x0bStopRequest\"N\n\x0cStopResponse\x12>\n\x10\x66ollow_me_result\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.follow_me.FollowMeResult\"\xbc\x02\n\x0e\x46ollowMeResult\x12;\n\x06result\x18\x01 \x01(\x0e\x32+.mavsdk.rpc.follow_me.FollowMeResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xd8\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x19\n\x15RESULT_COMMAND_DENIED\x10\x05\x12\x12\n\x0eRESULT_TIMEOUT\x10\x06\x12\x15\n\x11RESULT_NOT_ACTIVE\x10\x07\x12\x1c\n\x18RESULT_SET_CONFIG_FAILED\x10\x08\x32\xd9\x05\n\x0f\x46ollowMeService\x12\x62\n\tGetConfig\x12&.mavsdk.rpc.follow_me.GetConfigRequest\x1a\'.mavsdk.rpc.follow_me.GetConfigResponse\"\x04\x80\xb5\x18\x01\x12\x62\n\tSetConfig\x12&.mavsdk.rpc.follow_me.SetConfigRequest\x1a\'.mavsdk.rpc.follow_me.SetConfigResponse\"\x04\x80\xb5\x18\x01\x12_\n\x08IsActive\x12%.mavsdk.rpc.follow_me.IsActiveRequest\x1a&.mavsdk.rpc.follow_me.IsActiveResponse\"\x04\x80\xb5\x18\x01\x12z\n\x11SetTargetLocation\x12..mavsdk.rpc.follow_me.SetTargetLocationRequest\x1a/.mavsdk.rpc.follow_me.SetTargetLocationResponse\"\x04\x80\xb5\x18\x01\x12t\n\x0fGetLastLocation\x12,.mavsdk.rpc.follow_me.GetLastLocationRequest\x1a-.mavsdk.rpc.follow_me.GetLastLocationResponse\"\x04\x80\xb5\x18\x01\x12V\n\x05Start\x12\".mavsdk.rpc.follow_me.StartRequest\x1a#.mavsdk.rpc.follow_me.StartResponse\"\x04\x80\xb5\x18\x01\x12S\n\x04Stop\x12!.mavsdk.rpc.follow_me.StopRequest\x1a\".mavsdk.rpc.follow_me.StopResponse\"\x04\x80\xb5\x18\x01\x42$\n\x13io.mavsdk.follow_meB\rFollowMeProtob\x06proto3') + + + +_CONFIG = DESCRIPTOR.message_types_by_name['Config'] +_TARGETLOCATION = DESCRIPTOR.message_types_by_name['TargetLocation'] +_GETCONFIGREQUEST = DESCRIPTOR.message_types_by_name['GetConfigRequest'] +_GETCONFIGRESPONSE = DESCRIPTOR.message_types_by_name['GetConfigResponse'] +_SETCONFIGREQUEST = DESCRIPTOR.message_types_by_name['SetConfigRequest'] +_SETCONFIGRESPONSE = DESCRIPTOR.message_types_by_name['SetConfigResponse'] +_ISACTIVEREQUEST = DESCRIPTOR.message_types_by_name['IsActiveRequest'] +_ISACTIVERESPONSE = DESCRIPTOR.message_types_by_name['IsActiveResponse'] +_SETTARGETLOCATIONREQUEST = DESCRIPTOR.message_types_by_name['SetTargetLocationRequest'] +_SETTARGETLOCATIONRESPONSE = DESCRIPTOR.message_types_by_name['SetTargetLocationResponse'] +_GETLASTLOCATIONREQUEST = DESCRIPTOR.message_types_by_name['GetLastLocationRequest'] +_GETLASTLOCATIONRESPONSE = DESCRIPTOR.message_types_by_name['GetLastLocationResponse'] +_STARTREQUEST = DESCRIPTOR.message_types_by_name['StartRequest'] +_STARTRESPONSE = DESCRIPTOR.message_types_by_name['StartResponse'] +_STOPREQUEST = DESCRIPTOR.message_types_by_name['StopRequest'] +_STOPRESPONSE = DESCRIPTOR.message_types_by_name['StopResponse'] +_FOLLOWMERESULT = DESCRIPTOR.message_types_by_name['FollowMeResult'] +_CONFIG_FOLLOWDIRECTION = _CONFIG.enum_types_by_name['FollowDirection'] +_FOLLOWMERESULT_RESULT = _FOLLOWMERESULT.enum_types_by_name['Result'] Config = _reflection.GeneratedProtocolMessageType('Config', (_message.Message,), { 'DESCRIPTOR' : _CONFIG, '__module__' : 'follow_me.follow_me_pb2' @@ -850,101 +157,81 @@ }) _sym_db.RegisterMessage(FollowMeResult) - -DESCRIPTOR._options = None -_CONFIG.fields_by_name['min_height_m']._options = None -_CONFIG.fields_by_name['follow_distance_m']._options = None -_CONFIG.fields_by_name['responsiveness']._options = None -_TARGETLOCATION.fields_by_name['latitude_deg']._options = None -_TARGETLOCATION.fields_by_name['longitude_deg']._options = None -_TARGETLOCATION.fields_by_name['absolute_altitude_m']._options = None -_TARGETLOCATION.fields_by_name['velocity_x_m_s']._options = None -_TARGETLOCATION.fields_by_name['velocity_y_m_s']._options = None -_TARGETLOCATION.fields_by_name['velocity_z_m_s']._options = None - -_FOLLOWMESERVICE = _descriptor.ServiceDescriptor( - name='FollowMeService', - full_name='mavsdk.rpc.follow_me.FollowMeService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=1740, - serialized_end=2469, - methods=[ - _descriptor.MethodDescriptor( - name='GetConfig', - full_name='mavsdk.rpc.follow_me.FollowMeService.GetConfig', - index=0, - containing_service=None, - input_type=_GETCONFIGREQUEST, - output_type=_GETCONFIGRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetConfig', - full_name='mavsdk.rpc.follow_me.FollowMeService.SetConfig', - index=1, - containing_service=None, - input_type=_SETCONFIGREQUEST, - output_type=_SETCONFIGRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='IsActive', - full_name='mavsdk.rpc.follow_me.FollowMeService.IsActive', - index=2, - containing_service=None, - input_type=_ISACTIVEREQUEST, - output_type=_ISACTIVERESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetTargetLocation', - full_name='mavsdk.rpc.follow_me.FollowMeService.SetTargetLocation', - index=3, - containing_service=None, - input_type=_SETTARGETLOCATIONREQUEST, - output_type=_SETTARGETLOCATIONRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetLastLocation', - full_name='mavsdk.rpc.follow_me.FollowMeService.GetLastLocation', - index=4, - containing_service=None, - input_type=_GETLASTLOCATIONREQUEST, - output_type=_GETLASTLOCATIONRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Start', - full_name='mavsdk.rpc.follow_me.FollowMeService.Start', - index=5, - containing_service=None, - input_type=_STARTREQUEST, - output_type=_STARTRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Stop', - full_name='mavsdk.rpc.follow_me.FollowMeService.Stop', - index=6, - containing_service=None, - input_type=_STOPREQUEST, - output_type=_STOPRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_FOLLOWMESERVICE) - -DESCRIPTOR.services_by_name['FollowMeService'] = _FOLLOWMESERVICE - +_FOLLOWMESERVICE = DESCRIPTOR.services_by_name['FollowMeService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\023io.mavsdk.follow_meB\rFollowMeProto' + _CONFIG.fields_by_name['min_height_m']._options = None + _CONFIG.fields_by_name['min_height_m']._serialized_options = b'\202\265\030\0038.0' + _CONFIG.fields_by_name['follow_distance_m']._options = None + _CONFIG.fields_by_name['follow_distance_m']._serialized_options = b'\202\265\030\0038.0' + _CONFIG.fields_by_name['responsiveness']._options = None + _CONFIG.fields_by_name['responsiveness']._serialized_options = b'\202\265\030\0030.5' + _TARGETLOCATION.fields_by_name['latitude_deg']._options = None + _TARGETLOCATION.fields_by_name['latitude_deg']._serialized_options = b'\202\265\030\003NaN' + _TARGETLOCATION.fields_by_name['longitude_deg']._options = None + _TARGETLOCATION.fields_by_name['longitude_deg']._serialized_options = b'\202\265\030\003NaN' + _TARGETLOCATION.fields_by_name['absolute_altitude_m']._options = None + _TARGETLOCATION.fields_by_name['absolute_altitude_m']._serialized_options = b'\202\265\030\003NaN' + _TARGETLOCATION.fields_by_name['velocity_x_m_s']._options = None + _TARGETLOCATION.fields_by_name['velocity_x_m_s']._serialized_options = b'\202\265\030\003NaN' + _TARGETLOCATION.fields_by_name['velocity_y_m_s']._options = None + _TARGETLOCATION.fields_by_name['velocity_y_m_s']._serialized_options = b'\202\265\030\003NaN' + _TARGETLOCATION.fields_by_name['velocity_z_m_s']._options = None + _TARGETLOCATION.fields_by_name['velocity_z_m_s']._serialized_options = b'\202\265\030\003NaN' + _FOLLOWMESERVICE.methods_by_name['GetConfig']._options = None + _FOLLOWMESERVICE.methods_by_name['GetConfig']._serialized_options = b'\200\265\030\001' + _FOLLOWMESERVICE.methods_by_name['SetConfig']._options = None + _FOLLOWMESERVICE.methods_by_name['SetConfig']._serialized_options = b'\200\265\030\001' + _FOLLOWMESERVICE.methods_by_name['IsActive']._options = None + _FOLLOWMESERVICE.methods_by_name['IsActive']._serialized_options = b'\200\265\030\001' + _FOLLOWMESERVICE.methods_by_name['SetTargetLocation']._options = None + _FOLLOWMESERVICE.methods_by_name['SetTargetLocation']._serialized_options = b'\200\265\030\001' + _FOLLOWMESERVICE.methods_by_name['GetLastLocation']._options = None + _FOLLOWMESERVICE.methods_by_name['GetLastLocation']._serialized_options = b'\200\265\030\001' + _FOLLOWMESERVICE.methods_by_name['Start']._options = None + _FOLLOWMESERVICE.methods_by_name['Start']._serialized_options = b'\200\265\030\001' + _FOLLOWMESERVICE.methods_by_name['Stop']._options = None + _FOLLOWMESERVICE.methods_by_name['Stop']._serialized_options = b'\200\265\030\001' + _CONFIG._serialized_start=74 + _CONFIG._serialized_end=425 + _CONFIG_FOLLOWDIRECTION._serialized_start=257 + _CONFIG_FOLLOWDIRECTION._serialized_end=425 + _TARGETLOCATION._serialized_start=428 + _TARGETLOCATION._serialized_end=644 + _GETCONFIGREQUEST._serialized_start=646 + _GETCONFIGREQUEST._serialized_end=664 + _GETCONFIGRESPONSE._serialized_start=666 + _GETCONFIGRESPONSE._serialized_end=731 + _SETCONFIGREQUEST._serialized_start=733 + _SETCONFIGREQUEST._serialized_end=797 + _SETCONFIGRESPONSE._serialized_start=799 + _SETCONFIGRESPONSE._serialized_end=882 + _ISACTIVEREQUEST._serialized_start=884 + _ISACTIVEREQUEST._serialized_end=901 + _ISACTIVERESPONSE._serialized_start=903 + _ISACTIVERESPONSE._serialized_end=940 + _SETTARGETLOCATIONREQUEST._serialized_start=942 + _SETTARGETLOCATIONREQUEST._serialized_end=1024 + _SETTARGETLOCATIONRESPONSE._serialized_start=1026 + _SETTARGETLOCATIONRESPONSE._serialized_end=1117 + _GETLASTLOCATIONREQUEST._serialized_start=1119 + _GETLASTLOCATIONREQUEST._serialized_end=1143 + _GETLASTLOCATIONRESPONSE._serialized_start=1145 + _GETLASTLOCATIONRESPONSE._serialized_end=1226 + _STARTREQUEST._serialized_start=1228 + _STARTREQUEST._serialized_end=1242 + _STARTRESPONSE._serialized_start=1244 + _STARTRESPONSE._serialized_end=1323 + _STOPREQUEST._serialized_start=1325 + _STOPREQUEST._serialized_end=1338 + _STOPRESPONSE._serialized_start=1340 + _STOPRESPONSE._serialized_end=1418 + _FOLLOWMERESULT._serialized_start=1421 + _FOLLOWMERESULT._serialized_end=1737 + _FOLLOWMERESULT_RESULT._serialized_start=1521 + _FOLLOWMERESULT_RESULT._serialized_end=1737 + _FOLLOWMESERVICE._serialized_start=1740 + _FOLLOWMESERVICE._serialized_end=2469 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/ftp_pb2.py b/mavsdk/ftp_pb2.py index 12ce85bc..4d0e872f 100644 --- a/mavsdk/ftp_pb2.py +++ b/mavsdk/ftp_pb2.py @@ -3,6 +3,7 @@ # source: ftp/ftp.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -14,1030 +15,37 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='ftp/ftp.proto', - package='mavsdk.rpc.ftp', - syntax='proto3', - serialized_options=b'\n\rio.mavsdk.ftpB\010FtpProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\rftp/ftp.proto\x12\x0emavsdk.rpc.ftp\x1a\x14mavsdk_options.proto\"\x0e\n\x0cResetRequest\">\n\rResetResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\"G\n\x18SubscribeDownloadRequest\x12\x18\n\x10remote_file_path\x18\x01 \x01(\t\x12\x11\n\tlocal_dir\x18\x02 \x01(\t\"v\n\x10\x44ownloadResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\x12\x33\n\rprogress_data\x18\x02 \x01(\x0b\x32\x1c.mavsdk.rpc.ftp.ProgressData\"E\n\x16SubscribeUploadRequest\x12\x17\n\x0flocal_file_path\x18\x01 \x01(\t\x12\x12\n\nremote_dir\x18\x02 \x01(\t\"t\n\x0eUploadResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\x12\x33\n\rprogress_data\x18\x02 \x01(\x0b\x32\x1c.mavsdk.rpc.ftp.ProgressData\"*\n\x14ListDirectoryRequest\x12\x12\n\nremote_dir\x18\x01 \x01(\t\"U\n\x15ListDirectoryResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\x12\r\n\x05paths\x18\x02 \x03(\t\",\n\x16\x43reateDirectoryRequest\x12\x12\n\nremote_dir\x18\x01 \x01(\t\"H\n\x17\x43reateDirectoryResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\",\n\x16RemoveDirectoryRequest\x12\x12\n\nremote_dir\x18\x01 \x01(\t\"H\n\x17RemoveDirectoryResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\"-\n\x11RemoveFileRequest\x12\x18\n\x10remote_file_path\x18\x01 \x01(\t\"C\n\x12RemoveFileResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\"A\n\rRenameRequest\x12\x18\n\x10remote_from_path\x18\x01 \x01(\t\x12\x16\n\x0eremote_to_path\x18\x02 \x01(\t\"?\n\x0eRenameResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\"M\n\x18\x41reFilesIdenticalRequest\x12\x17\n\x0flocal_file_path\x18\x01 \x01(\t\x12\x18\n\x10remote_file_path\x18\x02 \x01(\t\"a\n\x19\x41reFilesIdenticalResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\x12\x15\n\rare_identical\x18\x02 \x01(\x08\"+\n\x17SetRootDirectoryRequest\x12\x10\n\x08root_dir\x18\x01 \x01(\t\"I\n\x18SetRootDirectoryResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\"(\n\x16SetTargetCompidRequest\x12\x0e\n\x06\x63ompid\x18\x01 \x01(\r\"H\n\x17SetTargetCompidResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\"\x15\n\x13GetOurCompidRequest\"&\n\x14GetOurCompidResponse\x12\x0e\n\x06\x63ompid\x18\x01 \x01(\r\">\n\x0cProgressData\x12\x19\n\x11\x62ytes_transferred\x18\x01 \x01(\r\x12\x13\n\x0btotal_bytes\x18\x02 \x01(\r\"\x8e\x03\n\tFtpResult\x12\x30\n\x06result\x18\x01 \x01(\x0e\x32 .mavsdk.rpc.ftp.FtpResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xba\x02\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x0f\n\x0bRESULT_NEXT\x10\x02\x12\x12\n\x0eRESULT_TIMEOUT\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x18\n\x14RESULT_FILE_IO_ERROR\x10\x05\x12\x16\n\x12RESULT_FILE_EXISTS\x10\x06\x12\x1e\n\x1aRESULT_FILE_DOES_NOT_EXIST\x10\x07\x12\x19\n\x15RESULT_FILE_PROTECTED\x10\x08\x12\x1c\n\x18RESULT_INVALID_PARAMETER\x10\t\x12\x16\n\x12RESULT_UNSUPPORTED\x10\n\x12\x19\n\x15RESULT_PROTOCOL_ERROR\x10\x0b\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x0c\x32\x9e\t\n\nFtpService\x12J\n\x05Reset\x12\x1c.mavsdk.rpc.ftp.ResetRequest\x1a\x1d.mavsdk.rpc.ftp.ResetResponse\"\x04\x80\xb5\x18\x00\x12k\n\x11SubscribeDownload\x12(.mavsdk.rpc.ftp.SubscribeDownloadRequest\x1a .mavsdk.rpc.ftp.DownloadResponse\"\x08\x80\xb5\x18\x00\x88\xb5\x18\x01\x30\x01\x12\x65\n\x0fSubscribeUpload\x12&.mavsdk.rpc.ftp.SubscribeUploadRequest\x1a\x1e.mavsdk.rpc.ftp.UploadResponse\"\x08\x80\xb5\x18\x00\x88\xb5\x18\x01\x30\x01\x12^\n\rListDirectory\x12$.mavsdk.rpc.ftp.ListDirectoryRequest\x1a%.mavsdk.rpc.ftp.ListDirectoryResponse\"\x00\x12\x64\n\x0f\x43reateDirectory\x12&.mavsdk.rpc.ftp.CreateDirectoryRequest\x1a\'.mavsdk.rpc.ftp.CreateDirectoryResponse\"\x00\x12\x64\n\x0fRemoveDirectory\x12&.mavsdk.rpc.ftp.RemoveDirectoryRequest\x1a\'.mavsdk.rpc.ftp.RemoveDirectoryResponse\"\x00\x12U\n\nRemoveFile\x12!.mavsdk.rpc.ftp.RemoveFileRequest\x1a\".mavsdk.rpc.ftp.RemoveFileResponse\"\x00\x12I\n\x06Rename\x12\x1d.mavsdk.rpc.ftp.RenameRequest\x1a\x1e.mavsdk.rpc.ftp.RenameResponse\"\x00\x12j\n\x11\x41reFilesIdentical\x12(.mavsdk.rpc.ftp.AreFilesIdenticalRequest\x1a).mavsdk.rpc.ftp.AreFilesIdenticalResponse\"\x00\x12k\n\x10SetRootDirectory\x12\'.mavsdk.rpc.ftp.SetRootDirectoryRequest\x1a(.mavsdk.rpc.ftp.SetRootDirectoryResponse\"\x04\x80\xb5\x18\x01\x12h\n\x0fSetTargetCompid\x12&.mavsdk.rpc.ftp.SetTargetCompidRequest\x1a\'.mavsdk.rpc.ftp.SetTargetCompidResponse\"\x04\x80\xb5\x18\x01\x12_\n\x0cGetOurCompid\x12#.mavsdk.rpc.ftp.GetOurCompidRequest\x1a$.mavsdk.rpc.ftp.GetOurCompidResponse\"\x04\x80\xb5\x18\x01\x42\x19\n\rio.mavsdk.ftpB\x08\x46tpProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) - - - -_FTPRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.ftp.FtpResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NEXT', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TIMEOUT', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_BUSY', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_FILE_IO_ERROR', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_FILE_EXISTS', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_FILE_DOES_NOT_EXIST', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_FILE_PROTECTED', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_INVALID_PARAMETER', index=9, number=9, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_UNSUPPORTED', index=10, number=10, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_PROTOCOL_ERROR', index=11, number=11, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=12, number=12, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=1762, - serialized_end=2076, -) -_sym_db.RegisterEnumDescriptor(_FTPRESULT_RESULT) - - -_RESETREQUEST = _descriptor.Descriptor( - name='ResetRequest', - full_name='mavsdk.rpc.ftp.ResetRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=55, - serialized_end=69, -) - - -_RESETRESPONSE = _descriptor.Descriptor( - name='ResetResponse', - full_name='mavsdk.rpc.ftp.ResetResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='ftp_result', full_name='mavsdk.rpc.ftp.ResetResponse.ftp_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=71, - serialized_end=133, -) - - -_SUBSCRIBEDOWNLOADREQUEST = _descriptor.Descriptor( - name='SubscribeDownloadRequest', - full_name='mavsdk.rpc.ftp.SubscribeDownloadRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='remote_file_path', full_name='mavsdk.rpc.ftp.SubscribeDownloadRequest.remote_file_path', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='local_dir', full_name='mavsdk.rpc.ftp.SubscribeDownloadRequest.local_dir', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=135, - serialized_end=206, -) - - -_DOWNLOADRESPONSE = _descriptor.Descriptor( - name='DownloadResponse', - full_name='mavsdk.rpc.ftp.DownloadResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='ftp_result', full_name='mavsdk.rpc.ftp.DownloadResponse.ftp_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='progress_data', full_name='mavsdk.rpc.ftp.DownloadResponse.progress_data', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=208, - serialized_end=326, -) - - -_SUBSCRIBEUPLOADREQUEST = _descriptor.Descriptor( - name='SubscribeUploadRequest', - full_name='mavsdk.rpc.ftp.SubscribeUploadRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='local_file_path', full_name='mavsdk.rpc.ftp.SubscribeUploadRequest.local_file_path', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remote_dir', full_name='mavsdk.rpc.ftp.SubscribeUploadRequest.remote_dir', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=328, - serialized_end=397, -) - - -_UPLOADRESPONSE = _descriptor.Descriptor( - name='UploadResponse', - full_name='mavsdk.rpc.ftp.UploadResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='ftp_result', full_name='mavsdk.rpc.ftp.UploadResponse.ftp_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='progress_data', full_name='mavsdk.rpc.ftp.UploadResponse.progress_data', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=399, - serialized_end=515, -) - - -_LISTDIRECTORYREQUEST = _descriptor.Descriptor( - name='ListDirectoryRequest', - full_name='mavsdk.rpc.ftp.ListDirectoryRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='remote_dir', full_name='mavsdk.rpc.ftp.ListDirectoryRequest.remote_dir', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=517, - serialized_end=559, -) - - -_LISTDIRECTORYRESPONSE = _descriptor.Descriptor( - name='ListDirectoryResponse', - full_name='mavsdk.rpc.ftp.ListDirectoryResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='ftp_result', full_name='mavsdk.rpc.ftp.ListDirectoryResponse.ftp_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='paths', full_name='mavsdk.rpc.ftp.ListDirectoryResponse.paths', index=1, - number=2, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=561, - serialized_end=646, -) - - -_CREATEDIRECTORYREQUEST = _descriptor.Descriptor( - name='CreateDirectoryRequest', - full_name='mavsdk.rpc.ftp.CreateDirectoryRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='remote_dir', full_name='mavsdk.rpc.ftp.CreateDirectoryRequest.remote_dir', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=648, - serialized_end=692, -) - - -_CREATEDIRECTORYRESPONSE = _descriptor.Descriptor( - name='CreateDirectoryResponse', - full_name='mavsdk.rpc.ftp.CreateDirectoryResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='ftp_result', full_name='mavsdk.rpc.ftp.CreateDirectoryResponse.ftp_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=694, - serialized_end=766, -) - - -_REMOVEDIRECTORYREQUEST = _descriptor.Descriptor( - name='RemoveDirectoryRequest', - full_name='mavsdk.rpc.ftp.RemoveDirectoryRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='remote_dir', full_name='mavsdk.rpc.ftp.RemoveDirectoryRequest.remote_dir', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=768, - serialized_end=812, -) - - -_REMOVEDIRECTORYRESPONSE = _descriptor.Descriptor( - name='RemoveDirectoryResponse', - full_name='mavsdk.rpc.ftp.RemoveDirectoryResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='ftp_result', full_name='mavsdk.rpc.ftp.RemoveDirectoryResponse.ftp_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=814, - serialized_end=886, -) - - -_REMOVEFILEREQUEST = _descriptor.Descriptor( - name='RemoveFileRequest', - full_name='mavsdk.rpc.ftp.RemoveFileRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='remote_file_path', full_name='mavsdk.rpc.ftp.RemoveFileRequest.remote_file_path', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=888, - serialized_end=933, -) - - -_REMOVEFILERESPONSE = _descriptor.Descriptor( - name='RemoveFileResponse', - full_name='mavsdk.rpc.ftp.RemoveFileResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='ftp_result', full_name='mavsdk.rpc.ftp.RemoveFileResponse.ftp_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=935, - serialized_end=1002, -) - - -_RENAMEREQUEST = _descriptor.Descriptor( - name='RenameRequest', - full_name='mavsdk.rpc.ftp.RenameRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='remote_from_path', full_name='mavsdk.rpc.ftp.RenameRequest.remote_from_path', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remote_to_path', full_name='mavsdk.rpc.ftp.RenameRequest.remote_to_path', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1004, - serialized_end=1069, -) - - -_RENAMERESPONSE = _descriptor.Descriptor( - name='RenameResponse', - full_name='mavsdk.rpc.ftp.RenameResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='ftp_result', full_name='mavsdk.rpc.ftp.RenameResponse.ftp_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1071, - serialized_end=1134, -) - - -_AREFILESIDENTICALREQUEST = _descriptor.Descriptor( - name='AreFilesIdenticalRequest', - full_name='mavsdk.rpc.ftp.AreFilesIdenticalRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='local_file_path', full_name='mavsdk.rpc.ftp.AreFilesIdenticalRequest.local_file_path', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remote_file_path', full_name='mavsdk.rpc.ftp.AreFilesIdenticalRequest.remote_file_path', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1136, - serialized_end=1213, -) - - -_AREFILESIDENTICALRESPONSE = _descriptor.Descriptor( - name='AreFilesIdenticalResponse', - full_name='mavsdk.rpc.ftp.AreFilesIdenticalResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='ftp_result', full_name='mavsdk.rpc.ftp.AreFilesIdenticalResponse.ftp_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='are_identical', full_name='mavsdk.rpc.ftp.AreFilesIdenticalResponse.are_identical', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1215, - serialized_end=1312, -) - - -_SETROOTDIRECTORYREQUEST = _descriptor.Descriptor( - name='SetRootDirectoryRequest', - full_name='mavsdk.rpc.ftp.SetRootDirectoryRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='root_dir', full_name='mavsdk.rpc.ftp.SetRootDirectoryRequest.root_dir', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1314, - serialized_end=1357, -) - - -_SETROOTDIRECTORYRESPONSE = _descriptor.Descriptor( - name='SetRootDirectoryResponse', - full_name='mavsdk.rpc.ftp.SetRootDirectoryResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='ftp_result', full_name='mavsdk.rpc.ftp.SetRootDirectoryResponse.ftp_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1359, - serialized_end=1432, -) - - -_SETTARGETCOMPIDREQUEST = _descriptor.Descriptor( - name='SetTargetCompidRequest', - full_name='mavsdk.rpc.ftp.SetTargetCompidRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='compid', full_name='mavsdk.rpc.ftp.SetTargetCompidRequest.compid', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1434, - serialized_end=1474, -) - - -_SETTARGETCOMPIDRESPONSE = _descriptor.Descriptor( - name='SetTargetCompidResponse', - full_name='mavsdk.rpc.ftp.SetTargetCompidResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='ftp_result', full_name='mavsdk.rpc.ftp.SetTargetCompidResponse.ftp_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1476, - serialized_end=1548, -) - - -_GETOURCOMPIDREQUEST = _descriptor.Descriptor( - name='GetOurCompidRequest', - full_name='mavsdk.rpc.ftp.GetOurCompidRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1550, - serialized_end=1571, -) - - -_GETOURCOMPIDRESPONSE = _descriptor.Descriptor( - name='GetOurCompidResponse', - full_name='mavsdk.rpc.ftp.GetOurCompidResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='compid', full_name='mavsdk.rpc.ftp.GetOurCompidResponse.compid', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1573, - serialized_end=1611, -) - - -_PROGRESSDATA = _descriptor.Descriptor( - name='ProgressData', - full_name='mavsdk.rpc.ftp.ProgressData', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='bytes_transferred', full_name='mavsdk.rpc.ftp.ProgressData.bytes_transferred', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='total_bytes', full_name='mavsdk.rpc.ftp.ProgressData.total_bytes', index=1, - number=2, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1613, - serialized_end=1675, -) - - -_FTPRESULT = _descriptor.Descriptor( - name='FtpResult', - full_name='mavsdk.rpc.ftp.FtpResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.ftp.FtpResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.ftp.FtpResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FTPRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1678, - serialized_end=2076, -) - -_RESETRESPONSE.fields_by_name['ftp_result'].message_type = _FTPRESULT -_DOWNLOADRESPONSE.fields_by_name['ftp_result'].message_type = _FTPRESULT -_DOWNLOADRESPONSE.fields_by_name['progress_data'].message_type = _PROGRESSDATA -_UPLOADRESPONSE.fields_by_name['ftp_result'].message_type = _FTPRESULT -_UPLOADRESPONSE.fields_by_name['progress_data'].message_type = _PROGRESSDATA -_LISTDIRECTORYRESPONSE.fields_by_name['ftp_result'].message_type = _FTPRESULT -_CREATEDIRECTORYRESPONSE.fields_by_name['ftp_result'].message_type = _FTPRESULT -_REMOVEDIRECTORYRESPONSE.fields_by_name['ftp_result'].message_type = _FTPRESULT -_REMOVEFILERESPONSE.fields_by_name['ftp_result'].message_type = _FTPRESULT -_RENAMERESPONSE.fields_by_name['ftp_result'].message_type = _FTPRESULT -_AREFILESIDENTICALRESPONSE.fields_by_name['ftp_result'].message_type = _FTPRESULT -_SETROOTDIRECTORYRESPONSE.fields_by_name['ftp_result'].message_type = _FTPRESULT -_SETTARGETCOMPIDRESPONSE.fields_by_name['ftp_result'].message_type = _FTPRESULT -_FTPRESULT.fields_by_name['result'].enum_type = _FTPRESULT_RESULT -_FTPRESULT_RESULT.containing_type = _FTPRESULT -DESCRIPTOR.message_types_by_name['ResetRequest'] = _RESETREQUEST -DESCRIPTOR.message_types_by_name['ResetResponse'] = _RESETRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeDownloadRequest'] = _SUBSCRIBEDOWNLOADREQUEST -DESCRIPTOR.message_types_by_name['DownloadResponse'] = _DOWNLOADRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeUploadRequest'] = _SUBSCRIBEUPLOADREQUEST -DESCRIPTOR.message_types_by_name['UploadResponse'] = _UPLOADRESPONSE -DESCRIPTOR.message_types_by_name['ListDirectoryRequest'] = _LISTDIRECTORYREQUEST -DESCRIPTOR.message_types_by_name['ListDirectoryResponse'] = _LISTDIRECTORYRESPONSE -DESCRIPTOR.message_types_by_name['CreateDirectoryRequest'] = _CREATEDIRECTORYREQUEST -DESCRIPTOR.message_types_by_name['CreateDirectoryResponse'] = _CREATEDIRECTORYRESPONSE -DESCRIPTOR.message_types_by_name['RemoveDirectoryRequest'] = _REMOVEDIRECTORYREQUEST -DESCRIPTOR.message_types_by_name['RemoveDirectoryResponse'] = _REMOVEDIRECTORYRESPONSE -DESCRIPTOR.message_types_by_name['RemoveFileRequest'] = _REMOVEFILEREQUEST -DESCRIPTOR.message_types_by_name['RemoveFileResponse'] = _REMOVEFILERESPONSE -DESCRIPTOR.message_types_by_name['RenameRequest'] = _RENAMEREQUEST -DESCRIPTOR.message_types_by_name['RenameResponse'] = _RENAMERESPONSE -DESCRIPTOR.message_types_by_name['AreFilesIdenticalRequest'] = _AREFILESIDENTICALREQUEST -DESCRIPTOR.message_types_by_name['AreFilesIdenticalResponse'] = _AREFILESIDENTICALRESPONSE -DESCRIPTOR.message_types_by_name['SetRootDirectoryRequest'] = _SETROOTDIRECTORYREQUEST -DESCRIPTOR.message_types_by_name['SetRootDirectoryResponse'] = _SETROOTDIRECTORYRESPONSE -DESCRIPTOR.message_types_by_name['SetTargetCompidRequest'] = _SETTARGETCOMPIDREQUEST -DESCRIPTOR.message_types_by_name['SetTargetCompidResponse'] = _SETTARGETCOMPIDRESPONSE -DESCRIPTOR.message_types_by_name['GetOurCompidRequest'] = _GETOURCOMPIDREQUEST -DESCRIPTOR.message_types_by_name['GetOurCompidResponse'] = _GETOURCOMPIDRESPONSE -DESCRIPTOR.message_types_by_name['ProgressData'] = _PROGRESSDATA -DESCRIPTOR.message_types_by_name['FtpResult'] = _FTPRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rftp/ftp.proto\x12\x0emavsdk.rpc.ftp\x1a\x14mavsdk_options.proto\"\x0e\n\x0cResetRequest\">\n\rResetResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\"G\n\x18SubscribeDownloadRequest\x12\x18\n\x10remote_file_path\x18\x01 \x01(\t\x12\x11\n\tlocal_dir\x18\x02 \x01(\t\"v\n\x10\x44ownloadResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\x12\x33\n\rprogress_data\x18\x02 \x01(\x0b\x32\x1c.mavsdk.rpc.ftp.ProgressData\"E\n\x16SubscribeUploadRequest\x12\x17\n\x0flocal_file_path\x18\x01 \x01(\t\x12\x12\n\nremote_dir\x18\x02 \x01(\t\"t\n\x0eUploadResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\x12\x33\n\rprogress_data\x18\x02 \x01(\x0b\x32\x1c.mavsdk.rpc.ftp.ProgressData\"*\n\x14ListDirectoryRequest\x12\x12\n\nremote_dir\x18\x01 \x01(\t\"U\n\x15ListDirectoryResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\x12\r\n\x05paths\x18\x02 \x03(\t\",\n\x16\x43reateDirectoryRequest\x12\x12\n\nremote_dir\x18\x01 \x01(\t\"H\n\x17\x43reateDirectoryResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\",\n\x16RemoveDirectoryRequest\x12\x12\n\nremote_dir\x18\x01 \x01(\t\"H\n\x17RemoveDirectoryResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\"-\n\x11RemoveFileRequest\x12\x18\n\x10remote_file_path\x18\x01 \x01(\t\"C\n\x12RemoveFileResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\"A\n\rRenameRequest\x12\x18\n\x10remote_from_path\x18\x01 \x01(\t\x12\x16\n\x0eremote_to_path\x18\x02 \x01(\t\"?\n\x0eRenameResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\"M\n\x18\x41reFilesIdenticalRequest\x12\x17\n\x0flocal_file_path\x18\x01 \x01(\t\x12\x18\n\x10remote_file_path\x18\x02 \x01(\t\"a\n\x19\x41reFilesIdenticalResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\x12\x15\n\rare_identical\x18\x02 \x01(\x08\"+\n\x17SetRootDirectoryRequest\x12\x10\n\x08root_dir\x18\x01 \x01(\t\"I\n\x18SetRootDirectoryResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\"(\n\x16SetTargetCompidRequest\x12\x0e\n\x06\x63ompid\x18\x01 \x01(\r\"H\n\x17SetTargetCompidResponse\x12-\n\nftp_result\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.ftp.FtpResult\"\x15\n\x13GetOurCompidRequest\"&\n\x14GetOurCompidResponse\x12\x0e\n\x06\x63ompid\x18\x01 \x01(\r\">\n\x0cProgressData\x12\x19\n\x11\x62ytes_transferred\x18\x01 \x01(\r\x12\x13\n\x0btotal_bytes\x18\x02 \x01(\r\"\x8e\x03\n\tFtpResult\x12\x30\n\x06result\x18\x01 \x01(\x0e\x32 .mavsdk.rpc.ftp.FtpResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xba\x02\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x0f\n\x0bRESULT_NEXT\x10\x02\x12\x12\n\x0eRESULT_TIMEOUT\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x18\n\x14RESULT_FILE_IO_ERROR\x10\x05\x12\x16\n\x12RESULT_FILE_EXISTS\x10\x06\x12\x1e\n\x1aRESULT_FILE_DOES_NOT_EXIST\x10\x07\x12\x19\n\x15RESULT_FILE_PROTECTED\x10\x08\x12\x1c\n\x18RESULT_INVALID_PARAMETER\x10\t\x12\x16\n\x12RESULT_UNSUPPORTED\x10\n\x12\x19\n\x15RESULT_PROTOCOL_ERROR\x10\x0b\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x0c\x32\x9e\t\n\nFtpService\x12J\n\x05Reset\x12\x1c.mavsdk.rpc.ftp.ResetRequest\x1a\x1d.mavsdk.rpc.ftp.ResetResponse\"\x04\x80\xb5\x18\x00\x12k\n\x11SubscribeDownload\x12(.mavsdk.rpc.ftp.SubscribeDownloadRequest\x1a .mavsdk.rpc.ftp.DownloadResponse\"\x08\x80\xb5\x18\x00\x88\xb5\x18\x01\x30\x01\x12\x65\n\x0fSubscribeUpload\x12&.mavsdk.rpc.ftp.SubscribeUploadRequest\x1a\x1e.mavsdk.rpc.ftp.UploadResponse\"\x08\x80\xb5\x18\x00\x88\xb5\x18\x01\x30\x01\x12^\n\rListDirectory\x12$.mavsdk.rpc.ftp.ListDirectoryRequest\x1a%.mavsdk.rpc.ftp.ListDirectoryResponse\"\x00\x12\x64\n\x0f\x43reateDirectory\x12&.mavsdk.rpc.ftp.CreateDirectoryRequest\x1a\'.mavsdk.rpc.ftp.CreateDirectoryResponse\"\x00\x12\x64\n\x0fRemoveDirectory\x12&.mavsdk.rpc.ftp.RemoveDirectoryRequest\x1a\'.mavsdk.rpc.ftp.RemoveDirectoryResponse\"\x00\x12U\n\nRemoveFile\x12!.mavsdk.rpc.ftp.RemoveFileRequest\x1a\".mavsdk.rpc.ftp.RemoveFileResponse\"\x00\x12I\n\x06Rename\x12\x1d.mavsdk.rpc.ftp.RenameRequest\x1a\x1e.mavsdk.rpc.ftp.RenameResponse\"\x00\x12j\n\x11\x41reFilesIdentical\x12(.mavsdk.rpc.ftp.AreFilesIdenticalRequest\x1a).mavsdk.rpc.ftp.AreFilesIdenticalResponse\"\x00\x12k\n\x10SetRootDirectory\x12\'.mavsdk.rpc.ftp.SetRootDirectoryRequest\x1a(.mavsdk.rpc.ftp.SetRootDirectoryResponse\"\x04\x80\xb5\x18\x01\x12h\n\x0fSetTargetCompid\x12&.mavsdk.rpc.ftp.SetTargetCompidRequest\x1a\'.mavsdk.rpc.ftp.SetTargetCompidResponse\"\x04\x80\xb5\x18\x01\x12_\n\x0cGetOurCompid\x12#.mavsdk.rpc.ftp.GetOurCompidRequest\x1a$.mavsdk.rpc.ftp.GetOurCompidResponse\"\x04\x80\xb5\x18\x01\x42\x19\n\rio.mavsdk.ftpB\x08\x46tpProtob\x06proto3') + + + +_RESETREQUEST = DESCRIPTOR.message_types_by_name['ResetRequest'] +_RESETRESPONSE = DESCRIPTOR.message_types_by_name['ResetResponse'] +_SUBSCRIBEDOWNLOADREQUEST = DESCRIPTOR.message_types_by_name['SubscribeDownloadRequest'] +_DOWNLOADRESPONSE = DESCRIPTOR.message_types_by_name['DownloadResponse'] +_SUBSCRIBEUPLOADREQUEST = DESCRIPTOR.message_types_by_name['SubscribeUploadRequest'] +_UPLOADRESPONSE = DESCRIPTOR.message_types_by_name['UploadResponse'] +_LISTDIRECTORYREQUEST = DESCRIPTOR.message_types_by_name['ListDirectoryRequest'] +_LISTDIRECTORYRESPONSE = DESCRIPTOR.message_types_by_name['ListDirectoryResponse'] +_CREATEDIRECTORYREQUEST = DESCRIPTOR.message_types_by_name['CreateDirectoryRequest'] +_CREATEDIRECTORYRESPONSE = DESCRIPTOR.message_types_by_name['CreateDirectoryResponse'] +_REMOVEDIRECTORYREQUEST = DESCRIPTOR.message_types_by_name['RemoveDirectoryRequest'] +_REMOVEDIRECTORYRESPONSE = DESCRIPTOR.message_types_by_name['RemoveDirectoryResponse'] +_REMOVEFILEREQUEST = DESCRIPTOR.message_types_by_name['RemoveFileRequest'] +_REMOVEFILERESPONSE = DESCRIPTOR.message_types_by_name['RemoveFileResponse'] +_RENAMEREQUEST = DESCRIPTOR.message_types_by_name['RenameRequest'] +_RENAMERESPONSE = DESCRIPTOR.message_types_by_name['RenameResponse'] +_AREFILESIDENTICALREQUEST = DESCRIPTOR.message_types_by_name['AreFilesIdenticalRequest'] +_AREFILESIDENTICALRESPONSE = DESCRIPTOR.message_types_by_name['AreFilesIdenticalResponse'] +_SETROOTDIRECTORYREQUEST = DESCRIPTOR.message_types_by_name['SetRootDirectoryRequest'] +_SETROOTDIRECTORYRESPONSE = DESCRIPTOR.message_types_by_name['SetRootDirectoryResponse'] +_SETTARGETCOMPIDREQUEST = DESCRIPTOR.message_types_by_name['SetTargetCompidRequest'] +_SETTARGETCOMPIDRESPONSE = DESCRIPTOR.message_types_by_name['SetTargetCompidResponse'] +_GETOURCOMPIDREQUEST = DESCRIPTOR.message_types_by_name['GetOurCompidRequest'] +_GETOURCOMPIDRESPONSE = DESCRIPTOR.message_types_by_name['GetOurCompidResponse'] +_PROGRESSDATA = DESCRIPTOR.message_types_by_name['ProgressData'] +_FTPRESULT = DESCRIPTOR.message_types_by_name['FtpResult'] +_FTPRESULT_RESULT = _FTPRESULT.enum_types_by_name['Result'] ResetRequest = _reflection.GeneratedProtocolMessageType('ResetRequest', (_message.Message,), { 'DESCRIPTOR' : _RESETREQUEST, '__module__' : 'ftp.ftp_pb2' @@ -1220,142 +228,77 @@ }) _sym_db.RegisterMessage(FtpResult) - -DESCRIPTOR._options = None - -_FTPSERVICE = _descriptor.ServiceDescriptor( - name='FtpService', - full_name='mavsdk.rpc.ftp.FtpService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=2079, - serialized_end=3261, - methods=[ - _descriptor.MethodDescriptor( - name='Reset', - full_name='mavsdk.rpc.ftp.FtpService.Reset', - index=0, - containing_service=None, - input_type=_RESETREQUEST, - output_type=_RESETRESPONSE, - serialized_options=b'\200\265\030\000', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeDownload', - full_name='mavsdk.rpc.ftp.FtpService.SubscribeDownload', - index=1, - containing_service=None, - input_type=_SUBSCRIBEDOWNLOADREQUEST, - output_type=_DOWNLOADRESPONSE, - serialized_options=b'\200\265\030\000\210\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeUpload', - full_name='mavsdk.rpc.ftp.FtpService.SubscribeUpload', - index=2, - containing_service=None, - input_type=_SUBSCRIBEUPLOADREQUEST, - output_type=_UPLOADRESPONSE, - serialized_options=b'\200\265\030\000\210\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ListDirectory', - full_name='mavsdk.rpc.ftp.FtpService.ListDirectory', - index=3, - containing_service=None, - input_type=_LISTDIRECTORYREQUEST, - output_type=_LISTDIRECTORYRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='CreateDirectory', - full_name='mavsdk.rpc.ftp.FtpService.CreateDirectory', - index=4, - containing_service=None, - input_type=_CREATEDIRECTORYREQUEST, - output_type=_CREATEDIRECTORYRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='RemoveDirectory', - full_name='mavsdk.rpc.ftp.FtpService.RemoveDirectory', - index=5, - containing_service=None, - input_type=_REMOVEDIRECTORYREQUEST, - output_type=_REMOVEDIRECTORYRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='RemoveFile', - full_name='mavsdk.rpc.ftp.FtpService.RemoveFile', - index=6, - containing_service=None, - input_type=_REMOVEFILEREQUEST, - output_type=_REMOVEFILERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Rename', - full_name='mavsdk.rpc.ftp.FtpService.Rename', - index=7, - containing_service=None, - input_type=_RENAMEREQUEST, - output_type=_RENAMERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='AreFilesIdentical', - full_name='mavsdk.rpc.ftp.FtpService.AreFilesIdentical', - index=8, - containing_service=None, - input_type=_AREFILESIDENTICALREQUEST, - output_type=_AREFILESIDENTICALRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRootDirectory', - full_name='mavsdk.rpc.ftp.FtpService.SetRootDirectory', - index=9, - containing_service=None, - input_type=_SETROOTDIRECTORYREQUEST, - output_type=_SETROOTDIRECTORYRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetTargetCompid', - full_name='mavsdk.rpc.ftp.FtpService.SetTargetCompid', - index=10, - containing_service=None, - input_type=_SETTARGETCOMPIDREQUEST, - output_type=_SETTARGETCOMPIDRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetOurCompid', - full_name='mavsdk.rpc.ftp.FtpService.GetOurCompid', - index=11, - containing_service=None, - input_type=_GETOURCOMPIDREQUEST, - output_type=_GETOURCOMPIDRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_FTPSERVICE) - -DESCRIPTOR.services_by_name['FtpService'] = _FTPSERVICE - +_FTPSERVICE = DESCRIPTOR.services_by_name['FtpService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\rio.mavsdk.ftpB\010FtpProto' + _FTPSERVICE.methods_by_name['Reset']._options = None + _FTPSERVICE.methods_by_name['Reset']._serialized_options = b'\200\265\030\000' + _FTPSERVICE.methods_by_name['SubscribeDownload']._options = None + _FTPSERVICE.methods_by_name['SubscribeDownload']._serialized_options = b'\200\265\030\000\210\265\030\001' + _FTPSERVICE.methods_by_name['SubscribeUpload']._options = None + _FTPSERVICE.methods_by_name['SubscribeUpload']._serialized_options = b'\200\265\030\000\210\265\030\001' + _FTPSERVICE.methods_by_name['SetRootDirectory']._options = None + _FTPSERVICE.methods_by_name['SetRootDirectory']._serialized_options = b'\200\265\030\001' + _FTPSERVICE.methods_by_name['SetTargetCompid']._options = None + _FTPSERVICE.methods_by_name['SetTargetCompid']._serialized_options = b'\200\265\030\001' + _FTPSERVICE.methods_by_name['GetOurCompid']._options = None + _FTPSERVICE.methods_by_name['GetOurCompid']._serialized_options = b'\200\265\030\001' + _RESETREQUEST._serialized_start=55 + _RESETREQUEST._serialized_end=69 + _RESETRESPONSE._serialized_start=71 + _RESETRESPONSE._serialized_end=133 + _SUBSCRIBEDOWNLOADREQUEST._serialized_start=135 + _SUBSCRIBEDOWNLOADREQUEST._serialized_end=206 + _DOWNLOADRESPONSE._serialized_start=208 + _DOWNLOADRESPONSE._serialized_end=326 + _SUBSCRIBEUPLOADREQUEST._serialized_start=328 + _SUBSCRIBEUPLOADREQUEST._serialized_end=397 + _UPLOADRESPONSE._serialized_start=399 + _UPLOADRESPONSE._serialized_end=515 + _LISTDIRECTORYREQUEST._serialized_start=517 + _LISTDIRECTORYREQUEST._serialized_end=559 + _LISTDIRECTORYRESPONSE._serialized_start=561 + _LISTDIRECTORYRESPONSE._serialized_end=646 + _CREATEDIRECTORYREQUEST._serialized_start=648 + _CREATEDIRECTORYREQUEST._serialized_end=692 + _CREATEDIRECTORYRESPONSE._serialized_start=694 + _CREATEDIRECTORYRESPONSE._serialized_end=766 + _REMOVEDIRECTORYREQUEST._serialized_start=768 + _REMOVEDIRECTORYREQUEST._serialized_end=812 + _REMOVEDIRECTORYRESPONSE._serialized_start=814 + _REMOVEDIRECTORYRESPONSE._serialized_end=886 + _REMOVEFILEREQUEST._serialized_start=888 + _REMOVEFILEREQUEST._serialized_end=933 + _REMOVEFILERESPONSE._serialized_start=935 + _REMOVEFILERESPONSE._serialized_end=1002 + _RENAMEREQUEST._serialized_start=1004 + _RENAMEREQUEST._serialized_end=1069 + _RENAMERESPONSE._serialized_start=1071 + _RENAMERESPONSE._serialized_end=1134 + _AREFILESIDENTICALREQUEST._serialized_start=1136 + _AREFILESIDENTICALREQUEST._serialized_end=1213 + _AREFILESIDENTICALRESPONSE._serialized_start=1215 + _AREFILESIDENTICALRESPONSE._serialized_end=1312 + _SETROOTDIRECTORYREQUEST._serialized_start=1314 + _SETROOTDIRECTORYREQUEST._serialized_end=1357 + _SETROOTDIRECTORYRESPONSE._serialized_start=1359 + _SETROOTDIRECTORYRESPONSE._serialized_end=1432 + _SETTARGETCOMPIDREQUEST._serialized_start=1434 + _SETTARGETCOMPIDREQUEST._serialized_end=1474 + _SETTARGETCOMPIDRESPONSE._serialized_start=1476 + _SETTARGETCOMPIDRESPONSE._serialized_end=1548 + _GETOURCOMPIDREQUEST._serialized_start=1550 + _GETOURCOMPIDREQUEST._serialized_end=1571 + _GETOURCOMPIDRESPONSE._serialized_start=1573 + _GETOURCOMPIDRESPONSE._serialized_end=1611 + _PROGRESSDATA._serialized_start=1613 + _PROGRESSDATA._serialized_end=1675 + _FTPRESULT._serialized_start=1678 + _FTPRESULT._serialized_end=2076 + _FTPRESULT_RESULT._serialized_start=1762 + _FTPRESULT_RESULT._serialized_end=2076 + _FTPSERVICE._serialized_start=2079 + _FTPSERVICE._serialized_end=3261 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/geofence_pb2.py b/mavsdk/geofence_pb2.py index 240e4b2a..67c3692a 100644 --- a/mavsdk/geofence_pb2.py +++ b/mavsdk/geofence_pb2.py @@ -3,6 +3,7 @@ # source: geofence/geofence.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -13,354 +14,19 @@ -DESCRIPTOR = _descriptor.FileDescriptor( - name='geofence/geofence.proto', - package='mavsdk.rpc.geofence', - syntax='proto3', - serialized_options=b'\n\022io.mavsdk.geofenceB\rGeofenceProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x17geofence/geofence.proto\x12\x13mavsdk.rpc.geofence\"4\n\x05Point\x12\x14\n\x0clatitude_deg\x18\x01 \x01(\x01\x12\x15\n\rlongitude_deg\x18\x02 \x01(\x01\"\xb2\x01\n\x07Polygon\x12*\n\x06points\x18\x01 \x03(\x0b\x32\x1a.mavsdk.rpc.geofence.Point\x12:\n\nfence_type\x18\x02 \x01(\x0e\x32&.mavsdk.rpc.geofence.Polygon.FenceType\"?\n\tFenceType\x12\x18\n\x14\x46\x45NCE_TYPE_INCLUSION\x10\x00\x12\x18\n\x14\x46\x45NCE_TYPE_EXCLUSION\x10\x01\"G\n\x15UploadGeofenceRequest\x12.\n\x08polygons\x18\x01 \x03(\x0b\x32\x1c.mavsdk.rpc.geofence.Polygon\"V\n\x16UploadGeofenceResponse\x12<\n\x0fgeofence_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.geofence.GeofenceResult\"\x16\n\x14\x43learGeofenceRequest\"U\n\x15\x43learGeofenceResponse\x12<\n\x0fgeofence_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.geofence.GeofenceResult\"\xa1\x02\n\x0eGeofenceResult\x12:\n\x06result\x18\x01 \x01(\x0e\x32*.mavsdk.rpc.geofence.GeofenceResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xbe\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x10\n\x0cRESULT_ERROR\x10\x02\x12\"\n\x1eRESULT_TOO_MANY_GEOFENCE_ITEMS\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x12\n\x0eRESULT_TIMEOUT\x10\x05\x12\x1b\n\x17RESULT_INVALID_ARGUMENT\x10\x06\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x07\x32\xe8\x01\n\x0fGeofenceService\x12k\n\x0eUploadGeofence\x12*.mavsdk.rpc.geofence.UploadGeofenceRequest\x1a+.mavsdk.rpc.geofence.UploadGeofenceResponse\"\x00\x12h\n\rClearGeofence\x12).mavsdk.rpc.geofence.ClearGeofenceRequest\x1a*.mavsdk.rpc.geofence.ClearGeofenceResponse\"\x00\x42#\n\x12io.mavsdk.geofenceB\rGeofenceProtob\x06proto3' -) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17geofence/geofence.proto\x12\x13mavsdk.rpc.geofence\"4\n\x05Point\x12\x14\n\x0clatitude_deg\x18\x01 \x01(\x01\x12\x15\n\rlongitude_deg\x18\x02 \x01(\x01\"\xb2\x01\n\x07Polygon\x12*\n\x06points\x18\x01 \x03(\x0b\x32\x1a.mavsdk.rpc.geofence.Point\x12:\n\nfence_type\x18\x02 \x01(\x0e\x32&.mavsdk.rpc.geofence.Polygon.FenceType\"?\n\tFenceType\x12\x18\n\x14\x46\x45NCE_TYPE_INCLUSION\x10\x00\x12\x18\n\x14\x46\x45NCE_TYPE_EXCLUSION\x10\x01\"G\n\x15UploadGeofenceRequest\x12.\n\x08polygons\x18\x01 \x03(\x0b\x32\x1c.mavsdk.rpc.geofence.Polygon\"V\n\x16UploadGeofenceResponse\x12<\n\x0fgeofence_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.geofence.GeofenceResult\"\x16\n\x14\x43learGeofenceRequest\"U\n\x15\x43learGeofenceResponse\x12<\n\x0fgeofence_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.geofence.GeofenceResult\"\xa1\x02\n\x0eGeofenceResult\x12:\n\x06result\x18\x01 \x01(\x0e\x32*.mavsdk.rpc.geofence.GeofenceResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xbe\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x10\n\x0cRESULT_ERROR\x10\x02\x12\"\n\x1eRESULT_TOO_MANY_GEOFENCE_ITEMS\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x12\n\x0eRESULT_TIMEOUT\x10\x05\x12\x1b\n\x17RESULT_INVALID_ARGUMENT\x10\x06\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x07\x32\xe8\x01\n\x0fGeofenceService\x12k\n\x0eUploadGeofence\x12*.mavsdk.rpc.geofence.UploadGeofenceRequest\x1a+.mavsdk.rpc.geofence.UploadGeofenceResponse\"\x00\x12h\n\rClearGeofence\x12).mavsdk.rpc.geofence.ClearGeofenceRequest\x1a*.mavsdk.rpc.geofence.ClearGeofenceResponse\"\x00\x42#\n\x12io.mavsdk.geofenceB\rGeofenceProtob\x06proto3') -_POLYGON_FENCETYPE = _descriptor.EnumDescriptor( - name='FenceType', - full_name='mavsdk.rpc.geofence.Polygon.FenceType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='FENCE_TYPE_INCLUSION', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FENCE_TYPE_EXCLUSION', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=218, - serialized_end=281, -) -_sym_db.RegisterEnumDescriptor(_POLYGON_FENCETYPE) - -_GEOFENCERESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.geofence.GeofenceResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_ERROR', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TOO_MANY_GEOFENCE_ITEMS', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_BUSY', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TIMEOUT', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_INVALID_ARGUMENT', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=655, - serialized_end=845, -) -_sym_db.RegisterEnumDescriptor(_GEOFENCERESULT_RESULT) - - -_POINT = _descriptor.Descriptor( - name='Point', - full_name='mavsdk.rpc.geofence.Point', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='latitude_deg', full_name='mavsdk.rpc.geofence.Point.latitude_deg', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='longitude_deg', full_name='mavsdk.rpc.geofence.Point.longitude_deg', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=48, - serialized_end=100, -) - - -_POLYGON = _descriptor.Descriptor( - name='Polygon', - full_name='mavsdk.rpc.geofence.Polygon', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='points', full_name='mavsdk.rpc.geofence.Polygon.points', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fence_type', full_name='mavsdk.rpc.geofence.Polygon.fence_type', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _POLYGON_FENCETYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=103, - serialized_end=281, -) - - -_UPLOADGEOFENCEREQUEST = _descriptor.Descriptor( - name='UploadGeofenceRequest', - full_name='mavsdk.rpc.geofence.UploadGeofenceRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='polygons', full_name='mavsdk.rpc.geofence.UploadGeofenceRequest.polygons', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=283, - serialized_end=354, -) - - -_UPLOADGEOFENCERESPONSE = _descriptor.Descriptor( - name='UploadGeofenceResponse', - full_name='mavsdk.rpc.geofence.UploadGeofenceResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='geofence_result', full_name='mavsdk.rpc.geofence.UploadGeofenceResponse.geofence_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=356, - serialized_end=442, -) - - -_CLEARGEOFENCEREQUEST = _descriptor.Descriptor( - name='ClearGeofenceRequest', - full_name='mavsdk.rpc.geofence.ClearGeofenceRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=444, - serialized_end=466, -) - - -_CLEARGEOFENCERESPONSE = _descriptor.Descriptor( - name='ClearGeofenceResponse', - full_name='mavsdk.rpc.geofence.ClearGeofenceResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='geofence_result', full_name='mavsdk.rpc.geofence.ClearGeofenceResponse.geofence_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=468, - serialized_end=553, -) - - -_GEOFENCERESULT = _descriptor.Descriptor( - name='GeofenceResult', - full_name='mavsdk.rpc.geofence.GeofenceResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.geofence.GeofenceResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.geofence.GeofenceResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _GEOFENCERESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=556, - serialized_end=845, -) - -_POLYGON.fields_by_name['points'].message_type = _POINT -_POLYGON.fields_by_name['fence_type'].enum_type = _POLYGON_FENCETYPE -_POLYGON_FENCETYPE.containing_type = _POLYGON -_UPLOADGEOFENCEREQUEST.fields_by_name['polygons'].message_type = _POLYGON -_UPLOADGEOFENCERESPONSE.fields_by_name['geofence_result'].message_type = _GEOFENCERESULT -_CLEARGEOFENCERESPONSE.fields_by_name['geofence_result'].message_type = _GEOFENCERESULT -_GEOFENCERESULT.fields_by_name['result'].enum_type = _GEOFENCERESULT_RESULT -_GEOFENCERESULT_RESULT.containing_type = _GEOFENCERESULT -DESCRIPTOR.message_types_by_name['Point'] = _POINT -DESCRIPTOR.message_types_by_name['Polygon'] = _POLYGON -DESCRIPTOR.message_types_by_name['UploadGeofenceRequest'] = _UPLOADGEOFENCEREQUEST -DESCRIPTOR.message_types_by_name['UploadGeofenceResponse'] = _UPLOADGEOFENCERESPONSE -DESCRIPTOR.message_types_by_name['ClearGeofenceRequest'] = _CLEARGEOFENCEREQUEST -DESCRIPTOR.message_types_by_name['ClearGeofenceResponse'] = _CLEARGEOFENCERESPONSE -DESCRIPTOR.message_types_by_name['GeofenceResult'] = _GEOFENCERESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_POINT = DESCRIPTOR.message_types_by_name['Point'] +_POLYGON = DESCRIPTOR.message_types_by_name['Polygon'] +_UPLOADGEOFENCEREQUEST = DESCRIPTOR.message_types_by_name['UploadGeofenceRequest'] +_UPLOADGEOFENCERESPONSE = DESCRIPTOR.message_types_by_name['UploadGeofenceResponse'] +_CLEARGEOFENCEREQUEST = DESCRIPTOR.message_types_by_name['ClearGeofenceRequest'] +_CLEARGEOFENCERESPONSE = DESCRIPTOR.message_types_by_name['ClearGeofenceResponse'] +_GEOFENCERESULT = DESCRIPTOR.message_types_by_name['GeofenceResult'] +_POLYGON_FENCETYPE = _POLYGON.enum_types_by_name['FenceType'] +_GEOFENCERESULT_RESULT = _GEOFENCERESULT.enum_types_by_name['Result'] Point = _reflection.GeneratedProtocolMessageType('Point', (_message.Message,), { 'DESCRIPTOR' : _POINT, '__module__' : 'geofence.geofence_pb2' @@ -410,42 +76,29 @@ }) _sym_db.RegisterMessage(GeofenceResult) - -DESCRIPTOR._options = None - -_GEOFENCESERVICE = _descriptor.ServiceDescriptor( - name='GeofenceService', - full_name='mavsdk.rpc.geofence.GeofenceService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=848, - serialized_end=1080, - methods=[ - _descriptor.MethodDescriptor( - name='UploadGeofence', - full_name='mavsdk.rpc.geofence.GeofenceService.UploadGeofence', - index=0, - containing_service=None, - input_type=_UPLOADGEOFENCEREQUEST, - output_type=_UPLOADGEOFENCERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ClearGeofence', - full_name='mavsdk.rpc.geofence.GeofenceService.ClearGeofence', - index=1, - containing_service=None, - input_type=_CLEARGEOFENCEREQUEST, - output_type=_CLEARGEOFENCERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_GEOFENCESERVICE) - -DESCRIPTOR.services_by_name['GeofenceService'] = _GEOFENCESERVICE - +_GEOFENCESERVICE = DESCRIPTOR.services_by_name['GeofenceService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\022io.mavsdk.geofenceB\rGeofenceProto' + _POINT._serialized_start=48 + _POINT._serialized_end=100 + _POLYGON._serialized_start=103 + _POLYGON._serialized_end=281 + _POLYGON_FENCETYPE._serialized_start=218 + _POLYGON_FENCETYPE._serialized_end=281 + _UPLOADGEOFENCEREQUEST._serialized_start=283 + _UPLOADGEOFENCEREQUEST._serialized_end=354 + _UPLOADGEOFENCERESPONSE._serialized_start=356 + _UPLOADGEOFENCERESPONSE._serialized_end=442 + _CLEARGEOFENCEREQUEST._serialized_start=444 + _CLEARGEOFENCEREQUEST._serialized_end=466 + _CLEARGEOFENCERESPONSE._serialized_start=468 + _CLEARGEOFENCERESPONSE._serialized_end=553 + _GEOFENCERESULT._serialized_start=556 + _GEOFENCERESULT._serialized_end=845 + _GEOFENCERESULT_RESULT._serialized_start=655 + _GEOFENCERESULT_RESULT._serialized_end=845 + _GEOFENCESERVICE._serialized_start=848 + _GEOFENCESERVICE._serialized_end=1080 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/gimbal_pb2.py b/mavsdk/gimbal_pb2.py index 8aad578b..da392727 100644 --- a/mavsdk/gimbal_pb2.py +++ b/mavsdk/gimbal_pb2.py @@ -4,6 +4,7 @@ """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -14,71 +15,11 @@ -DESCRIPTOR = _descriptor.FileDescriptor( - name='gimbal/gimbal.proto', - package='mavsdk.rpc.gimbal', - syntax='proto3', - serialized_options=b'\n\020io.mavsdk.gimbalB\013GimbalProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x13gimbal/gimbal.proto\x12\x11mavsdk.rpc.gimbal\";\n\x15SetPitchAndYawRequest\x12\x11\n\tpitch_deg\x18\x01 \x01(\x02\x12\x0f\n\x07yaw_deg\x18\x02 \x01(\x02\"P\n\x16SetPitchAndYawResponse\x12\x36\n\rgimbal_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.gimbal.GimbalResult\"Q\n\x1dSetPitchRateAndYawRateRequest\x12\x18\n\x10pitch_rate_deg_s\x18\x01 \x01(\x02\x12\x16\n\x0eyaw_rate_deg_s\x18\x02 \x01(\x02\"X\n\x1eSetPitchRateAndYawRateResponse\x12\x36\n\rgimbal_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.gimbal.GimbalResult\"D\n\x0eSetModeRequest\x12\x32\n\x0bgimbal_mode\x18\x01 \x01(\x0e\x32\x1d.mavsdk.rpc.gimbal.GimbalMode\"I\n\x0fSetModeResponse\x12\x36\n\rgimbal_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.gimbal.GimbalResult\"X\n\x15SetRoiLocationRequest\x12\x14\n\x0clatitude_deg\x18\x01 \x01(\x01\x12\x15\n\rlongitude_deg\x18\x02 \x01(\x01\x12\x12\n\naltitude_m\x18\x03 \x01(\x02\"P\n\x16SetRoiLocationResponse\x12\x36\n\rgimbal_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.gimbal.GimbalResult\"J\n\x12TakeControlRequest\x12\x34\n\x0c\x63ontrol_mode\x18\x01 \x01(\x0e\x32\x1e.mavsdk.rpc.gimbal.ControlMode\"M\n\x13TakeControlResponse\x12\x36\n\rgimbal_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.gimbal.GimbalResult\"\x17\n\x15ReleaseControlRequest\"P\n\x16ReleaseControlResponse\x12\x36\n\rgimbal_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.gimbal.GimbalResult\"\x19\n\x17SubscribeControlRequest\"K\n\x0f\x43ontrolResponse\x12\x38\n\x0e\x63ontrol_status\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.gimbal.ControlStatus\"\xc7\x01\n\rControlStatus\x12\x34\n\x0c\x63ontrol_mode\x18\x01 \x01(\x0e\x32\x1e.mavsdk.rpc.gimbal.ControlMode\x12\x1d\n\x15sysid_primary_control\x18\x02 \x01(\x05\x12\x1e\n\x16\x63ompid_primary_control\x18\x03 \x01(\x05\x12\x1f\n\x17sysid_secondary_control\x18\x04 \x01(\x05\x12 \n\x18\x63ompid_secondary_control\x18\x05 \x01(\x05\"\xe1\x01\n\x0cGimbalResult\x12\x36\n\x06result\x18\x01 \x01(\x0e\x32&.mavsdk.rpc.gimbal.GimbalResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\x84\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x10\n\x0cRESULT_ERROR\x10\x02\x12\x12\n\x0eRESULT_TIMEOUT\x10\x03\x12\x16\n\x12RESULT_UNSUPPORTED\x10\x04\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x05*B\n\nGimbalMode\x12\x1a\n\x16GIMBAL_MODE_YAW_FOLLOW\x10\x00\x12\x18\n\x14GIMBAL_MODE_YAW_LOCK\x10\x01*Z\n\x0b\x43ontrolMode\x12\x15\n\x11\x43ONTROL_MODE_NONE\x10\x00\x12\x18\n\x14\x43ONTROL_MODE_PRIMARY\x10\x01\x12\x1a\n\x16\x43ONTROL_MODE_SECONDARY\x10\x02\x32\xe7\x05\n\rGimbalService\x12g\n\x0eSetPitchAndYaw\x12(.mavsdk.rpc.gimbal.SetPitchAndYawRequest\x1a).mavsdk.rpc.gimbal.SetPitchAndYawResponse\"\x00\x12\x7f\n\x16SetPitchRateAndYawRate\x12\x30.mavsdk.rpc.gimbal.SetPitchRateAndYawRateRequest\x1a\x31.mavsdk.rpc.gimbal.SetPitchRateAndYawRateResponse\"\x00\x12R\n\x07SetMode\x12!.mavsdk.rpc.gimbal.SetModeRequest\x1a\".mavsdk.rpc.gimbal.SetModeResponse\"\x00\x12g\n\x0eSetRoiLocation\x12(.mavsdk.rpc.gimbal.SetRoiLocationRequest\x1a).mavsdk.rpc.gimbal.SetRoiLocationResponse\"\x00\x12^\n\x0bTakeControl\x12%.mavsdk.rpc.gimbal.TakeControlRequest\x1a&.mavsdk.rpc.gimbal.TakeControlResponse\"\x00\x12g\n\x0eReleaseControl\x12(.mavsdk.rpc.gimbal.ReleaseControlRequest\x1a).mavsdk.rpc.gimbal.ReleaseControlResponse\"\x00\x12\x66\n\x10SubscribeControl\x12*.mavsdk.rpc.gimbal.SubscribeControlRequest\x1a\".mavsdk.rpc.gimbal.ControlResponse\"\x00\x30\x01\x42\x1f\n\x10io.mavsdk.gimbalB\x0bGimbalProtob\x06proto3' -) - -_GIMBALMODE = _descriptor.EnumDescriptor( - name='GimbalMode', - full_name='mavsdk.rpc.gimbal.GimbalMode', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='GIMBAL_MODE_YAW_FOLLOW', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='GIMBAL_MODE_YAW_LOCK', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=1471, - serialized_end=1537, -) -_sym_db.RegisterEnumDescriptor(_GIMBALMODE) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13gimbal/gimbal.proto\x12\x11mavsdk.rpc.gimbal\";\n\x15SetPitchAndYawRequest\x12\x11\n\tpitch_deg\x18\x01 \x01(\x02\x12\x0f\n\x07yaw_deg\x18\x02 \x01(\x02\"P\n\x16SetPitchAndYawResponse\x12\x36\n\rgimbal_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.gimbal.GimbalResult\"Q\n\x1dSetPitchRateAndYawRateRequest\x12\x18\n\x10pitch_rate_deg_s\x18\x01 \x01(\x02\x12\x16\n\x0eyaw_rate_deg_s\x18\x02 \x01(\x02\"X\n\x1eSetPitchRateAndYawRateResponse\x12\x36\n\rgimbal_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.gimbal.GimbalResult\"D\n\x0eSetModeRequest\x12\x32\n\x0bgimbal_mode\x18\x01 \x01(\x0e\x32\x1d.mavsdk.rpc.gimbal.GimbalMode\"I\n\x0fSetModeResponse\x12\x36\n\rgimbal_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.gimbal.GimbalResult\"X\n\x15SetRoiLocationRequest\x12\x14\n\x0clatitude_deg\x18\x01 \x01(\x01\x12\x15\n\rlongitude_deg\x18\x02 \x01(\x01\x12\x12\n\naltitude_m\x18\x03 \x01(\x02\"P\n\x16SetRoiLocationResponse\x12\x36\n\rgimbal_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.gimbal.GimbalResult\"J\n\x12TakeControlRequest\x12\x34\n\x0c\x63ontrol_mode\x18\x01 \x01(\x0e\x32\x1e.mavsdk.rpc.gimbal.ControlMode\"M\n\x13TakeControlResponse\x12\x36\n\rgimbal_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.gimbal.GimbalResult\"\x17\n\x15ReleaseControlRequest\"P\n\x16ReleaseControlResponse\x12\x36\n\rgimbal_result\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.gimbal.GimbalResult\"\x19\n\x17SubscribeControlRequest\"K\n\x0f\x43ontrolResponse\x12\x38\n\x0e\x63ontrol_status\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.gimbal.ControlStatus\"\xc7\x01\n\rControlStatus\x12\x34\n\x0c\x63ontrol_mode\x18\x01 \x01(\x0e\x32\x1e.mavsdk.rpc.gimbal.ControlMode\x12\x1d\n\x15sysid_primary_control\x18\x02 \x01(\x05\x12\x1e\n\x16\x63ompid_primary_control\x18\x03 \x01(\x05\x12\x1f\n\x17sysid_secondary_control\x18\x04 \x01(\x05\x12 \n\x18\x63ompid_secondary_control\x18\x05 \x01(\x05\"\xe1\x01\n\x0cGimbalResult\x12\x36\n\x06result\x18\x01 \x01(\x0e\x32&.mavsdk.rpc.gimbal.GimbalResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\x84\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x10\n\x0cRESULT_ERROR\x10\x02\x12\x12\n\x0eRESULT_TIMEOUT\x10\x03\x12\x16\n\x12RESULT_UNSUPPORTED\x10\x04\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x05*B\n\nGimbalMode\x12\x1a\n\x16GIMBAL_MODE_YAW_FOLLOW\x10\x00\x12\x18\n\x14GIMBAL_MODE_YAW_LOCK\x10\x01*Z\n\x0b\x43ontrolMode\x12\x15\n\x11\x43ONTROL_MODE_NONE\x10\x00\x12\x18\n\x14\x43ONTROL_MODE_PRIMARY\x10\x01\x12\x1a\n\x16\x43ONTROL_MODE_SECONDARY\x10\x02\x32\xe7\x05\n\rGimbalService\x12g\n\x0eSetPitchAndYaw\x12(.mavsdk.rpc.gimbal.SetPitchAndYawRequest\x1a).mavsdk.rpc.gimbal.SetPitchAndYawResponse\"\x00\x12\x7f\n\x16SetPitchRateAndYawRate\x12\x30.mavsdk.rpc.gimbal.SetPitchRateAndYawRateRequest\x1a\x31.mavsdk.rpc.gimbal.SetPitchRateAndYawRateResponse\"\x00\x12R\n\x07SetMode\x12!.mavsdk.rpc.gimbal.SetModeRequest\x1a\".mavsdk.rpc.gimbal.SetModeResponse\"\x00\x12g\n\x0eSetRoiLocation\x12(.mavsdk.rpc.gimbal.SetRoiLocationRequest\x1a).mavsdk.rpc.gimbal.SetRoiLocationResponse\"\x00\x12^\n\x0bTakeControl\x12%.mavsdk.rpc.gimbal.TakeControlRequest\x1a&.mavsdk.rpc.gimbal.TakeControlResponse\"\x00\x12g\n\x0eReleaseControl\x12(.mavsdk.rpc.gimbal.ReleaseControlRequest\x1a).mavsdk.rpc.gimbal.ReleaseControlResponse\"\x00\x12\x66\n\x10SubscribeControl\x12*.mavsdk.rpc.gimbal.SubscribeControlRequest\x1a\".mavsdk.rpc.gimbal.ControlResponse\"\x00\x30\x01\x42\x1f\n\x10io.mavsdk.gimbalB\x0bGimbalProtob\x06proto3') +_GIMBALMODE = DESCRIPTOR.enum_types_by_name['GimbalMode'] GimbalMode = enum_type_wrapper.EnumTypeWrapper(_GIMBALMODE) -_CONTROLMODE = _descriptor.EnumDescriptor( - name='ControlMode', - full_name='mavsdk.rpc.gimbal.ControlMode', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='CONTROL_MODE_NONE', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='CONTROL_MODE_PRIMARY', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='CONTROL_MODE_SECONDARY', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=1539, - serialized_end=1629, -) -_sym_db.RegisterEnumDescriptor(_CONTROLMODE) - +_CONTROLMODE = DESCRIPTOR.enum_types_by_name['ControlMode'] ControlMode = enum_type_wrapper.EnumTypeWrapper(_CONTROLMODE) GIMBAL_MODE_YAW_FOLLOW = 0 GIMBAL_MODE_YAW_LOCK = 1 @@ -87,645 +28,23 @@ CONTROL_MODE_SECONDARY = 2 -_GIMBALRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.gimbal.GimbalResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_ERROR', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TIMEOUT', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_UNSUPPORTED', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=1337, - serialized_end=1469, -) -_sym_db.RegisterEnumDescriptor(_GIMBALRESULT_RESULT) - - -_SETPITCHANDYAWREQUEST = _descriptor.Descriptor( - name='SetPitchAndYawRequest', - full_name='mavsdk.rpc.gimbal.SetPitchAndYawRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='pitch_deg', full_name='mavsdk.rpc.gimbal.SetPitchAndYawRequest.pitch_deg', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yaw_deg', full_name='mavsdk.rpc.gimbal.SetPitchAndYawRequest.yaw_deg', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=42, - serialized_end=101, -) - - -_SETPITCHANDYAWRESPONSE = _descriptor.Descriptor( - name='SetPitchAndYawResponse', - full_name='mavsdk.rpc.gimbal.SetPitchAndYawResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='gimbal_result', full_name='mavsdk.rpc.gimbal.SetPitchAndYawResponse.gimbal_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=103, - serialized_end=183, -) - - -_SETPITCHRATEANDYAWRATEREQUEST = _descriptor.Descriptor( - name='SetPitchRateAndYawRateRequest', - full_name='mavsdk.rpc.gimbal.SetPitchRateAndYawRateRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='pitch_rate_deg_s', full_name='mavsdk.rpc.gimbal.SetPitchRateAndYawRateRequest.pitch_rate_deg_s', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yaw_rate_deg_s', full_name='mavsdk.rpc.gimbal.SetPitchRateAndYawRateRequest.yaw_rate_deg_s', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=185, - serialized_end=266, -) - - -_SETPITCHRATEANDYAWRATERESPONSE = _descriptor.Descriptor( - name='SetPitchRateAndYawRateResponse', - full_name='mavsdk.rpc.gimbal.SetPitchRateAndYawRateResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='gimbal_result', full_name='mavsdk.rpc.gimbal.SetPitchRateAndYawRateResponse.gimbal_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=268, - serialized_end=356, -) - - -_SETMODEREQUEST = _descriptor.Descriptor( - name='SetModeRequest', - full_name='mavsdk.rpc.gimbal.SetModeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='gimbal_mode', full_name='mavsdk.rpc.gimbal.SetModeRequest.gimbal_mode', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=358, - serialized_end=426, -) - - -_SETMODERESPONSE = _descriptor.Descriptor( - name='SetModeResponse', - full_name='mavsdk.rpc.gimbal.SetModeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='gimbal_result', full_name='mavsdk.rpc.gimbal.SetModeResponse.gimbal_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=428, - serialized_end=501, -) - - -_SETROILOCATIONREQUEST = _descriptor.Descriptor( - name='SetRoiLocationRequest', - full_name='mavsdk.rpc.gimbal.SetRoiLocationRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='latitude_deg', full_name='mavsdk.rpc.gimbal.SetRoiLocationRequest.latitude_deg', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='longitude_deg', full_name='mavsdk.rpc.gimbal.SetRoiLocationRequest.longitude_deg', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='altitude_m', full_name='mavsdk.rpc.gimbal.SetRoiLocationRequest.altitude_m', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=503, - serialized_end=591, -) - - -_SETROILOCATIONRESPONSE = _descriptor.Descriptor( - name='SetRoiLocationResponse', - full_name='mavsdk.rpc.gimbal.SetRoiLocationResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='gimbal_result', full_name='mavsdk.rpc.gimbal.SetRoiLocationResponse.gimbal_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=593, - serialized_end=673, -) - - -_TAKECONTROLREQUEST = _descriptor.Descriptor( - name='TakeControlRequest', - full_name='mavsdk.rpc.gimbal.TakeControlRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='control_mode', full_name='mavsdk.rpc.gimbal.TakeControlRequest.control_mode', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=675, - serialized_end=749, -) - - -_TAKECONTROLRESPONSE = _descriptor.Descriptor( - name='TakeControlResponse', - full_name='mavsdk.rpc.gimbal.TakeControlResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='gimbal_result', full_name='mavsdk.rpc.gimbal.TakeControlResponse.gimbal_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=751, - serialized_end=828, -) - - -_RELEASECONTROLREQUEST = _descriptor.Descriptor( - name='ReleaseControlRequest', - full_name='mavsdk.rpc.gimbal.ReleaseControlRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=830, - serialized_end=853, -) - - -_RELEASECONTROLRESPONSE = _descriptor.Descriptor( - name='ReleaseControlResponse', - full_name='mavsdk.rpc.gimbal.ReleaseControlResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='gimbal_result', full_name='mavsdk.rpc.gimbal.ReleaseControlResponse.gimbal_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=855, - serialized_end=935, -) - - -_SUBSCRIBECONTROLREQUEST = _descriptor.Descriptor( - name='SubscribeControlRequest', - full_name='mavsdk.rpc.gimbal.SubscribeControlRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=937, - serialized_end=962, -) - - -_CONTROLRESPONSE = _descriptor.Descriptor( - name='ControlResponse', - full_name='mavsdk.rpc.gimbal.ControlResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='control_status', full_name='mavsdk.rpc.gimbal.ControlResponse.control_status', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=964, - serialized_end=1039, -) - - -_CONTROLSTATUS = _descriptor.Descriptor( - name='ControlStatus', - full_name='mavsdk.rpc.gimbal.ControlStatus', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='control_mode', full_name='mavsdk.rpc.gimbal.ControlStatus.control_mode', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sysid_primary_control', full_name='mavsdk.rpc.gimbal.ControlStatus.sysid_primary_control', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='compid_primary_control', full_name='mavsdk.rpc.gimbal.ControlStatus.compid_primary_control', index=2, - number=3, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sysid_secondary_control', full_name='mavsdk.rpc.gimbal.ControlStatus.sysid_secondary_control', index=3, - number=4, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='compid_secondary_control', full_name='mavsdk.rpc.gimbal.ControlStatus.compid_secondary_control', index=4, - number=5, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1042, - serialized_end=1241, -) - - -_GIMBALRESULT = _descriptor.Descriptor( - name='GimbalResult', - full_name='mavsdk.rpc.gimbal.GimbalResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.gimbal.GimbalResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.gimbal.GimbalResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _GIMBALRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1244, - serialized_end=1469, -) - -_SETPITCHANDYAWRESPONSE.fields_by_name['gimbal_result'].message_type = _GIMBALRESULT -_SETPITCHRATEANDYAWRATERESPONSE.fields_by_name['gimbal_result'].message_type = _GIMBALRESULT -_SETMODEREQUEST.fields_by_name['gimbal_mode'].enum_type = _GIMBALMODE -_SETMODERESPONSE.fields_by_name['gimbal_result'].message_type = _GIMBALRESULT -_SETROILOCATIONRESPONSE.fields_by_name['gimbal_result'].message_type = _GIMBALRESULT -_TAKECONTROLREQUEST.fields_by_name['control_mode'].enum_type = _CONTROLMODE -_TAKECONTROLRESPONSE.fields_by_name['gimbal_result'].message_type = _GIMBALRESULT -_RELEASECONTROLRESPONSE.fields_by_name['gimbal_result'].message_type = _GIMBALRESULT -_CONTROLRESPONSE.fields_by_name['control_status'].message_type = _CONTROLSTATUS -_CONTROLSTATUS.fields_by_name['control_mode'].enum_type = _CONTROLMODE -_GIMBALRESULT.fields_by_name['result'].enum_type = _GIMBALRESULT_RESULT -_GIMBALRESULT_RESULT.containing_type = _GIMBALRESULT -DESCRIPTOR.message_types_by_name['SetPitchAndYawRequest'] = _SETPITCHANDYAWREQUEST -DESCRIPTOR.message_types_by_name['SetPitchAndYawResponse'] = _SETPITCHANDYAWRESPONSE -DESCRIPTOR.message_types_by_name['SetPitchRateAndYawRateRequest'] = _SETPITCHRATEANDYAWRATEREQUEST -DESCRIPTOR.message_types_by_name['SetPitchRateAndYawRateResponse'] = _SETPITCHRATEANDYAWRATERESPONSE -DESCRIPTOR.message_types_by_name['SetModeRequest'] = _SETMODEREQUEST -DESCRIPTOR.message_types_by_name['SetModeResponse'] = _SETMODERESPONSE -DESCRIPTOR.message_types_by_name['SetRoiLocationRequest'] = _SETROILOCATIONREQUEST -DESCRIPTOR.message_types_by_name['SetRoiLocationResponse'] = _SETROILOCATIONRESPONSE -DESCRIPTOR.message_types_by_name['TakeControlRequest'] = _TAKECONTROLREQUEST -DESCRIPTOR.message_types_by_name['TakeControlResponse'] = _TAKECONTROLRESPONSE -DESCRIPTOR.message_types_by_name['ReleaseControlRequest'] = _RELEASECONTROLREQUEST -DESCRIPTOR.message_types_by_name['ReleaseControlResponse'] = _RELEASECONTROLRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeControlRequest'] = _SUBSCRIBECONTROLREQUEST -DESCRIPTOR.message_types_by_name['ControlResponse'] = _CONTROLRESPONSE -DESCRIPTOR.message_types_by_name['ControlStatus'] = _CONTROLSTATUS -DESCRIPTOR.message_types_by_name['GimbalResult'] = _GIMBALRESULT -DESCRIPTOR.enum_types_by_name['GimbalMode'] = _GIMBALMODE -DESCRIPTOR.enum_types_by_name['ControlMode'] = _CONTROLMODE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_SETPITCHANDYAWREQUEST = DESCRIPTOR.message_types_by_name['SetPitchAndYawRequest'] +_SETPITCHANDYAWRESPONSE = DESCRIPTOR.message_types_by_name['SetPitchAndYawResponse'] +_SETPITCHRATEANDYAWRATEREQUEST = DESCRIPTOR.message_types_by_name['SetPitchRateAndYawRateRequest'] +_SETPITCHRATEANDYAWRATERESPONSE = DESCRIPTOR.message_types_by_name['SetPitchRateAndYawRateResponse'] +_SETMODEREQUEST = DESCRIPTOR.message_types_by_name['SetModeRequest'] +_SETMODERESPONSE = DESCRIPTOR.message_types_by_name['SetModeResponse'] +_SETROILOCATIONREQUEST = DESCRIPTOR.message_types_by_name['SetRoiLocationRequest'] +_SETROILOCATIONRESPONSE = DESCRIPTOR.message_types_by_name['SetRoiLocationResponse'] +_TAKECONTROLREQUEST = DESCRIPTOR.message_types_by_name['TakeControlRequest'] +_TAKECONTROLRESPONSE = DESCRIPTOR.message_types_by_name['TakeControlResponse'] +_RELEASECONTROLREQUEST = DESCRIPTOR.message_types_by_name['ReleaseControlRequest'] +_RELEASECONTROLRESPONSE = DESCRIPTOR.message_types_by_name['ReleaseControlResponse'] +_SUBSCRIBECONTROLREQUEST = DESCRIPTOR.message_types_by_name['SubscribeControlRequest'] +_CONTROLRESPONSE = DESCRIPTOR.message_types_by_name['ControlResponse'] +_CONTROLSTATUS = DESCRIPTOR.message_types_by_name['ControlStatus'] +_GIMBALRESULT = DESCRIPTOR.message_types_by_name['GimbalResult'] +_GIMBALRESULT_RESULT = _GIMBALRESULT.enum_types_by_name['Result'] SetPitchAndYawRequest = _reflection.GeneratedProtocolMessageType('SetPitchAndYawRequest', (_message.Message,), { 'DESCRIPTOR' : _SETPITCHANDYAWREQUEST, '__module__' : 'gimbal.gimbal_pb2' @@ -838,92 +157,49 @@ }) _sym_db.RegisterMessage(GimbalResult) - -DESCRIPTOR._options = None - -_GIMBALSERVICE = _descriptor.ServiceDescriptor( - name='GimbalService', - full_name='mavsdk.rpc.gimbal.GimbalService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=1632, - serialized_end=2375, - methods=[ - _descriptor.MethodDescriptor( - name='SetPitchAndYaw', - full_name='mavsdk.rpc.gimbal.GimbalService.SetPitchAndYaw', - index=0, - containing_service=None, - input_type=_SETPITCHANDYAWREQUEST, - output_type=_SETPITCHANDYAWRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetPitchRateAndYawRate', - full_name='mavsdk.rpc.gimbal.GimbalService.SetPitchRateAndYawRate', - index=1, - containing_service=None, - input_type=_SETPITCHRATEANDYAWRATEREQUEST, - output_type=_SETPITCHRATEANDYAWRATERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetMode', - full_name='mavsdk.rpc.gimbal.GimbalService.SetMode', - index=2, - containing_service=None, - input_type=_SETMODEREQUEST, - output_type=_SETMODERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRoiLocation', - full_name='mavsdk.rpc.gimbal.GimbalService.SetRoiLocation', - index=3, - containing_service=None, - input_type=_SETROILOCATIONREQUEST, - output_type=_SETROILOCATIONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='TakeControl', - full_name='mavsdk.rpc.gimbal.GimbalService.TakeControl', - index=4, - containing_service=None, - input_type=_TAKECONTROLREQUEST, - output_type=_TAKECONTROLRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ReleaseControl', - full_name='mavsdk.rpc.gimbal.GimbalService.ReleaseControl', - index=5, - containing_service=None, - input_type=_RELEASECONTROLREQUEST, - output_type=_RELEASECONTROLRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeControl', - full_name='mavsdk.rpc.gimbal.GimbalService.SubscribeControl', - index=6, - containing_service=None, - input_type=_SUBSCRIBECONTROLREQUEST, - output_type=_CONTROLRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_GIMBALSERVICE) - -DESCRIPTOR.services_by_name['GimbalService'] = _GIMBALSERVICE - +_GIMBALSERVICE = DESCRIPTOR.services_by_name['GimbalService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\020io.mavsdk.gimbalB\013GimbalProto' + _GIMBALMODE._serialized_start=1471 + _GIMBALMODE._serialized_end=1537 + _CONTROLMODE._serialized_start=1539 + _CONTROLMODE._serialized_end=1629 + _SETPITCHANDYAWREQUEST._serialized_start=42 + _SETPITCHANDYAWREQUEST._serialized_end=101 + _SETPITCHANDYAWRESPONSE._serialized_start=103 + _SETPITCHANDYAWRESPONSE._serialized_end=183 + _SETPITCHRATEANDYAWRATEREQUEST._serialized_start=185 + _SETPITCHRATEANDYAWRATEREQUEST._serialized_end=266 + _SETPITCHRATEANDYAWRATERESPONSE._serialized_start=268 + _SETPITCHRATEANDYAWRATERESPONSE._serialized_end=356 + _SETMODEREQUEST._serialized_start=358 + _SETMODEREQUEST._serialized_end=426 + _SETMODERESPONSE._serialized_start=428 + _SETMODERESPONSE._serialized_end=501 + _SETROILOCATIONREQUEST._serialized_start=503 + _SETROILOCATIONREQUEST._serialized_end=591 + _SETROILOCATIONRESPONSE._serialized_start=593 + _SETROILOCATIONRESPONSE._serialized_end=673 + _TAKECONTROLREQUEST._serialized_start=675 + _TAKECONTROLREQUEST._serialized_end=749 + _TAKECONTROLRESPONSE._serialized_start=751 + _TAKECONTROLRESPONSE._serialized_end=828 + _RELEASECONTROLREQUEST._serialized_start=830 + _RELEASECONTROLREQUEST._serialized_end=853 + _RELEASECONTROLRESPONSE._serialized_start=855 + _RELEASECONTROLRESPONSE._serialized_end=935 + _SUBSCRIBECONTROLREQUEST._serialized_start=937 + _SUBSCRIBECONTROLREQUEST._serialized_end=962 + _CONTROLRESPONSE._serialized_start=964 + _CONTROLRESPONSE._serialized_end=1039 + _CONTROLSTATUS._serialized_start=1042 + _CONTROLSTATUS._serialized_end=1241 + _GIMBALRESULT._serialized_start=1244 + _GIMBALRESULT._serialized_end=1469 + _GIMBALRESULT_RESULT._serialized_start=1337 + _GIMBALRESULT_RESULT._serialized_end=1469 + _GIMBALSERVICE._serialized_start=1632 + _GIMBALSERVICE._serialized_end=2375 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/info_pb2.py b/mavsdk/info_pb2.py index ac1b669b..efa74e8e 100644 --- a/mavsdk/info_pb2.py +++ b/mavsdk/info_pb2.py @@ -3,6 +3,7 @@ # source: info/info.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -14,674 +15,26 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='info/info.proto', - package='mavsdk.rpc.info', - syntax='proto3', - serialized_options=b'\n\016io.mavsdk.infoB\tInfoProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x0finfo/info.proto\x12\x0fmavsdk.rpc.info\x1a\x14mavsdk_options.proto\"\x1d\n\x1bGetFlightInformationRequest\"\x82\x01\n\x1cGetFlightInformationResponse\x12\x30\n\x0binfo_result\x18\x01 \x01(\x0b\x32\x1b.mavsdk.rpc.info.InfoResult\x12\x30\n\x0b\x66light_info\x18\x02 \x01(\x0b\x32\x1b.mavsdk.rpc.info.FlightInfo\"\x1a\n\x18GetIdentificationRequest\"\x86\x01\n\x19GetIdentificationResponse\x12\x30\n\x0binfo_result\x18\x01 \x01(\x0b\x32\x1b.mavsdk.rpc.info.InfoResult\x12\x37\n\x0eidentification\x18\x02 \x01(\x0b\x32\x1f.mavsdk.rpc.info.Identification\"\x13\n\x11GetProductRequest\"q\n\x12GetProductResponse\x12\x30\n\x0binfo_result\x18\x01 \x01(\x0b\x32\x1b.mavsdk.rpc.info.InfoResult\x12)\n\x07product\x18\x02 \x01(\x0b\x32\x18.mavsdk.rpc.info.Product\"\x13\n\x11GetVersionRequest\"q\n\x12GetVersionResponse\x12\x30\n\x0binfo_result\x18\x01 \x01(\x0b\x32\x1b.mavsdk.rpc.info.InfoResult\x12)\n\x07version\x18\x02 \x01(\x0b\x32\x18.mavsdk.rpc.info.Version\"\x17\n\x15GetSpeedFactorRequest\"`\n\x16GetSpeedFactorResponse\x12\x30\n\x0binfo_result\x18\x01 \x01(\x0b\x32\x1b.mavsdk.rpc.info.InfoResult\x12\x14\n\x0cspeed_factor\x18\x02 \x01(\x01\"6\n\nFlightInfo\x12\x14\n\x0ctime_boot_ms\x18\x01 \x01(\r\x12\x12\n\nflight_uid\x18\x02 \x01(\x04\":\n\x0eIdentification\x12\x14\n\x0chardware_uid\x18\x01 \x01(\t\x12\x12\n\nlegacy_uid\x18\x02 \x01(\x04\"[\n\x07Product\x12\x11\n\tvendor_id\x18\x01 \x01(\x05\x12\x13\n\x0bvendor_name\x18\x02 \x01(\t\x12\x12\n\nproduct_id\x18\x03 \x01(\x05\x12\x14\n\x0cproduct_name\x18\x04 \x01(\t\"\xa7\x02\n\x07Version\x12\x17\n\x0f\x66light_sw_major\x18\x01 \x01(\x05\x12\x17\n\x0f\x66light_sw_minor\x18\x02 \x01(\x05\x12\x17\n\x0f\x66light_sw_patch\x18\x03 \x01(\x05\x12\x1e\n\x16\x66light_sw_vendor_major\x18\x04 \x01(\x05\x12\x1e\n\x16\x66light_sw_vendor_minor\x18\x05 \x01(\x05\x12\x1e\n\x16\x66light_sw_vendor_patch\x18\x06 \x01(\x05\x12\x13\n\x0bos_sw_major\x18\x07 \x01(\x05\x12\x13\n\x0bos_sw_minor\x18\x08 \x01(\x05\x12\x13\n\x0bos_sw_patch\x18\t \x01(\x05\x12\x1a\n\x12\x66light_sw_git_hash\x18\n \x01(\t\x12\x16\n\x0eos_sw_git_hash\x18\x0b \x01(\t\"\xc5\x01\n\nInfoResult\x12\x32\n\x06result\x18\x01 \x01(\x0e\x32\".mavsdk.rpc.info.InfoResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"o\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\'\n#RESULT_INFORMATION_NOT_RECEIVED_YET\x10\x02\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x03\x32\x9d\x04\n\x0bInfoService\x12y\n\x14GetFlightInformation\x12,.mavsdk.rpc.info.GetFlightInformationRequest\x1a-.mavsdk.rpc.info.GetFlightInformationResponse\"\x04\x80\xb5\x18\x01\x12p\n\x11GetIdentification\x12).mavsdk.rpc.info.GetIdentificationRequest\x1a*.mavsdk.rpc.info.GetIdentificationResponse\"\x04\x80\xb5\x18\x01\x12[\n\nGetProduct\x12\".mavsdk.rpc.info.GetProductRequest\x1a#.mavsdk.rpc.info.GetProductResponse\"\x04\x80\xb5\x18\x01\x12[\n\nGetVersion\x12\".mavsdk.rpc.info.GetVersionRequest\x1a#.mavsdk.rpc.info.GetVersionResponse\"\x04\x80\xb5\x18\x01\x12g\n\x0eGetSpeedFactor\x12&.mavsdk.rpc.info.GetSpeedFactorRequest\x1a\'.mavsdk.rpc.info.GetSpeedFactorResponse\"\x04\x80\xb5\x18\x01\x42\x1b\n\x0eio.mavsdk.infoB\tInfoProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0finfo/info.proto\x12\x0fmavsdk.rpc.info\x1a\x14mavsdk_options.proto\"\x1d\n\x1bGetFlightInformationRequest\"\x82\x01\n\x1cGetFlightInformationResponse\x12\x30\n\x0binfo_result\x18\x01 \x01(\x0b\x32\x1b.mavsdk.rpc.info.InfoResult\x12\x30\n\x0b\x66light_info\x18\x02 \x01(\x0b\x32\x1b.mavsdk.rpc.info.FlightInfo\"\x1a\n\x18GetIdentificationRequest\"\x86\x01\n\x19GetIdentificationResponse\x12\x30\n\x0binfo_result\x18\x01 \x01(\x0b\x32\x1b.mavsdk.rpc.info.InfoResult\x12\x37\n\x0eidentification\x18\x02 \x01(\x0b\x32\x1f.mavsdk.rpc.info.Identification\"\x13\n\x11GetProductRequest\"q\n\x12GetProductResponse\x12\x30\n\x0binfo_result\x18\x01 \x01(\x0b\x32\x1b.mavsdk.rpc.info.InfoResult\x12)\n\x07product\x18\x02 \x01(\x0b\x32\x18.mavsdk.rpc.info.Product\"\x13\n\x11GetVersionRequest\"q\n\x12GetVersionResponse\x12\x30\n\x0binfo_result\x18\x01 \x01(\x0b\x32\x1b.mavsdk.rpc.info.InfoResult\x12)\n\x07version\x18\x02 \x01(\x0b\x32\x18.mavsdk.rpc.info.Version\"\x17\n\x15GetSpeedFactorRequest\"`\n\x16GetSpeedFactorResponse\x12\x30\n\x0binfo_result\x18\x01 \x01(\x0b\x32\x1b.mavsdk.rpc.info.InfoResult\x12\x14\n\x0cspeed_factor\x18\x02 \x01(\x01\"6\n\nFlightInfo\x12\x14\n\x0ctime_boot_ms\x18\x01 \x01(\r\x12\x12\n\nflight_uid\x18\x02 \x01(\x04\":\n\x0eIdentification\x12\x14\n\x0chardware_uid\x18\x01 \x01(\t\x12\x12\n\nlegacy_uid\x18\x02 \x01(\x04\"[\n\x07Product\x12\x11\n\tvendor_id\x18\x01 \x01(\x05\x12\x13\n\x0bvendor_name\x18\x02 \x01(\t\x12\x12\n\nproduct_id\x18\x03 \x01(\x05\x12\x14\n\x0cproduct_name\x18\x04 \x01(\t\"\xa7\x02\n\x07Version\x12\x17\n\x0f\x66light_sw_major\x18\x01 \x01(\x05\x12\x17\n\x0f\x66light_sw_minor\x18\x02 \x01(\x05\x12\x17\n\x0f\x66light_sw_patch\x18\x03 \x01(\x05\x12\x1e\n\x16\x66light_sw_vendor_major\x18\x04 \x01(\x05\x12\x1e\n\x16\x66light_sw_vendor_minor\x18\x05 \x01(\x05\x12\x1e\n\x16\x66light_sw_vendor_patch\x18\x06 \x01(\x05\x12\x13\n\x0bos_sw_major\x18\x07 \x01(\x05\x12\x13\n\x0bos_sw_minor\x18\x08 \x01(\x05\x12\x13\n\x0bos_sw_patch\x18\t \x01(\x05\x12\x1a\n\x12\x66light_sw_git_hash\x18\n \x01(\t\x12\x16\n\x0eos_sw_git_hash\x18\x0b \x01(\t\"\xc5\x01\n\nInfoResult\x12\x32\n\x06result\x18\x01 \x01(\x0e\x32\".mavsdk.rpc.info.InfoResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"o\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\'\n#RESULT_INFORMATION_NOT_RECEIVED_YET\x10\x02\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x03\x32\x9d\x04\n\x0bInfoService\x12y\n\x14GetFlightInformation\x12,.mavsdk.rpc.info.GetFlightInformationRequest\x1a-.mavsdk.rpc.info.GetFlightInformationResponse\"\x04\x80\xb5\x18\x01\x12p\n\x11GetIdentification\x12).mavsdk.rpc.info.GetIdentificationRequest\x1a*.mavsdk.rpc.info.GetIdentificationResponse\"\x04\x80\xb5\x18\x01\x12[\n\nGetProduct\x12\".mavsdk.rpc.info.GetProductRequest\x1a#.mavsdk.rpc.info.GetProductResponse\"\x04\x80\xb5\x18\x01\x12[\n\nGetVersion\x12\".mavsdk.rpc.info.GetVersionRequest\x1a#.mavsdk.rpc.info.GetVersionResponse\"\x04\x80\xb5\x18\x01\x12g\n\x0eGetSpeedFactor\x12&.mavsdk.rpc.info.GetSpeedFactorRequest\x1a\'.mavsdk.rpc.info.GetSpeedFactorResponse\"\x04\x80\xb5\x18\x01\x42\x1b\n\x0eio.mavsdk.infoB\tInfoProtob\x06proto3') -_INFORESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.info.InfoResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_INFORMATION_NOT_RECEIVED_YET', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=1376, - serialized_end=1487, -) -_sym_db.RegisterEnumDescriptor(_INFORESULT_RESULT) - - -_GETFLIGHTINFORMATIONREQUEST = _descriptor.Descriptor( - name='GetFlightInformationRequest', - full_name='mavsdk.rpc.info.GetFlightInformationRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=58, - serialized_end=87, -) - - -_GETFLIGHTINFORMATIONRESPONSE = _descriptor.Descriptor( - name='GetFlightInformationResponse', - full_name='mavsdk.rpc.info.GetFlightInformationResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='info_result', full_name='mavsdk.rpc.info.GetFlightInformationResponse.info_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='flight_info', full_name='mavsdk.rpc.info.GetFlightInformationResponse.flight_info', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=90, - serialized_end=220, -) - - -_GETIDENTIFICATIONREQUEST = _descriptor.Descriptor( - name='GetIdentificationRequest', - full_name='mavsdk.rpc.info.GetIdentificationRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=222, - serialized_end=248, -) - - -_GETIDENTIFICATIONRESPONSE = _descriptor.Descriptor( - name='GetIdentificationResponse', - full_name='mavsdk.rpc.info.GetIdentificationResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='info_result', full_name='mavsdk.rpc.info.GetIdentificationResponse.info_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='identification', full_name='mavsdk.rpc.info.GetIdentificationResponse.identification', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=251, - serialized_end=385, -) - - -_GETPRODUCTREQUEST = _descriptor.Descriptor( - name='GetProductRequest', - full_name='mavsdk.rpc.info.GetProductRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=387, - serialized_end=406, -) - - -_GETPRODUCTRESPONSE = _descriptor.Descriptor( - name='GetProductResponse', - full_name='mavsdk.rpc.info.GetProductResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='info_result', full_name='mavsdk.rpc.info.GetProductResponse.info_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='product', full_name='mavsdk.rpc.info.GetProductResponse.product', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=408, - serialized_end=521, -) - - -_GETVERSIONREQUEST = _descriptor.Descriptor( - name='GetVersionRequest', - full_name='mavsdk.rpc.info.GetVersionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=523, - serialized_end=542, -) - - -_GETVERSIONRESPONSE = _descriptor.Descriptor( - name='GetVersionResponse', - full_name='mavsdk.rpc.info.GetVersionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='info_result', full_name='mavsdk.rpc.info.GetVersionResponse.info_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='version', full_name='mavsdk.rpc.info.GetVersionResponse.version', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=544, - serialized_end=657, -) - - -_GETSPEEDFACTORREQUEST = _descriptor.Descriptor( - name='GetSpeedFactorRequest', - full_name='mavsdk.rpc.info.GetSpeedFactorRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=659, - serialized_end=682, -) - - -_GETSPEEDFACTORRESPONSE = _descriptor.Descriptor( - name='GetSpeedFactorResponse', - full_name='mavsdk.rpc.info.GetSpeedFactorResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='info_result', full_name='mavsdk.rpc.info.GetSpeedFactorResponse.info_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='speed_factor', full_name='mavsdk.rpc.info.GetSpeedFactorResponse.speed_factor', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=684, - serialized_end=780, -) - - -_FLIGHTINFO = _descriptor.Descriptor( - name='FlightInfo', - full_name='mavsdk.rpc.info.FlightInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='time_boot_ms', full_name='mavsdk.rpc.info.FlightInfo.time_boot_ms', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='flight_uid', full_name='mavsdk.rpc.info.FlightInfo.flight_uid', index=1, - number=2, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=782, - serialized_end=836, -) - - -_IDENTIFICATION = _descriptor.Descriptor( - name='Identification', - full_name='mavsdk.rpc.info.Identification', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='hardware_uid', full_name='mavsdk.rpc.info.Identification.hardware_uid', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='legacy_uid', full_name='mavsdk.rpc.info.Identification.legacy_uid', index=1, - number=2, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=838, - serialized_end=896, -) - - -_PRODUCT = _descriptor.Descriptor( - name='Product', - full_name='mavsdk.rpc.info.Product', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='vendor_id', full_name='mavsdk.rpc.info.Product.vendor_id', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='vendor_name', full_name='mavsdk.rpc.info.Product.vendor_name', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='product_id', full_name='mavsdk.rpc.info.Product.product_id', index=2, - number=3, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='product_name', full_name='mavsdk.rpc.info.Product.product_name', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=898, - serialized_end=989, -) - - -_VERSION = _descriptor.Descriptor( - name='Version', - full_name='mavsdk.rpc.info.Version', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='flight_sw_major', full_name='mavsdk.rpc.info.Version.flight_sw_major', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='flight_sw_minor', full_name='mavsdk.rpc.info.Version.flight_sw_minor', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='flight_sw_patch', full_name='mavsdk.rpc.info.Version.flight_sw_patch', index=2, - number=3, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='flight_sw_vendor_major', full_name='mavsdk.rpc.info.Version.flight_sw_vendor_major', index=3, - number=4, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='flight_sw_vendor_minor', full_name='mavsdk.rpc.info.Version.flight_sw_vendor_minor', index=4, - number=5, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='flight_sw_vendor_patch', full_name='mavsdk.rpc.info.Version.flight_sw_vendor_patch', index=5, - number=6, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='os_sw_major', full_name='mavsdk.rpc.info.Version.os_sw_major', index=6, - number=7, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='os_sw_minor', full_name='mavsdk.rpc.info.Version.os_sw_minor', index=7, - number=8, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='os_sw_patch', full_name='mavsdk.rpc.info.Version.os_sw_patch', index=8, - number=9, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='flight_sw_git_hash', full_name='mavsdk.rpc.info.Version.flight_sw_git_hash', index=9, - number=10, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='os_sw_git_hash', full_name='mavsdk.rpc.info.Version.os_sw_git_hash', index=10, - number=11, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=992, - serialized_end=1287, -) - - -_INFORESULT = _descriptor.Descriptor( - name='InfoResult', - full_name='mavsdk.rpc.info.InfoResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.info.InfoResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.info.InfoResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _INFORESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1290, - serialized_end=1487, -) - -_GETFLIGHTINFORMATIONRESPONSE.fields_by_name['info_result'].message_type = _INFORESULT -_GETFLIGHTINFORMATIONRESPONSE.fields_by_name['flight_info'].message_type = _FLIGHTINFO -_GETIDENTIFICATIONRESPONSE.fields_by_name['info_result'].message_type = _INFORESULT -_GETIDENTIFICATIONRESPONSE.fields_by_name['identification'].message_type = _IDENTIFICATION -_GETPRODUCTRESPONSE.fields_by_name['info_result'].message_type = _INFORESULT -_GETPRODUCTRESPONSE.fields_by_name['product'].message_type = _PRODUCT -_GETVERSIONRESPONSE.fields_by_name['info_result'].message_type = _INFORESULT -_GETVERSIONRESPONSE.fields_by_name['version'].message_type = _VERSION -_GETSPEEDFACTORRESPONSE.fields_by_name['info_result'].message_type = _INFORESULT -_INFORESULT.fields_by_name['result'].enum_type = _INFORESULT_RESULT -_INFORESULT_RESULT.containing_type = _INFORESULT -DESCRIPTOR.message_types_by_name['GetFlightInformationRequest'] = _GETFLIGHTINFORMATIONREQUEST -DESCRIPTOR.message_types_by_name['GetFlightInformationResponse'] = _GETFLIGHTINFORMATIONRESPONSE -DESCRIPTOR.message_types_by_name['GetIdentificationRequest'] = _GETIDENTIFICATIONREQUEST -DESCRIPTOR.message_types_by_name['GetIdentificationResponse'] = _GETIDENTIFICATIONRESPONSE -DESCRIPTOR.message_types_by_name['GetProductRequest'] = _GETPRODUCTREQUEST -DESCRIPTOR.message_types_by_name['GetProductResponse'] = _GETPRODUCTRESPONSE -DESCRIPTOR.message_types_by_name['GetVersionRequest'] = _GETVERSIONREQUEST -DESCRIPTOR.message_types_by_name['GetVersionResponse'] = _GETVERSIONRESPONSE -DESCRIPTOR.message_types_by_name['GetSpeedFactorRequest'] = _GETSPEEDFACTORREQUEST -DESCRIPTOR.message_types_by_name['GetSpeedFactorResponse'] = _GETSPEEDFACTORRESPONSE -DESCRIPTOR.message_types_by_name['FlightInfo'] = _FLIGHTINFO -DESCRIPTOR.message_types_by_name['Identification'] = _IDENTIFICATION -DESCRIPTOR.message_types_by_name['Product'] = _PRODUCT -DESCRIPTOR.message_types_by_name['Version'] = _VERSION -DESCRIPTOR.message_types_by_name['InfoResult'] = _INFORESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_GETFLIGHTINFORMATIONREQUEST = DESCRIPTOR.message_types_by_name['GetFlightInformationRequest'] +_GETFLIGHTINFORMATIONRESPONSE = DESCRIPTOR.message_types_by_name['GetFlightInformationResponse'] +_GETIDENTIFICATIONREQUEST = DESCRIPTOR.message_types_by_name['GetIdentificationRequest'] +_GETIDENTIFICATIONRESPONSE = DESCRIPTOR.message_types_by_name['GetIdentificationResponse'] +_GETPRODUCTREQUEST = DESCRIPTOR.message_types_by_name['GetProductRequest'] +_GETPRODUCTRESPONSE = DESCRIPTOR.message_types_by_name['GetProductResponse'] +_GETVERSIONREQUEST = DESCRIPTOR.message_types_by_name['GetVersionRequest'] +_GETVERSIONRESPONSE = DESCRIPTOR.message_types_by_name['GetVersionResponse'] +_GETSPEEDFACTORREQUEST = DESCRIPTOR.message_types_by_name['GetSpeedFactorRequest'] +_GETSPEEDFACTORRESPONSE = DESCRIPTOR.message_types_by_name['GetSpeedFactorResponse'] +_FLIGHTINFO = DESCRIPTOR.message_types_by_name['FlightInfo'] +_IDENTIFICATION = DESCRIPTOR.message_types_by_name['Identification'] +_PRODUCT = DESCRIPTOR.message_types_by_name['Product'] +_VERSION = DESCRIPTOR.message_types_by_name['Version'] +_INFORESULT = DESCRIPTOR.message_types_by_name['InfoResult'] +_INFORESULT_RESULT = _INFORESULT.enum_types_by_name['Result'] GetFlightInformationRequest = _reflection.GeneratedProtocolMessageType('GetFlightInformationRequest', (_message.Message,), { 'DESCRIPTOR' : _GETFLIGHTINFORMATIONREQUEST, '__module__' : 'info.info_pb2' @@ -787,72 +140,53 @@ }) _sym_db.RegisterMessage(InfoResult) - -DESCRIPTOR._options = None - -_INFOSERVICE = _descriptor.ServiceDescriptor( - name='InfoService', - full_name='mavsdk.rpc.info.InfoService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=1490, - serialized_end=2031, - methods=[ - _descriptor.MethodDescriptor( - name='GetFlightInformation', - full_name='mavsdk.rpc.info.InfoService.GetFlightInformation', - index=0, - containing_service=None, - input_type=_GETFLIGHTINFORMATIONREQUEST, - output_type=_GETFLIGHTINFORMATIONRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetIdentification', - full_name='mavsdk.rpc.info.InfoService.GetIdentification', - index=1, - containing_service=None, - input_type=_GETIDENTIFICATIONREQUEST, - output_type=_GETIDENTIFICATIONRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetProduct', - full_name='mavsdk.rpc.info.InfoService.GetProduct', - index=2, - containing_service=None, - input_type=_GETPRODUCTREQUEST, - output_type=_GETPRODUCTRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetVersion', - full_name='mavsdk.rpc.info.InfoService.GetVersion', - index=3, - containing_service=None, - input_type=_GETVERSIONREQUEST, - output_type=_GETVERSIONRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetSpeedFactor', - full_name='mavsdk.rpc.info.InfoService.GetSpeedFactor', - index=4, - containing_service=None, - input_type=_GETSPEEDFACTORREQUEST, - output_type=_GETSPEEDFACTORRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_INFOSERVICE) - -DESCRIPTOR.services_by_name['InfoService'] = _INFOSERVICE - +_INFOSERVICE = DESCRIPTOR.services_by_name['InfoService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\016io.mavsdk.infoB\tInfoProto' + _INFOSERVICE.methods_by_name['GetFlightInformation']._options = None + _INFOSERVICE.methods_by_name['GetFlightInformation']._serialized_options = b'\200\265\030\001' + _INFOSERVICE.methods_by_name['GetIdentification']._options = None + _INFOSERVICE.methods_by_name['GetIdentification']._serialized_options = b'\200\265\030\001' + _INFOSERVICE.methods_by_name['GetProduct']._options = None + _INFOSERVICE.methods_by_name['GetProduct']._serialized_options = b'\200\265\030\001' + _INFOSERVICE.methods_by_name['GetVersion']._options = None + _INFOSERVICE.methods_by_name['GetVersion']._serialized_options = b'\200\265\030\001' + _INFOSERVICE.methods_by_name['GetSpeedFactor']._options = None + _INFOSERVICE.methods_by_name['GetSpeedFactor']._serialized_options = b'\200\265\030\001' + _GETFLIGHTINFORMATIONREQUEST._serialized_start=58 + _GETFLIGHTINFORMATIONREQUEST._serialized_end=87 + _GETFLIGHTINFORMATIONRESPONSE._serialized_start=90 + _GETFLIGHTINFORMATIONRESPONSE._serialized_end=220 + _GETIDENTIFICATIONREQUEST._serialized_start=222 + _GETIDENTIFICATIONREQUEST._serialized_end=248 + _GETIDENTIFICATIONRESPONSE._serialized_start=251 + _GETIDENTIFICATIONRESPONSE._serialized_end=385 + _GETPRODUCTREQUEST._serialized_start=387 + _GETPRODUCTREQUEST._serialized_end=406 + _GETPRODUCTRESPONSE._serialized_start=408 + _GETPRODUCTRESPONSE._serialized_end=521 + _GETVERSIONREQUEST._serialized_start=523 + _GETVERSIONREQUEST._serialized_end=542 + _GETVERSIONRESPONSE._serialized_start=544 + _GETVERSIONRESPONSE._serialized_end=657 + _GETSPEEDFACTORREQUEST._serialized_start=659 + _GETSPEEDFACTORREQUEST._serialized_end=682 + _GETSPEEDFACTORRESPONSE._serialized_start=684 + _GETSPEEDFACTORRESPONSE._serialized_end=780 + _FLIGHTINFO._serialized_start=782 + _FLIGHTINFO._serialized_end=836 + _IDENTIFICATION._serialized_start=838 + _IDENTIFICATION._serialized_end=896 + _PRODUCT._serialized_start=898 + _PRODUCT._serialized_end=989 + _VERSION._serialized_start=992 + _VERSION._serialized_end=1287 + _INFORESULT._serialized_start=1290 + _INFORESULT._serialized_end=1487 + _INFORESULT_RESULT._serialized_start=1376 + _INFORESULT_RESULT._serialized_end=1487 + _INFOSERVICE._serialized_start=1490 + _INFOSERVICE._serialized_end=2031 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/log_files_pb2.py b/mavsdk/log_files_pb2.py index 38fed751..1b0a4f56 100644 --- a/mavsdk/log_files_pb2.py +++ b/mavsdk/log_files_pb2.py @@ -3,6 +3,7 @@ # source: log_files/log_files.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -14,349 +15,18 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='log_files/log_files.proto', - package='mavsdk.rpc.log_files', - syntax='proto3', - serialized_options=b'\n\023io.mavsdk.log_filesB\rLogFilesProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x19log_files/log_files.proto\x12\x14mavsdk.rpc.log_files\x1a\x14mavsdk_options.proto\"\x13\n\x11GetEntriesRequest\"\x82\x01\n\x12GetEntriesResponse\x12>\n\x10log_files_result\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.log_files.LogFilesResult\x12,\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x1b.mavsdk.rpc.log_files.Entry\"[\n\x1fSubscribeDownloadLogFileRequest\x12*\n\x05\x65ntry\x18\x01 \x01(\x0b\x32\x1b.mavsdk.rpc.log_files.Entry\x12\x0c\n\x04path\x18\x02 \x01(\t\"\x8f\x01\n\x17\x44ownloadLogFileResponse\x12>\n\x10log_files_result\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.log_files.LogFilesResult\x12\x34\n\x08progress\x18\x02 \x01(\x0b\x32\".mavsdk.rpc.log_files.ProgressData\")\n\x0cProgressData\x12\x19\n\x08progress\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"5\n\x05\x45ntry\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61te\x18\x02 \x01(\t\x12\x12\n\nsize_bytes\x18\x03 \x01(\r\"\xa1\x02\n\x0eLogFilesResult\x12;\n\x06result\x18\x01 \x01(\x0e\x32+.mavsdk.rpc.log_files.LogFilesResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xbd\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x0f\n\x0bRESULT_NEXT\x10\x02\x12\x16\n\x12RESULT_NO_LOGFILES\x10\x03\x12\x12\n\x0eRESULT_TIMEOUT\x10\x04\x12\x1b\n\x17RESULT_INVALID_ARGUMENT\x10\x05\x12\x1b\n\x17RESULT_FILE_OPEN_FAILED\x10\x06\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x07\x32\x83\x02\n\x0fLogFilesService\x12\x61\n\nGetEntries\x12\'.mavsdk.rpc.log_files.GetEntriesRequest\x1a(.mavsdk.rpc.log_files.GetEntriesResponse\"\x00\x12\x8c\x01\n\x18SubscribeDownloadLogFile\x12\x35.mavsdk.rpc.log_files.SubscribeDownloadLogFileRequest\x1a-.mavsdk.rpc.log_files.DownloadLogFileResponse\"\x08\x80\xb5\x18\x00\x88\xb5\x18\x01\x30\x01\x42$\n\x13io.mavsdk.log_filesB\rLogFilesProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19log_files/log_files.proto\x12\x14mavsdk.rpc.log_files\x1a\x14mavsdk_options.proto\"\x13\n\x11GetEntriesRequest\"\x82\x01\n\x12GetEntriesResponse\x12>\n\x10log_files_result\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.log_files.LogFilesResult\x12,\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x1b.mavsdk.rpc.log_files.Entry\"[\n\x1fSubscribeDownloadLogFileRequest\x12*\n\x05\x65ntry\x18\x01 \x01(\x0b\x32\x1b.mavsdk.rpc.log_files.Entry\x12\x0c\n\x04path\x18\x02 \x01(\t\"\x8f\x01\n\x17\x44ownloadLogFileResponse\x12>\n\x10log_files_result\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.log_files.LogFilesResult\x12\x34\n\x08progress\x18\x02 \x01(\x0b\x32\".mavsdk.rpc.log_files.ProgressData\")\n\x0cProgressData\x12\x19\n\x08progress\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"5\n\x05\x45ntry\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61te\x18\x02 \x01(\t\x12\x12\n\nsize_bytes\x18\x03 \x01(\r\"\xa1\x02\n\x0eLogFilesResult\x12;\n\x06result\x18\x01 \x01(\x0e\x32+.mavsdk.rpc.log_files.LogFilesResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xbd\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x0f\n\x0bRESULT_NEXT\x10\x02\x12\x16\n\x12RESULT_NO_LOGFILES\x10\x03\x12\x12\n\x0eRESULT_TIMEOUT\x10\x04\x12\x1b\n\x17RESULT_INVALID_ARGUMENT\x10\x05\x12\x1b\n\x17RESULT_FILE_OPEN_FAILED\x10\x06\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x07\x32\x83\x02\n\x0fLogFilesService\x12\x61\n\nGetEntries\x12\'.mavsdk.rpc.log_files.GetEntriesRequest\x1a(.mavsdk.rpc.log_files.GetEntriesResponse\"\x00\x12\x8c\x01\n\x18SubscribeDownloadLogFile\x12\x35.mavsdk.rpc.log_files.SubscribeDownloadLogFileRequest\x1a-.mavsdk.rpc.log_files.DownloadLogFileResponse\"\x08\x80\xb5\x18\x00\x88\xb5\x18\x01\x30\x01\x42$\n\x13io.mavsdk.log_filesB\rLogFilesProtob\x06proto3') -_LOGFILESRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.log_files.LogFilesResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NEXT', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_LOGFILES', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TIMEOUT', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_INVALID_ARGUMENT', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_FILE_OPEN_FAILED', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=665, - serialized_end=854, -) -_sym_db.RegisterEnumDescriptor(_LOGFILESRESULT_RESULT) - - -_GETENTRIESREQUEST = _descriptor.Descriptor( - name='GetEntriesRequest', - full_name='mavsdk.rpc.log_files.GetEntriesRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=73, - serialized_end=92, -) - - -_GETENTRIESRESPONSE = _descriptor.Descriptor( - name='GetEntriesResponse', - full_name='mavsdk.rpc.log_files.GetEntriesResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='log_files_result', full_name='mavsdk.rpc.log_files.GetEntriesResponse.log_files_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='entries', full_name='mavsdk.rpc.log_files.GetEntriesResponse.entries', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=95, - serialized_end=225, -) - - -_SUBSCRIBEDOWNLOADLOGFILEREQUEST = _descriptor.Descriptor( - name='SubscribeDownloadLogFileRequest', - full_name='mavsdk.rpc.log_files.SubscribeDownloadLogFileRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='entry', full_name='mavsdk.rpc.log_files.SubscribeDownloadLogFileRequest.entry', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='path', full_name='mavsdk.rpc.log_files.SubscribeDownloadLogFileRequest.path', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=227, - serialized_end=318, -) - - -_DOWNLOADLOGFILERESPONSE = _descriptor.Descriptor( - name='DownloadLogFileResponse', - full_name='mavsdk.rpc.log_files.DownloadLogFileResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='log_files_result', full_name='mavsdk.rpc.log_files.DownloadLogFileResponse.log_files_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='progress', full_name='mavsdk.rpc.log_files.DownloadLogFileResponse.progress', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=321, - serialized_end=464, -) - - -_PROGRESSDATA = _descriptor.Descriptor( - name='ProgressData', - full_name='mavsdk.rpc.log_files.ProgressData', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='progress', full_name='mavsdk.rpc.log_files.ProgressData.progress', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=466, - serialized_end=507, -) - - -_ENTRY = _descriptor.Descriptor( - name='Entry', - full_name='mavsdk.rpc.log_files.Entry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='mavsdk.rpc.log_files.Entry.id', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='date', full_name='mavsdk.rpc.log_files.Entry.date', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='size_bytes', full_name='mavsdk.rpc.log_files.Entry.size_bytes', index=2, - number=3, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=509, - serialized_end=562, -) - - -_LOGFILESRESULT = _descriptor.Descriptor( - name='LogFilesResult', - full_name='mavsdk.rpc.log_files.LogFilesResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.log_files.LogFilesResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.log_files.LogFilesResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _LOGFILESRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=565, - serialized_end=854, -) - -_GETENTRIESRESPONSE.fields_by_name['log_files_result'].message_type = _LOGFILESRESULT -_GETENTRIESRESPONSE.fields_by_name['entries'].message_type = _ENTRY -_SUBSCRIBEDOWNLOADLOGFILEREQUEST.fields_by_name['entry'].message_type = _ENTRY -_DOWNLOADLOGFILERESPONSE.fields_by_name['log_files_result'].message_type = _LOGFILESRESULT -_DOWNLOADLOGFILERESPONSE.fields_by_name['progress'].message_type = _PROGRESSDATA -_LOGFILESRESULT.fields_by_name['result'].enum_type = _LOGFILESRESULT_RESULT -_LOGFILESRESULT_RESULT.containing_type = _LOGFILESRESULT -DESCRIPTOR.message_types_by_name['GetEntriesRequest'] = _GETENTRIESREQUEST -DESCRIPTOR.message_types_by_name['GetEntriesResponse'] = _GETENTRIESRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeDownloadLogFileRequest'] = _SUBSCRIBEDOWNLOADLOGFILEREQUEST -DESCRIPTOR.message_types_by_name['DownloadLogFileResponse'] = _DOWNLOADLOGFILERESPONSE -DESCRIPTOR.message_types_by_name['ProgressData'] = _PROGRESSDATA -DESCRIPTOR.message_types_by_name['Entry'] = _ENTRY -DESCRIPTOR.message_types_by_name['LogFilesResult'] = _LOGFILESRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_GETENTRIESREQUEST = DESCRIPTOR.message_types_by_name['GetEntriesRequest'] +_GETENTRIESRESPONSE = DESCRIPTOR.message_types_by_name['GetEntriesResponse'] +_SUBSCRIBEDOWNLOADLOGFILEREQUEST = DESCRIPTOR.message_types_by_name['SubscribeDownloadLogFileRequest'] +_DOWNLOADLOGFILERESPONSE = DESCRIPTOR.message_types_by_name['DownloadLogFileResponse'] +_PROGRESSDATA = DESCRIPTOR.message_types_by_name['ProgressData'] +_ENTRY = DESCRIPTOR.message_types_by_name['Entry'] +_LOGFILESRESULT = DESCRIPTOR.message_types_by_name['LogFilesResult'] +_LOGFILESRESULT_RESULT = _LOGFILESRESULT.enum_types_by_name['Result'] GetEntriesRequest = _reflection.GeneratedProtocolMessageType('GetEntriesRequest', (_message.Message,), { 'DESCRIPTOR' : _GETENTRIESREQUEST, '__module__' : 'log_files.log_files_pb2' @@ -406,43 +76,31 @@ }) _sym_db.RegisterMessage(LogFilesResult) - -DESCRIPTOR._options = None -_PROGRESSDATA.fields_by_name['progress']._options = None - -_LOGFILESSERVICE = _descriptor.ServiceDescriptor( - name='LogFilesService', - full_name='mavsdk.rpc.log_files.LogFilesService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=857, - serialized_end=1116, - methods=[ - _descriptor.MethodDescriptor( - name='GetEntries', - full_name='mavsdk.rpc.log_files.LogFilesService.GetEntries', - index=0, - containing_service=None, - input_type=_GETENTRIESREQUEST, - output_type=_GETENTRIESRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeDownloadLogFile', - full_name='mavsdk.rpc.log_files.LogFilesService.SubscribeDownloadLogFile', - index=1, - containing_service=None, - input_type=_SUBSCRIBEDOWNLOADLOGFILEREQUEST, - output_type=_DOWNLOADLOGFILERESPONSE, - serialized_options=b'\200\265\030\000\210\265\030\001', - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_LOGFILESSERVICE) - -DESCRIPTOR.services_by_name['LogFilesService'] = _LOGFILESSERVICE - +_LOGFILESSERVICE = DESCRIPTOR.services_by_name['LogFilesService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\023io.mavsdk.log_filesB\rLogFilesProto' + _PROGRESSDATA.fields_by_name['progress']._options = None + _PROGRESSDATA.fields_by_name['progress']._serialized_options = b'\202\265\030\003NaN' + _LOGFILESSERVICE.methods_by_name['SubscribeDownloadLogFile']._options = None + _LOGFILESSERVICE.methods_by_name['SubscribeDownloadLogFile']._serialized_options = b'\200\265\030\000\210\265\030\001' + _GETENTRIESREQUEST._serialized_start=73 + _GETENTRIESREQUEST._serialized_end=92 + _GETENTRIESRESPONSE._serialized_start=95 + _GETENTRIESRESPONSE._serialized_end=225 + _SUBSCRIBEDOWNLOADLOGFILEREQUEST._serialized_start=227 + _SUBSCRIBEDOWNLOADLOGFILEREQUEST._serialized_end=318 + _DOWNLOADLOGFILERESPONSE._serialized_start=321 + _DOWNLOADLOGFILERESPONSE._serialized_end=464 + _PROGRESSDATA._serialized_start=466 + _PROGRESSDATA._serialized_end=507 + _ENTRY._serialized_start=509 + _ENTRY._serialized_end=562 + _LOGFILESRESULT._serialized_start=565 + _LOGFILESRESULT._serialized_end=854 + _LOGFILESRESULT_RESULT._serialized_start=665 + _LOGFILESRESULT_RESULT._serialized_end=854 + _LOGFILESSERVICE._serialized_start=857 + _LOGFILESSERVICE._serialized_end=1116 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/manual_control_pb2.py b/mavsdk/manual_control_pb2.py index 3db22b88..8df764de 100644 --- a/mavsdk/manual_control_pb2.py +++ b/mavsdk/manual_control_pb2.py @@ -3,6 +3,7 @@ # source: manual_control/manual_control.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -14,331 +15,18 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='manual_control/manual_control.proto', - package='mavsdk.rpc.manual_control', - syntax='proto3', - serialized_options=b'\n\030io.mavsdk.manual_controlB\022ManualControlProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n#manual_control/manual_control.proto\x12\x19mavsdk.rpc.manual_control\x1a\x14mavsdk_options.proto\"\x1d\n\x1bStartPositionControlRequest\"m\n\x1cStartPositionControlResponse\x12M\n\x15manual_control_result\x18\x01 \x01(\x0b\x32..mavsdk.rpc.manual_control.ManualControlResult\"\x1d\n\x1bStartAltitudeControlRequest\"m\n\x1cStartAltitudeControlResponse\x12M\n\x15manual_control_result\x18\x01 \x01(\x0b\x32..mavsdk.rpc.manual_control.ManualControlResult\"J\n\x1cSetManualControlInputRequest\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\x12\t\n\x01z\x18\x03 \x01(\x02\x12\t\n\x01r\x18\x04 \x01(\x02\"n\n\x1dSetManualControlInputResponse\x12M\n\x15manual_control_result\x18\x01 \x01(\x0b\x32..mavsdk.rpc.manual_control.ManualControlResult\"\xcf\x02\n\x13ManualControlResult\x12\x45\n\x06result\x18\x01 \x01(\x0e\x32\x35.mavsdk.rpc.manual_control.ManualControlResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xdc\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x19\n\x15RESULT_COMMAND_DENIED\x10\x05\x12\x12\n\x0eRESULT_TIMEOUT\x10\x06\x12\x1d\n\x19RESULT_INPUT_OUT_OF_RANGE\x10\x07\x12\x18\n\x14RESULT_INPUT_NOT_SET\x10\x08\x32\xc1\x03\n\x14ManualControlService\x12\x89\x01\n\x14StartPositionControl\x12\x36.mavsdk.rpc.manual_control.StartPositionControlRequest\x1a\x37.mavsdk.rpc.manual_control.StartPositionControlResponse\"\x00\x12\x89\x01\n\x14StartAltitudeControl\x12\x36.mavsdk.rpc.manual_control.StartAltitudeControlRequest\x1a\x37.mavsdk.rpc.manual_control.StartAltitudeControlResponse\"\x00\x12\x90\x01\n\x15SetManualControlInput\x12\x37.mavsdk.rpc.manual_control.SetManualControlInputRequest\x1a\x38.mavsdk.rpc.manual_control.SetManualControlInputResponse\"\x04\x80\xb5\x18\x01\x42.\n\x18io.mavsdk.manual_controlB\x12ManualControlProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#manual_control/manual_control.proto\x12\x19mavsdk.rpc.manual_control\x1a\x14mavsdk_options.proto\"\x1d\n\x1bStartPositionControlRequest\"m\n\x1cStartPositionControlResponse\x12M\n\x15manual_control_result\x18\x01 \x01(\x0b\x32..mavsdk.rpc.manual_control.ManualControlResult\"\x1d\n\x1bStartAltitudeControlRequest\"m\n\x1cStartAltitudeControlResponse\x12M\n\x15manual_control_result\x18\x01 \x01(\x0b\x32..mavsdk.rpc.manual_control.ManualControlResult\"J\n\x1cSetManualControlInputRequest\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\x12\t\n\x01z\x18\x03 \x01(\x02\x12\t\n\x01r\x18\x04 \x01(\x02\"n\n\x1dSetManualControlInputResponse\x12M\n\x15manual_control_result\x18\x01 \x01(\x0b\x32..mavsdk.rpc.manual_control.ManualControlResult\"\xcf\x02\n\x13ManualControlResult\x12\x45\n\x06result\x18\x01 \x01(\x0e\x32\x35.mavsdk.rpc.manual_control.ManualControlResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xdc\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x19\n\x15RESULT_COMMAND_DENIED\x10\x05\x12\x12\n\x0eRESULT_TIMEOUT\x10\x06\x12\x1d\n\x19RESULT_INPUT_OUT_OF_RANGE\x10\x07\x12\x18\n\x14RESULT_INPUT_NOT_SET\x10\x08\x32\xc1\x03\n\x14ManualControlService\x12\x89\x01\n\x14StartPositionControl\x12\x36.mavsdk.rpc.manual_control.StartPositionControlRequest\x1a\x37.mavsdk.rpc.manual_control.StartPositionControlResponse\"\x00\x12\x89\x01\n\x14StartAltitudeControl\x12\x36.mavsdk.rpc.manual_control.StartAltitudeControlRequest\x1a\x37.mavsdk.rpc.manual_control.StartAltitudeControlResponse\"\x00\x12\x90\x01\n\x15SetManualControlInput\x12\x37.mavsdk.rpc.manual_control.SetManualControlInputRequest\x1a\x38.mavsdk.rpc.manual_control.SetManualControlInputResponse\"\x04\x80\xb5\x18\x01\x42.\n\x18io.mavsdk.manual_controlB\x12ManualControlProtob\x06proto3') -_MANUALCONTROLRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.manual_control.ManualControlResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_CONNECTION_ERROR', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_BUSY', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_COMMAND_DENIED', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TIMEOUT', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_INPUT_OUT_OF_RANGE', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_INPUT_NOT_SET', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=676, - serialized_end=896, -) -_sym_db.RegisterEnumDescriptor(_MANUALCONTROLRESULT_RESULT) - - -_STARTPOSITIONCONTROLREQUEST = _descriptor.Descriptor( - name='StartPositionControlRequest', - full_name='mavsdk.rpc.manual_control.StartPositionControlRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=88, - serialized_end=117, -) - - -_STARTPOSITIONCONTROLRESPONSE = _descriptor.Descriptor( - name='StartPositionControlResponse', - full_name='mavsdk.rpc.manual_control.StartPositionControlResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='manual_control_result', full_name='mavsdk.rpc.manual_control.StartPositionControlResponse.manual_control_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=119, - serialized_end=228, -) - - -_STARTALTITUDECONTROLREQUEST = _descriptor.Descriptor( - name='StartAltitudeControlRequest', - full_name='mavsdk.rpc.manual_control.StartAltitudeControlRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=230, - serialized_end=259, -) - - -_STARTALTITUDECONTROLRESPONSE = _descriptor.Descriptor( - name='StartAltitudeControlResponse', - full_name='mavsdk.rpc.manual_control.StartAltitudeControlResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='manual_control_result', full_name='mavsdk.rpc.manual_control.StartAltitudeControlResponse.manual_control_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=261, - serialized_end=370, -) - - -_SETMANUALCONTROLINPUTREQUEST = _descriptor.Descriptor( - name='SetManualControlInputRequest', - full_name='mavsdk.rpc.manual_control.SetManualControlInputRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='x', full_name='mavsdk.rpc.manual_control.SetManualControlInputRequest.x', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='mavsdk.rpc.manual_control.SetManualControlInputRequest.y', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='z', full_name='mavsdk.rpc.manual_control.SetManualControlInputRequest.z', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='r', full_name='mavsdk.rpc.manual_control.SetManualControlInputRequest.r', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=372, - serialized_end=446, -) - - -_SETMANUALCONTROLINPUTRESPONSE = _descriptor.Descriptor( - name='SetManualControlInputResponse', - full_name='mavsdk.rpc.manual_control.SetManualControlInputResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='manual_control_result', full_name='mavsdk.rpc.manual_control.SetManualControlInputResponse.manual_control_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=448, - serialized_end=558, -) - - -_MANUALCONTROLRESULT = _descriptor.Descriptor( - name='ManualControlResult', - full_name='mavsdk.rpc.manual_control.ManualControlResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.manual_control.ManualControlResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.manual_control.ManualControlResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _MANUALCONTROLRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=561, - serialized_end=896, -) - -_STARTPOSITIONCONTROLRESPONSE.fields_by_name['manual_control_result'].message_type = _MANUALCONTROLRESULT -_STARTALTITUDECONTROLRESPONSE.fields_by_name['manual_control_result'].message_type = _MANUALCONTROLRESULT -_SETMANUALCONTROLINPUTRESPONSE.fields_by_name['manual_control_result'].message_type = _MANUALCONTROLRESULT -_MANUALCONTROLRESULT.fields_by_name['result'].enum_type = _MANUALCONTROLRESULT_RESULT -_MANUALCONTROLRESULT_RESULT.containing_type = _MANUALCONTROLRESULT -DESCRIPTOR.message_types_by_name['StartPositionControlRequest'] = _STARTPOSITIONCONTROLREQUEST -DESCRIPTOR.message_types_by_name['StartPositionControlResponse'] = _STARTPOSITIONCONTROLRESPONSE -DESCRIPTOR.message_types_by_name['StartAltitudeControlRequest'] = _STARTALTITUDECONTROLREQUEST -DESCRIPTOR.message_types_by_name['StartAltitudeControlResponse'] = _STARTALTITUDECONTROLRESPONSE -DESCRIPTOR.message_types_by_name['SetManualControlInputRequest'] = _SETMANUALCONTROLINPUTREQUEST -DESCRIPTOR.message_types_by_name['SetManualControlInputResponse'] = _SETMANUALCONTROLINPUTRESPONSE -DESCRIPTOR.message_types_by_name['ManualControlResult'] = _MANUALCONTROLRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_STARTPOSITIONCONTROLREQUEST = DESCRIPTOR.message_types_by_name['StartPositionControlRequest'] +_STARTPOSITIONCONTROLRESPONSE = DESCRIPTOR.message_types_by_name['StartPositionControlResponse'] +_STARTALTITUDECONTROLREQUEST = DESCRIPTOR.message_types_by_name['StartAltitudeControlRequest'] +_STARTALTITUDECONTROLRESPONSE = DESCRIPTOR.message_types_by_name['StartAltitudeControlResponse'] +_SETMANUALCONTROLINPUTREQUEST = DESCRIPTOR.message_types_by_name['SetManualControlInputRequest'] +_SETMANUALCONTROLINPUTRESPONSE = DESCRIPTOR.message_types_by_name['SetManualControlInputResponse'] +_MANUALCONTROLRESULT = DESCRIPTOR.message_types_by_name['ManualControlResult'] +_MANUALCONTROLRESULT_RESULT = _MANUALCONTROLRESULT.enum_types_by_name['Result'] StartPositionControlRequest = _reflection.GeneratedProtocolMessageType('StartPositionControlRequest', (_message.Message,), { 'DESCRIPTOR' : _STARTPOSITIONCONTROLREQUEST, '__module__' : 'manual_control.manual_control_pb2' @@ -388,52 +76,29 @@ }) _sym_db.RegisterMessage(ManualControlResult) - -DESCRIPTOR._options = None - -_MANUALCONTROLSERVICE = _descriptor.ServiceDescriptor( - name='ManualControlService', - full_name='mavsdk.rpc.manual_control.ManualControlService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=899, - serialized_end=1348, - methods=[ - _descriptor.MethodDescriptor( - name='StartPositionControl', - full_name='mavsdk.rpc.manual_control.ManualControlService.StartPositionControl', - index=0, - containing_service=None, - input_type=_STARTPOSITIONCONTROLREQUEST, - output_type=_STARTPOSITIONCONTROLRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='StartAltitudeControl', - full_name='mavsdk.rpc.manual_control.ManualControlService.StartAltitudeControl', - index=1, - containing_service=None, - input_type=_STARTALTITUDECONTROLREQUEST, - output_type=_STARTALTITUDECONTROLRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetManualControlInput', - full_name='mavsdk.rpc.manual_control.ManualControlService.SetManualControlInput', - index=2, - containing_service=None, - input_type=_SETMANUALCONTROLINPUTREQUEST, - output_type=_SETMANUALCONTROLINPUTRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_MANUALCONTROLSERVICE) - -DESCRIPTOR.services_by_name['ManualControlService'] = _MANUALCONTROLSERVICE - +_MANUALCONTROLSERVICE = DESCRIPTOR.services_by_name['ManualControlService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\030io.mavsdk.manual_controlB\022ManualControlProto' + _MANUALCONTROLSERVICE.methods_by_name['SetManualControlInput']._options = None + _MANUALCONTROLSERVICE.methods_by_name['SetManualControlInput']._serialized_options = b'\200\265\030\001' + _STARTPOSITIONCONTROLREQUEST._serialized_start=88 + _STARTPOSITIONCONTROLREQUEST._serialized_end=117 + _STARTPOSITIONCONTROLRESPONSE._serialized_start=119 + _STARTPOSITIONCONTROLRESPONSE._serialized_end=228 + _STARTALTITUDECONTROLREQUEST._serialized_start=230 + _STARTALTITUDECONTROLREQUEST._serialized_end=259 + _STARTALTITUDECONTROLRESPONSE._serialized_start=261 + _STARTALTITUDECONTROLRESPONSE._serialized_end=370 + _SETMANUALCONTROLINPUTREQUEST._serialized_start=372 + _SETMANUALCONTROLINPUTREQUEST._serialized_end=446 + _SETMANUALCONTROLINPUTRESPONSE._serialized_start=448 + _SETMANUALCONTROLINPUTRESPONSE._serialized_end=558 + _MANUALCONTROLRESULT._serialized_start=561 + _MANUALCONTROLRESULT._serialized_end=896 + _MANUALCONTROLRESULT_RESULT._serialized_start=676 + _MANUALCONTROLRESULT_RESULT._serialized_end=896 + _MANUALCONTROLSERVICE._serialized_start=899 + _MANUALCONTROLSERVICE._serialized_end=1348 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/mavsdk_options_pb2.py b/mavsdk/mavsdk_options_pb2.py index bf6ee1cd..d7158d44 100644 --- a/mavsdk/mavsdk_options_pb2.py +++ b/mavsdk/mavsdk_options_pb2.py @@ -4,6 +4,7 @@ """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -15,96 +16,31 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='mavsdk_options.proto', - package='mavsdk.options', - syntax='proto3', - serialized_options=b'\n\016options.mavsdk', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x14mavsdk_options.proto\x12\x0emavsdk.options\x1a google/protobuf/descriptor.proto**\n\tAsyncType\x12\t\n\x05\x41SYNC\x10\x00\x12\x08\n\x04SYNC\x10\x01\x12\x08\n\x04\x42OTH\x10\x02:6\n\rdefault_value\x12\x1d.google.protobuf.FieldOptions\x18\xd0\x86\x03 \x01(\t:0\n\x07\x65psilon\x12\x1d.google.protobuf.FieldOptions\x18\xd1\x86\x03 \x01(\x01:O\n\nasync_type\x12\x1e.google.protobuf.MethodOptions\x18\xd0\x86\x03 \x01(\x0e\x32\x19.mavsdk.options.AsyncType:3\n\tis_finite\x12\x1e.google.protobuf.MethodOptions\x18\xd1\x86\x03 \x01(\x08\x42\x10\n\x0eoptions.mavsdkb\x06proto3' - , - dependencies=[google_dot_protobuf_dot_descriptor__pb2.DESCRIPTOR,]) - -_ASYNCTYPE = _descriptor.EnumDescriptor( - name='AsyncType', - full_name='mavsdk.options.AsyncType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='ASYNC', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SYNC', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='BOTH', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=74, - serialized_end=116, -) -_sym_db.RegisterEnumDescriptor(_ASYNCTYPE) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14mavsdk_options.proto\x12\x0emavsdk.options\x1a google/protobuf/descriptor.proto**\n\tAsyncType\x12\t\n\x05\x41SYNC\x10\x00\x12\x08\n\x04SYNC\x10\x01\x12\x08\n\x04\x42OTH\x10\x02:6\n\rdefault_value\x12\x1d.google.protobuf.FieldOptions\x18\xd0\x86\x03 \x01(\t:0\n\x07\x65psilon\x12\x1d.google.protobuf.FieldOptions\x18\xd1\x86\x03 \x01(\x01:O\n\nasync_type\x12\x1e.google.protobuf.MethodOptions\x18\xd0\x86\x03 \x01(\x0e\x32\x19.mavsdk.options.AsyncType:3\n\tis_finite\x12\x1e.google.protobuf.MethodOptions\x18\xd1\x86\x03 \x01(\x08\x42\x10\n\x0eoptions.mavsdkb\x06proto3') +_ASYNCTYPE = DESCRIPTOR.enum_types_by_name['AsyncType'] AsyncType = enum_type_wrapper.EnumTypeWrapper(_ASYNCTYPE) ASYNC = 0 SYNC = 1 BOTH = 2 DEFAULT_VALUE_FIELD_NUMBER = 50000 -default_value = _descriptor.FieldDescriptor( - name='default_value', full_name='mavsdk.options.default_value', index=0, - number=50000, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) +default_value = DESCRIPTOR.extensions_by_name['default_value'] EPSILON_FIELD_NUMBER = 50001 -epsilon = _descriptor.FieldDescriptor( - name='epsilon', full_name='mavsdk.options.epsilon', index=1, - number=50001, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) +epsilon = DESCRIPTOR.extensions_by_name['epsilon'] ASYNC_TYPE_FIELD_NUMBER = 50000 -async_type = _descriptor.FieldDescriptor( - name='async_type', full_name='mavsdk.options.async_type', index=2, - number=50000, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) +async_type = DESCRIPTOR.extensions_by_name['async_type'] IS_FINITE_FIELD_NUMBER = 50001 -is_finite = _descriptor.FieldDescriptor( - name='is_finite', full_name='mavsdk.options.is_finite', index=3, - number=50001, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) - -DESCRIPTOR.enum_types_by_name['AsyncType'] = _ASYNCTYPE -DESCRIPTOR.extensions_by_name['default_value'] = default_value -DESCRIPTOR.extensions_by_name['epsilon'] = epsilon -DESCRIPTOR.extensions_by_name['async_type'] = async_type -DESCRIPTOR.extensions_by_name['is_finite'] = is_finite -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(default_value) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(epsilon) -async_type.enum_type = _ASYNCTYPE -google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(async_type) -google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(is_finite) - -DESCRIPTOR._options = None +is_finite = DESCRIPTOR.extensions_by_name['is_finite'] + +if _descriptor._USE_C_DESCRIPTORS == False: + google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(default_value) + google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(epsilon) + google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(async_type) + google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(is_finite) + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\016options.mavsdk' + _ASYNCTYPE._serialized_start=74 + _ASYNCTYPE._serialized_end=116 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/mission.py b/mavsdk/mission.py index 798bc6ee..3140b305 100644 --- a/mavsdk/mission.py +++ b/mavsdk/mission.py @@ -542,6 +542,9 @@ class Result(Enum): NO_SYSTEM No system connected + NEXT + Intermediate message showing progress + """ @@ -557,6 +560,7 @@ class Result(Enum): UNSUPPORTED_MISSION_CMD = 9 TRANSFER_CANCELLED = 10 NO_SYSTEM = 11 + NEXT = 12 def translate_to_rpc(self): if self == MissionResult.Result.UNKNOWN: @@ -583,6 +587,8 @@ def translate_to_rpc(self): return mission_pb2.MissionResult.RESULT_TRANSFER_CANCELLED if self == MissionResult.Result.NO_SYSTEM: return mission_pb2.MissionResult.RESULT_NO_SYSTEM + if self == MissionResult.Result.NEXT: + return mission_pb2.MissionResult.RESULT_NEXT @staticmethod def translate_from_rpc(rpc_enum_value): @@ -611,6 +617,8 @@ def translate_from_rpc(rpc_enum_value): return MissionResult.Result.TRANSFER_CANCELLED if rpc_enum_value == mission_pb2.MissionResult.RESULT_NO_SYSTEM: return MissionResult.Result.NO_SYSTEM + if rpc_enum_value == mission_pb2.MissionResult.RESULT_NEXT: + return MissionResult.Result.NEXT def __str__(self): return self.name @@ -674,6 +682,170 @@ def translate_to_rpc(self, rpcMissionResult): +class ProgressData: + """ + Progress data coming from mission upload. + + Parameters + ---------- + progress : float + Progress (0..1.0) + + """ + + + + def __init__( + self, + progress): + """ Initializes the ProgressData object """ + self.progress = progress + + def __eq__(self, to_compare): + """ Checks if two ProgressData are the same """ + try: + # Try to compare - this likely fails when it is compared to a non + # ProgressData object + return \ + (self.progress == to_compare.progress) + + except AttributeError: + return False + + def __str__(self): + """ ProgressData in string representation """ + struct_repr = ", ".join([ + "progress: " + str(self.progress) + ]) + + return f"ProgressData: [{struct_repr}]" + + @staticmethod + def translate_from_rpc(rpcProgressData): + """ Translates a gRPC struct to the SDK equivalent """ + return ProgressData( + + rpcProgressData.progress + ) + + def translate_to_rpc(self, rpcProgressData): + """ Translates this SDK object into its gRPC equivalent """ + + + + + rpcProgressData.progress = self.progress + + + + + +class ProgressDataOrMission: + """ + Progress data coming from mission download, or the mission itself (if the transfer succeeds). + + Parameters + ---------- + has_progress : bool + Whether this ProgressData contains a 'progress' status or not + + progress : float + Progress (0..1.0) + + has_mission : bool + Whether this ProgressData contains a 'mission_plan' or not + + mission_plan : MissionPlan + Mission plan + + """ + + + + def __init__( + self, + has_progress, + progress, + has_mission, + mission_plan): + """ Initializes the ProgressDataOrMission object """ + self.has_progress = has_progress + self.progress = progress + self.has_mission = has_mission + self.mission_plan = mission_plan + + def __eq__(self, to_compare): + """ Checks if two ProgressDataOrMission are the same """ + try: + # Try to compare - this likely fails when it is compared to a non + # ProgressDataOrMission object + return \ + (self.has_progress == to_compare.has_progress) and \ + (self.progress == to_compare.progress) and \ + (self.has_mission == to_compare.has_mission) and \ + (self.mission_plan == to_compare.mission_plan) + + except AttributeError: + return False + + def __str__(self): + """ ProgressDataOrMission in string representation """ + struct_repr = ", ".join([ + "has_progress: " + str(self.has_progress), + "progress: " + str(self.progress), + "has_mission: " + str(self.has_mission), + "mission_plan: " + str(self.mission_plan) + ]) + + return f"ProgressDataOrMission: [{struct_repr}]" + + @staticmethod + def translate_from_rpc(rpcProgressDataOrMission): + """ Translates a gRPC struct to the SDK equivalent """ + return ProgressDataOrMission( + + rpcProgressDataOrMission.has_progress, + + + rpcProgressDataOrMission.progress, + + + rpcProgressDataOrMission.has_mission, + + + MissionPlan.translate_from_rpc(rpcProgressDataOrMission.mission_plan) + ) + + def translate_to_rpc(self, rpcProgressDataOrMission): + """ Translates this SDK object into its gRPC equivalent """ + + + + + rpcProgressDataOrMission.has_progress = self.has_progress + + + + + + rpcProgressDataOrMission.progress = self.progress + + + + + + rpcProgressDataOrMission.has_mission = self.has_mission + + + + + + self.mission_plan.translate_to_rpc(rpcProgressDataOrMission.mission_plan) + + + + + class MissionError(Exception): """ Raised when a MissionResult is a fail code """ @@ -739,6 +911,58 @@ async def upload_mission(self, mission_plan): raise MissionError(result, "upload_mission()", mission_plan) + async def upload_mission_with_progress(self, mission_plan): + """ + Upload a list of mission items to the system and report upload progress. + + The mission items are uploaded to a drone. Once uploaded the mission can be started and + executed even if the connection is lost. + + Parameters + ---------- + mission_plan : MissionPlan + The mission plan + + Yields + ------- + progress_data : ProgressData + The progress data + + Raises + ------ + MissionError + If the request fails. The error contains the reason for the failure. + """ + + request = mission_pb2.SubscribeUploadMissionWithProgressRequest() + + mission_plan.translate_to_rpc(request.mission_plan) + + + upload_mission_with_progress_stream = self._stub.SubscribeUploadMissionWithProgress(request) + + try: + async for response in upload_mission_with_progress_stream: + + result = self._extract_result(response) + + success_codes = [MissionResult.Result.SUCCESS] + if 'NEXT' in [return_code.name for return_code in MissionResult.Result]: + success_codes.append(MissionResult.Result.NEXT) + + if result.result not in success_codes: + raise MissionError(result, "upload_mission_with_progress()", mission_plan) + + if result.result == MissionResult.Result.SUCCESS: + upload_mission_with_progress_stream.cancel(); + return + + + + yield ProgressData.translate_from_rpc(response.progress_data) + finally: + upload_mission_with_progress_stream.cancel() + async def cancel_mission_upload(self): """ Cancel an ongoing mission upload. @@ -790,6 +1014,49 @@ async def download_mission(self): return MissionPlan.translate_from_rpc(response.mission_plan) + async def download_mission_with_progress(self): + """ + Download a list of mission items from the system (asynchronous) and report progress. + + Will fail if any of the downloaded mission items are not supported + by the MAVSDK API. + + Yields + ------- + progress_data : ProgressDataOrMission + The progress data, or the mission plan (when the download is finished) + + Raises + ------ + MissionError + If the request fails. The error contains the reason for the failure. + """ + + request = mission_pb2.SubscribeDownloadMissionWithProgressRequest() + download_mission_with_progress_stream = self._stub.SubscribeDownloadMissionWithProgress(request) + + try: + async for response in download_mission_with_progress_stream: + + result = self._extract_result(response) + + success_codes = [MissionResult.Result.SUCCESS] + if 'NEXT' in [return_code.name for return_code in MissionResult.Result]: + success_codes.append(MissionResult.Result.NEXT) + + if result.result not in success_codes: + raise MissionError(result, "download_mission_with_progress()") + + if result.result == MissionResult.Result.SUCCESS: + download_mission_with_progress_stream.cancel(); + return + + + + yield ProgressDataOrMission.translate_from_rpc(response.progress_data) + finally: + download_mission_with_progress_stream.cancel() + async def cancel_mission_download(self): """ Cancel an ongoing mission download. diff --git a/mavsdk/mission_pb2.py b/mavsdk/mission_pb2.py index d0bbe35d..3046c62d 100644 --- a/mavsdk/mission_pb2.py +++ b/mavsdk/mission_pb2.py @@ -3,6 +3,7 @@ # source: mission/mission.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -14,1151 +15,46 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='mission/mission.proto', - package='mavsdk.rpc.mission', - syntax='proto3', - serialized_options=b'\n\021io.mavsdk.missionB\014MissionProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x15mission/mission.proto\x12\x12mavsdk.rpc.mission\x1a\x14mavsdk_options.proto\"M\n\x14UploadMissionRequest\x12\x35\n\x0cmission_plan\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.mission.MissionPlan\"R\n\x15UploadMissionResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\"\x1c\n\x1a\x43\x61ncelMissionUploadRequest\"X\n\x1b\x43\x61ncelMissionUploadResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\"\x18\n\x16\x44ownloadMissionRequest\"\x8b\x01\n\x17\x44ownloadMissionResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\x12\x35\n\x0cmission_plan\x18\x02 \x01(\x0b\x32\x1f.mavsdk.rpc.mission.MissionPlan\"\x1e\n\x1c\x43\x61ncelMissionDownloadRequest\"Z\n\x1d\x43\x61ncelMissionDownloadResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\"\x15\n\x13StartMissionRequest\"Q\n\x14StartMissionResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\"\x15\n\x13PauseMissionRequest\"Q\n\x14PauseMissionResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\"\x15\n\x13\x43learMissionRequest\"Q\n\x14\x43learMissionResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\"-\n\x1cSetCurrentMissionItemRequest\x12\r\n\x05index\x18\x01 \x01(\x05\"Z\n\x1dSetCurrentMissionItemResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\"\x1a\n\x18IsMissionFinishedRequest\"k\n\x19IsMissionFinishedResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\x12\x13\n\x0bis_finished\x18\x02 \x01(\x08\"!\n\x1fSubscribeMissionProgressRequest\"X\n\x17MissionProgressResponse\x12=\n\x10mission_progress\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.mission.MissionProgress\"&\n$GetReturnToLaunchAfterMissionRequest\"r\n%GetReturnToLaunchAfterMissionResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\x12\x0e\n\x06\x65nable\x18\x02 \x01(\x08\"6\n$SetReturnToLaunchAfterMissionRequest\x12\x0e\n\x06\x65nable\x18\x01 \x01(\x08\"b\n%SetReturnToLaunchAfterMissionResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\"\xbc\x06\n\x0bMissionItem\x12(\n\x0clatitude_deg\x18\x01 \x01(\x01\x42\x12\x82\xb5\x18\x03NaN\x89\xb5\x18H\xaf\xbc\x9a\xf2\xd7z>\x12)\n\rlongitude_deg\x18\x02 \x01(\x01\x42\x12\x82\xb5\x18\x03NaN\x89\xb5\x18H\xaf\xbc\x9a\xf2\xd7z>\x12$\n\x13relative_altitude_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1a\n\tspeed_m_s\x18\x04 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12!\n\x0eis_fly_through\x18\x05 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12,\n\x10gimbal_pitch_deg\x18\x06 \x01(\x02\x42\x12\x82\xb5\x18\x03NaN\x89\xb5\x18-C\x1c\xeb\xe2\x36\x1a?\x12*\n\x0egimbal_yaw_deg\x18\x07 \x01(\x02\x42\x12\x82\xb5\x18\x03NaN\x89\xb5\x18-C\x1c\xeb\xe2\x36\x1a?\x12\x43\n\rcamera_action\x18\x08 \x01(\x0e\x32,.mavsdk.rpc.mission.MissionItem.CameraAction\x12\x1e\n\rloiter_time_s\x18\t \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12(\n\x17\x63\x61mera_photo_interval_s\x18\n \x01(\x01\x42\x07\x82\xb5\x18\x03\x31.0\x12$\n\x13\x61\x63\x63\x65ptance_radius_m\x18\x0b \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x18\n\x07yaw_deg\x18\x0c \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12(\n\x17\x63\x61mera_photo_distance_m\x18\r \x01(\x02\x42\x07\x82\xb5\x18\x03NAN\"\x9f\x02\n\x0c\x43\x61meraAction\x12\x16\n\x12\x43\x41MERA_ACTION_NONE\x10\x00\x12\x1c\n\x18\x43\x41MERA_ACTION_TAKE_PHOTO\x10\x01\x12&\n\"CAMERA_ACTION_START_PHOTO_INTERVAL\x10\x02\x12%\n!CAMERA_ACTION_STOP_PHOTO_INTERVAL\x10\x03\x12\x1d\n\x19\x43\x41MERA_ACTION_START_VIDEO\x10\x04\x12\x1c\n\x18\x43\x41MERA_ACTION_STOP_VIDEO\x10\x05\x12&\n\"CAMERA_ACTION_START_PHOTO_DISTANCE\x10\x06\x12%\n!CAMERA_ACTION_STOP_PHOTO_DISTANCE\x10\x07\"E\n\x0bMissionPlan\x12\x36\n\rmission_items\x18\x01 \x03(\x0b\x32\x1f.mavsdk.rpc.mission.MissionItem\"1\n\x0fMissionProgress\x12\x0f\n\x07\x63urrent\x18\x01 \x01(\x05\x12\r\n\x05total\x18\x02 \x01(\x05\"\x99\x03\n\rMissionResult\x12\x38\n\x06result\x18\x01 \x01(\x0e\x32(.mavsdk.rpc.mission.MissionResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xb9\x02\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x10\n\x0cRESULT_ERROR\x10\x02\x12!\n\x1dRESULT_TOO_MANY_MISSION_ITEMS\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x12\n\x0eRESULT_TIMEOUT\x10\x05\x12\x1b\n\x17RESULT_INVALID_ARGUMENT\x10\x06\x12\x16\n\x12RESULT_UNSUPPORTED\x10\x07\x12\x1f\n\x1bRESULT_NO_MISSION_AVAILABLE\x10\x08\x12\"\n\x1eRESULT_UNSUPPORTED_MISSION_CMD\x10\x0b\x12\x1d\n\x19RESULT_TRANSFER_CANCELLED\x10\x0c\x12\x14\n\x10RESULT_NO_SYSTEM\x10\r2\xcd\x0b\n\x0eMissionService\x12\x66\n\rUploadMission\x12(.mavsdk.rpc.mission.UploadMissionRequest\x1a).mavsdk.rpc.mission.UploadMissionResponse\"\x00\x12|\n\x13\x43\x61ncelMissionUpload\x12..mavsdk.rpc.mission.CancelMissionUploadRequest\x1a/.mavsdk.rpc.mission.CancelMissionUploadResponse\"\x04\x80\xb5\x18\x01\x12l\n\x0f\x44ownloadMission\x12*.mavsdk.rpc.mission.DownloadMissionRequest\x1a+.mavsdk.rpc.mission.DownloadMissionResponse\"\x00\x12\x82\x01\n\x15\x43\x61ncelMissionDownload\x12\x30.mavsdk.rpc.mission.CancelMissionDownloadRequest\x1a\x31.mavsdk.rpc.mission.CancelMissionDownloadResponse\"\x04\x80\xb5\x18\x01\x12\x63\n\x0cStartMission\x12\'.mavsdk.rpc.mission.StartMissionRequest\x1a(.mavsdk.rpc.mission.StartMissionResponse\"\x00\x12\x63\n\x0cPauseMission\x12\'.mavsdk.rpc.mission.PauseMissionRequest\x1a(.mavsdk.rpc.mission.PauseMissionResponse\"\x00\x12\x63\n\x0c\x43learMission\x12\'.mavsdk.rpc.mission.ClearMissionRequest\x1a(.mavsdk.rpc.mission.ClearMissionResponse\"\x00\x12~\n\x15SetCurrentMissionItem\x12\x30.mavsdk.rpc.mission.SetCurrentMissionItemRequest\x1a\x31.mavsdk.rpc.mission.SetCurrentMissionItemResponse\"\x00\x12v\n\x11IsMissionFinished\x12,.mavsdk.rpc.mission.IsMissionFinishedRequest\x1a-.mavsdk.rpc.mission.IsMissionFinishedResponse\"\x04\x80\xb5\x18\x01\x12\x80\x01\n\x18SubscribeMissionProgress\x12\x33.mavsdk.rpc.mission.SubscribeMissionProgressRequest\x1a+.mavsdk.rpc.mission.MissionProgressResponse\"\x00\x30\x01\x12\x9a\x01\n\x1dGetReturnToLaunchAfterMission\x12\x38.mavsdk.rpc.mission.GetReturnToLaunchAfterMissionRequest\x1a\x39.mavsdk.rpc.mission.GetReturnToLaunchAfterMissionResponse\"\x04\x80\xb5\x18\x01\x12\x9a\x01\n\x1dSetReturnToLaunchAfterMission\x12\x38.mavsdk.rpc.mission.SetReturnToLaunchAfterMissionRequest\x1a\x39.mavsdk.rpc.mission.SetReturnToLaunchAfterMissionResponse\"\x04\x80\xb5\x18\x01\x42!\n\x11io.mavsdk.missionB\x0cMissionProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) - - - -_MISSIONITEM_CAMERAACTION = _descriptor.EnumDescriptor( - name='CameraAction', - full_name='mavsdk.rpc.mission.MissionItem.CameraAction', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='CAMERA_ACTION_NONE', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='CAMERA_ACTION_TAKE_PHOTO', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='CAMERA_ACTION_START_PHOTO_INTERVAL', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='CAMERA_ACTION_STOP_PHOTO_INTERVAL', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='CAMERA_ACTION_START_VIDEO', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='CAMERA_ACTION_STOP_VIDEO', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='CAMERA_ACTION_START_PHOTO_DISTANCE', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='CAMERA_ACTION_STOP_PHOTO_DISTANCE', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=2215, - serialized_end=2502, -) -_sym_db.RegisterEnumDescriptor(_MISSIONITEM_CAMERAACTION) - -_MISSIONRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.mission.MissionResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_ERROR', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TOO_MANY_MISSION_ITEMS', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_BUSY', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TIMEOUT', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_INVALID_ARGUMENT', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_UNSUPPORTED', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_MISSION_AVAILABLE', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_UNSUPPORTED_MISSION_CMD', index=9, number=11, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TRANSFER_CANCELLED', index=10, number=12, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=11, number=13, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=2723, - serialized_end=3036, -) -_sym_db.RegisterEnumDescriptor(_MISSIONRESULT_RESULT) - - -_UPLOADMISSIONREQUEST = _descriptor.Descriptor( - name='UploadMissionRequest', - full_name='mavsdk.rpc.mission.UploadMissionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_plan', full_name='mavsdk.rpc.mission.UploadMissionRequest.mission_plan', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=67, - serialized_end=144, -) - - -_UPLOADMISSIONRESPONSE = _descriptor.Descriptor( - name='UploadMissionResponse', - full_name='mavsdk.rpc.mission.UploadMissionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_result', full_name='mavsdk.rpc.mission.UploadMissionResponse.mission_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=146, - serialized_end=228, -) - - -_CANCELMISSIONUPLOADREQUEST = _descriptor.Descriptor( - name='CancelMissionUploadRequest', - full_name='mavsdk.rpc.mission.CancelMissionUploadRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=230, - serialized_end=258, -) - - -_CANCELMISSIONUPLOADRESPONSE = _descriptor.Descriptor( - name='CancelMissionUploadResponse', - full_name='mavsdk.rpc.mission.CancelMissionUploadResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_result', full_name='mavsdk.rpc.mission.CancelMissionUploadResponse.mission_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=260, - serialized_end=348, -) - - -_DOWNLOADMISSIONREQUEST = _descriptor.Descriptor( - name='DownloadMissionRequest', - full_name='mavsdk.rpc.mission.DownloadMissionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=350, - serialized_end=374, -) - - -_DOWNLOADMISSIONRESPONSE = _descriptor.Descriptor( - name='DownloadMissionResponse', - full_name='mavsdk.rpc.mission.DownloadMissionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_result', full_name='mavsdk.rpc.mission.DownloadMissionResponse.mission_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='mission_plan', full_name='mavsdk.rpc.mission.DownloadMissionResponse.mission_plan', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=377, - serialized_end=516, -) - - -_CANCELMISSIONDOWNLOADREQUEST = _descriptor.Descriptor( - name='CancelMissionDownloadRequest', - full_name='mavsdk.rpc.mission.CancelMissionDownloadRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=518, - serialized_end=548, -) - - -_CANCELMISSIONDOWNLOADRESPONSE = _descriptor.Descriptor( - name='CancelMissionDownloadResponse', - full_name='mavsdk.rpc.mission.CancelMissionDownloadResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_result', full_name='mavsdk.rpc.mission.CancelMissionDownloadResponse.mission_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=550, - serialized_end=640, -) - - -_STARTMISSIONREQUEST = _descriptor.Descriptor( - name='StartMissionRequest', - full_name='mavsdk.rpc.mission.StartMissionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=642, - serialized_end=663, -) - - -_STARTMISSIONRESPONSE = _descriptor.Descriptor( - name='StartMissionResponse', - full_name='mavsdk.rpc.mission.StartMissionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_result', full_name='mavsdk.rpc.mission.StartMissionResponse.mission_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=665, - serialized_end=746, -) - - -_PAUSEMISSIONREQUEST = _descriptor.Descriptor( - name='PauseMissionRequest', - full_name='mavsdk.rpc.mission.PauseMissionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=748, - serialized_end=769, -) - - -_PAUSEMISSIONRESPONSE = _descriptor.Descriptor( - name='PauseMissionResponse', - full_name='mavsdk.rpc.mission.PauseMissionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_result', full_name='mavsdk.rpc.mission.PauseMissionResponse.mission_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=771, - serialized_end=852, -) - - -_CLEARMISSIONREQUEST = _descriptor.Descriptor( - name='ClearMissionRequest', - full_name='mavsdk.rpc.mission.ClearMissionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=854, - serialized_end=875, -) - - -_CLEARMISSIONRESPONSE = _descriptor.Descriptor( - name='ClearMissionResponse', - full_name='mavsdk.rpc.mission.ClearMissionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_result', full_name='mavsdk.rpc.mission.ClearMissionResponse.mission_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=877, - serialized_end=958, -) - - -_SETCURRENTMISSIONITEMREQUEST = _descriptor.Descriptor( - name='SetCurrentMissionItemRequest', - full_name='mavsdk.rpc.mission.SetCurrentMissionItemRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='index', full_name='mavsdk.rpc.mission.SetCurrentMissionItemRequest.index', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=960, - serialized_end=1005, -) - - -_SETCURRENTMISSIONITEMRESPONSE = _descriptor.Descriptor( - name='SetCurrentMissionItemResponse', - full_name='mavsdk.rpc.mission.SetCurrentMissionItemResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_result', full_name='mavsdk.rpc.mission.SetCurrentMissionItemResponse.mission_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1007, - serialized_end=1097, -) - - -_ISMISSIONFINISHEDREQUEST = _descriptor.Descriptor( - name='IsMissionFinishedRequest', - full_name='mavsdk.rpc.mission.IsMissionFinishedRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1099, - serialized_end=1125, -) - - -_ISMISSIONFINISHEDRESPONSE = _descriptor.Descriptor( - name='IsMissionFinishedResponse', - full_name='mavsdk.rpc.mission.IsMissionFinishedResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_result', full_name='mavsdk.rpc.mission.IsMissionFinishedResponse.mission_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='is_finished', full_name='mavsdk.rpc.mission.IsMissionFinishedResponse.is_finished', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1127, - serialized_end=1234, -) - - -_SUBSCRIBEMISSIONPROGRESSREQUEST = _descriptor.Descriptor( - name='SubscribeMissionProgressRequest', - full_name='mavsdk.rpc.mission.SubscribeMissionProgressRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1236, - serialized_end=1269, -) - - -_MISSIONPROGRESSRESPONSE = _descriptor.Descriptor( - name='MissionProgressResponse', - full_name='mavsdk.rpc.mission.MissionProgressResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_progress', full_name='mavsdk.rpc.mission.MissionProgressResponse.mission_progress', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1271, - serialized_end=1359, -) - - -_GETRETURNTOLAUNCHAFTERMISSIONREQUEST = _descriptor.Descriptor( - name='GetReturnToLaunchAfterMissionRequest', - full_name='mavsdk.rpc.mission.GetReturnToLaunchAfterMissionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1361, - serialized_end=1399, -) - - -_GETRETURNTOLAUNCHAFTERMISSIONRESPONSE = _descriptor.Descriptor( - name='GetReturnToLaunchAfterMissionResponse', - full_name='mavsdk.rpc.mission.GetReturnToLaunchAfterMissionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_result', full_name='mavsdk.rpc.mission.GetReturnToLaunchAfterMissionResponse.mission_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='enable', full_name='mavsdk.rpc.mission.GetReturnToLaunchAfterMissionResponse.enable', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1401, - serialized_end=1515, -) - - -_SETRETURNTOLAUNCHAFTERMISSIONREQUEST = _descriptor.Descriptor( - name='SetReturnToLaunchAfterMissionRequest', - full_name='mavsdk.rpc.mission.SetReturnToLaunchAfterMissionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='enable', full_name='mavsdk.rpc.mission.SetReturnToLaunchAfterMissionRequest.enable', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1517, - serialized_end=1571, -) - - -_SETRETURNTOLAUNCHAFTERMISSIONRESPONSE = _descriptor.Descriptor( - name='SetReturnToLaunchAfterMissionResponse', - full_name='mavsdk.rpc.mission.SetReturnToLaunchAfterMissionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_result', full_name='mavsdk.rpc.mission.SetReturnToLaunchAfterMissionResponse.mission_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1573, - serialized_end=1671, -) - - -_MISSIONITEM = _descriptor.Descriptor( - name='MissionItem', - full_name='mavsdk.rpc.mission.MissionItem', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='latitude_deg', full_name='mavsdk.rpc.mission.MissionItem.latitude_deg', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN\211\265\030H\257\274\232\362\327z>', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='longitude_deg', full_name='mavsdk.rpc.mission.MissionItem.longitude_deg', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN\211\265\030H\257\274\232\362\327z>', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='relative_altitude_m', full_name='mavsdk.rpc.mission.MissionItem.relative_altitude_m', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='speed_m_s', full_name='mavsdk.rpc.mission.MissionItem.speed_m_s', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='is_fly_through', full_name='mavsdk.rpc.mission.MissionItem.is_fly_through', index=4, - number=5, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\005false', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='gimbal_pitch_deg', full_name='mavsdk.rpc.mission.MissionItem.gimbal_pitch_deg', index=5, - number=6, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN\211\265\030-C\034\353\3426\032?', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='gimbal_yaw_deg', full_name='mavsdk.rpc.mission.MissionItem.gimbal_yaw_deg', index=6, - number=7, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN\211\265\030-C\034\353\3426\032?', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='camera_action', full_name='mavsdk.rpc.mission.MissionItem.camera_action', index=7, - number=8, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='loiter_time_s', full_name='mavsdk.rpc.mission.MissionItem.loiter_time_s', index=8, - number=9, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='camera_photo_interval_s', full_name='mavsdk.rpc.mission.MissionItem.camera_photo_interval_s', index=9, - number=10, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\0031.0', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='acceptance_radius_m', full_name='mavsdk.rpc.mission.MissionItem.acceptance_radius_m', index=10, - number=11, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yaw_deg', full_name='mavsdk.rpc.mission.MissionItem.yaw_deg', index=11, - number=12, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='camera_photo_distance_m', full_name='mavsdk.rpc.mission.MissionItem.camera_photo_distance_m', index=12, - number=13, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NAN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _MISSIONITEM_CAMERAACTION, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1674, - serialized_end=2502, -) - - -_MISSIONPLAN = _descriptor.Descriptor( - name='MissionPlan', - full_name='mavsdk.rpc.mission.MissionPlan', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_items', full_name='mavsdk.rpc.mission.MissionPlan.mission_items', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2504, - serialized_end=2573, -) - - -_MISSIONPROGRESS = _descriptor.Descriptor( - name='MissionProgress', - full_name='mavsdk.rpc.mission.MissionProgress', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='current', full_name='mavsdk.rpc.mission.MissionProgress.current', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='total', full_name='mavsdk.rpc.mission.MissionProgress.total', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2575, - serialized_end=2624, -) - - -_MISSIONRESULT = _descriptor.Descriptor( - name='MissionResult', - full_name='mavsdk.rpc.mission.MissionResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.mission.MissionResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.mission.MissionResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _MISSIONRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2627, - serialized_end=3036, -) - -_UPLOADMISSIONREQUEST.fields_by_name['mission_plan'].message_type = _MISSIONPLAN -_UPLOADMISSIONRESPONSE.fields_by_name['mission_result'].message_type = _MISSIONRESULT -_CANCELMISSIONUPLOADRESPONSE.fields_by_name['mission_result'].message_type = _MISSIONRESULT -_DOWNLOADMISSIONRESPONSE.fields_by_name['mission_result'].message_type = _MISSIONRESULT -_DOWNLOADMISSIONRESPONSE.fields_by_name['mission_plan'].message_type = _MISSIONPLAN -_CANCELMISSIONDOWNLOADRESPONSE.fields_by_name['mission_result'].message_type = _MISSIONRESULT -_STARTMISSIONRESPONSE.fields_by_name['mission_result'].message_type = _MISSIONRESULT -_PAUSEMISSIONRESPONSE.fields_by_name['mission_result'].message_type = _MISSIONRESULT -_CLEARMISSIONRESPONSE.fields_by_name['mission_result'].message_type = _MISSIONRESULT -_SETCURRENTMISSIONITEMRESPONSE.fields_by_name['mission_result'].message_type = _MISSIONRESULT -_ISMISSIONFINISHEDRESPONSE.fields_by_name['mission_result'].message_type = _MISSIONRESULT -_MISSIONPROGRESSRESPONSE.fields_by_name['mission_progress'].message_type = _MISSIONPROGRESS -_GETRETURNTOLAUNCHAFTERMISSIONRESPONSE.fields_by_name['mission_result'].message_type = _MISSIONRESULT -_SETRETURNTOLAUNCHAFTERMISSIONRESPONSE.fields_by_name['mission_result'].message_type = _MISSIONRESULT -_MISSIONITEM.fields_by_name['camera_action'].enum_type = _MISSIONITEM_CAMERAACTION -_MISSIONITEM_CAMERAACTION.containing_type = _MISSIONITEM -_MISSIONPLAN.fields_by_name['mission_items'].message_type = _MISSIONITEM -_MISSIONRESULT.fields_by_name['result'].enum_type = _MISSIONRESULT_RESULT -_MISSIONRESULT_RESULT.containing_type = _MISSIONRESULT -DESCRIPTOR.message_types_by_name['UploadMissionRequest'] = _UPLOADMISSIONREQUEST -DESCRIPTOR.message_types_by_name['UploadMissionResponse'] = _UPLOADMISSIONRESPONSE -DESCRIPTOR.message_types_by_name['CancelMissionUploadRequest'] = _CANCELMISSIONUPLOADREQUEST -DESCRIPTOR.message_types_by_name['CancelMissionUploadResponse'] = _CANCELMISSIONUPLOADRESPONSE -DESCRIPTOR.message_types_by_name['DownloadMissionRequest'] = _DOWNLOADMISSIONREQUEST -DESCRIPTOR.message_types_by_name['DownloadMissionResponse'] = _DOWNLOADMISSIONRESPONSE -DESCRIPTOR.message_types_by_name['CancelMissionDownloadRequest'] = _CANCELMISSIONDOWNLOADREQUEST -DESCRIPTOR.message_types_by_name['CancelMissionDownloadResponse'] = _CANCELMISSIONDOWNLOADRESPONSE -DESCRIPTOR.message_types_by_name['StartMissionRequest'] = _STARTMISSIONREQUEST -DESCRIPTOR.message_types_by_name['StartMissionResponse'] = _STARTMISSIONRESPONSE -DESCRIPTOR.message_types_by_name['PauseMissionRequest'] = _PAUSEMISSIONREQUEST -DESCRIPTOR.message_types_by_name['PauseMissionResponse'] = _PAUSEMISSIONRESPONSE -DESCRIPTOR.message_types_by_name['ClearMissionRequest'] = _CLEARMISSIONREQUEST -DESCRIPTOR.message_types_by_name['ClearMissionResponse'] = _CLEARMISSIONRESPONSE -DESCRIPTOR.message_types_by_name['SetCurrentMissionItemRequest'] = _SETCURRENTMISSIONITEMREQUEST -DESCRIPTOR.message_types_by_name['SetCurrentMissionItemResponse'] = _SETCURRENTMISSIONITEMRESPONSE -DESCRIPTOR.message_types_by_name['IsMissionFinishedRequest'] = _ISMISSIONFINISHEDREQUEST -DESCRIPTOR.message_types_by_name['IsMissionFinishedResponse'] = _ISMISSIONFINISHEDRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeMissionProgressRequest'] = _SUBSCRIBEMISSIONPROGRESSREQUEST -DESCRIPTOR.message_types_by_name['MissionProgressResponse'] = _MISSIONPROGRESSRESPONSE -DESCRIPTOR.message_types_by_name['GetReturnToLaunchAfterMissionRequest'] = _GETRETURNTOLAUNCHAFTERMISSIONREQUEST -DESCRIPTOR.message_types_by_name['GetReturnToLaunchAfterMissionResponse'] = _GETRETURNTOLAUNCHAFTERMISSIONRESPONSE -DESCRIPTOR.message_types_by_name['SetReturnToLaunchAfterMissionRequest'] = _SETRETURNTOLAUNCHAFTERMISSIONREQUEST -DESCRIPTOR.message_types_by_name['SetReturnToLaunchAfterMissionResponse'] = _SETRETURNTOLAUNCHAFTERMISSIONRESPONSE -DESCRIPTOR.message_types_by_name['MissionItem'] = _MISSIONITEM -DESCRIPTOR.message_types_by_name['MissionPlan'] = _MISSIONPLAN -DESCRIPTOR.message_types_by_name['MissionProgress'] = _MISSIONPROGRESS -DESCRIPTOR.message_types_by_name['MissionResult'] = _MISSIONRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15mission/mission.proto\x12\x12mavsdk.rpc.mission\x1a\x14mavsdk_options.proto\"M\n\x14UploadMissionRequest\x12\x35\n\x0cmission_plan\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.mission.MissionPlan\"R\n\x15UploadMissionResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\"b\n)SubscribeUploadMissionWithProgressRequest\x12\x35\n\x0cmission_plan\x18\x01 \x01(\x0b\x32\x1f.mavsdk.rpc.mission.MissionPlan\"\x97\x01\n!UploadMissionWithProgressResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\x12\x37\n\rprogress_data\x18\x02 \x01(\x0b\x32 .mavsdk.rpc.mission.ProgressData\"\x1c\n\x1a\x43\x61ncelMissionUploadRequest\"X\n\x1b\x43\x61ncelMissionUploadResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\"\x18\n\x16\x44ownloadMissionRequest\"\x8b\x01\n\x17\x44ownloadMissionResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\x12\x35\n\x0cmission_plan\x18\x02 \x01(\x0b\x32\x1f.mavsdk.rpc.mission.MissionPlan\"-\n+SubscribeDownloadMissionWithProgressRequest\"\xa2\x01\n#DownloadMissionWithProgressResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\x12@\n\rprogress_data\x18\x02 \x01(\x0b\x32).mavsdk.rpc.mission.ProgressDataOrMission\"\x1e\n\x1c\x43\x61ncelMissionDownloadRequest\"Z\n\x1d\x43\x61ncelMissionDownloadResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\"\x15\n\x13StartMissionRequest\"Q\n\x14StartMissionResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\"\x15\n\x13PauseMissionRequest\"Q\n\x14PauseMissionResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\"\x15\n\x13\x43learMissionRequest\"Q\n\x14\x43learMissionResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\"-\n\x1cSetCurrentMissionItemRequest\x12\r\n\x05index\x18\x01 \x01(\x05\"Z\n\x1dSetCurrentMissionItemResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\"\x1a\n\x18IsMissionFinishedRequest\"k\n\x19IsMissionFinishedResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\x12\x13\n\x0bis_finished\x18\x02 \x01(\x08\"!\n\x1fSubscribeMissionProgressRequest\"X\n\x17MissionProgressResponse\x12=\n\x10mission_progress\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.mission.MissionProgress\"&\n$GetReturnToLaunchAfterMissionRequest\"r\n%GetReturnToLaunchAfterMissionResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\x12\x0e\n\x06\x65nable\x18\x02 \x01(\x08\"6\n$SetReturnToLaunchAfterMissionRequest\x12\x0e\n\x06\x65nable\x18\x01 \x01(\x08\"b\n%SetReturnToLaunchAfterMissionResponse\x12\x39\n\x0emission_result\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.mission.MissionResult\"\xbc\x06\n\x0bMissionItem\x12(\n\x0clatitude_deg\x18\x01 \x01(\x01\x42\x12\x82\xb5\x18\x03NaN\x89\xb5\x18H\xaf\xbc\x9a\xf2\xd7z>\x12)\n\rlongitude_deg\x18\x02 \x01(\x01\x42\x12\x82\xb5\x18\x03NaN\x89\xb5\x18H\xaf\xbc\x9a\xf2\xd7z>\x12$\n\x13relative_altitude_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1a\n\tspeed_m_s\x18\x04 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12!\n\x0eis_fly_through\x18\x05 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12,\n\x10gimbal_pitch_deg\x18\x06 \x01(\x02\x42\x12\x82\xb5\x18\x03NaN\x89\xb5\x18-C\x1c\xeb\xe2\x36\x1a?\x12*\n\x0egimbal_yaw_deg\x18\x07 \x01(\x02\x42\x12\x82\xb5\x18\x03NaN\x89\xb5\x18-C\x1c\xeb\xe2\x36\x1a?\x12\x43\n\rcamera_action\x18\x08 \x01(\x0e\x32,.mavsdk.rpc.mission.MissionItem.CameraAction\x12\x1e\n\rloiter_time_s\x18\t \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12(\n\x17\x63\x61mera_photo_interval_s\x18\n \x01(\x01\x42\x07\x82\xb5\x18\x03\x31.0\x12$\n\x13\x61\x63\x63\x65ptance_radius_m\x18\x0b \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x18\n\x07yaw_deg\x18\x0c \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12(\n\x17\x63\x61mera_photo_distance_m\x18\r \x01(\x02\x42\x07\x82\xb5\x18\x03NAN\"\x9f\x02\n\x0c\x43\x61meraAction\x12\x16\n\x12\x43\x41MERA_ACTION_NONE\x10\x00\x12\x1c\n\x18\x43\x41MERA_ACTION_TAKE_PHOTO\x10\x01\x12&\n\"CAMERA_ACTION_START_PHOTO_INTERVAL\x10\x02\x12%\n!CAMERA_ACTION_STOP_PHOTO_INTERVAL\x10\x03\x12\x1d\n\x19\x43\x41MERA_ACTION_START_VIDEO\x10\x04\x12\x1c\n\x18\x43\x41MERA_ACTION_STOP_VIDEO\x10\x05\x12&\n\"CAMERA_ACTION_START_PHOTO_DISTANCE\x10\x06\x12%\n!CAMERA_ACTION_STOP_PHOTO_DISTANCE\x10\x07\"E\n\x0bMissionPlan\x12\x36\n\rmission_items\x18\x01 \x03(\x0b\x32\x1f.mavsdk.rpc.mission.MissionItem\"1\n\x0fMissionProgress\x12\x0f\n\x07\x63urrent\x18\x01 \x01(\x05\x12\r\n\x05total\x18\x02 \x01(\x05\"\xaa\x03\n\rMissionResult\x12\x38\n\x06result\x18\x01 \x01(\x0e\x32(.mavsdk.rpc.mission.MissionResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xca\x02\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x10\n\x0cRESULT_ERROR\x10\x02\x12!\n\x1dRESULT_TOO_MANY_MISSION_ITEMS\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x12\n\x0eRESULT_TIMEOUT\x10\x05\x12\x1b\n\x17RESULT_INVALID_ARGUMENT\x10\x06\x12\x16\n\x12RESULT_UNSUPPORTED\x10\x07\x12\x1f\n\x1bRESULT_NO_MISSION_AVAILABLE\x10\x08\x12\"\n\x1eRESULT_UNSUPPORTED_MISSION_CMD\x10\x0b\x12\x1d\n\x19RESULT_TRANSFER_CANCELLED\x10\x0c\x12\x14\n\x10RESULT_NO_SYSTEM\x10\r\x12\x0f\n\x0bRESULT_NEXT\x10\x0e\")\n\x0cProgressData\x12\x19\n\x08progress\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"\x9f\x01\n\x15ProgressDataOrMission\x12\x1f\n\x0chas_progress\x18\x01 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12\x19\n\x08progress\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x13\n\x0bhas_mission\x18\x03 \x01(\x08\x12\x35\n\x0cmission_plan\x18\x04 \x01(\x0b\x32\x1f.mavsdk.rpc.mission.MissionPlan2\xa5\x0e\n\x0eMissionService\x12\x66\n\rUploadMission\x12(.mavsdk.rpc.mission.UploadMissionRequest\x1a).mavsdk.rpc.mission.UploadMissionResponse\"\x00\x12\xa6\x01\n\"SubscribeUploadMissionWithProgress\x12=.mavsdk.rpc.mission.SubscribeUploadMissionWithProgressRequest\x1a\x35.mavsdk.rpc.mission.UploadMissionWithProgressResponse\"\x08\x80\xb5\x18\x00\x88\xb5\x18\x01\x30\x01\x12|\n\x13\x43\x61ncelMissionUpload\x12..mavsdk.rpc.mission.CancelMissionUploadRequest\x1a/.mavsdk.rpc.mission.CancelMissionUploadResponse\"\x04\x80\xb5\x18\x01\x12l\n\x0f\x44ownloadMission\x12*.mavsdk.rpc.mission.DownloadMissionRequest\x1a+.mavsdk.rpc.mission.DownloadMissionResponse\"\x00\x12\xac\x01\n$SubscribeDownloadMissionWithProgress\x12?.mavsdk.rpc.mission.SubscribeDownloadMissionWithProgressRequest\x1a\x37.mavsdk.rpc.mission.DownloadMissionWithProgressResponse\"\x08\x80\xb5\x18\x00\x88\xb5\x18\x01\x30\x01\x12\x82\x01\n\x15\x43\x61ncelMissionDownload\x12\x30.mavsdk.rpc.mission.CancelMissionDownloadRequest\x1a\x31.mavsdk.rpc.mission.CancelMissionDownloadResponse\"\x04\x80\xb5\x18\x01\x12\x63\n\x0cStartMission\x12\'.mavsdk.rpc.mission.StartMissionRequest\x1a(.mavsdk.rpc.mission.StartMissionResponse\"\x00\x12\x63\n\x0cPauseMission\x12\'.mavsdk.rpc.mission.PauseMissionRequest\x1a(.mavsdk.rpc.mission.PauseMissionResponse\"\x00\x12\x63\n\x0c\x43learMission\x12\'.mavsdk.rpc.mission.ClearMissionRequest\x1a(.mavsdk.rpc.mission.ClearMissionResponse\"\x00\x12~\n\x15SetCurrentMissionItem\x12\x30.mavsdk.rpc.mission.SetCurrentMissionItemRequest\x1a\x31.mavsdk.rpc.mission.SetCurrentMissionItemResponse\"\x00\x12v\n\x11IsMissionFinished\x12,.mavsdk.rpc.mission.IsMissionFinishedRequest\x1a-.mavsdk.rpc.mission.IsMissionFinishedResponse\"\x04\x80\xb5\x18\x01\x12\x80\x01\n\x18SubscribeMissionProgress\x12\x33.mavsdk.rpc.mission.SubscribeMissionProgressRequest\x1a+.mavsdk.rpc.mission.MissionProgressResponse\"\x00\x30\x01\x12\x9a\x01\n\x1dGetReturnToLaunchAfterMission\x12\x38.mavsdk.rpc.mission.GetReturnToLaunchAfterMissionRequest\x1a\x39.mavsdk.rpc.mission.GetReturnToLaunchAfterMissionResponse\"\x04\x80\xb5\x18\x01\x12\x9a\x01\n\x1dSetReturnToLaunchAfterMission\x12\x38.mavsdk.rpc.mission.SetReturnToLaunchAfterMissionRequest\x1a\x39.mavsdk.rpc.mission.SetReturnToLaunchAfterMissionResponse\"\x04\x80\xb5\x18\x01\x42!\n\x11io.mavsdk.missionB\x0cMissionProtob\x06proto3') + + + +_UPLOADMISSIONREQUEST = DESCRIPTOR.message_types_by_name['UploadMissionRequest'] +_UPLOADMISSIONRESPONSE = DESCRIPTOR.message_types_by_name['UploadMissionResponse'] +_SUBSCRIBEUPLOADMISSIONWITHPROGRESSREQUEST = DESCRIPTOR.message_types_by_name['SubscribeUploadMissionWithProgressRequest'] +_UPLOADMISSIONWITHPROGRESSRESPONSE = DESCRIPTOR.message_types_by_name['UploadMissionWithProgressResponse'] +_CANCELMISSIONUPLOADREQUEST = DESCRIPTOR.message_types_by_name['CancelMissionUploadRequest'] +_CANCELMISSIONUPLOADRESPONSE = DESCRIPTOR.message_types_by_name['CancelMissionUploadResponse'] +_DOWNLOADMISSIONREQUEST = DESCRIPTOR.message_types_by_name['DownloadMissionRequest'] +_DOWNLOADMISSIONRESPONSE = DESCRIPTOR.message_types_by_name['DownloadMissionResponse'] +_SUBSCRIBEDOWNLOADMISSIONWITHPROGRESSREQUEST = DESCRIPTOR.message_types_by_name['SubscribeDownloadMissionWithProgressRequest'] +_DOWNLOADMISSIONWITHPROGRESSRESPONSE = DESCRIPTOR.message_types_by_name['DownloadMissionWithProgressResponse'] +_CANCELMISSIONDOWNLOADREQUEST = DESCRIPTOR.message_types_by_name['CancelMissionDownloadRequest'] +_CANCELMISSIONDOWNLOADRESPONSE = DESCRIPTOR.message_types_by_name['CancelMissionDownloadResponse'] +_STARTMISSIONREQUEST = DESCRIPTOR.message_types_by_name['StartMissionRequest'] +_STARTMISSIONRESPONSE = DESCRIPTOR.message_types_by_name['StartMissionResponse'] +_PAUSEMISSIONREQUEST = DESCRIPTOR.message_types_by_name['PauseMissionRequest'] +_PAUSEMISSIONRESPONSE = DESCRIPTOR.message_types_by_name['PauseMissionResponse'] +_CLEARMISSIONREQUEST = DESCRIPTOR.message_types_by_name['ClearMissionRequest'] +_CLEARMISSIONRESPONSE = DESCRIPTOR.message_types_by_name['ClearMissionResponse'] +_SETCURRENTMISSIONITEMREQUEST = DESCRIPTOR.message_types_by_name['SetCurrentMissionItemRequest'] +_SETCURRENTMISSIONITEMRESPONSE = DESCRIPTOR.message_types_by_name['SetCurrentMissionItemResponse'] +_ISMISSIONFINISHEDREQUEST = DESCRIPTOR.message_types_by_name['IsMissionFinishedRequest'] +_ISMISSIONFINISHEDRESPONSE = DESCRIPTOR.message_types_by_name['IsMissionFinishedResponse'] +_SUBSCRIBEMISSIONPROGRESSREQUEST = DESCRIPTOR.message_types_by_name['SubscribeMissionProgressRequest'] +_MISSIONPROGRESSRESPONSE = DESCRIPTOR.message_types_by_name['MissionProgressResponse'] +_GETRETURNTOLAUNCHAFTERMISSIONREQUEST = DESCRIPTOR.message_types_by_name['GetReturnToLaunchAfterMissionRequest'] +_GETRETURNTOLAUNCHAFTERMISSIONRESPONSE = DESCRIPTOR.message_types_by_name['GetReturnToLaunchAfterMissionResponse'] +_SETRETURNTOLAUNCHAFTERMISSIONREQUEST = DESCRIPTOR.message_types_by_name['SetReturnToLaunchAfterMissionRequest'] +_SETRETURNTOLAUNCHAFTERMISSIONRESPONSE = DESCRIPTOR.message_types_by_name['SetReturnToLaunchAfterMissionResponse'] +_MISSIONITEM = DESCRIPTOR.message_types_by_name['MissionItem'] +_MISSIONPLAN = DESCRIPTOR.message_types_by_name['MissionPlan'] +_MISSIONPROGRESS = DESCRIPTOR.message_types_by_name['MissionProgress'] +_MISSIONRESULT = DESCRIPTOR.message_types_by_name['MissionResult'] +_PROGRESSDATA = DESCRIPTOR.message_types_by_name['ProgressData'] +_PROGRESSDATAORMISSION = DESCRIPTOR.message_types_by_name['ProgressDataOrMission'] +_MISSIONITEM_CAMERAACTION = _MISSIONITEM.enum_types_by_name['CameraAction'] +_MISSIONRESULT_RESULT = _MISSIONRESULT.enum_types_by_name['Result'] UploadMissionRequest = _reflection.GeneratedProtocolMessageType('UploadMissionRequest', (_message.Message,), { 'DESCRIPTOR' : _UPLOADMISSIONREQUEST, '__module__' : 'mission.mission_pb2' @@ -1173,6 +69,20 @@ }) _sym_db.RegisterMessage(UploadMissionResponse) +SubscribeUploadMissionWithProgressRequest = _reflection.GeneratedProtocolMessageType('SubscribeUploadMissionWithProgressRequest', (_message.Message,), { + 'DESCRIPTOR' : _SUBSCRIBEUPLOADMISSIONWITHPROGRESSREQUEST, + '__module__' : 'mission.mission_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.mission.SubscribeUploadMissionWithProgressRequest) + }) +_sym_db.RegisterMessage(SubscribeUploadMissionWithProgressRequest) + +UploadMissionWithProgressResponse = _reflection.GeneratedProtocolMessageType('UploadMissionWithProgressResponse', (_message.Message,), { + 'DESCRIPTOR' : _UPLOADMISSIONWITHPROGRESSRESPONSE, + '__module__' : 'mission.mission_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.mission.UploadMissionWithProgressResponse) + }) +_sym_db.RegisterMessage(UploadMissionWithProgressResponse) + CancelMissionUploadRequest = _reflection.GeneratedProtocolMessageType('CancelMissionUploadRequest', (_message.Message,), { 'DESCRIPTOR' : _CANCELMISSIONUPLOADREQUEST, '__module__' : 'mission.mission_pb2' @@ -1201,6 +111,20 @@ }) _sym_db.RegisterMessage(DownloadMissionResponse) +SubscribeDownloadMissionWithProgressRequest = _reflection.GeneratedProtocolMessageType('SubscribeDownloadMissionWithProgressRequest', (_message.Message,), { + 'DESCRIPTOR' : _SUBSCRIBEDOWNLOADMISSIONWITHPROGRESSREQUEST, + '__module__' : 'mission.mission_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.mission.SubscribeDownloadMissionWithProgressRequest) + }) +_sym_db.RegisterMessage(SubscribeDownloadMissionWithProgressRequest) + +DownloadMissionWithProgressResponse = _reflection.GeneratedProtocolMessageType('DownloadMissionWithProgressResponse', (_message.Message,), { + 'DESCRIPTOR' : _DOWNLOADMISSIONWITHPROGRESSRESPONSE, + '__module__' : 'mission.mission_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.mission.DownloadMissionWithProgressResponse) + }) +_sym_db.RegisterMessage(DownloadMissionWithProgressResponse) + CancelMissionDownloadRequest = _reflection.GeneratedProtocolMessageType('CancelMissionDownloadRequest', (_message.Message,), { 'DESCRIPTOR' : _CANCELMISSIONDOWNLOADREQUEST, '__module__' : 'mission.mission_pb2' @@ -1355,154 +279,141 @@ }) _sym_db.RegisterMessage(MissionResult) +ProgressData = _reflection.GeneratedProtocolMessageType('ProgressData', (_message.Message,), { + 'DESCRIPTOR' : _PROGRESSDATA, + '__module__' : 'mission.mission_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.mission.ProgressData) + }) +_sym_db.RegisterMessage(ProgressData) -DESCRIPTOR._options = None -_MISSIONITEM.fields_by_name['latitude_deg']._options = None -_MISSIONITEM.fields_by_name['longitude_deg']._options = None -_MISSIONITEM.fields_by_name['relative_altitude_m']._options = None -_MISSIONITEM.fields_by_name['speed_m_s']._options = None -_MISSIONITEM.fields_by_name['is_fly_through']._options = None -_MISSIONITEM.fields_by_name['gimbal_pitch_deg']._options = None -_MISSIONITEM.fields_by_name['gimbal_yaw_deg']._options = None -_MISSIONITEM.fields_by_name['loiter_time_s']._options = None -_MISSIONITEM.fields_by_name['camera_photo_interval_s']._options = None -_MISSIONITEM.fields_by_name['acceptance_radius_m']._options = None -_MISSIONITEM.fields_by_name['yaw_deg']._options = None -_MISSIONITEM.fields_by_name['camera_photo_distance_m']._options = None - -_MISSIONSERVICE = _descriptor.ServiceDescriptor( - name='MissionService', - full_name='mavsdk.rpc.mission.MissionService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=3039, - serialized_end=4524, - methods=[ - _descriptor.MethodDescriptor( - name='UploadMission', - full_name='mavsdk.rpc.mission.MissionService.UploadMission', - index=0, - containing_service=None, - input_type=_UPLOADMISSIONREQUEST, - output_type=_UPLOADMISSIONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='CancelMissionUpload', - full_name='mavsdk.rpc.mission.MissionService.CancelMissionUpload', - index=1, - containing_service=None, - input_type=_CANCELMISSIONUPLOADREQUEST, - output_type=_CANCELMISSIONUPLOADRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='DownloadMission', - full_name='mavsdk.rpc.mission.MissionService.DownloadMission', - index=2, - containing_service=None, - input_type=_DOWNLOADMISSIONREQUEST, - output_type=_DOWNLOADMISSIONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='CancelMissionDownload', - full_name='mavsdk.rpc.mission.MissionService.CancelMissionDownload', - index=3, - containing_service=None, - input_type=_CANCELMISSIONDOWNLOADREQUEST, - output_type=_CANCELMISSIONDOWNLOADRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='StartMission', - full_name='mavsdk.rpc.mission.MissionService.StartMission', - index=4, - containing_service=None, - input_type=_STARTMISSIONREQUEST, - output_type=_STARTMISSIONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='PauseMission', - full_name='mavsdk.rpc.mission.MissionService.PauseMission', - index=5, - containing_service=None, - input_type=_PAUSEMISSIONREQUEST, - output_type=_PAUSEMISSIONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ClearMission', - full_name='mavsdk.rpc.mission.MissionService.ClearMission', - index=6, - containing_service=None, - input_type=_CLEARMISSIONREQUEST, - output_type=_CLEARMISSIONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetCurrentMissionItem', - full_name='mavsdk.rpc.mission.MissionService.SetCurrentMissionItem', - index=7, - containing_service=None, - input_type=_SETCURRENTMISSIONITEMREQUEST, - output_type=_SETCURRENTMISSIONITEMRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='IsMissionFinished', - full_name='mavsdk.rpc.mission.MissionService.IsMissionFinished', - index=8, - containing_service=None, - input_type=_ISMISSIONFINISHEDREQUEST, - output_type=_ISMISSIONFINISHEDRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeMissionProgress', - full_name='mavsdk.rpc.mission.MissionService.SubscribeMissionProgress', - index=9, - containing_service=None, - input_type=_SUBSCRIBEMISSIONPROGRESSREQUEST, - output_type=_MISSIONPROGRESSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetReturnToLaunchAfterMission', - full_name='mavsdk.rpc.mission.MissionService.GetReturnToLaunchAfterMission', - index=10, - containing_service=None, - input_type=_GETRETURNTOLAUNCHAFTERMISSIONREQUEST, - output_type=_GETRETURNTOLAUNCHAFTERMISSIONRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetReturnToLaunchAfterMission', - full_name='mavsdk.rpc.mission.MissionService.SetReturnToLaunchAfterMission', - index=11, - containing_service=None, - input_type=_SETRETURNTOLAUNCHAFTERMISSIONREQUEST, - output_type=_SETRETURNTOLAUNCHAFTERMISSIONRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_MISSIONSERVICE) - -DESCRIPTOR.services_by_name['MissionService'] = _MISSIONSERVICE - +ProgressDataOrMission = _reflection.GeneratedProtocolMessageType('ProgressDataOrMission', (_message.Message,), { + 'DESCRIPTOR' : _PROGRESSDATAORMISSION, + '__module__' : 'mission.mission_pb2' + # @@protoc_insertion_point(class_scope:mavsdk.rpc.mission.ProgressDataOrMission) + }) +_sym_db.RegisterMessage(ProgressDataOrMission) + +_MISSIONSERVICE = DESCRIPTOR.services_by_name['MissionService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\021io.mavsdk.missionB\014MissionProto' + _MISSIONITEM.fields_by_name['latitude_deg']._options = None + _MISSIONITEM.fields_by_name['latitude_deg']._serialized_options = b'\202\265\030\003NaN\211\265\030H\257\274\232\362\327z>' + _MISSIONITEM.fields_by_name['longitude_deg']._options = None + _MISSIONITEM.fields_by_name['longitude_deg']._serialized_options = b'\202\265\030\003NaN\211\265\030H\257\274\232\362\327z>' + _MISSIONITEM.fields_by_name['relative_altitude_m']._options = None + _MISSIONITEM.fields_by_name['relative_altitude_m']._serialized_options = b'\202\265\030\003NaN' + _MISSIONITEM.fields_by_name['speed_m_s']._options = None + _MISSIONITEM.fields_by_name['speed_m_s']._serialized_options = b'\202\265\030\003NaN' + _MISSIONITEM.fields_by_name['is_fly_through']._options = None + _MISSIONITEM.fields_by_name['is_fly_through']._serialized_options = b'\202\265\030\005false' + _MISSIONITEM.fields_by_name['gimbal_pitch_deg']._options = None + _MISSIONITEM.fields_by_name['gimbal_pitch_deg']._serialized_options = b'\202\265\030\003NaN\211\265\030-C\034\353\3426\032?' + _MISSIONITEM.fields_by_name['gimbal_yaw_deg']._options = None + _MISSIONITEM.fields_by_name['gimbal_yaw_deg']._serialized_options = b'\202\265\030\003NaN\211\265\030-C\034\353\3426\032?' + _MISSIONITEM.fields_by_name['loiter_time_s']._options = None + _MISSIONITEM.fields_by_name['loiter_time_s']._serialized_options = b'\202\265\030\003NaN' + _MISSIONITEM.fields_by_name['camera_photo_interval_s']._options = None + _MISSIONITEM.fields_by_name['camera_photo_interval_s']._serialized_options = b'\202\265\030\0031.0' + _MISSIONITEM.fields_by_name['acceptance_radius_m']._options = None + _MISSIONITEM.fields_by_name['acceptance_radius_m']._serialized_options = b'\202\265\030\003NaN' + _MISSIONITEM.fields_by_name['yaw_deg']._options = None + _MISSIONITEM.fields_by_name['yaw_deg']._serialized_options = b'\202\265\030\003NaN' + _MISSIONITEM.fields_by_name['camera_photo_distance_m']._options = None + _MISSIONITEM.fields_by_name['camera_photo_distance_m']._serialized_options = b'\202\265\030\003NAN' + _PROGRESSDATA.fields_by_name['progress']._options = None + _PROGRESSDATA.fields_by_name['progress']._serialized_options = b'\202\265\030\003NaN' + _PROGRESSDATAORMISSION.fields_by_name['has_progress']._options = None + _PROGRESSDATAORMISSION.fields_by_name['has_progress']._serialized_options = b'\202\265\030\005false' + _PROGRESSDATAORMISSION.fields_by_name['progress']._options = None + _PROGRESSDATAORMISSION.fields_by_name['progress']._serialized_options = b'\202\265\030\003NaN' + _MISSIONSERVICE.methods_by_name['SubscribeUploadMissionWithProgress']._options = None + _MISSIONSERVICE.methods_by_name['SubscribeUploadMissionWithProgress']._serialized_options = b'\200\265\030\000\210\265\030\001' + _MISSIONSERVICE.methods_by_name['CancelMissionUpload']._options = None + _MISSIONSERVICE.methods_by_name['CancelMissionUpload']._serialized_options = b'\200\265\030\001' + _MISSIONSERVICE.methods_by_name['SubscribeDownloadMissionWithProgress']._options = None + _MISSIONSERVICE.methods_by_name['SubscribeDownloadMissionWithProgress']._serialized_options = b'\200\265\030\000\210\265\030\001' + _MISSIONSERVICE.methods_by_name['CancelMissionDownload']._options = None + _MISSIONSERVICE.methods_by_name['CancelMissionDownload']._serialized_options = b'\200\265\030\001' + _MISSIONSERVICE.methods_by_name['IsMissionFinished']._options = None + _MISSIONSERVICE.methods_by_name['IsMissionFinished']._serialized_options = b'\200\265\030\001' + _MISSIONSERVICE.methods_by_name['GetReturnToLaunchAfterMission']._options = None + _MISSIONSERVICE.methods_by_name['GetReturnToLaunchAfterMission']._serialized_options = b'\200\265\030\001' + _MISSIONSERVICE.methods_by_name['SetReturnToLaunchAfterMission']._options = None + _MISSIONSERVICE.methods_by_name['SetReturnToLaunchAfterMission']._serialized_options = b'\200\265\030\001' + _UPLOADMISSIONREQUEST._serialized_start=67 + _UPLOADMISSIONREQUEST._serialized_end=144 + _UPLOADMISSIONRESPONSE._serialized_start=146 + _UPLOADMISSIONRESPONSE._serialized_end=228 + _SUBSCRIBEUPLOADMISSIONWITHPROGRESSREQUEST._serialized_start=230 + _SUBSCRIBEUPLOADMISSIONWITHPROGRESSREQUEST._serialized_end=328 + _UPLOADMISSIONWITHPROGRESSRESPONSE._serialized_start=331 + _UPLOADMISSIONWITHPROGRESSRESPONSE._serialized_end=482 + _CANCELMISSIONUPLOADREQUEST._serialized_start=484 + _CANCELMISSIONUPLOADREQUEST._serialized_end=512 + _CANCELMISSIONUPLOADRESPONSE._serialized_start=514 + _CANCELMISSIONUPLOADRESPONSE._serialized_end=602 + _DOWNLOADMISSIONREQUEST._serialized_start=604 + _DOWNLOADMISSIONREQUEST._serialized_end=628 + _DOWNLOADMISSIONRESPONSE._serialized_start=631 + _DOWNLOADMISSIONRESPONSE._serialized_end=770 + _SUBSCRIBEDOWNLOADMISSIONWITHPROGRESSREQUEST._serialized_start=772 + _SUBSCRIBEDOWNLOADMISSIONWITHPROGRESSREQUEST._serialized_end=817 + _DOWNLOADMISSIONWITHPROGRESSRESPONSE._serialized_start=820 + _DOWNLOADMISSIONWITHPROGRESSRESPONSE._serialized_end=982 + _CANCELMISSIONDOWNLOADREQUEST._serialized_start=984 + _CANCELMISSIONDOWNLOADREQUEST._serialized_end=1014 + _CANCELMISSIONDOWNLOADRESPONSE._serialized_start=1016 + _CANCELMISSIONDOWNLOADRESPONSE._serialized_end=1106 + _STARTMISSIONREQUEST._serialized_start=1108 + _STARTMISSIONREQUEST._serialized_end=1129 + _STARTMISSIONRESPONSE._serialized_start=1131 + _STARTMISSIONRESPONSE._serialized_end=1212 + _PAUSEMISSIONREQUEST._serialized_start=1214 + _PAUSEMISSIONREQUEST._serialized_end=1235 + _PAUSEMISSIONRESPONSE._serialized_start=1237 + _PAUSEMISSIONRESPONSE._serialized_end=1318 + _CLEARMISSIONREQUEST._serialized_start=1320 + _CLEARMISSIONREQUEST._serialized_end=1341 + _CLEARMISSIONRESPONSE._serialized_start=1343 + _CLEARMISSIONRESPONSE._serialized_end=1424 + _SETCURRENTMISSIONITEMREQUEST._serialized_start=1426 + _SETCURRENTMISSIONITEMREQUEST._serialized_end=1471 + _SETCURRENTMISSIONITEMRESPONSE._serialized_start=1473 + _SETCURRENTMISSIONITEMRESPONSE._serialized_end=1563 + _ISMISSIONFINISHEDREQUEST._serialized_start=1565 + _ISMISSIONFINISHEDREQUEST._serialized_end=1591 + _ISMISSIONFINISHEDRESPONSE._serialized_start=1593 + _ISMISSIONFINISHEDRESPONSE._serialized_end=1700 + _SUBSCRIBEMISSIONPROGRESSREQUEST._serialized_start=1702 + _SUBSCRIBEMISSIONPROGRESSREQUEST._serialized_end=1735 + _MISSIONPROGRESSRESPONSE._serialized_start=1737 + _MISSIONPROGRESSRESPONSE._serialized_end=1825 + _GETRETURNTOLAUNCHAFTERMISSIONREQUEST._serialized_start=1827 + _GETRETURNTOLAUNCHAFTERMISSIONREQUEST._serialized_end=1865 + _GETRETURNTOLAUNCHAFTERMISSIONRESPONSE._serialized_start=1867 + _GETRETURNTOLAUNCHAFTERMISSIONRESPONSE._serialized_end=1981 + _SETRETURNTOLAUNCHAFTERMISSIONREQUEST._serialized_start=1983 + _SETRETURNTOLAUNCHAFTERMISSIONREQUEST._serialized_end=2037 + _SETRETURNTOLAUNCHAFTERMISSIONRESPONSE._serialized_start=2039 + _SETRETURNTOLAUNCHAFTERMISSIONRESPONSE._serialized_end=2137 + _MISSIONITEM._serialized_start=2140 + _MISSIONITEM._serialized_end=2968 + _MISSIONITEM_CAMERAACTION._serialized_start=2681 + _MISSIONITEM_CAMERAACTION._serialized_end=2968 + _MISSIONPLAN._serialized_start=2970 + _MISSIONPLAN._serialized_end=3039 + _MISSIONPROGRESS._serialized_start=3041 + _MISSIONPROGRESS._serialized_end=3090 + _MISSIONRESULT._serialized_start=3093 + _MISSIONRESULT._serialized_end=3519 + _MISSIONRESULT_RESULT._serialized_start=3189 + _MISSIONRESULT_RESULT._serialized_end=3519 + _PROGRESSDATA._serialized_start=3521 + _PROGRESSDATA._serialized_end=3562 + _PROGRESSDATAORMISSION._serialized_start=3565 + _PROGRESSDATAORMISSION._serialized_end=3724 + _MISSIONSERVICE._serialized_start=3727 + _MISSIONSERVICE._serialized_end=5556 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/mission_pb2_grpc.py b/mavsdk/mission_pb2_grpc.py index 8f67c8da..3f07dc8f 100644 --- a/mavsdk/mission_pb2_grpc.py +++ b/mavsdk/mission_pb2_grpc.py @@ -20,6 +20,11 @@ def __init__(self, channel): request_serializer=mission_dot_mission__pb2.UploadMissionRequest.SerializeToString, response_deserializer=mission_dot_mission__pb2.UploadMissionResponse.FromString, ) + self.SubscribeUploadMissionWithProgress = channel.unary_stream( + '/mavsdk.rpc.mission.MissionService/SubscribeUploadMissionWithProgress', + request_serializer=mission_dot_mission__pb2.SubscribeUploadMissionWithProgressRequest.SerializeToString, + response_deserializer=mission_dot_mission__pb2.UploadMissionWithProgressResponse.FromString, + ) self.CancelMissionUpload = channel.unary_unary( '/mavsdk.rpc.mission.MissionService/CancelMissionUpload', request_serializer=mission_dot_mission__pb2.CancelMissionUploadRequest.SerializeToString, @@ -30,6 +35,11 @@ def __init__(self, channel): request_serializer=mission_dot_mission__pb2.DownloadMissionRequest.SerializeToString, response_deserializer=mission_dot_mission__pb2.DownloadMissionResponse.FromString, ) + self.SubscribeDownloadMissionWithProgress = channel.unary_stream( + '/mavsdk.rpc.mission.MissionService/SubscribeDownloadMissionWithProgress', + request_serializer=mission_dot_mission__pb2.SubscribeDownloadMissionWithProgressRequest.SerializeToString, + response_deserializer=mission_dot_mission__pb2.DownloadMissionWithProgressResponse.FromString, + ) self.CancelMissionDownload = channel.unary_unary( '/mavsdk.rpc.mission.MissionService/CancelMissionDownload', request_serializer=mission_dot_mission__pb2.CancelMissionDownloadRequest.SerializeToString, @@ -92,6 +102,17 @@ def UploadMission(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def SubscribeUploadMissionWithProgress(self, request, context): + """ + Upload a list of mission items to the system and report upload progress. + + The mission items are uploaded to a drone. Once uploaded the mission can be started and + executed even if the connection is lost. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def CancelMissionUpload(self, request, context): """ Cancel an ongoing mission upload. @@ -111,6 +132,17 @@ def DownloadMission(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def SubscribeDownloadMissionWithProgress(self, request, context): + """ + Download a list of mission items from the system (asynchronous) and report progress. + + Will fail if any of the downloaded mission items are not supported + by the MAVSDK API. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def CancelMissionDownload(self, request, context): """ Cancel an ongoing mission download. @@ -210,6 +242,11 @@ def add_MissionServiceServicer_to_server(servicer, server): request_deserializer=mission_dot_mission__pb2.UploadMissionRequest.FromString, response_serializer=mission_dot_mission__pb2.UploadMissionResponse.SerializeToString, ), + 'SubscribeUploadMissionWithProgress': grpc.unary_stream_rpc_method_handler( + servicer.SubscribeUploadMissionWithProgress, + request_deserializer=mission_dot_mission__pb2.SubscribeUploadMissionWithProgressRequest.FromString, + response_serializer=mission_dot_mission__pb2.UploadMissionWithProgressResponse.SerializeToString, + ), 'CancelMissionUpload': grpc.unary_unary_rpc_method_handler( servicer.CancelMissionUpload, request_deserializer=mission_dot_mission__pb2.CancelMissionUploadRequest.FromString, @@ -220,6 +257,11 @@ def add_MissionServiceServicer_to_server(servicer, server): request_deserializer=mission_dot_mission__pb2.DownloadMissionRequest.FromString, response_serializer=mission_dot_mission__pb2.DownloadMissionResponse.SerializeToString, ), + 'SubscribeDownloadMissionWithProgress': grpc.unary_stream_rpc_method_handler( + servicer.SubscribeDownloadMissionWithProgress, + request_deserializer=mission_dot_mission__pb2.SubscribeDownloadMissionWithProgressRequest.FromString, + response_serializer=mission_dot_mission__pb2.DownloadMissionWithProgressResponse.SerializeToString, + ), 'CancelMissionDownload': grpc.unary_unary_rpc_method_handler( servicer.CancelMissionDownload, request_deserializer=mission_dot_mission__pb2.CancelMissionDownloadRequest.FromString, @@ -293,6 +335,23 @@ def UploadMission(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod + def SubscribeUploadMissionWithProgress(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream(request, target, '/mavsdk.rpc.mission.MissionService/SubscribeUploadMissionWithProgress', + mission_dot_mission__pb2.SubscribeUploadMissionWithProgressRequest.SerializeToString, + mission_dot_mission__pb2.UploadMissionWithProgressResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod def CancelMissionUpload(request, target, @@ -327,6 +386,23 @@ def DownloadMission(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod + def SubscribeDownloadMissionWithProgress(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream(request, target, '/mavsdk.rpc.mission.MissionService/SubscribeDownloadMissionWithProgress', + mission_dot_mission__pb2.SubscribeDownloadMissionWithProgressRequest.SerializeToString, + mission_dot_mission__pb2.DownloadMissionWithProgressResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod def CancelMissionDownload(request, target, diff --git a/mavsdk/mission_raw_pb2.py b/mavsdk/mission_raw_pb2.py index 72a2e044..4490a0b9 100644 --- a/mavsdk/mission_raw_pb2.py +++ b/mavsdk/mission_raw_pb2.py @@ -3,6 +3,7 @@ # source: mission_raw/mission_raw.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -14,1047 +15,37 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='mission_raw/mission_raw.proto', - package='mavsdk.rpc.mission_raw', - syntax='proto3', - serialized_options=b'\n\025io.mavsdk.mission_rawB\017MissionRawProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1dmission_raw/mission_raw.proto\x12\x16mavsdk.rpc.mission_raw\x1a\x14mavsdk_options.proto\"R\n\x14UploadMissionRequest\x12:\n\rmission_items\x18\x01 \x03(\x0b\x32#.mavsdk.rpc.mission_raw.MissionItem\"]\n\x15UploadMissionResponse\x12\x44\n\x12mission_raw_result\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mission_raw.MissionRawResult\"\x1c\n\x1a\x43\x61ncelMissionUploadRequest\"c\n\x1b\x43\x61ncelMissionUploadResponse\x12\x44\n\x12mission_raw_result\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mission_raw.MissionRawResult\"\x18\n\x16\x44ownloadMissionRequest\"\x9b\x01\n\x17\x44ownloadMissionResponse\x12\x44\n\x12mission_raw_result\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mission_raw.MissionRawResult\x12:\n\rmission_items\x18\x02 \x03(\x0b\x32#.mavsdk.rpc.mission_raw.MissionItem\"\x1e\n\x1c\x43\x61ncelMissionDownloadRequest\"e\n\x1d\x43\x61ncelMissionDownloadResponse\x12\x44\n\x12mission_raw_result\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mission_raw.MissionRawResult\"\x15\n\x13StartMissionRequest\"\\\n\x14StartMissionResponse\x12\x44\n\x12mission_raw_result\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mission_raw.MissionRawResult\"\x15\n\x13PauseMissionRequest\"\\\n\x14PauseMissionResponse\x12\x44\n\x12mission_raw_result\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mission_raw.MissionRawResult\"\x15\n\x13\x43learMissionRequest\"\\\n\x14\x43learMissionResponse\x12\x44\n\x12mission_raw_result\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mission_raw.MissionRawResult\"-\n\x1cSetCurrentMissionItemRequest\x12\r\n\x05index\x18\x01 \x01(\x05\"e\n\x1dSetCurrentMissionItemResponse\x12\x44\n\x12mission_raw_result\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mission_raw.MissionRawResult\"!\n\x1fSubscribeMissionProgressRequest\"\\\n\x17MissionProgressResponse\x12\x41\n\x10mission_progress\x18\x01 \x01(\x0b\x32\'.mavsdk.rpc.mission_raw.MissionProgress\" \n\x1eSubscribeMissionChangedRequest\"1\n\x16MissionChangedResponse\x12\x17\n\x0fmission_changed\x18\x01 \x01(\x08\";\n\"ImportQgroundcontrolMissionRequest\x12\x15\n\rqgc_plan_path\x18\x01 \x01(\t\"\xb3\x01\n#ImportQgroundcontrolMissionResponse\x12\x44\n\x12mission_raw_result\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mission_raw.MissionRawResult\x12\x46\n\x13mission_import_data\x18\x02 \x01(\x0b\x32).mavsdk.rpc.mission_raw.MissionImportData\"1\n\x0fMissionProgress\x12\x0f\n\x07\x63urrent\x18\x01 \x01(\x05\x12\r\n\x05total\x18\x02 \x01(\x05\"\xd8\x01\n\x0bMissionItem\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\r\n\x05\x66rame\x18\x02 \x01(\r\x12\x0f\n\x07\x63ommand\x18\x03 \x01(\r\x12\x0f\n\x07\x63urrent\x18\x04 \x01(\r\x12\x14\n\x0c\x61utocontinue\x18\x05 \x01(\r\x12\x0e\n\x06param1\x18\x06 \x01(\x02\x12\x0e\n\x06param2\x18\x07 \x01(\x02\x12\x0e\n\x06param3\x18\x08 \x01(\x02\x12\x0e\n\x06param4\x18\t \x01(\x02\x12\t\n\x01x\x18\n \x01(\x05\x12\t\n\x01y\x18\x0b \x01(\x05\x12\t\n\x01z\x18\x0c \x01(\x02\x12\x14\n\x0cmission_type\x18\r \x01(\r\"\xc6\x01\n\x11MissionImportData\x12:\n\rmission_items\x18\x01 \x03(\x0b\x32#.mavsdk.rpc.mission_raw.MissionItem\x12;\n\x0egeofence_items\x18\x02 \x03(\x0b\x32#.mavsdk.rpc.mission_raw.MissionItem\x12\x38\n\x0brally_items\x18\x03 \x03(\x0b\x32#.mavsdk.rpc.mission_raw.MissionItem\"\xc8\x03\n\x10MissionRawResult\x12?\n\x06result\x18\x01 \x01(\x0e\x32/.mavsdk.rpc.mission_raw.MissionRawResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xde\x02\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x10\n\x0cRESULT_ERROR\x10\x02\x12!\n\x1dRESULT_TOO_MANY_MISSION_ITEMS\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x12\n\x0eRESULT_TIMEOUT\x10\x05\x12\x1b\n\x17RESULT_INVALID_ARGUMENT\x10\x06\x12\x16\n\x12RESULT_UNSUPPORTED\x10\x07\x12\x1f\n\x1bRESULT_NO_MISSION_AVAILABLE\x10\x08\x12\x1d\n\x19RESULT_TRANSFER_CANCELLED\x10\t\x12\"\n\x1eRESULT_FAILED_TO_OPEN_QGC_PLAN\x10\n\x12#\n\x1fRESULT_FAILED_TO_PARSE_QGC_PLAN\x10\x0b\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x0c\x32\x93\x0b\n\x11MissionRawService\x12n\n\rUploadMission\x12,.mavsdk.rpc.mission_raw.UploadMissionRequest\x1a-.mavsdk.rpc.mission_raw.UploadMissionResponse\"\x00\x12\x84\x01\n\x13\x43\x61ncelMissionUpload\x12\x32.mavsdk.rpc.mission_raw.CancelMissionUploadRequest\x1a\x33.mavsdk.rpc.mission_raw.CancelMissionUploadResponse\"\x04\x80\xb5\x18\x01\x12t\n\x0f\x44ownloadMission\x12..mavsdk.rpc.mission_raw.DownloadMissionRequest\x1a/.mavsdk.rpc.mission_raw.DownloadMissionResponse\"\x00\x12\x8a\x01\n\x15\x43\x61ncelMissionDownload\x12\x34.mavsdk.rpc.mission_raw.CancelMissionDownloadRequest\x1a\x35.mavsdk.rpc.mission_raw.CancelMissionDownloadResponse\"\x04\x80\xb5\x18\x01\x12k\n\x0cStartMission\x12+.mavsdk.rpc.mission_raw.StartMissionRequest\x1a,.mavsdk.rpc.mission_raw.StartMissionResponse\"\x00\x12k\n\x0cPauseMission\x12+.mavsdk.rpc.mission_raw.PauseMissionRequest\x1a,.mavsdk.rpc.mission_raw.PauseMissionResponse\"\x00\x12k\n\x0c\x43learMission\x12+.mavsdk.rpc.mission_raw.ClearMissionRequest\x1a,.mavsdk.rpc.mission_raw.ClearMissionResponse\"\x00\x12\x86\x01\n\x15SetCurrentMissionItem\x12\x34.mavsdk.rpc.mission_raw.SetCurrentMissionItemRequest\x1a\x35.mavsdk.rpc.mission_raw.SetCurrentMissionItemResponse\"\x00\x12\x88\x01\n\x18SubscribeMissionProgress\x12\x37.mavsdk.rpc.mission_raw.SubscribeMissionProgressRequest\x1a/.mavsdk.rpc.mission_raw.MissionProgressResponse\"\x00\x30\x01\x12\x89\x01\n\x17SubscribeMissionChanged\x12\x36.mavsdk.rpc.mission_raw.SubscribeMissionChangedRequest\x1a..mavsdk.rpc.mission_raw.MissionChangedResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12\x9c\x01\n\x1bImportQgroundcontrolMission\x12:.mavsdk.rpc.mission_raw.ImportQgroundcontrolMissionRequest\x1a;.mavsdk.rpc.mission_raw.ImportQgroundcontrolMissionResponse\"\x04\x80\xb5\x18\x01\x42(\n\x15io.mavsdk.mission_rawB\x0fMissionRawProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) - - - -_MISSIONRAWRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.mission_raw.MissionRawResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_ERROR', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TOO_MANY_MISSION_ITEMS', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_BUSY', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TIMEOUT', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_INVALID_ARGUMENT', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_UNSUPPORTED', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_MISSION_AVAILABLE', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TRANSFER_CANCELLED', index=9, number=9, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_FAILED_TO_OPEN_QGC_PLAN', index=10, number=10, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_FAILED_TO_PARSE_QGC_PLAN', index=11, number=11, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=12, number=12, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=2244, - serialized_end=2594, -) -_sym_db.RegisterEnumDescriptor(_MISSIONRAWRESULT_RESULT) - - -_UPLOADMISSIONREQUEST = _descriptor.Descriptor( - name='UploadMissionRequest', - full_name='mavsdk.rpc.mission_raw.UploadMissionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_items', full_name='mavsdk.rpc.mission_raw.UploadMissionRequest.mission_items', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=79, - serialized_end=161, -) - - -_UPLOADMISSIONRESPONSE = _descriptor.Descriptor( - name='UploadMissionResponse', - full_name='mavsdk.rpc.mission_raw.UploadMissionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_raw_result', full_name='mavsdk.rpc.mission_raw.UploadMissionResponse.mission_raw_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=163, - serialized_end=256, -) - - -_CANCELMISSIONUPLOADREQUEST = _descriptor.Descriptor( - name='CancelMissionUploadRequest', - full_name='mavsdk.rpc.mission_raw.CancelMissionUploadRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=258, - serialized_end=286, -) - - -_CANCELMISSIONUPLOADRESPONSE = _descriptor.Descriptor( - name='CancelMissionUploadResponse', - full_name='mavsdk.rpc.mission_raw.CancelMissionUploadResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_raw_result', full_name='mavsdk.rpc.mission_raw.CancelMissionUploadResponse.mission_raw_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=288, - serialized_end=387, -) - - -_DOWNLOADMISSIONREQUEST = _descriptor.Descriptor( - name='DownloadMissionRequest', - full_name='mavsdk.rpc.mission_raw.DownloadMissionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=389, - serialized_end=413, -) - - -_DOWNLOADMISSIONRESPONSE = _descriptor.Descriptor( - name='DownloadMissionResponse', - full_name='mavsdk.rpc.mission_raw.DownloadMissionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_raw_result', full_name='mavsdk.rpc.mission_raw.DownloadMissionResponse.mission_raw_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='mission_items', full_name='mavsdk.rpc.mission_raw.DownloadMissionResponse.mission_items', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=416, - serialized_end=571, -) - - -_CANCELMISSIONDOWNLOADREQUEST = _descriptor.Descriptor( - name='CancelMissionDownloadRequest', - full_name='mavsdk.rpc.mission_raw.CancelMissionDownloadRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=573, - serialized_end=603, -) - - -_CANCELMISSIONDOWNLOADRESPONSE = _descriptor.Descriptor( - name='CancelMissionDownloadResponse', - full_name='mavsdk.rpc.mission_raw.CancelMissionDownloadResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_raw_result', full_name='mavsdk.rpc.mission_raw.CancelMissionDownloadResponse.mission_raw_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=605, - serialized_end=706, -) - - -_STARTMISSIONREQUEST = _descriptor.Descriptor( - name='StartMissionRequest', - full_name='mavsdk.rpc.mission_raw.StartMissionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=708, - serialized_end=729, -) - - -_STARTMISSIONRESPONSE = _descriptor.Descriptor( - name='StartMissionResponse', - full_name='mavsdk.rpc.mission_raw.StartMissionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_raw_result', full_name='mavsdk.rpc.mission_raw.StartMissionResponse.mission_raw_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=731, - serialized_end=823, -) - - -_PAUSEMISSIONREQUEST = _descriptor.Descriptor( - name='PauseMissionRequest', - full_name='mavsdk.rpc.mission_raw.PauseMissionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=825, - serialized_end=846, -) - - -_PAUSEMISSIONRESPONSE = _descriptor.Descriptor( - name='PauseMissionResponse', - full_name='mavsdk.rpc.mission_raw.PauseMissionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_raw_result', full_name='mavsdk.rpc.mission_raw.PauseMissionResponse.mission_raw_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=848, - serialized_end=940, -) - - -_CLEARMISSIONREQUEST = _descriptor.Descriptor( - name='ClearMissionRequest', - full_name='mavsdk.rpc.mission_raw.ClearMissionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=942, - serialized_end=963, -) - - -_CLEARMISSIONRESPONSE = _descriptor.Descriptor( - name='ClearMissionResponse', - full_name='mavsdk.rpc.mission_raw.ClearMissionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_raw_result', full_name='mavsdk.rpc.mission_raw.ClearMissionResponse.mission_raw_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=965, - serialized_end=1057, -) - - -_SETCURRENTMISSIONITEMREQUEST = _descriptor.Descriptor( - name='SetCurrentMissionItemRequest', - full_name='mavsdk.rpc.mission_raw.SetCurrentMissionItemRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='index', full_name='mavsdk.rpc.mission_raw.SetCurrentMissionItemRequest.index', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1059, - serialized_end=1104, -) - - -_SETCURRENTMISSIONITEMRESPONSE = _descriptor.Descriptor( - name='SetCurrentMissionItemResponse', - full_name='mavsdk.rpc.mission_raw.SetCurrentMissionItemResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_raw_result', full_name='mavsdk.rpc.mission_raw.SetCurrentMissionItemResponse.mission_raw_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1106, - serialized_end=1207, -) - - -_SUBSCRIBEMISSIONPROGRESSREQUEST = _descriptor.Descriptor( - name='SubscribeMissionProgressRequest', - full_name='mavsdk.rpc.mission_raw.SubscribeMissionProgressRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1209, - serialized_end=1242, -) - - -_MISSIONPROGRESSRESPONSE = _descriptor.Descriptor( - name='MissionProgressResponse', - full_name='mavsdk.rpc.mission_raw.MissionProgressResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_progress', full_name='mavsdk.rpc.mission_raw.MissionProgressResponse.mission_progress', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1244, - serialized_end=1336, -) - - -_SUBSCRIBEMISSIONCHANGEDREQUEST = _descriptor.Descriptor( - name='SubscribeMissionChangedRequest', - full_name='mavsdk.rpc.mission_raw.SubscribeMissionChangedRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1338, - serialized_end=1370, -) - - -_MISSIONCHANGEDRESPONSE = _descriptor.Descriptor( - name='MissionChangedResponse', - full_name='mavsdk.rpc.mission_raw.MissionChangedResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_changed', full_name='mavsdk.rpc.mission_raw.MissionChangedResponse.mission_changed', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1372, - serialized_end=1421, -) - - -_IMPORTQGROUNDCONTROLMISSIONREQUEST = _descriptor.Descriptor( - name='ImportQgroundcontrolMissionRequest', - full_name='mavsdk.rpc.mission_raw.ImportQgroundcontrolMissionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='qgc_plan_path', full_name='mavsdk.rpc.mission_raw.ImportQgroundcontrolMissionRequest.qgc_plan_path', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1423, - serialized_end=1482, -) - - -_IMPORTQGROUNDCONTROLMISSIONRESPONSE = _descriptor.Descriptor( - name='ImportQgroundcontrolMissionResponse', - full_name='mavsdk.rpc.mission_raw.ImportQgroundcontrolMissionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_raw_result', full_name='mavsdk.rpc.mission_raw.ImportQgroundcontrolMissionResponse.mission_raw_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='mission_import_data', full_name='mavsdk.rpc.mission_raw.ImportQgroundcontrolMissionResponse.mission_import_data', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1485, - serialized_end=1664, -) - - -_MISSIONPROGRESS = _descriptor.Descriptor( - name='MissionProgress', - full_name='mavsdk.rpc.mission_raw.MissionProgress', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='current', full_name='mavsdk.rpc.mission_raw.MissionProgress.current', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='total', full_name='mavsdk.rpc.mission_raw.MissionProgress.total', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1666, - serialized_end=1715, -) - - -_MISSIONITEM = _descriptor.Descriptor( - name='MissionItem', - full_name='mavsdk.rpc.mission_raw.MissionItem', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='seq', full_name='mavsdk.rpc.mission_raw.MissionItem.seq', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='frame', full_name='mavsdk.rpc.mission_raw.MissionItem.frame', index=1, - number=2, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='command', full_name='mavsdk.rpc.mission_raw.MissionItem.command', index=2, - number=3, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='current', full_name='mavsdk.rpc.mission_raw.MissionItem.current', index=3, - number=4, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='autocontinue', full_name='mavsdk.rpc.mission_raw.MissionItem.autocontinue', index=4, - number=5, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='param1', full_name='mavsdk.rpc.mission_raw.MissionItem.param1', index=5, - number=6, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='param2', full_name='mavsdk.rpc.mission_raw.MissionItem.param2', index=6, - number=7, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='param3', full_name='mavsdk.rpc.mission_raw.MissionItem.param3', index=7, - number=8, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='param4', full_name='mavsdk.rpc.mission_raw.MissionItem.param4', index=8, - number=9, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='x', full_name='mavsdk.rpc.mission_raw.MissionItem.x', index=9, - number=10, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='mavsdk.rpc.mission_raw.MissionItem.y', index=10, - number=11, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='z', full_name='mavsdk.rpc.mission_raw.MissionItem.z', index=11, - number=12, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='mission_type', full_name='mavsdk.rpc.mission_raw.MissionItem.mission_type', index=12, - number=13, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1718, - serialized_end=1934, -) - - -_MISSIONIMPORTDATA = _descriptor.Descriptor( - name='MissionImportData', - full_name='mavsdk.rpc.mission_raw.MissionImportData', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_items', full_name='mavsdk.rpc.mission_raw.MissionImportData.mission_items', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='geofence_items', full_name='mavsdk.rpc.mission_raw.MissionImportData.geofence_items', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='rally_items', full_name='mavsdk.rpc.mission_raw.MissionImportData.rally_items', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1937, - serialized_end=2135, -) - - -_MISSIONRAWRESULT = _descriptor.Descriptor( - name='MissionRawResult', - full_name='mavsdk.rpc.mission_raw.MissionRawResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.mission_raw.MissionRawResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.mission_raw.MissionRawResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _MISSIONRAWRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2138, - serialized_end=2594, -) - -_UPLOADMISSIONREQUEST.fields_by_name['mission_items'].message_type = _MISSIONITEM -_UPLOADMISSIONRESPONSE.fields_by_name['mission_raw_result'].message_type = _MISSIONRAWRESULT -_CANCELMISSIONUPLOADRESPONSE.fields_by_name['mission_raw_result'].message_type = _MISSIONRAWRESULT -_DOWNLOADMISSIONRESPONSE.fields_by_name['mission_raw_result'].message_type = _MISSIONRAWRESULT -_DOWNLOADMISSIONRESPONSE.fields_by_name['mission_items'].message_type = _MISSIONITEM -_CANCELMISSIONDOWNLOADRESPONSE.fields_by_name['mission_raw_result'].message_type = _MISSIONRAWRESULT -_STARTMISSIONRESPONSE.fields_by_name['mission_raw_result'].message_type = _MISSIONRAWRESULT -_PAUSEMISSIONRESPONSE.fields_by_name['mission_raw_result'].message_type = _MISSIONRAWRESULT -_CLEARMISSIONRESPONSE.fields_by_name['mission_raw_result'].message_type = _MISSIONRAWRESULT -_SETCURRENTMISSIONITEMRESPONSE.fields_by_name['mission_raw_result'].message_type = _MISSIONRAWRESULT -_MISSIONPROGRESSRESPONSE.fields_by_name['mission_progress'].message_type = _MISSIONPROGRESS -_IMPORTQGROUNDCONTROLMISSIONRESPONSE.fields_by_name['mission_raw_result'].message_type = _MISSIONRAWRESULT -_IMPORTQGROUNDCONTROLMISSIONRESPONSE.fields_by_name['mission_import_data'].message_type = _MISSIONIMPORTDATA -_MISSIONIMPORTDATA.fields_by_name['mission_items'].message_type = _MISSIONITEM -_MISSIONIMPORTDATA.fields_by_name['geofence_items'].message_type = _MISSIONITEM -_MISSIONIMPORTDATA.fields_by_name['rally_items'].message_type = _MISSIONITEM -_MISSIONRAWRESULT.fields_by_name['result'].enum_type = _MISSIONRAWRESULT_RESULT -_MISSIONRAWRESULT_RESULT.containing_type = _MISSIONRAWRESULT -DESCRIPTOR.message_types_by_name['UploadMissionRequest'] = _UPLOADMISSIONREQUEST -DESCRIPTOR.message_types_by_name['UploadMissionResponse'] = _UPLOADMISSIONRESPONSE -DESCRIPTOR.message_types_by_name['CancelMissionUploadRequest'] = _CANCELMISSIONUPLOADREQUEST -DESCRIPTOR.message_types_by_name['CancelMissionUploadResponse'] = _CANCELMISSIONUPLOADRESPONSE -DESCRIPTOR.message_types_by_name['DownloadMissionRequest'] = _DOWNLOADMISSIONREQUEST -DESCRIPTOR.message_types_by_name['DownloadMissionResponse'] = _DOWNLOADMISSIONRESPONSE -DESCRIPTOR.message_types_by_name['CancelMissionDownloadRequest'] = _CANCELMISSIONDOWNLOADREQUEST -DESCRIPTOR.message_types_by_name['CancelMissionDownloadResponse'] = _CANCELMISSIONDOWNLOADRESPONSE -DESCRIPTOR.message_types_by_name['StartMissionRequest'] = _STARTMISSIONREQUEST -DESCRIPTOR.message_types_by_name['StartMissionResponse'] = _STARTMISSIONRESPONSE -DESCRIPTOR.message_types_by_name['PauseMissionRequest'] = _PAUSEMISSIONREQUEST -DESCRIPTOR.message_types_by_name['PauseMissionResponse'] = _PAUSEMISSIONRESPONSE -DESCRIPTOR.message_types_by_name['ClearMissionRequest'] = _CLEARMISSIONREQUEST -DESCRIPTOR.message_types_by_name['ClearMissionResponse'] = _CLEARMISSIONRESPONSE -DESCRIPTOR.message_types_by_name['SetCurrentMissionItemRequest'] = _SETCURRENTMISSIONITEMREQUEST -DESCRIPTOR.message_types_by_name['SetCurrentMissionItemResponse'] = _SETCURRENTMISSIONITEMRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeMissionProgressRequest'] = _SUBSCRIBEMISSIONPROGRESSREQUEST -DESCRIPTOR.message_types_by_name['MissionProgressResponse'] = _MISSIONPROGRESSRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeMissionChangedRequest'] = _SUBSCRIBEMISSIONCHANGEDREQUEST -DESCRIPTOR.message_types_by_name['MissionChangedResponse'] = _MISSIONCHANGEDRESPONSE -DESCRIPTOR.message_types_by_name['ImportQgroundcontrolMissionRequest'] = _IMPORTQGROUNDCONTROLMISSIONREQUEST -DESCRIPTOR.message_types_by_name['ImportQgroundcontrolMissionResponse'] = _IMPORTQGROUNDCONTROLMISSIONRESPONSE -DESCRIPTOR.message_types_by_name['MissionProgress'] = _MISSIONPROGRESS -DESCRIPTOR.message_types_by_name['MissionItem'] = _MISSIONITEM -DESCRIPTOR.message_types_by_name['MissionImportData'] = _MISSIONIMPORTDATA -DESCRIPTOR.message_types_by_name['MissionRawResult'] = _MISSIONRAWRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dmission_raw/mission_raw.proto\x12\x16mavsdk.rpc.mission_raw\x1a\x14mavsdk_options.proto\"R\n\x14UploadMissionRequest\x12:\n\rmission_items\x18\x01 \x03(\x0b\x32#.mavsdk.rpc.mission_raw.MissionItem\"]\n\x15UploadMissionResponse\x12\x44\n\x12mission_raw_result\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mission_raw.MissionRawResult\"\x1c\n\x1a\x43\x61ncelMissionUploadRequest\"c\n\x1b\x43\x61ncelMissionUploadResponse\x12\x44\n\x12mission_raw_result\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mission_raw.MissionRawResult\"\x18\n\x16\x44ownloadMissionRequest\"\x9b\x01\n\x17\x44ownloadMissionResponse\x12\x44\n\x12mission_raw_result\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mission_raw.MissionRawResult\x12:\n\rmission_items\x18\x02 \x03(\x0b\x32#.mavsdk.rpc.mission_raw.MissionItem\"\x1e\n\x1c\x43\x61ncelMissionDownloadRequest\"e\n\x1d\x43\x61ncelMissionDownloadResponse\x12\x44\n\x12mission_raw_result\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mission_raw.MissionRawResult\"\x15\n\x13StartMissionRequest\"\\\n\x14StartMissionResponse\x12\x44\n\x12mission_raw_result\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mission_raw.MissionRawResult\"\x15\n\x13PauseMissionRequest\"\\\n\x14PauseMissionResponse\x12\x44\n\x12mission_raw_result\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mission_raw.MissionRawResult\"\x15\n\x13\x43learMissionRequest\"\\\n\x14\x43learMissionResponse\x12\x44\n\x12mission_raw_result\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mission_raw.MissionRawResult\"-\n\x1cSetCurrentMissionItemRequest\x12\r\n\x05index\x18\x01 \x01(\x05\"e\n\x1dSetCurrentMissionItemResponse\x12\x44\n\x12mission_raw_result\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mission_raw.MissionRawResult\"!\n\x1fSubscribeMissionProgressRequest\"\\\n\x17MissionProgressResponse\x12\x41\n\x10mission_progress\x18\x01 \x01(\x0b\x32\'.mavsdk.rpc.mission_raw.MissionProgress\" \n\x1eSubscribeMissionChangedRequest\"1\n\x16MissionChangedResponse\x12\x17\n\x0fmission_changed\x18\x01 \x01(\x08\";\n\"ImportQgroundcontrolMissionRequest\x12\x15\n\rqgc_plan_path\x18\x01 \x01(\t\"\xb3\x01\n#ImportQgroundcontrolMissionResponse\x12\x44\n\x12mission_raw_result\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mission_raw.MissionRawResult\x12\x46\n\x13mission_import_data\x18\x02 \x01(\x0b\x32).mavsdk.rpc.mission_raw.MissionImportData\"1\n\x0fMissionProgress\x12\x0f\n\x07\x63urrent\x18\x01 \x01(\x05\x12\r\n\x05total\x18\x02 \x01(\x05\"\xd8\x01\n\x0bMissionItem\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\r\n\x05\x66rame\x18\x02 \x01(\r\x12\x0f\n\x07\x63ommand\x18\x03 \x01(\r\x12\x0f\n\x07\x63urrent\x18\x04 \x01(\r\x12\x14\n\x0c\x61utocontinue\x18\x05 \x01(\r\x12\x0e\n\x06param1\x18\x06 \x01(\x02\x12\x0e\n\x06param2\x18\x07 \x01(\x02\x12\x0e\n\x06param3\x18\x08 \x01(\x02\x12\x0e\n\x06param4\x18\t \x01(\x02\x12\t\n\x01x\x18\n \x01(\x05\x12\t\n\x01y\x18\x0b \x01(\x05\x12\t\n\x01z\x18\x0c \x01(\x02\x12\x14\n\x0cmission_type\x18\r \x01(\r\"\xc6\x01\n\x11MissionImportData\x12:\n\rmission_items\x18\x01 \x03(\x0b\x32#.mavsdk.rpc.mission_raw.MissionItem\x12;\n\x0egeofence_items\x18\x02 \x03(\x0b\x32#.mavsdk.rpc.mission_raw.MissionItem\x12\x38\n\x0brally_items\x18\x03 \x03(\x0b\x32#.mavsdk.rpc.mission_raw.MissionItem\"\xc8\x03\n\x10MissionRawResult\x12?\n\x06result\x18\x01 \x01(\x0e\x32/.mavsdk.rpc.mission_raw.MissionRawResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xde\x02\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x10\n\x0cRESULT_ERROR\x10\x02\x12!\n\x1dRESULT_TOO_MANY_MISSION_ITEMS\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x12\n\x0eRESULT_TIMEOUT\x10\x05\x12\x1b\n\x17RESULT_INVALID_ARGUMENT\x10\x06\x12\x16\n\x12RESULT_UNSUPPORTED\x10\x07\x12\x1f\n\x1bRESULT_NO_MISSION_AVAILABLE\x10\x08\x12\x1d\n\x19RESULT_TRANSFER_CANCELLED\x10\t\x12\"\n\x1eRESULT_FAILED_TO_OPEN_QGC_PLAN\x10\n\x12#\n\x1fRESULT_FAILED_TO_PARSE_QGC_PLAN\x10\x0b\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x0c\x32\x93\x0b\n\x11MissionRawService\x12n\n\rUploadMission\x12,.mavsdk.rpc.mission_raw.UploadMissionRequest\x1a-.mavsdk.rpc.mission_raw.UploadMissionResponse\"\x00\x12\x84\x01\n\x13\x43\x61ncelMissionUpload\x12\x32.mavsdk.rpc.mission_raw.CancelMissionUploadRequest\x1a\x33.mavsdk.rpc.mission_raw.CancelMissionUploadResponse\"\x04\x80\xb5\x18\x01\x12t\n\x0f\x44ownloadMission\x12..mavsdk.rpc.mission_raw.DownloadMissionRequest\x1a/.mavsdk.rpc.mission_raw.DownloadMissionResponse\"\x00\x12\x8a\x01\n\x15\x43\x61ncelMissionDownload\x12\x34.mavsdk.rpc.mission_raw.CancelMissionDownloadRequest\x1a\x35.mavsdk.rpc.mission_raw.CancelMissionDownloadResponse\"\x04\x80\xb5\x18\x01\x12k\n\x0cStartMission\x12+.mavsdk.rpc.mission_raw.StartMissionRequest\x1a,.mavsdk.rpc.mission_raw.StartMissionResponse\"\x00\x12k\n\x0cPauseMission\x12+.mavsdk.rpc.mission_raw.PauseMissionRequest\x1a,.mavsdk.rpc.mission_raw.PauseMissionResponse\"\x00\x12k\n\x0c\x43learMission\x12+.mavsdk.rpc.mission_raw.ClearMissionRequest\x1a,.mavsdk.rpc.mission_raw.ClearMissionResponse\"\x00\x12\x86\x01\n\x15SetCurrentMissionItem\x12\x34.mavsdk.rpc.mission_raw.SetCurrentMissionItemRequest\x1a\x35.mavsdk.rpc.mission_raw.SetCurrentMissionItemResponse\"\x00\x12\x88\x01\n\x18SubscribeMissionProgress\x12\x37.mavsdk.rpc.mission_raw.SubscribeMissionProgressRequest\x1a/.mavsdk.rpc.mission_raw.MissionProgressResponse\"\x00\x30\x01\x12\x89\x01\n\x17SubscribeMissionChanged\x12\x36.mavsdk.rpc.mission_raw.SubscribeMissionChangedRequest\x1a..mavsdk.rpc.mission_raw.MissionChangedResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12\x9c\x01\n\x1bImportQgroundcontrolMission\x12:.mavsdk.rpc.mission_raw.ImportQgroundcontrolMissionRequest\x1a;.mavsdk.rpc.mission_raw.ImportQgroundcontrolMissionResponse\"\x04\x80\xb5\x18\x01\x42(\n\x15io.mavsdk.mission_rawB\x0fMissionRawProtob\x06proto3') + + + +_UPLOADMISSIONREQUEST = DESCRIPTOR.message_types_by_name['UploadMissionRequest'] +_UPLOADMISSIONRESPONSE = DESCRIPTOR.message_types_by_name['UploadMissionResponse'] +_CANCELMISSIONUPLOADREQUEST = DESCRIPTOR.message_types_by_name['CancelMissionUploadRequest'] +_CANCELMISSIONUPLOADRESPONSE = DESCRIPTOR.message_types_by_name['CancelMissionUploadResponse'] +_DOWNLOADMISSIONREQUEST = DESCRIPTOR.message_types_by_name['DownloadMissionRequest'] +_DOWNLOADMISSIONRESPONSE = DESCRIPTOR.message_types_by_name['DownloadMissionResponse'] +_CANCELMISSIONDOWNLOADREQUEST = DESCRIPTOR.message_types_by_name['CancelMissionDownloadRequest'] +_CANCELMISSIONDOWNLOADRESPONSE = DESCRIPTOR.message_types_by_name['CancelMissionDownloadResponse'] +_STARTMISSIONREQUEST = DESCRIPTOR.message_types_by_name['StartMissionRequest'] +_STARTMISSIONRESPONSE = DESCRIPTOR.message_types_by_name['StartMissionResponse'] +_PAUSEMISSIONREQUEST = DESCRIPTOR.message_types_by_name['PauseMissionRequest'] +_PAUSEMISSIONRESPONSE = DESCRIPTOR.message_types_by_name['PauseMissionResponse'] +_CLEARMISSIONREQUEST = DESCRIPTOR.message_types_by_name['ClearMissionRequest'] +_CLEARMISSIONRESPONSE = DESCRIPTOR.message_types_by_name['ClearMissionResponse'] +_SETCURRENTMISSIONITEMREQUEST = DESCRIPTOR.message_types_by_name['SetCurrentMissionItemRequest'] +_SETCURRENTMISSIONITEMRESPONSE = DESCRIPTOR.message_types_by_name['SetCurrentMissionItemResponse'] +_SUBSCRIBEMISSIONPROGRESSREQUEST = DESCRIPTOR.message_types_by_name['SubscribeMissionProgressRequest'] +_MISSIONPROGRESSRESPONSE = DESCRIPTOR.message_types_by_name['MissionProgressResponse'] +_SUBSCRIBEMISSIONCHANGEDREQUEST = DESCRIPTOR.message_types_by_name['SubscribeMissionChangedRequest'] +_MISSIONCHANGEDRESPONSE = DESCRIPTOR.message_types_by_name['MissionChangedResponse'] +_IMPORTQGROUNDCONTROLMISSIONREQUEST = DESCRIPTOR.message_types_by_name['ImportQgroundcontrolMissionRequest'] +_IMPORTQGROUNDCONTROLMISSIONRESPONSE = DESCRIPTOR.message_types_by_name['ImportQgroundcontrolMissionResponse'] +_MISSIONPROGRESS = DESCRIPTOR.message_types_by_name['MissionProgress'] +_MISSIONITEM = DESCRIPTOR.message_types_by_name['MissionItem'] +_MISSIONIMPORTDATA = DESCRIPTOR.message_types_by_name['MissionImportData'] +_MISSIONRAWRESULT = DESCRIPTOR.message_types_by_name['MissionRawResult'] +_MISSIONRAWRESULT_RESULT = _MISSIONRAWRESULT.enum_types_by_name['Result'] UploadMissionRequest = _reflection.GeneratedProtocolMessageType('UploadMissionRequest', (_message.Message,), { 'DESCRIPTOR' : _UPLOADMISSIONREQUEST, '__module__' : 'mission_raw.mission_raw_pb2' @@ -1237,132 +228,73 @@ }) _sym_db.RegisterMessage(MissionRawResult) - -DESCRIPTOR._options = None - -_MISSIONRAWSERVICE = _descriptor.ServiceDescriptor( - name='MissionRawService', - full_name='mavsdk.rpc.mission_raw.MissionRawService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=2597, - serialized_end=4024, - methods=[ - _descriptor.MethodDescriptor( - name='UploadMission', - full_name='mavsdk.rpc.mission_raw.MissionRawService.UploadMission', - index=0, - containing_service=None, - input_type=_UPLOADMISSIONREQUEST, - output_type=_UPLOADMISSIONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='CancelMissionUpload', - full_name='mavsdk.rpc.mission_raw.MissionRawService.CancelMissionUpload', - index=1, - containing_service=None, - input_type=_CANCELMISSIONUPLOADREQUEST, - output_type=_CANCELMISSIONUPLOADRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='DownloadMission', - full_name='mavsdk.rpc.mission_raw.MissionRawService.DownloadMission', - index=2, - containing_service=None, - input_type=_DOWNLOADMISSIONREQUEST, - output_type=_DOWNLOADMISSIONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='CancelMissionDownload', - full_name='mavsdk.rpc.mission_raw.MissionRawService.CancelMissionDownload', - index=3, - containing_service=None, - input_type=_CANCELMISSIONDOWNLOADREQUEST, - output_type=_CANCELMISSIONDOWNLOADRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='StartMission', - full_name='mavsdk.rpc.mission_raw.MissionRawService.StartMission', - index=4, - containing_service=None, - input_type=_STARTMISSIONREQUEST, - output_type=_STARTMISSIONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='PauseMission', - full_name='mavsdk.rpc.mission_raw.MissionRawService.PauseMission', - index=5, - containing_service=None, - input_type=_PAUSEMISSIONREQUEST, - output_type=_PAUSEMISSIONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ClearMission', - full_name='mavsdk.rpc.mission_raw.MissionRawService.ClearMission', - index=6, - containing_service=None, - input_type=_CLEARMISSIONREQUEST, - output_type=_CLEARMISSIONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetCurrentMissionItem', - full_name='mavsdk.rpc.mission_raw.MissionRawService.SetCurrentMissionItem', - index=7, - containing_service=None, - input_type=_SETCURRENTMISSIONITEMREQUEST, - output_type=_SETCURRENTMISSIONITEMRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeMissionProgress', - full_name='mavsdk.rpc.mission_raw.MissionRawService.SubscribeMissionProgress', - index=8, - containing_service=None, - input_type=_SUBSCRIBEMISSIONPROGRESSREQUEST, - output_type=_MISSIONPROGRESSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeMissionChanged', - full_name='mavsdk.rpc.mission_raw.MissionRawService.SubscribeMissionChanged', - index=9, - containing_service=None, - input_type=_SUBSCRIBEMISSIONCHANGEDREQUEST, - output_type=_MISSIONCHANGEDRESPONSE, - serialized_options=b'\200\265\030\000', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ImportQgroundcontrolMission', - full_name='mavsdk.rpc.mission_raw.MissionRawService.ImportQgroundcontrolMission', - index=10, - containing_service=None, - input_type=_IMPORTQGROUNDCONTROLMISSIONREQUEST, - output_type=_IMPORTQGROUNDCONTROLMISSIONRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_MISSIONRAWSERVICE) - -DESCRIPTOR.services_by_name['MissionRawService'] = _MISSIONRAWSERVICE - +_MISSIONRAWSERVICE = DESCRIPTOR.services_by_name['MissionRawService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\025io.mavsdk.mission_rawB\017MissionRawProto' + _MISSIONRAWSERVICE.methods_by_name['CancelMissionUpload']._options = None + _MISSIONRAWSERVICE.methods_by_name['CancelMissionUpload']._serialized_options = b'\200\265\030\001' + _MISSIONRAWSERVICE.methods_by_name['CancelMissionDownload']._options = None + _MISSIONRAWSERVICE.methods_by_name['CancelMissionDownload']._serialized_options = b'\200\265\030\001' + _MISSIONRAWSERVICE.methods_by_name['SubscribeMissionChanged']._options = None + _MISSIONRAWSERVICE.methods_by_name['SubscribeMissionChanged']._serialized_options = b'\200\265\030\000' + _MISSIONRAWSERVICE.methods_by_name['ImportQgroundcontrolMission']._options = None + _MISSIONRAWSERVICE.methods_by_name['ImportQgroundcontrolMission']._serialized_options = b'\200\265\030\001' + _UPLOADMISSIONREQUEST._serialized_start=79 + _UPLOADMISSIONREQUEST._serialized_end=161 + _UPLOADMISSIONRESPONSE._serialized_start=163 + _UPLOADMISSIONRESPONSE._serialized_end=256 + _CANCELMISSIONUPLOADREQUEST._serialized_start=258 + _CANCELMISSIONUPLOADREQUEST._serialized_end=286 + _CANCELMISSIONUPLOADRESPONSE._serialized_start=288 + _CANCELMISSIONUPLOADRESPONSE._serialized_end=387 + _DOWNLOADMISSIONREQUEST._serialized_start=389 + _DOWNLOADMISSIONREQUEST._serialized_end=413 + _DOWNLOADMISSIONRESPONSE._serialized_start=416 + _DOWNLOADMISSIONRESPONSE._serialized_end=571 + _CANCELMISSIONDOWNLOADREQUEST._serialized_start=573 + _CANCELMISSIONDOWNLOADREQUEST._serialized_end=603 + _CANCELMISSIONDOWNLOADRESPONSE._serialized_start=605 + _CANCELMISSIONDOWNLOADRESPONSE._serialized_end=706 + _STARTMISSIONREQUEST._serialized_start=708 + _STARTMISSIONREQUEST._serialized_end=729 + _STARTMISSIONRESPONSE._serialized_start=731 + _STARTMISSIONRESPONSE._serialized_end=823 + _PAUSEMISSIONREQUEST._serialized_start=825 + _PAUSEMISSIONREQUEST._serialized_end=846 + _PAUSEMISSIONRESPONSE._serialized_start=848 + _PAUSEMISSIONRESPONSE._serialized_end=940 + _CLEARMISSIONREQUEST._serialized_start=942 + _CLEARMISSIONREQUEST._serialized_end=963 + _CLEARMISSIONRESPONSE._serialized_start=965 + _CLEARMISSIONRESPONSE._serialized_end=1057 + _SETCURRENTMISSIONITEMREQUEST._serialized_start=1059 + _SETCURRENTMISSIONITEMREQUEST._serialized_end=1104 + _SETCURRENTMISSIONITEMRESPONSE._serialized_start=1106 + _SETCURRENTMISSIONITEMRESPONSE._serialized_end=1207 + _SUBSCRIBEMISSIONPROGRESSREQUEST._serialized_start=1209 + _SUBSCRIBEMISSIONPROGRESSREQUEST._serialized_end=1242 + _MISSIONPROGRESSRESPONSE._serialized_start=1244 + _MISSIONPROGRESSRESPONSE._serialized_end=1336 + _SUBSCRIBEMISSIONCHANGEDREQUEST._serialized_start=1338 + _SUBSCRIBEMISSIONCHANGEDREQUEST._serialized_end=1370 + _MISSIONCHANGEDRESPONSE._serialized_start=1372 + _MISSIONCHANGEDRESPONSE._serialized_end=1421 + _IMPORTQGROUNDCONTROLMISSIONREQUEST._serialized_start=1423 + _IMPORTQGROUNDCONTROLMISSIONREQUEST._serialized_end=1482 + _IMPORTQGROUNDCONTROLMISSIONRESPONSE._serialized_start=1485 + _IMPORTQGROUNDCONTROLMISSIONRESPONSE._serialized_end=1664 + _MISSIONPROGRESS._serialized_start=1666 + _MISSIONPROGRESS._serialized_end=1715 + _MISSIONITEM._serialized_start=1718 + _MISSIONITEM._serialized_end=1934 + _MISSIONIMPORTDATA._serialized_start=1937 + _MISSIONIMPORTDATA._serialized_end=2135 + _MISSIONRAWRESULT._serialized_start=2138 + _MISSIONRAWRESULT._serialized_end=2594 + _MISSIONRAWRESULT_RESULT._serialized_start=2244 + _MISSIONRAWRESULT_RESULT._serialized_end=2594 + _MISSIONRAWSERVICE._serialized_start=2597 + _MISSIONRAWSERVICE._serialized_end=4024 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/mission_raw_server_pb2.py b/mavsdk/mission_raw_server_pb2.py index 47a4d966..b8aafe79 100644 --- a/mavsdk/mission_raw_server_pb2.py +++ b/mavsdk/mission_raw_server_pb2.py @@ -3,6 +3,7 @@ # source: mission_raw_server/mission_raw_server.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -14,573 +15,23 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='mission_raw_server/mission_raw_server.proto', - package='mavsdk.rpc.mission_raw_server', - syntax='proto3', - serialized_options=b'\n\034io.mavsdk.mission_raw_serverB\025MissionRawServerProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n+mission_raw_server/mission_raw_server.proto\x12\x1dmavsdk.rpc.mission_raw_server\x1a\x14mavsdk_options.proto\"!\n\x1fSubscribeIncomingMissionRequest\"\xb5\x01\n\x17IncomingMissionResponse\x12X\n\x19mission_raw_server_result\x18\x01 \x01(\x0b\x32\x35.mavsdk.rpc.mission_raw_server.MissionRawServerResult\x12@\n\x0cmission_plan\x18\x02 \x01(\x0b\x32*.mavsdk.rpc.mission_raw_server.MissionPlan\"$\n\"SubscribeCurrentItemChangedRequest\"^\n\x1a\x43urrentItemChangedResponse\x12@\n\x0cmission_item\x18\x01 \x01(\x0b\x32*.mavsdk.rpc.mission_raw_server.MissionItem\"\x1a\n\x18SubscribeClearAllRequest\"&\n\x10\x43learAllResponse\x12\x12\n\nclear_type\x18\x01 \x01(\r\"\x1f\n\x1dSetCurrentItemCompleteRequest\" \n\x1eSetCurrentItemCompleteResponse\"\xd8\x01\n\x0bMissionItem\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\r\n\x05\x66rame\x18\x02 \x01(\r\x12\x0f\n\x07\x63ommand\x18\x03 \x01(\r\x12\x0f\n\x07\x63urrent\x18\x04 \x01(\r\x12\x14\n\x0c\x61utocontinue\x18\x05 \x01(\r\x12\x0e\n\x06param1\x18\x06 \x01(\x02\x12\x0e\n\x06param2\x18\x07 \x01(\x02\x12\x0e\n\x06param3\x18\x08 \x01(\x02\x12\x0e\n\x06param4\x18\t \x01(\x02\x12\t\n\x01x\x18\n \x01(\x05\x12\t\n\x01y\x18\x0b \x01(\x05\x12\t\n\x01z\x18\x0c \x01(\x02\x12\x14\n\x0cmission_type\x18\r \x01(\r\"P\n\x0bMissionPlan\x12\x41\n\rmission_items\x18\x01 \x03(\x0b\x32*.mavsdk.rpc.mission_raw_server.MissionItem\"1\n\x0fMissionProgress\x12\x0f\n\x07\x63urrent\x18\x01 \x01(\x05\x12\r\n\x05total\x18\x02 \x01(\x05\"\xc7\x03\n\x16MissionRawServerResult\x12L\n\x06result\x18\x01 \x01(\x0e\x32<.mavsdk.rpc.mission_raw_server.MissionRawServerResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xca\x02\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x10\n\x0cRESULT_ERROR\x10\x02\x12!\n\x1dRESULT_TOO_MANY_MISSION_ITEMS\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x12\n\x0eRESULT_TIMEOUT\x10\x05\x12\x1b\n\x17RESULT_INVALID_ARGUMENT\x10\x06\x12\x16\n\x12RESULT_UNSUPPORTED\x10\x07\x12\x1f\n\x1bRESULT_NO_MISSION_AVAILABLE\x10\x08\x12\"\n\x1eRESULT_UNSUPPORTED_MISSION_CMD\x10\x0b\x12\x1d\n\x19RESULT_TRANSFER_CANCELLED\x10\x0c\x12\x14\n\x10RESULT_NO_SYSTEM\x10\r\x12\x0f\n\x0bRESULT_NEXT\x10\x0e\x32\xf6\x04\n\x17MissionRawServerService\x12\x96\x01\n\x18SubscribeIncomingMission\x12>.mavsdk.rpc.mission_raw_server.SubscribeIncomingMissionRequest\x1a\x36.mavsdk.rpc.mission_raw_server.IncomingMissionResponse\"\x00\x30\x01\x12\x9f\x01\n\x1bSubscribeCurrentItemChanged\x12\x41.mavsdk.rpc.mission_raw_server.SubscribeCurrentItemChangedRequest\x1a\x39.mavsdk.rpc.mission_raw_server.CurrentItemChangedResponse\"\x00\x30\x01\x12\x9b\x01\n\x16SetCurrentItemComplete\x12<.mavsdk.rpc.mission_raw_server.SetCurrentItemCompleteRequest\x1a=.mavsdk.rpc.mission_raw_server.SetCurrentItemCompleteResponse\"\x04\x80\xb5\x18\x01\x12\x81\x01\n\x11SubscribeClearAll\x12\x37.mavsdk.rpc.mission_raw_server.SubscribeClearAllRequest\x1a/.mavsdk.rpc.mission_raw_server.ClearAllResponse\"\x00\x30\x01\x42\x35\n\x1cio.mavsdk.mission_raw_serverB\x15MissionRawServerProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+mission_raw_server/mission_raw_server.proto\x12\x1dmavsdk.rpc.mission_raw_server\x1a\x14mavsdk_options.proto\"!\n\x1fSubscribeIncomingMissionRequest\"\xb5\x01\n\x17IncomingMissionResponse\x12X\n\x19mission_raw_server_result\x18\x01 \x01(\x0b\x32\x35.mavsdk.rpc.mission_raw_server.MissionRawServerResult\x12@\n\x0cmission_plan\x18\x02 \x01(\x0b\x32*.mavsdk.rpc.mission_raw_server.MissionPlan\"$\n\"SubscribeCurrentItemChangedRequest\"^\n\x1a\x43urrentItemChangedResponse\x12@\n\x0cmission_item\x18\x01 \x01(\x0b\x32*.mavsdk.rpc.mission_raw_server.MissionItem\"\x1a\n\x18SubscribeClearAllRequest\"&\n\x10\x43learAllResponse\x12\x12\n\nclear_type\x18\x01 \x01(\r\"\x1f\n\x1dSetCurrentItemCompleteRequest\" \n\x1eSetCurrentItemCompleteResponse\"\xd8\x01\n\x0bMissionItem\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\r\n\x05\x66rame\x18\x02 \x01(\r\x12\x0f\n\x07\x63ommand\x18\x03 \x01(\r\x12\x0f\n\x07\x63urrent\x18\x04 \x01(\r\x12\x14\n\x0c\x61utocontinue\x18\x05 \x01(\r\x12\x0e\n\x06param1\x18\x06 \x01(\x02\x12\x0e\n\x06param2\x18\x07 \x01(\x02\x12\x0e\n\x06param3\x18\x08 \x01(\x02\x12\x0e\n\x06param4\x18\t \x01(\x02\x12\t\n\x01x\x18\n \x01(\x05\x12\t\n\x01y\x18\x0b \x01(\x05\x12\t\n\x01z\x18\x0c \x01(\x02\x12\x14\n\x0cmission_type\x18\r \x01(\r\"P\n\x0bMissionPlan\x12\x41\n\rmission_items\x18\x01 \x03(\x0b\x32*.mavsdk.rpc.mission_raw_server.MissionItem\"1\n\x0fMissionProgress\x12\x0f\n\x07\x63urrent\x18\x01 \x01(\x05\x12\r\n\x05total\x18\x02 \x01(\x05\"\xc7\x03\n\x16MissionRawServerResult\x12L\n\x06result\x18\x01 \x01(\x0e\x32<.mavsdk.rpc.mission_raw_server.MissionRawServerResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xca\x02\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x10\n\x0cRESULT_ERROR\x10\x02\x12!\n\x1dRESULT_TOO_MANY_MISSION_ITEMS\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x12\n\x0eRESULT_TIMEOUT\x10\x05\x12\x1b\n\x17RESULT_INVALID_ARGUMENT\x10\x06\x12\x16\n\x12RESULT_UNSUPPORTED\x10\x07\x12\x1f\n\x1bRESULT_NO_MISSION_AVAILABLE\x10\x08\x12\"\n\x1eRESULT_UNSUPPORTED_MISSION_CMD\x10\x0b\x12\x1d\n\x19RESULT_TRANSFER_CANCELLED\x10\x0c\x12\x14\n\x10RESULT_NO_SYSTEM\x10\r\x12\x0f\n\x0bRESULT_NEXT\x10\x0e\x32\xf6\x04\n\x17MissionRawServerService\x12\x96\x01\n\x18SubscribeIncomingMission\x12>.mavsdk.rpc.mission_raw_server.SubscribeIncomingMissionRequest\x1a\x36.mavsdk.rpc.mission_raw_server.IncomingMissionResponse\"\x00\x30\x01\x12\x9f\x01\n\x1bSubscribeCurrentItemChanged\x12\x41.mavsdk.rpc.mission_raw_server.SubscribeCurrentItemChangedRequest\x1a\x39.mavsdk.rpc.mission_raw_server.CurrentItemChangedResponse\"\x00\x30\x01\x12\x9b\x01\n\x16SetCurrentItemComplete\x12<.mavsdk.rpc.mission_raw_server.SetCurrentItemCompleteRequest\x1a=.mavsdk.rpc.mission_raw_server.SetCurrentItemCompleteResponse\"\x04\x80\xb5\x18\x01\x12\x81\x01\n\x11SubscribeClearAll\x12\x37.mavsdk.rpc.mission_raw_server.SubscribeClearAllRequest\x1a/.mavsdk.rpc.mission_raw_server.ClearAllResponse\"\x00\x30\x01\x42\x35\n\x1cio.mavsdk.mission_raw_serverB\x15MissionRawServerProtob\x06proto3') -_MISSIONRAWSERVERRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.mission_raw_server.MissionRawServerResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_ERROR', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TOO_MANY_MISSION_ITEMS', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_BUSY', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TIMEOUT', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_INVALID_ARGUMENT', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_UNSUPPORTED', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_MISSION_AVAILABLE', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_UNSUPPORTED_MISSION_CMD', index=9, number=11, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TRANSFER_CANCELLED', index=10, number=12, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=11, number=13, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NEXT', index=12, number=14, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=1066, - serialized_end=1396, -) -_sym_db.RegisterEnumDescriptor(_MISSIONRAWSERVERRESULT_RESULT) - - -_SUBSCRIBEINCOMINGMISSIONREQUEST = _descriptor.Descriptor( - name='SubscribeIncomingMissionRequest', - full_name='mavsdk.rpc.mission_raw_server.SubscribeIncomingMissionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=100, - serialized_end=133, -) - - -_INCOMINGMISSIONRESPONSE = _descriptor.Descriptor( - name='IncomingMissionResponse', - full_name='mavsdk.rpc.mission_raw_server.IncomingMissionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_raw_server_result', full_name='mavsdk.rpc.mission_raw_server.IncomingMissionResponse.mission_raw_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='mission_plan', full_name='mavsdk.rpc.mission_raw_server.IncomingMissionResponse.mission_plan', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=136, - serialized_end=317, -) - - -_SUBSCRIBECURRENTITEMCHANGEDREQUEST = _descriptor.Descriptor( - name='SubscribeCurrentItemChangedRequest', - full_name='mavsdk.rpc.mission_raw_server.SubscribeCurrentItemChangedRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=319, - serialized_end=355, -) - - -_CURRENTITEMCHANGEDRESPONSE = _descriptor.Descriptor( - name='CurrentItemChangedResponse', - full_name='mavsdk.rpc.mission_raw_server.CurrentItemChangedResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_item', full_name='mavsdk.rpc.mission_raw_server.CurrentItemChangedResponse.mission_item', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=357, - serialized_end=451, -) - - -_SUBSCRIBECLEARALLREQUEST = _descriptor.Descriptor( - name='SubscribeClearAllRequest', - full_name='mavsdk.rpc.mission_raw_server.SubscribeClearAllRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=453, - serialized_end=479, -) - - -_CLEARALLRESPONSE = _descriptor.Descriptor( - name='ClearAllResponse', - full_name='mavsdk.rpc.mission_raw_server.ClearAllResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='clear_type', full_name='mavsdk.rpc.mission_raw_server.ClearAllResponse.clear_type', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=481, - serialized_end=519, -) - - -_SETCURRENTITEMCOMPLETEREQUEST = _descriptor.Descriptor( - name='SetCurrentItemCompleteRequest', - full_name='mavsdk.rpc.mission_raw_server.SetCurrentItemCompleteRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=521, - serialized_end=552, -) - - -_SETCURRENTITEMCOMPLETERESPONSE = _descriptor.Descriptor( - name='SetCurrentItemCompleteResponse', - full_name='mavsdk.rpc.mission_raw_server.SetCurrentItemCompleteResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=554, - serialized_end=586, -) - - -_MISSIONITEM = _descriptor.Descriptor( - name='MissionItem', - full_name='mavsdk.rpc.mission_raw_server.MissionItem', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='seq', full_name='mavsdk.rpc.mission_raw_server.MissionItem.seq', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='frame', full_name='mavsdk.rpc.mission_raw_server.MissionItem.frame', index=1, - number=2, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='command', full_name='mavsdk.rpc.mission_raw_server.MissionItem.command', index=2, - number=3, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='current', full_name='mavsdk.rpc.mission_raw_server.MissionItem.current', index=3, - number=4, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='autocontinue', full_name='mavsdk.rpc.mission_raw_server.MissionItem.autocontinue', index=4, - number=5, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='param1', full_name='mavsdk.rpc.mission_raw_server.MissionItem.param1', index=5, - number=6, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='param2', full_name='mavsdk.rpc.mission_raw_server.MissionItem.param2', index=6, - number=7, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='param3', full_name='mavsdk.rpc.mission_raw_server.MissionItem.param3', index=7, - number=8, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='param4', full_name='mavsdk.rpc.mission_raw_server.MissionItem.param4', index=8, - number=9, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='x', full_name='mavsdk.rpc.mission_raw_server.MissionItem.x', index=9, - number=10, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='mavsdk.rpc.mission_raw_server.MissionItem.y', index=10, - number=11, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='z', full_name='mavsdk.rpc.mission_raw_server.MissionItem.z', index=11, - number=12, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='mission_type', full_name='mavsdk.rpc.mission_raw_server.MissionItem.mission_type', index=12, - number=13, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=589, - serialized_end=805, -) - - -_MISSIONPLAN = _descriptor.Descriptor( - name='MissionPlan', - full_name='mavsdk.rpc.mission_raw_server.MissionPlan', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mission_items', full_name='mavsdk.rpc.mission_raw_server.MissionPlan.mission_items', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=807, - serialized_end=887, -) - - -_MISSIONPROGRESS = _descriptor.Descriptor( - name='MissionProgress', - full_name='mavsdk.rpc.mission_raw_server.MissionProgress', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='current', full_name='mavsdk.rpc.mission_raw_server.MissionProgress.current', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='total', full_name='mavsdk.rpc.mission_raw_server.MissionProgress.total', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=889, - serialized_end=938, -) - - -_MISSIONRAWSERVERRESULT = _descriptor.Descriptor( - name='MissionRawServerResult', - full_name='mavsdk.rpc.mission_raw_server.MissionRawServerResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.mission_raw_server.MissionRawServerResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.mission_raw_server.MissionRawServerResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _MISSIONRAWSERVERRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=941, - serialized_end=1396, -) - -_INCOMINGMISSIONRESPONSE.fields_by_name['mission_raw_server_result'].message_type = _MISSIONRAWSERVERRESULT -_INCOMINGMISSIONRESPONSE.fields_by_name['mission_plan'].message_type = _MISSIONPLAN -_CURRENTITEMCHANGEDRESPONSE.fields_by_name['mission_item'].message_type = _MISSIONITEM -_MISSIONPLAN.fields_by_name['mission_items'].message_type = _MISSIONITEM -_MISSIONRAWSERVERRESULT.fields_by_name['result'].enum_type = _MISSIONRAWSERVERRESULT_RESULT -_MISSIONRAWSERVERRESULT_RESULT.containing_type = _MISSIONRAWSERVERRESULT -DESCRIPTOR.message_types_by_name['SubscribeIncomingMissionRequest'] = _SUBSCRIBEINCOMINGMISSIONREQUEST -DESCRIPTOR.message_types_by_name['IncomingMissionResponse'] = _INCOMINGMISSIONRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeCurrentItemChangedRequest'] = _SUBSCRIBECURRENTITEMCHANGEDREQUEST -DESCRIPTOR.message_types_by_name['CurrentItemChangedResponse'] = _CURRENTITEMCHANGEDRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeClearAllRequest'] = _SUBSCRIBECLEARALLREQUEST -DESCRIPTOR.message_types_by_name['ClearAllResponse'] = _CLEARALLRESPONSE -DESCRIPTOR.message_types_by_name['SetCurrentItemCompleteRequest'] = _SETCURRENTITEMCOMPLETEREQUEST -DESCRIPTOR.message_types_by_name['SetCurrentItemCompleteResponse'] = _SETCURRENTITEMCOMPLETERESPONSE -DESCRIPTOR.message_types_by_name['MissionItem'] = _MISSIONITEM -DESCRIPTOR.message_types_by_name['MissionPlan'] = _MISSIONPLAN -DESCRIPTOR.message_types_by_name['MissionProgress'] = _MISSIONPROGRESS -DESCRIPTOR.message_types_by_name['MissionRawServerResult'] = _MISSIONRAWSERVERRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_SUBSCRIBEINCOMINGMISSIONREQUEST = DESCRIPTOR.message_types_by_name['SubscribeIncomingMissionRequest'] +_INCOMINGMISSIONRESPONSE = DESCRIPTOR.message_types_by_name['IncomingMissionResponse'] +_SUBSCRIBECURRENTITEMCHANGEDREQUEST = DESCRIPTOR.message_types_by_name['SubscribeCurrentItemChangedRequest'] +_CURRENTITEMCHANGEDRESPONSE = DESCRIPTOR.message_types_by_name['CurrentItemChangedResponse'] +_SUBSCRIBECLEARALLREQUEST = DESCRIPTOR.message_types_by_name['SubscribeClearAllRequest'] +_CLEARALLRESPONSE = DESCRIPTOR.message_types_by_name['ClearAllResponse'] +_SETCURRENTITEMCOMPLETEREQUEST = DESCRIPTOR.message_types_by_name['SetCurrentItemCompleteRequest'] +_SETCURRENTITEMCOMPLETERESPONSE = DESCRIPTOR.message_types_by_name['SetCurrentItemCompleteResponse'] +_MISSIONITEM = DESCRIPTOR.message_types_by_name['MissionItem'] +_MISSIONPLAN = DESCRIPTOR.message_types_by_name['MissionPlan'] +_MISSIONPROGRESS = DESCRIPTOR.message_types_by_name['MissionProgress'] +_MISSIONRAWSERVERRESULT = DESCRIPTOR.message_types_by_name['MissionRawServerResult'] +_MISSIONRAWSERVERRESULT_RESULT = _MISSIONRAWSERVERRESULT.enum_types_by_name['Result'] SubscribeIncomingMissionRequest = _reflection.GeneratedProtocolMessageType('SubscribeIncomingMissionRequest', (_message.Message,), { 'DESCRIPTOR' : _SUBSCRIBEINCOMINGMISSIONREQUEST, '__module__' : 'mission_raw_server.mission_raw_server_pb2' @@ -665,62 +116,39 @@ }) _sym_db.RegisterMessage(MissionRawServerResult) - -DESCRIPTOR._options = None - -_MISSIONRAWSERVERSERVICE = _descriptor.ServiceDescriptor( - name='MissionRawServerService', - full_name='mavsdk.rpc.mission_raw_server.MissionRawServerService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=1399, - serialized_end=2029, - methods=[ - _descriptor.MethodDescriptor( - name='SubscribeIncomingMission', - full_name='mavsdk.rpc.mission_raw_server.MissionRawServerService.SubscribeIncomingMission', - index=0, - containing_service=None, - input_type=_SUBSCRIBEINCOMINGMISSIONREQUEST, - output_type=_INCOMINGMISSIONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeCurrentItemChanged', - full_name='mavsdk.rpc.mission_raw_server.MissionRawServerService.SubscribeCurrentItemChanged', - index=1, - containing_service=None, - input_type=_SUBSCRIBECURRENTITEMCHANGEDREQUEST, - output_type=_CURRENTITEMCHANGEDRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetCurrentItemComplete', - full_name='mavsdk.rpc.mission_raw_server.MissionRawServerService.SetCurrentItemComplete', - index=2, - containing_service=None, - input_type=_SETCURRENTITEMCOMPLETEREQUEST, - output_type=_SETCURRENTITEMCOMPLETERESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeClearAll', - full_name='mavsdk.rpc.mission_raw_server.MissionRawServerService.SubscribeClearAll', - index=3, - containing_service=None, - input_type=_SUBSCRIBECLEARALLREQUEST, - output_type=_CLEARALLRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_MISSIONRAWSERVERSERVICE) - -DESCRIPTOR.services_by_name['MissionRawServerService'] = _MISSIONRAWSERVERSERVICE - +_MISSIONRAWSERVERSERVICE = DESCRIPTOR.services_by_name['MissionRawServerService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\034io.mavsdk.mission_raw_serverB\025MissionRawServerProto' + _MISSIONRAWSERVERSERVICE.methods_by_name['SetCurrentItemComplete']._options = None + _MISSIONRAWSERVERSERVICE.methods_by_name['SetCurrentItemComplete']._serialized_options = b'\200\265\030\001' + _SUBSCRIBEINCOMINGMISSIONREQUEST._serialized_start=100 + _SUBSCRIBEINCOMINGMISSIONREQUEST._serialized_end=133 + _INCOMINGMISSIONRESPONSE._serialized_start=136 + _INCOMINGMISSIONRESPONSE._serialized_end=317 + _SUBSCRIBECURRENTITEMCHANGEDREQUEST._serialized_start=319 + _SUBSCRIBECURRENTITEMCHANGEDREQUEST._serialized_end=355 + _CURRENTITEMCHANGEDRESPONSE._serialized_start=357 + _CURRENTITEMCHANGEDRESPONSE._serialized_end=451 + _SUBSCRIBECLEARALLREQUEST._serialized_start=453 + _SUBSCRIBECLEARALLREQUEST._serialized_end=479 + _CLEARALLRESPONSE._serialized_start=481 + _CLEARALLRESPONSE._serialized_end=519 + _SETCURRENTITEMCOMPLETEREQUEST._serialized_start=521 + _SETCURRENTITEMCOMPLETEREQUEST._serialized_end=552 + _SETCURRENTITEMCOMPLETERESPONSE._serialized_start=554 + _SETCURRENTITEMCOMPLETERESPONSE._serialized_end=586 + _MISSIONITEM._serialized_start=589 + _MISSIONITEM._serialized_end=805 + _MISSIONPLAN._serialized_start=807 + _MISSIONPLAN._serialized_end=887 + _MISSIONPROGRESS._serialized_start=889 + _MISSIONPROGRESS._serialized_end=938 + _MISSIONRAWSERVERRESULT._serialized_start=941 + _MISSIONRAWSERVERRESULT._serialized_end=1396 + _MISSIONRAWSERVERRESULT_RESULT._serialized_start=1066 + _MISSIONRAWSERVERRESULT_RESULT._serialized_end=1396 + _MISSIONRAWSERVERSERVICE._serialized_start=1399 + _MISSIONRAWSERVERSERVICE._serialized_end=2029 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/mocap.py b/mavsdk/mocap.py index a1242495..afa0f6a7 100644 --- a/mavsdk/mocap.py +++ b/mavsdk/mocap.py @@ -996,6 +996,9 @@ class Result(Enum): INVALID_REQUEST_DATA Invalid request data + UNSUPPORTED + Function unsupported + """ @@ -1004,6 +1007,7 @@ class Result(Enum): NO_SYSTEM = 2 CONNECTION_ERROR = 3 INVALID_REQUEST_DATA = 4 + UNSUPPORTED = 5 def translate_to_rpc(self): if self == MocapResult.Result.UNKNOWN: @@ -1016,6 +1020,8 @@ def translate_to_rpc(self): return mocap_pb2.MocapResult.RESULT_CONNECTION_ERROR if self == MocapResult.Result.INVALID_REQUEST_DATA: return mocap_pb2.MocapResult.RESULT_INVALID_REQUEST_DATA + if self == MocapResult.Result.UNSUPPORTED: + return mocap_pb2.MocapResult.RESULT_UNSUPPORTED @staticmethod def translate_from_rpc(rpc_enum_value): @@ -1030,6 +1036,8 @@ def translate_from_rpc(rpc_enum_value): return MocapResult.Result.CONNECTION_ERROR if rpc_enum_value == mocap_pb2.MocapResult.RESULT_INVALID_REQUEST_DATA: return MocapResult.Result.INVALID_REQUEST_DATA + if rpc_enum_value == mocap_pb2.MocapResult.RESULT_UNSUPPORTED: + return MocapResult.Result.UNSUPPORTED def __str__(self): return self.name diff --git a/mavsdk/mocap_pb2.py b/mavsdk/mocap_pb2.py index a126b036..a1fe3273 100644 --- a/mavsdk/mocap_pb2.py +++ b/mavsdk/mocap_pb2.py @@ -3,6 +3,7 @@ # source: mocap/mocap.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -14,812 +15,28 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='mocap/mocap.proto', - package='mavsdk.rpc.mocap', - syntax='proto3', - serialized_options=b'\n\017io.mavsdk.mocapB\nMocapProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x11mocap/mocap.proto\x12\x10mavsdk.rpc.mocap\x1a\x14mavsdk_options.proto\"n\n SetVisionPositionEstimateRequest\x12J\n\x18vision_position_estimate\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mocap.VisionPositionEstimate\"X\n!SetVisionPositionEstimateResponse\x12\x33\n\x0cmocap_result\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.mocap.MocapResult\"k\n\x1fSetAttitudePositionMocapRequest\x12H\n\x17\x61ttitude_position_mocap\x18\x01 \x01(\x0b\x32\'.mavsdk.rpc.mocap.AttitudePositionMocap\"W\n SetAttitudePositionMocapResponse\x12\x33\n\x0cmocap_result\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.mocap.MocapResult\"B\n\x12SetOdometryRequest\x12,\n\x08odometry\x18\x01 \x01(\x0b\x32\x1a.mavsdk.rpc.mocap.Odometry\"J\n\x13SetOdometryResponse\x12\x33\n\x0cmocap_result\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.mocap.MocapResult\"5\n\x0cPositionBody\x12\x0b\n\x03x_m\x18\x01 \x01(\x02\x12\x0b\n\x03y_m\x18\x02 \x01(\x02\x12\x0b\n\x03z_m\x18\x03 \x01(\x02\"A\n\tAngleBody\x12\x10\n\x08roll_rad\x18\x01 \x01(\x02\x12\x11\n\tpitch_rad\x18\x02 \x01(\x02\x12\x0f\n\x07yaw_rad\x18\x03 \x01(\x02\"8\n\tSpeedBody\x12\r\n\x05x_m_s\x18\x01 \x01(\x02\x12\r\n\x05y_m_s\x18\x02 \x01(\x02\x12\r\n\x05z_m_s\x18\x03 \x01(\x02\"Q\n\x13\x41ngularVelocityBody\x12\x12\n\nroll_rad_s\x18\x01 \x01(\x02\x12\x13\n\x0bpitch_rad_s\x18\x02 \x01(\x02\x12\x11\n\tyaw_rad_s\x18\x03 \x01(\x02\"\'\n\nCovariance\x12\x19\n\x11\x63ovariance_matrix\x18\x01 \x03(\x02\"8\n\nQuaternion\x12\t\n\x01w\x18\x01 \x01(\x02\x12\t\n\x01x\x18\x02 \x01(\x02\x12\t\n\x01y\x18\x03 \x01(\x02\x12\t\n\x01z\x18\x04 \x01(\x02\"\xca\x01\n\x16VisionPositionEstimate\x12\x11\n\ttime_usec\x18\x01 \x01(\x04\x12\x35\n\rposition_body\x18\x02 \x01(\x0b\x32\x1e.mavsdk.rpc.mocap.PositionBody\x12/\n\nangle_body\x18\x03 \x01(\x0b\x32\x1b.mavsdk.rpc.mocap.AngleBody\x12\x35\n\x0fpose_covariance\x18\x04 \x01(\x0b\x32\x1c.mavsdk.rpc.mocap.Covariance\"\xc1\x01\n\x15\x41ttitudePositionMocap\x12\x11\n\ttime_usec\x18\x01 \x01(\x04\x12\'\n\x01q\x18\x02 \x01(\x0b\x32\x1c.mavsdk.rpc.mocap.Quaternion\x12\x35\n\rposition_body\x18\x03 \x01(\x0b\x32\x1e.mavsdk.rpc.mocap.PositionBody\x12\x35\n\x0fpose_covariance\x18\x04 \x01(\x0b\x32\x1c.mavsdk.rpc.mocap.Covariance\"\xdb\x03\n\x08Odometry\x12\x11\n\ttime_usec\x18\x01 \x01(\x04\x12\x35\n\x08\x66rame_id\x18\x02 \x01(\x0e\x32#.mavsdk.rpc.mocap.Odometry.MavFrame\x12\x35\n\rposition_body\x18\x03 \x01(\x0b\x32\x1e.mavsdk.rpc.mocap.PositionBody\x12\'\n\x01q\x18\x04 \x01(\x0b\x32\x1c.mavsdk.rpc.mocap.Quaternion\x12/\n\nspeed_body\x18\x05 \x01(\x0b\x32\x1b.mavsdk.rpc.mocap.SpeedBody\x12\x44\n\x15\x61ngular_velocity_body\x18\x06 \x01(\x0b\x32%.mavsdk.rpc.mocap.AngularVelocityBody\x12\x35\n\x0fpose_covariance\x18\x07 \x01(\x0b\x32\x1c.mavsdk.rpc.mocap.Covariance\x12\x39\n\x13velocity_covariance\x18\x08 \x01(\x0b\x32\x1c.mavsdk.rpc.mocap.Covariance\"<\n\x08MavFrame\x12\x17\n\x13MAV_FRAME_MOCAP_NED\x10\x00\x12\x17\n\x13MAV_FRAME_LOCAL_FRD\x10\x01\"\xde\x01\n\x0bMocapResult\x12\x34\n\x06result\x18\x01 \x01(\x0e\x32$.mavsdk.rpc.mocap.MocapResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\x84\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x1f\n\x1bRESULT_INVALID_REQUEST_DATA\x10\x04\x32\x87\x03\n\x0cMocapService\x12\x8a\x01\n\x19SetVisionPositionEstimate\x12\x32.mavsdk.rpc.mocap.SetVisionPositionEstimateRequest\x1a\x33.mavsdk.rpc.mocap.SetVisionPositionEstimateResponse\"\x04\x80\xb5\x18\x01\x12\x87\x01\n\x18SetAttitudePositionMocap\x12\x31.mavsdk.rpc.mocap.SetAttitudePositionMocapRequest\x1a\x32.mavsdk.rpc.mocap.SetAttitudePositionMocapResponse\"\x04\x80\xb5\x18\x01\x12`\n\x0bSetOdometry\x12$.mavsdk.rpc.mocap.SetOdometryRequest\x1a%.mavsdk.rpc.mocap.SetOdometryResponse\"\x04\x80\xb5\x18\x01\x42\x1d\n\x0fio.mavsdk.mocapB\nMocapProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) - - - -_ODOMETRY_MAVFRAME = _descriptor.EnumDescriptor( - name='MavFrame', - full_name='mavsdk.rpc.mocap.Odometry.MavFrame', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='MAV_FRAME_MOCAP_NED', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='MAV_FRAME_LOCAL_FRD', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=1784, - serialized_end=1844, -) -_sym_db.RegisterEnumDescriptor(_ODOMETRY_MAVFRAME) - -_MOCAPRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.mocap.MocapResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_CONNECTION_ERROR', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_INVALID_REQUEST_DATA', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=1937, - serialized_end=2069, -) -_sym_db.RegisterEnumDescriptor(_MOCAPRESULT_RESULT) - - -_SETVISIONPOSITIONESTIMATEREQUEST = _descriptor.Descriptor( - name='SetVisionPositionEstimateRequest', - full_name='mavsdk.rpc.mocap.SetVisionPositionEstimateRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='vision_position_estimate', full_name='mavsdk.rpc.mocap.SetVisionPositionEstimateRequest.vision_position_estimate', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=61, - serialized_end=171, -) - - -_SETVISIONPOSITIONESTIMATERESPONSE = _descriptor.Descriptor( - name='SetVisionPositionEstimateResponse', - full_name='mavsdk.rpc.mocap.SetVisionPositionEstimateResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mocap_result', full_name='mavsdk.rpc.mocap.SetVisionPositionEstimateResponse.mocap_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=173, - serialized_end=261, -) - - -_SETATTITUDEPOSITIONMOCAPREQUEST = _descriptor.Descriptor( - name='SetAttitudePositionMocapRequest', - full_name='mavsdk.rpc.mocap.SetAttitudePositionMocapRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='attitude_position_mocap', full_name='mavsdk.rpc.mocap.SetAttitudePositionMocapRequest.attitude_position_mocap', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=263, - serialized_end=370, -) - - -_SETATTITUDEPOSITIONMOCAPRESPONSE = _descriptor.Descriptor( - name='SetAttitudePositionMocapResponse', - full_name='mavsdk.rpc.mocap.SetAttitudePositionMocapResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mocap_result', full_name='mavsdk.rpc.mocap.SetAttitudePositionMocapResponse.mocap_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=372, - serialized_end=459, -) - - -_SETODOMETRYREQUEST = _descriptor.Descriptor( - name='SetOdometryRequest', - full_name='mavsdk.rpc.mocap.SetOdometryRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='odometry', full_name='mavsdk.rpc.mocap.SetOdometryRequest.odometry', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=461, - serialized_end=527, -) - - -_SETODOMETRYRESPONSE = _descriptor.Descriptor( - name='SetOdometryResponse', - full_name='mavsdk.rpc.mocap.SetOdometryResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='mocap_result', full_name='mavsdk.rpc.mocap.SetOdometryResponse.mocap_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=529, - serialized_end=603, -) - - -_POSITIONBODY = _descriptor.Descriptor( - name='PositionBody', - full_name='mavsdk.rpc.mocap.PositionBody', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='x_m', full_name='mavsdk.rpc.mocap.PositionBody.x_m', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y_m', full_name='mavsdk.rpc.mocap.PositionBody.y_m', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='z_m', full_name='mavsdk.rpc.mocap.PositionBody.z_m', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=605, - serialized_end=658, -) - - -_ANGLEBODY = _descriptor.Descriptor( - name='AngleBody', - full_name='mavsdk.rpc.mocap.AngleBody', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='roll_rad', full_name='mavsdk.rpc.mocap.AngleBody.roll_rad', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pitch_rad', full_name='mavsdk.rpc.mocap.AngleBody.pitch_rad', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yaw_rad', full_name='mavsdk.rpc.mocap.AngleBody.yaw_rad', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=660, - serialized_end=725, -) - - -_SPEEDBODY = _descriptor.Descriptor( - name='SpeedBody', - full_name='mavsdk.rpc.mocap.SpeedBody', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='x_m_s', full_name='mavsdk.rpc.mocap.SpeedBody.x_m_s', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y_m_s', full_name='mavsdk.rpc.mocap.SpeedBody.y_m_s', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='z_m_s', full_name='mavsdk.rpc.mocap.SpeedBody.z_m_s', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=727, - serialized_end=783, -) - - -_ANGULARVELOCITYBODY = _descriptor.Descriptor( - name='AngularVelocityBody', - full_name='mavsdk.rpc.mocap.AngularVelocityBody', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='roll_rad_s', full_name='mavsdk.rpc.mocap.AngularVelocityBody.roll_rad_s', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pitch_rad_s', full_name='mavsdk.rpc.mocap.AngularVelocityBody.pitch_rad_s', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yaw_rad_s', full_name='mavsdk.rpc.mocap.AngularVelocityBody.yaw_rad_s', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=785, - serialized_end=866, -) - - -_COVARIANCE = _descriptor.Descriptor( - name='Covariance', - full_name='mavsdk.rpc.mocap.Covariance', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='covariance_matrix', full_name='mavsdk.rpc.mocap.Covariance.covariance_matrix', index=0, - number=1, type=2, cpp_type=6, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=868, - serialized_end=907, -) - - -_QUATERNION = _descriptor.Descriptor( - name='Quaternion', - full_name='mavsdk.rpc.mocap.Quaternion', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='w', full_name='mavsdk.rpc.mocap.Quaternion.w', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='x', full_name='mavsdk.rpc.mocap.Quaternion.x', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='mavsdk.rpc.mocap.Quaternion.y', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='z', full_name='mavsdk.rpc.mocap.Quaternion.z', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=909, - serialized_end=965, -) - - -_VISIONPOSITIONESTIMATE = _descriptor.Descriptor( - name='VisionPositionEstimate', - full_name='mavsdk.rpc.mocap.VisionPositionEstimate', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='time_usec', full_name='mavsdk.rpc.mocap.VisionPositionEstimate.time_usec', index=0, - number=1, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='position_body', full_name='mavsdk.rpc.mocap.VisionPositionEstimate.position_body', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='angle_body', full_name='mavsdk.rpc.mocap.VisionPositionEstimate.angle_body', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pose_covariance', full_name='mavsdk.rpc.mocap.VisionPositionEstimate.pose_covariance', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=968, - serialized_end=1170, -) - - -_ATTITUDEPOSITIONMOCAP = _descriptor.Descriptor( - name='AttitudePositionMocap', - full_name='mavsdk.rpc.mocap.AttitudePositionMocap', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='time_usec', full_name='mavsdk.rpc.mocap.AttitudePositionMocap.time_usec', index=0, - number=1, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='q', full_name='mavsdk.rpc.mocap.AttitudePositionMocap.q', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='position_body', full_name='mavsdk.rpc.mocap.AttitudePositionMocap.position_body', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pose_covariance', full_name='mavsdk.rpc.mocap.AttitudePositionMocap.pose_covariance', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1173, - serialized_end=1366, -) - - -_ODOMETRY = _descriptor.Descriptor( - name='Odometry', - full_name='mavsdk.rpc.mocap.Odometry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='time_usec', full_name='mavsdk.rpc.mocap.Odometry.time_usec', index=0, - number=1, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='frame_id', full_name='mavsdk.rpc.mocap.Odometry.frame_id', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='position_body', full_name='mavsdk.rpc.mocap.Odometry.position_body', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='q', full_name='mavsdk.rpc.mocap.Odometry.q', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='speed_body', full_name='mavsdk.rpc.mocap.Odometry.speed_body', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='angular_velocity_body', full_name='mavsdk.rpc.mocap.Odometry.angular_velocity_body', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pose_covariance', full_name='mavsdk.rpc.mocap.Odometry.pose_covariance', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='velocity_covariance', full_name='mavsdk.rpc.mocap.Odometry.velocity_covariance', index=7, - number=8, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ODOMETRY_MAVFRAME, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1369, - serialized_end=1844, -) - - -_MOCAPRESULT = _descriptor.Descriptor( - name='MocapResult', - full_name='mavsdk.rpc.mocap.MocapResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.mocap.MocapResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.mocap.MocapResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _MOCAPRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1847, - serialized_end=2069, -) - -_SETVISIONPOSITIONESTIMATEREQUEST.fields_by_name['vision_position_estimate'].message_type = _VISIONPOSITIONESTIMATE -_SETVISIONPOSITIONESTIMATERESPONSE.fields_by_name['mocap_result'].message_type = _MOCAPRESULT -_SETATTITUDEPOSITIONMOCAPREQUEST.fields_by_name['attitude_position_mocap'].message_type = _ATTITUDEPOSITIONMOCAP -_SETATTITUDEPOSITIONMOCAPRESPONSE.fields_by_name['mocap_result'].message_type = _MOCAPRESULT -_SETODOMETRYREQUEST.fields_by_name['odometry'].message_type = _ODOMETRY -_SETODOMETRYRESPONSE.fields_by_name['mocap_result'].message_type = _MOCAPRESULT -_VISIONPOSITIONESTIMATE.fields_by_name['position_body'].message_type = _POSITIONBODY -_VISIONPOSITIONESTIMATE.fields_by_name['angle_body'].message_type = _ANGLEBODY -_VISIONPOSITIONESTIMATE.fields_by_name['pose_covariance'].message_type = _COVARIANCE -_ATTITUDEPOSITIONMOCAP.fields_by_name['q'].message_type = _QUATERNION -_ATTITUDEPOSITIONMOCAP.fields_by_name['position_body'].message_type = _POSITIONBODY -_ATTITUDEPOSITIONMOCAP.fields_by_name['pose_covariance'].message_type = _COVARIANCE -_ODOMETRY.fields_by_name['frame_id'].enum_type = _ODOMETRY_MAVFRAME -_ODOMETRY.fields_by_name['position_body'].message_type = _POSITIONBODY -_ODOMETRY.fields_by_name['q'].message_type = _QUATERNION -_ODOMETRY.fields_by_name['speed_body'].message_type = _SPEEDBODY -_ODOMETRY.fields_by_name['angular_velocity_body'].message_type = _ANGULARVELOCITYBODY -_ODOMETRY.fields_by_name['pose_covariance'].message_type = _COVARIANCE -_ODOMETRY.fields_by_name['velocity_covariance'].message_type = _COVARIANCE -_ODOMETRY_MAVFRAME.containing_type = _ODOMETRY -_MOCAPRESULT.fields_by_name['result'].enum_type = _MOCAPRESULT_RESULT -_MOCAPRESULT_RESULT.containing_type = _MOCAPRESULT -DESCRIPTOR.message_types_by_name['SetVisionPositionEstimateRequest'] = _SETVISIONPOSITIONESTIMATEREQUEST -DESCRIPTOR.message_types_by_name['SetVisionPositionEstimateResponse'] = _SETVISIONPOSITIONESTIMATERESPONSE -DESCRIPTOR.message_types_by_name['SetAttitudePositionMocapRequest'] = _SETATTITUDEPOSITIONMOCAPREQUEST -DESCRIPTOR.message_types_by_name['SetAttitudePositionMocapResponse'] = _SETATTITUDEPOSITIONMOCAPRESPONSE -DESCRIPTOR.message_types_by_name['SetOdometryRequest'] = _SETODOMETRYREQUEST -DESCRIPTOR.message_types_by_name['SetOdometryResponse'] = _SETODOMETRYRESPONSE -DESCRIPTOR.message_types_by_name['PositionBody'] = _POSITIONBODY -DESCRIPTOR.message_types_by_name['AngleBody'] = _ANGLEBODY -DESCRIPTOR.message_types_by_name['SpeedBody'] = _SPEEDBODY -DESCRIPTOR.message_types_by_name['AngularVelocityBody'] = _ANGULARVELOCITYBODY -DESCRIPTOR.message_types_by_name['Covariance'] = _COVARIANCE -DESCRIPTOR.message_types_by_name['Quaternion'] = _QUATERNION -DESCRIPTOR.message_types_by_name['VisionPositionEstimate'] = _VISIONPOSITIONESTIMATE -DESCRIPTOR.message_types_by_name['AttitudePositionMocap'] = _ATTITUDEPOSITIONMOCAP -DESCRIPTOR.message_types_by_name['Odometry'] = _ODOMETRY -DESCRIPTOR.message_types_by_name['MocapResult'] = _MOCAPRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11mocap/mocap.proto\x12\x10mavsdk.rpc.mocap\x1a\x14mavsdk_options.proto\"n\n SetVisionPositionEstimateRequest\x12J\n\x18vision_position_estimate\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.mocap.VisionPositionEstimate\"X\n!SetVisionPositionEstimateResponse\x12\x33\n\x0cmocap_result\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.mocap.MocapResult\"k\n\x1fSetAttitudePositionMocapRequest\x12H\n\x17\x61ttitude_position_mocap\x18\x01 \x01(\x0b\x32\'.mavsdk.rpc.mocap.AttitudePositionMocap\"W\n SetAttitudePositionMocapResponse\x12\x33\n\x0cmocap_result\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.mocap.MocapResult\"B\n\x12SetOdometryRequest\x12,\n\x08odometry\x18\x01 \x01(\x0b\x32\x1a.mavsdk.rpc.mocap.Odometry\"J\n\x13SetOdometryResponse\x12\x33\n\x0cmocap_result\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.mocap.MocapResult\"5\n\x0cPositionBody\x12\x0b\n\x03x_m\x18\x01 \x01(\x02\x12\x0b\n\x03y_m\x18\x02 \x01(\x02\x12\x0b\n\x03z_m\x18\x03 \x01(\x02\"A\n\tAngleBody\x12\x10\n\x08roll_rad\x18\x01 \x01(\x02\x12\x11\n\tpitch_rad\x18\x02 \x01(\x02\x12\x0f\n\x07yaw_rad\x18\x03 \x01(\x02\"8\n\tSpeedBody\x12\r\n\x05x_m_s\x18\x01 \x01(\x02\x12\r\n\x05y_m_s\x18\x02 \x01(\x02\x12\r\n\x05z_m_s\x18\x03 \x01(\x02\"Q\n\x13\x41ngularVelocityBody\x12\x12\n\nroll_rad_s\x18\x01 \x01(\x02\x12\x13\n\x0bpitch_rad_s\x18\x02 \x01(\x02\x12\x11\n\tyaw_rad_s\x18\x03 \x01(\x02\"\'\n\nCovariance\x12\x19\n\x11\x63ovariance_matrix\x18\x01 \x03(\x02\"8\n\nQuaternion\x12\t\n\x01w\x18\x01 \x01(\x02\x12\t\n\x01x\x18\x02 \x01(\x02\x12\t\n\x01y\x18\x03 \x01(\x02\x12\t\n\x01z\x18\x04 \x01(\x02\"\xca\x01\n\x16VisionPositionEstimate\x12\x11\n\ttime_usec\x18\x01 \x01(\x04\x12\x35\n\rposition_body\x18\x02 \x01(\x0b\x32\x1e.mavsdk.rpc.mocap.PositionBody\x12/\n\nangle_body\x18\x03 \x01(\x0b\x32\x1b.mavsdk.rpc.mocap.AngleBody\x12\x35\n\x0fpose_covariance\x18\x04 \x01(\x0b\x32\x1c.mavsdk.rpc.mocap.Covariance\"\xc1\x01\n\x15\x41ttitudePositionMocap\x12\x11\n\ttime_usec\x18\x01 \x01(\x04\x12\'\n\x01q\x18\x02 \x01(\x0b\x32\x1c.mavsdk.rpc.mocap.Quaternion\x12\x35\n\rposition_body\x18\x03 \x01(\x0b\x32\x1e.mavsdk.rpc.mocap.PositionBody\x12\x35\n\x0fpose_covariance\x18\x04 \x01(\x0b\x32\x1c.mavsdk.rpc.mocap.Covariance\"\xdb\x03\n\x08Odometry\x12\x11\n\ttime_usec\x18\x01 \x01(\x04\x12\x35\n\x08\x66rame_id\x18\x02 \x01(\x0e\x32#.mavsdk.rpc.mocap.Odometry.MavFrame\x12\x35\n\rposition_body\x18\x03 \x01(\x0b\x32\x1e.mavsdk.rpc.mocap.PositionBody\x12\'\n\x01q\x18\x04 \x01(\x0b\x32\x1c.mavsdk.rpc.mocap.Quaternion\x12/\n\nspeed_body\x18\x05 \x01(\x0b\x32\x1b.mavsdk.rpc.mocap.SpeedBody\x12\x44\n\x15\x61ngular_velocity_body\x18\x06 \x01(\x0b\x32%.mavsdk.rpc.mocap.AngularVelocityBody\x12\x35\n\x0fpose_covariance\x18\x07 \x01(\x0b\x32\x1c.mavsdk.rpc.mocap.Covariance\x12\x39\n\x13velocity_covariance\x18\x08 \x01(\x0b\x32\x1c.mavsdk.rpc.mocap.Covariance\"<\n\x08MavFrame\x12\x17\n\x13MAV_FRAME_MOCAP_NED\x10\x00\x12\x17\n\x13MAV_FRAME_LOCAL_FRD\x10\x01\"\xf6\x01\n\x0bMocapResult\x12\x34\n\x06result\x18\x01 \x01(\x0e\x32$.mavsdk.rpc.mocap.MocapResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\x9c\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x1f\n\x1bRESULT_INVALID_REQUEST_DATA\x10\x04\x12\x16\n\x12RESULT_UNSUPPORTED\x10\x05\x32\x87\x03\n\x0cMocapService\x12\x8a\x01\n\x19SetVisionPositionEstimate\x12\x32.mavsdk.rpc.mocap.SetVisionPositionEstimateRequest\x1a\x33.mavsdk.rpc.mocap.SetVisionPositionEstimateResponse\"\x04\x80\xb5\x18\x01\x12\x87\x01\n\x18SetAttitudePositionMocap\x12\x31.mavsdk.rpc.mocap.SetAttitudePositionMocapRequest\x1a\x32.mavsdk.rpc.mocap.SetAttitudePositionMocapResponse\"\x04\x80\xb5\x18\x01\x12`\n\x0bSetOdometry\x12$.mavsdk.rpc.mocap.SetOdometryRequest\x1a%.mavsdk.rpc.mocap.SetOdometryResponse\"\x04\x80\xb5\x18\x01\x42\x1d\n\x0fio.mavsdk.mocapB\nMocapProtob\x06proto3') + + + +_SETVISIONPOSITIONESTIMATEREQUEST = DESCRIPTOR.message_types_by_name['SetVisionPositionEstimateRequest'] +_SETVISIONPOSITIONESTIMATERESPONSE = DESCRIPTOR.message_types_by_name['SetVisionPositionEstimateResponse'] +_SETATTITUDEPOSITIONMOCAPREQUEST = DESCRIPTOR.message_types_by_name['SetAttitudePositionMocapRequest'] +_SETATTITUDEPOSITIONMOCAPRESPONSE = DESCRIPTOR.message_types_by_name['SetAttitudePositionMocapResponse'] +_SETODOMETRYREQUEST = DESCRIPTOR.message_types_by_name['SetOdometryRequest'] +_SETODOMETRYRESPONSE = DESCRIPTOR.message_types_by_name['SetOdometryResponse'] +_POSITIONBODY = DESCRIPTOR.message_types_by_name['PositionBody'] +_ANGLEBODY = DESCRIPTOR.message_types_by_name['AngleBody'] +_SPEEDBODY = DESCRIPTOR.message_types_by_name['SpeedBody'] +_ANGULARVELOCITYBODY = DESCRIPTOR.message_types_by_name['AngularVelocityBody'] +_COVARIANCE = DESCRIPTOR.message_types_by_name['Covariance'] +_QUATERNION = DESCRIPTOR.message_types_by_name['Quaternion'] +_VISIONPOSITIONESTIMATE = DESCRIPTOR.message_types_by_name['VisionPositionEstimate'] +_ATTITUDEPOSITIONMOCAP = DESCRIPTOR.message_types_by_name['AttitudePositionMocap'] +_ODOMETRY = DESCRIPTOR.message_types_by_name['Odometry'] +_MOCAPRESULT = DESCRIPTOR.message_types_by_name['MocapResult'] +_ODOMETRY_MAVFRAME = _ODOMETRY.enum_types_by_name['MavFrame'] +_MOCAPRESULT_RESULT = _MOCAPRESULT.enum_types_by_name['Result'] SetVisionPositionEstimateRequest = _reflection.GeneratedProtocolMessageType('SetVisionPositionEstimateRequest', (_message.Message,), { 'DESCRIPTOR' : _SETVISIONPOSITIONESTIMATEREQUEST, '__module__' : 'mocap.mocap_pb2' @@ -932,52 +149,53 @@ }) _sym_db.RegisterMessage(MocapResult) - -DESCRIPTOR._options = None - -_MOCAPSERVICE = _descriptor.ServiceDescriptor( - name='MocapService', - full_name='mavsdk.rpc.mocap.MocapService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=2072, - serialized_end=2463, - methods=[ - _descriptor.MethodDescriptor( - name='SetVisionPositionEstimate', - full_name='mavsdk.rpc.mocap.MocapService.SetVisionPositionEstimate', - index=0, - containing_service=None, - input_type=_SETVISIONPOSITIONESTIMATEREQUEST, - output_type=_SETVISIONPOSITIONESTIMATERESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetAttitudePositionMocap', - full_name='mavsdk.rpc.mocap.MocapService.SetAttitudePositionMocap', - index=1, - containing_service=None, - input_type=_SETATTITUDEPOSITIONMOCAPREQUEST, - output_type=_SETATTITUDEPOSITIONMOCAPRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetOdometry', - full_name='mavsdk.rpc.mocap.MocapService.SetOdometry', - index=2, - containing_service=None, - input_type=_SETODOMETRYREQUEST, - output_type=_SETODOMETRYRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_MOCAPSERVICE) - -DESCRIPTOR.services_by_name['MocapService'] = _MOCAPSERVICE - +_MOCAPSERVICE = DESCRIPTOR.services_by_name['MocapService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\017io.mavsdk.mocapB\nMocapProto' + _MOCAPSERVICE.methods_by_name['SetVisionPositionEstimate']._options = None + _MOCAPSERVICE.methods_by_name['SetVisionPositionEstimate']._serialized_options = b'\200\265\030\001' + _MOCAPSERVICE.methods_by_name['SetAttitudePositionMocap']._options = None + _MOCAPSERVICE.methods_by_name['SetAttitudePositionMocap']._serialized_options = b'\200\265\030\001' + _MOCAPSERVICE.methods_by_name['SetOdometry']._options = None + _MOCAPSERVICE.methods_by_name['SetOdometry']._serialized_options = b'\200\265\030\001' + _SETVISIONPOSITIONESTIMATEREQUEST._serialized_start=61 + _SETVISIONPOSITIONESTIMATEREQUEST._serialized_end=171 + _SETVISIONPOSITIONESTIMATERESPONSE._serialized_start=173 + _SETVISIONPOSITIONESTIMATERESPONSE._serialized_end=261 + _SETATTITUDEPOSITIONMOCAPREQUEST._serialized_start=263 + _SETATTITUDEPOSITIONMOCAPREQUEST._serialized_end=370 + _SETATTITUDEPOSITIONMOCAPRESPONSE._serialized_start=372 + _SETATTITUDEPOSITIONMOCAPRESPONSE._serialized_end=459 + _SETODOMETRYREQUEST._serialized_start=461 + _SETODOMETRYREQUEST._serialized_end=527 + _SETODOMETRYRESPONSE._serialized_start=529 + _SETODOMETRYRESPONSE._serialized_end=603 + _POSITIONBODY._serialized_start=605 + _POSITIONBODY._serialized_end=658 + _ANGLEBODY._serialized_start=660 + _ANGLEBODY._serialized_end=725 + _SPEEDBODY._serialized_start=727 + _SPEEDBODY._serialized_end=783 + _ANGULARVELOCITYBODY._serialized_start=785 + _ANGULARVELOCITYBODY._serialized_end=866 + _COVARIANCE._serialized_start=868 + _COVARIANCE._serialized_end=907 + _QUATERNION._serialized_start=909 + _QUATERNION._serialized_end=965 + _VISIONPOSITIONESTIMATE._serialized_start=968 + _VISIONPOSITIONESTIMATE._serialized_end=1170 + _ATTITUDEPOSITIONMOCAP._serialized_start=1173 + _ATTITUDEPOSITIONMOCAP._serialized_end=1366 + _ODOMETRY._serialized_start=1369 + _ODOMETRY._serialized_end=1844 + _ODOMETRY_MAVFRAME._serialized_start=1784 + _ODOMETRY_MAVFRAME._serialized_end=1844 + _MOCAPRESULT._serialized_start=1847 + _MOCAPRESULT._serialized_end=2093 + _MOCAPRESULT_RESULT._serialized_start=1937 + _MOCAPRESULT_RESULT._serialized_end=2093 + _MOCAPSERVICE._serialized_start=2096 + _MOCAPSERVICE._serialized_end=2487 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/offboard_pb2.py b/mavsdk/offboard_pb2.py index 1ef208c6..3b8777d3 100644 --- a/mavsdk/offboard_pb2.py +++ b/mavsdk/offboard_pb2.py @@ -3,6 +3,7 @@ # source: offboard/offboard.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -14,1395 +15,46 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='offboard/offboard.proto', - package='mavsdk.rpc.offboard', - syntax='proto3', - serialized_options=b'\n\022io.mavsdk.offboardB\rOffboardProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x17offboard/offboard.proto\x12\x13mavsdk.rpc.offboard\x1a\x14mavsdk_options.proto\"\x0e\n\x0cStartRequest\"M\n\rStartResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"\r\n\x0bStopRequest\"L\n\x0cStopResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"\x11\n\x0fIsActiveRequest\"%\n\x10IsActiveResponse\x12\x11\n\tis_active\x18\x01 \x01(\x08\"E\n\x12SetAttitudeRequest\x12/\n\x08\x61ttitude\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.offboard.Attitude\"S\n\x13SetAttitudeResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"[\n\x19SetActuatorControlRequest\x12>\n\x10\x61\x63tuator_control\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.offboard.ActuatorControl\"Z\n\x1aSetActuatorControlResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"R\n\x16SetAttitudeRateRequest\x12\x38\n\rattitude_rate\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.offboard.AttitudeRate\"W\n\x17SetAttitudeRateResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"V\n\x15SetPositionNedRequest\x12=\n\x10position_ned_yaw\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.PositionNedYaw\"V\n\x16SetPositionNedResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"_\n\x18SetPositionGlobalRequest\x12\x43\n\x13position_global_yaw\x18\x01 \x01(\x0b\x32&.mavsdk.rpc.offboard.PositionGlobalYaw\"Y\n\x19SetPositionGlobalResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"c\n\x16SetVelocityBodyRequest\x12I\n\x16velocity_body_yawspeed\x18\x01 \x01(\x0b\x32).mavsdk.rpc.offboard.VelocityBodyYawspeed\"W\n\x17SetVelocityBodyResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"V\n\x15SetVelocityNedRequest\x12=\n\x10velocity_ned_yaw\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.VelocityNedYaw\"V\n\x16SetVelocityNedResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"\x9d\x01\n\x1dSetPositionVelocityNedRequest\x12=\n\x10position_ned_yaw\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.PositionNedYaw\x12=\n\x10velocity_ned_yaw\x18\x02 \x01(\x0b\x32#.mavsdk.rpc.offboard.VelocityNedYaw\"^\n\x1eSetPositionVelocityNedResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"[\n\x19SetAccelerationNedRequest\x12>\n\x10\x61\x63\x63\x65leration_ned\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.offboard.AccelerationNed\"Z\n\x1aSetAccelerationNedResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"V\n\x08\x41ttitude\x12\x10\n\x08roll_deg\x18\x01 \x01(\x02\x12\x11\n\tpitch_deg\x18\x02 \x01(\x02\x12\x0f\n\x07yaw_deg\x18\x03 \x01(\x02\x12\x14\n\x0cthrust_value\x18\x04 \x01(\x02\"(\n\x14\x41\x63tuatorControlGroup\x12\x10\n\x08\x63ontrols\x18\x01 \x03(\x02\"L\n\x0f\x41\x63tuatorControl\x12\x39\n\x06groups\x18\x01 \x03(\x0b\x32).mavsdk.rpc.offboard.ActuatorControlGroup\"`\n\x0c\x41ttitudeRate\x12\x12\n\nroll_deg_s\x18\x01 \x01(\x02\x12\x13\n\x0bpitch_deg_s\x18\x02 \x01(\x02\x12\x11\n\tyaw_deg_s\x18\x03 \x01(\x02\x12\x14\n\x0cthrust_value\x18\x04 \x01(\x02\"R\n\x0ePositionNedYaw\x12\x0f\n\x07north_m\x18\x01 \x01(\x02\x12\x0e\n\x06\x65\x61st_m\x18\x02 \x01(\x02\x12\x0e\n\x06\x64own_m\x18\x03 \x01(\x02\x12\x0f\n\x07yaw_deg\x18\x04 \x01(\x02\"\xfc\x01\n\x11PositionGlobalYaw\x12\x0f\n\x07lat_deg\x18\x01 \x01(\x01\x12\x0f\n\x07lon_deg\x18\x02 \x01(\x01\x12\r\n\x05\x61lt_m\x18\x03 \x01(\x02\x12\x0f\n\x07yaw_deg\x18\x04 \x01(\x02\x12J\n\raltitude_type\x18\x05 \x01(\x0e\x32\x33.mavsdk.rpc.offboard.PositionGlobalYaw.AltitudeType\"Y\n\x0c\x41ltitudeType\x12\x1a\n\x16\x41LTITUDE_TYPE_REL_HOME\x10\x00\x12\x16\n\x12\x41LTITUDE_TYPE_AMSL\x10\x01\x12\x15\n\x11\x41LTITUDE_TYPE_AGL\x10\x02\"h\n\x14VelocityBodyYawspeed\x12\x13\n\x0b\x66orward_m_s\x18\x01 \x01(\x02\x12\x11\n\tright_m_s\x18\x02 \x01(\x02\x12\x10\n\x08\x64own_m_s\x18\x03 \x01(\x02\x12\x16\n\x0eyawspeed_deg_s\x18\x04 \x01(\x02\"X\n\x0eVelocityNedYaw\x12\x11\n\tnorth_m_s\x18\x01 \x01(\x02\x12\x10\n\x08\x65\x61st_m_s\x18\x02 \x01(\x02\x12\x10\n\x08\x64own_m_s\x18\x03 \x01(\x02\x12\x0f\n\x07yaw_deg\x18\x04 \x01(\x02\"K\n\x0f\x41\x63\x63\x65lerationNed\x12\x12\n\nnorth_m_s2\x18\x01 \x01(\x02\x12\x11\n\teast_m_s2\x18\x02 \x01(\x02\x12\x11\n\tdown_m_s2\x18\x03 \x01(\x02\"\xa2\x02\n\x0eOffboardResult\x12:\n\x06result\x18\x01 \x01(\x0e\x32*.mavsdk.rpc.offboard.OffboardResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xbf\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x19\n\x15RESULT_COMMAND_DENIED\x10\x05\x12\x12\n\x0eRESULT_TIMEOUT\x10\x06\x12\x1a\n\x16RESULT_NO_SETPOINT_SET\x10\x07\x32\xc1\n\n\x0fOffboardService\x12P\n\x05Start\x12!.mavsdk.rpc.offboard.StartRequest\x1a\".mavsdk.rpc.offboard.StartResponse\"\x00\x12M\n\x04Stop\x12 .mavsdk.rpc.offboard.StopRequest\x1a!.mavsdk.rpc.offboard.StopResponse\"\x00\x12]\n\x08IsActive\x12$.mavsdk.rpc.offboard.IsActiveRequest\x1a%.mavsdk.rpc.offboard.IsActiveResponse\"\x04\x80\xb5\x18\x01\x12\x66\n\x0bSetAttitude\x12\'.mavsdk.rpc.offboard.SetAttitudeRequest\x1a(.mavsdk.rpc.offboard.SetAttitudeResponse\"\x04\x80\xb5\x18\x01\x12{\n\x12SetActuatorControl\x12..mavsdk.rpc.offboard.SetActuatorControlRequest\x1a/.mavsdk.rpc.offboard.SetActuatorControlResponse\"\x04\x80\xb5\x18\x01\x12r\n\x0fSetAttitudeRate\x12+.mavsdk.rpc.offboard.SetAttitudeRateRequest\x1a,.mavsdk.rpc.offboard.SetAttitudeRateResponse\"\x04\x80\xb5\x18\x01\x12o\n\x0eSetPositionNed\x12*.mavsdk.rpc.offboard.SetPositionNedRequest\x1a+.mavsdk.rpc.offboard.SetPositionNedResponse\"\x04\x80\xb5\x18\x01\x12x\n\x11SetPositionGlobal\x12-.mavsdk.rpc.offboard.SetPositionGlobalRequest\x1a..mavsdk.rpc.offboard.SetPositionGlobalResponse\"\x04\x80\xb5\x18\x01\x12r\n\x0fSetVelocityBody\x12+.mavsdk.rpc.offboard.SetVelocityBodyRequest\x1a,.mavsdk.rpc.offboard.SetVelocityBodyResponse\"\x04\x80\xb5\x18\x01\x12o\n\x0eSetVelocityNed\x12*.mavsdk.rpc.offboard.SetVelocityNedRequest\x1a+.mavsdk.rpc.offboard.SetVelocityNedResponse\"\x04\x80\xb5\x18\x01\x12\x87\x01\n\x16SetPositionVelocityNed\x12\x32.mavsdk.rpc.offboard.SetPositionVelocityNedRequest\x1a\x33.mavsdk.rpc.offboard.SetPositionVelocityNedResponse\"\x04\x80\xb5\x18\x01\x12{\n\x12SetAccelerationNed\x12..mavsdk.rpc.offboard.SetAccelerationNedRequest\x1a/.mavsdk.rpc.offboard.SetAccelerationNedResponse\"\x04\x80\xb5\x18\x01\x42#\n\x12io.mavsdk.offboardB\rOffboardProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) - - - -_POSITIONGLOBALYAW_ALTITUDETYPE = _descriptor.EnumDescriptor( - name='AltitudeType', - full_name='mavsdk.rpc.offboard.PositionGlobalYaw.AltitudeType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='ALTITUDE_TYPE_REL_HOME', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ALTITUDE_TYPE_AMSL', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ALTITUDE_TYPE_AGL', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=2555, - serialized_end=2644, -) -_sym_db.RegisterEnumDescriptor(_POSITIONGLOBALYAW_ALTITUDETYPE) - -_OFFBOARDRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.offboard.OffboardResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_CONNECTION_ERROR', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_BUSY', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_COMMAND_DENIED', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TIMEOUT', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SETPOINT_SET', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=3019, - serialized_end=3210, -) -_sym_db.RegisterEnumDescriptor(_OFFBOARDRESULT_RESULT) - - -_STARTREQUEST = _descriptor.Descriptor( - name='StartRequest', - full_name='mavsdk.rpc.offboard.StartRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=70, - serialized_end=84, -) - - -_STARTRESPONSE = _descriptor.Descriptor( - name='StartResponse', - full_name='mavsdk.rpc.offboard.StartResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='offboard_result', full_name='mavsdk.rpc.offboard.StartResponse.offboard_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=86, - serialized_end=163, -) - - -_STOPREQUEST = _descriptor.Descriptor( - name='StopRequest', - full_name='mavsdk.rpc.offboard.StopRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=165, - serialized_end=178, -) - - -_STOPRESPONSE = _descriptor.Descriptor( - name='StopResponse', - full_name='mavsdk.rpc.offboard.StopResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='offboard_result', full_name='mavsdk.rpc.offboard.StopResponse.offboard_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=180, - serialized_end=256, -) - - -_ISACTIVEREQUEST = _descriptor.Descriptor( - name='IsActiveRequest', - full_name='mavsdk.rpc.offboard.IsActiveRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=258, - serialized_end=275, -) - - -_ISACTIVERESPONSE = _descriptor.Descriptor( - name='IsActiveResponse', - full_name='mavsdk.rpc.offboard.IsActiveResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='is_active', full_name='mavsdk.rpc.offboard.IsActiveResponse.is_active', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=277, - serialized_end=314, -) - - -_SETATTITUDEREQUEST = _descriptor.Descriptor( - name='SetAttitudeRequest', - full_name='mavsdk.rpc.offboard.SetAttitudeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='attitude', full_name='mavsdk.rpc.offboard.SetAttitudeRequest.attitude', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=316, - serialized_end=385, -) - - -_SETATTITUDERESPONSE = _descriptor.Descriptor( - name='SetAttitudeResponse', - full_name='mavsdk.rpc.offboard.SetAttitudeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='offboard_result', full_name='mavsdk.rpc.offboard.SetAttitudeResponse.offboard_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=387, - serialized_end=470, -) - - -_SETACTUATORCONTROLREQUEST = _descriptor.Descriptor( - name='SetActuatorControlRequest', - full_name='mavsdk.rpc.offboard.SetActuatorControlRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='actuator_control', full_name='mavsdk.rpc.offboard.SetActuatorControlRequest.actuator_control', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=472, - serialized_end=563, -) - - -_SETACTUATORCONTROLRESPONSE = _descriptor.Descriptor( - name='SetActuatorControlResponse', - full_name='mavsdk.rpc.offboard.SetActuatorControlResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='offboard_result', full_name='mavsdk.rpc.offboard.SetActuatorControlResponse.offboard_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=565, - serialized_end=655, -) - - -_SETATTITUDERATEREQUEST = _descriptor.Descriptor( - name='SetAttitudeRateRequest', - full_name='mavsdk.rpc.offboard.SetAttitudeRateRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='attitude_rate', full_name='mavsdk.rpc.offboard.SetAttitudeRateRequest.attitude_rate', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=657, - serialized_end=739, -) - - -_SETATTITUDERATERESPONSE = _descriptor.Descriptor( - name='SetAttitudeRateResponse', - full_name='mavsdk.rpc.offboard.SetAttitudeRateResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='offboard_result', full_name='mavsdk.rpc.offboard.SetAttitudeRateResponse.offboard_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=741, - serialized_end=828, -) - - -_SETPOSITIONNEDREQUEST = _descriptor.Descriptor( - name='SetPositionNedRequest', - full_name='mavsdk.rpc.offboard.SetPositionNedRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='position_ned_yaw', full_name='mavsdk.rpc.offboard.SetPositionNedRequest.position_ned_yaw', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=830, - serialized_end=916, -) - - -_SETPOSITIONNEDRESPONSE = _descriptor.Descriptor( - name='SetPositionNedResponse', - full_name='mavsdk.rpc.offboard.SetPositionNedResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='offboard_result', full_name='mavsdk.rpc.offboard.SetPositionNedResponse.offboard_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=918, - serialized_end=1004, -) - - -_SETPOSITIONGLOBALREQUEST = _descriptor.Descriptor( - name='SetPositionGlobalRequest', - full_name='mavsdk.rpc.offboard.SetPositionGlobalRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='position_global_yaw', full_name='mavsdk.rpc.offboard.SetPositionGlobalRequest.position_global_yaw', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1006, - serialized_end=1101, -) - - -_SETPOSITIONGLOBALRESPONSE = _descriptor.Descriptor( - name='SetPositionGlobalResponse', - full_name='mavsdk.rpc.offboard.SetPositionGlobalResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='offboard_result', full_name='mavsdk.rpc.offboard.SetPositionGlobalResponse.offboard_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1103, - serialized_end=1192, -) - - -_SETVELOCITYBODYREQUEST = _descriptor.Descriptor( - name='SetVelocityBodyRequest', - full_name='mavsdk.rpc.offboard.SetVelocityBodyRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='velocity_body_yawspeed', full_name='mavsdk.rpc.offboard.SetVelocityBodyRequest.velocity_body_yawspeed', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1194, - serialized_end=1293, -) - - -_SETVELOCITYBODYRESPONSE = _descriptor.Descriptor( - name='SetVelocityBodyResponse', - full_name='mavsdk.rpc.offboard.SetVelocityBodyResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='offboard_result', full_name='mavsdk.rpc.offboard.SetVelocityBodyResponse.offboard_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1295, - serialized_end=1382, -) - - -_SETVELOCITYNEDREQUEST = _descriptor.Descriptor( - name='SetVelocityNedRequest', - full_name='mavsdk.rpc.offboard.SetVelocityNedRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='velocity_ned_yaw', full_name='mavsdk.rpc.offboard.SetVelocityNedRequest.velocity_ned_yaw', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1384, - serialized_end=1470, -) - - -_SETVELOCITYNEDRESPONSE = _descriptor.Descriptor( - name='SetVelocityNedResponse', - full_name='mavsdk.rpc.offboard.SetVelocityNedResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='offboard_result', full_name='mavsdk.rpc.offboard.SetVelocityNedResponse.offboard_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1472, - serialized_end=1558, -) - - -_SETPOSITIONVELOCITYNEDREQUEST = _descriptor.Descriptor( - name='SetPositionVelocityNedRequest', - full_name='mavsdk.rpc.offboard.SetPositionVelocityNedRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='position_ned_yaw', full_name='mavsdk.rpc.offboard.SetPositionVelocityNedRequest.position_ned_yaw', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='velocity_ned_yaw', full_name='mavsdk.rpc.offboard.SetPositionVelocityNedRequest.velocity_ned_yaw', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1561, - serialized_end=1718, -) - - -_SETPOSITIONVELOCITYNEDRESPONSE = _descriptor.Descriptor( - name='SetPositionVelocityNedResponse', - full_name='mavsdk.rpc.offboard.SetPositionVelocityNedResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='offboard_result', full_name='mavsdk.rpc.offboard.SetPositionVelocityNedResponse.offboard_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1720, - serialized_end=1814, -) - - -_SETACCELERATIONNEDREQUEST = _descriptor.Descriptor( - name='SetAccelerationNedRequest', - full_name='mavsdk.rpc.offboard.SetAccelerationNedRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='acceleration_ned', full_name='mavsdk.rpc.offboard.SetAccelerationNedRequest.acceleration_ned', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1816, - serialized_end=1907, -) - - -_SETACCELERATIONNEDRESPONSE = _descriptor.Descriptor( - name='SetAccelerationNedResponse', - full_name='mavsdk.rpc.offboard.SetAccelerationNedResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='offboard_result', full_name='mavsdk.rpc.offboard.SetAccelerationNedResponse.offboard_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1909, - serialized_end=1999, -) - - -_ATTITUDE = _descriptor.Descriptor( - name='Attitude', - full_name='mavsdk.rpc.offboard.Attitude', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='roll_deg', full_name='mavsdk.rpc.offboard.Attitude.roll_deg', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pitch_deg', full_name='mavsdk.rpc.offboard.Attitude.pitch_deg', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yaw_deg', full_name='mavsdk.rpc.offboard.Attitude.yaw_deg', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='thrust_value', full_name='mavsdk.rpc.offboard.Attitude.thrust_value', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2001, - serialized_end=2087, -) - - -_ACTUATORCONTROLGROUP = _descriptor.Descriptor( - name='ActuatorControlGroup', - full_name='mavsdk.rpc.offboard.ActuatorControlGroup', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='controls', full_name='mavsdk.rpc.offboard.ActuatorControlGroup.controls', index=0, - number=1, type=2, cpp_type=6, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2089, - serialized_end=2129, -) - - -_ACTUATORCONTROL = _descriptor.Descriptor( - name='ActuatorControl', - full_name='mavsdk.rpc.offboard.ActuatorControl', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='groups', full_name='mavsdk.rpc.offboard.ActuatorControl.groups', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2131, - serialized_end=2207, -) - - -_ATTITUDERATE = _descriptor.Descriptor( - name='AttitudeRate', - full_name='mavsdk.rpc.offboard.AttitudeRate', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='roll_deg_s', full_name='mavsdk.rpc.offboard.AttitudeRate.roll_deg_s', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pitch_deg_s', full_name='mavsdk.rpc.offboard.AttitudeRate.pitch_deg_s', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yaw_deg_s', full_name='mavsdk.rpc.offboard.AttitudeRate.yaw_deg_s', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='thrust_value', full_name='mavsdk.rpc.offboard.AttitudeRate.thrust_value', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2209, - serialized_end=2305, -) - - -_POSITIONNEDYAW = _descriptor.Descriptor( - name='PositionNedYaw', - full_name='mavsdk.rpc.offboard.PositionNedYaw', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='north_m', full_name='mavsdk.rpc.offboard.PositionNedYaw.north_m', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='east_m', full_name='mavsdk.rpc.offboard.PositionNedYaw.east_m', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='down_m', full_name='mavsdk.rpc.offboard.PositionNedYaw.down_m', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yaw_deg', full_name='mavsdk.rpc.offboard.PositionNedYaw.yaw_deg', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2307, - serialized_end=2389, -) - - -_POSITIONGLOBALYAW = _descriptor.Descriptor( - name='PositionGlobalYaw', - full_name='mavsdk.rpc.offboard.PositionGlobalYaw', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='lat_deg', full_name='mavsdk.rpc.offboard.PositionGlobalYaw.lat_deg', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='lon_deg', full_name='mavsdk.rpc.offboard.PositionGlobalYaw.lon_deg', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='alt_m', full_name='mavsdk.rpc.offboard.PositionGlobalYaw.alt_m', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yaw_deg', full_name='mavsdk.rpc.offboard.PositionGlobalYaw.yaw_deg', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='altitude_type', full_name='mavsdk.rpc.offboard.PositionGlobalYaw.altitude_type', index=4, - number=5, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _POSITIONGLOBALYAW_ALTITUDETYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2392, - serialized_end=2644, -) - - -_VELOCITYBODYYAWSPEED = _descriptor.Descriptor( - name='VelocityBodyYawspeed', - full_name='mavsdk.rpc.offboard.VelocityBodyYawspeed', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='forward_m_s', full_name='mavsdk.rpc.offboard.VelocityBodyYawspeed.forward_m_s', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='right_m_s', full_name='mavsdk.rpc.offboard.VelocityBodyYawspeed.right_m_s', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='down_m_s', full_name='mavsdk.rpc.offboard.VelocityBodyYawspeed.down_m_s', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yawspeed_deg_s', full_name='mavsdk.rpc.offboard.VelocityBodyYawspeed.yawspeed_deg_s', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2646, - serialized_end=2750, -) - - -_VELOCITYNEDYAW = _descriptor.Descriptor( - name='VelocityNedYaw', - full_name='mavsdk.rpc.offboard.VelocityNedYaw', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='north_m_s', full_name='mavsdk.rpc.offboard.VelocityNedYaw.north_m_s', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='east_m_s', full_name='mavsdk.rpc.offboard.VelocityNedYaw.east_m_s', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='down_m_s', full_name='mavsdk.rpc.offboard.VelocityNedYaw.down_m_s', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yaw_deg', full_name='mavsdk.rpc.offboard.VelocityNedYaw.yaw_deg', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2752, - serialized_end=2840, -) - - -_ACCELERATIONNED = _descriptor.Descriptor( - name='AccelerationNed', - full_name='mavsdk.rpc.offboard.AccelerationNed', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='north_m_s2', full_name='mavsdk.rpc.offboard.AccelerationNed.north_m_s2', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='east_m_s2', full_name='mavsdk.rpc.offboard.AccelerationNed.east_m_s2', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='down_m_s2', full_name='mavsdk.rpc.offboard.AccelerationNed.down_m_s2', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2842, - serialized_end=2917, -) - - -_OFFBOARDRESULT = _descriptor.Descriptor( - name='OffboardResult', - full_name='mavsdk.rpc.offboard.OffboardResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.offboard.OffboardResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.offboard.OffboardResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _OFFBOARDRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2920, - serialized_end=3210, -) - -_STARTRESPONSE.fields_by_name['offboard_result'].message_type = _OFFBOARDRESULT -_STOPRESPONSE.fields_by_name['offboard_result'].message_type = _OFFBOARDRESULT -_SETATTITUDEREQUEST.fields_by_name['attitude'].message_type = _ATTITUDE -_SETATTITUDERESPONSE.fields_by_name['offboard_result'].message_type = _OFFBOARDRESULT -_SETACTUATORCONTROLREQUEST.fields_by_name['actuator_control'].message_type = _ACTUATORCONTROL -_SETACTUATORCONTROLRESPONSE.fields_by_name['offboard_result'].message_type = _OFFBOARDRESULT -_SETATTITUDERATEREQUEST.fields_by_name['attitude_rate'].message_type = _ATTITUDERATE -_SETATTITUDERATERESPONSE.fields_by_name['offboard_result'].message_type = _OFFBOARDRESULT -_SETPOSITIONNEDREQUEST.fields_by_name['position_ned_yaw'].message_type = _POSITIONNEDYAW -_SETPOSITIONNEDRESPONSE.fields_by_name['offboard_result'].message_type = _OFFBOARDRESULT -_SETPOSITIONGLOBALREQUEST.fields_by_name['position_global_yaw'].message_type = _POSITIONGLOBALYAW -_SETPOSITIONGLOBALRESPONSE.fields_by_name['offboard_result'].message_type = _OFFBOARDRESULT -_SETVELOCITYBODYREQUEST.fields_by_name['velocity_body_yawspeed'].message_type = _VELOCITYBODYYAWSPEED -_SETVELOCITYBODYRESPONSE.fields_by_name['offboard_result'].message_type = _OFFBOARDRESULT -_SETVELOCITYNEDREQUEST.fields_by_name['velocity_ned_yaw'].message_type = _VELOCITYNEDYAW -_SETVELOCITYNEDRESPONSE.fields_by_name['offboard_result'].message_type = _OFFBOARDRESULT -_SETPOSITIONVELOCITYNEDREQUEST.fields_by_name['position_ned_yaw'].message_type = _POSITIONNEDYAW -_SETPOSITIONVELOCITYNEDREQUEST.fields_by_name['velocity_ned_yaw'].message_type = _VELOCITYNEDYAW -_SETPOSITIONVELOCITYNEDRESPONSE.fields_by_name['offboard_result'].message_type = _OFFBOARDRESULT -_SETACCELERATIONNEDREQUEST.fields_by_name['acceleration_ned'].message_type = _ACCELERATIONNED -_SETACCELERATIONNEDRESPONSE.fields_by_name['offboard_result'].message_type = _OFFBOARDRESULT -_ACTUATORCONTROL.fields_by_name['groups'].message_type = _ACTUATORCONTROLGROUP -_POSITIONGLOBALYAW.fields_by_name['altitude_type'].enum_type = _POSITIONGLOBALYAW_ALTITUDETYPE -_POSITIONGLOBALYAW_ALTITUDETYPE.containing_type = _POSITIONGLOBALYAW -_OFFBOARDRESULT.fields_by_name['result'].enum_type = _OFFBOARDRESULT_RESULT -_OFFBOARDRESULT_RESULT.containing_type = _OFFBOARDRESULT -DESCRIPTOR.message_types_by_name['StartRequest'] = _STARTREQUEST -DESCRIPTOR.message_types_by_name['StartResponse'] = _STARTRESPONSE -DESCRIPTOR.message_types_by_name['StopRequest'] = _STOPREQUEST -DESCRIPTOR.message_types_by_name['StopResponse'] = _STOPRESPONSE -DESCRIPTOR.message_types_by_name['IsActiveRequest'] = _ISACTIVEREQUEST -DESCRIPTOR.message_types_by_name['IsActiveResponse'] = _ISACTIVERESPONSE -DESCRIPTOR.message_types_by_name['SetAttitudeRequest'] = _SETATTITUDEREQUEST -DESCRIPTOR.message_types_by_name['SetAttitudeResponse'] = _SETATTITUDERESPONSE -DESCRIPTOR.message_types_by_name['SetActuatorControlRequest'] = _SETACTUATORCONTROLREQUEST -DESCRIPTOR.message_types_by_name['SetActuatorControlResponse'] = _SETACTUATORCONTROLRESPONSE -DESCRIPTOR.message_types_by_name['SetAttitudeRateRequest'] = _SETATTITUDERATEREQUEST -DESCRIPTOR.message_types_by_name['SetAttitudeRateResponse'] = _SETATTITUDERATERESPONSE -DESCRIPTOR.message_types_by_name['SetPositionNedRequest'] = _SETPOSITIONNEDREQUEST -DESCRIPTOR.message_types_by_name['SetPositionNedResponse'] = _SETPOSITIONNEDRESPONSE -DESCRIPTOR.message_types_by_name['SetPositionGlobalRequest'] = _SETPOSITIONGLOBALREQUEST -DESCRIPTOR.message_types_by_name['SetPositionGlobalResponse'] = _SETPOSITIONGLOBALRESPONSE -DESCRIPTOR.message_types_by_name['SetVelocityBodyRequest'] = _SETVELOCITYBODYREQUEST -DESCRIPTOR.message_types_by_name['SetVelocityBodyResponse'] = _SETVELOCITYBODYRESPONSE -DESCRIPTOR.message_types_by_name['SetVelocityNedRequest'] = _SETVELOCITYNEDREQUEST -DESCRIPTOR.message_types_by_name['SetVelocityNedResponse'] = _SETVELOCITYNEDRESPONSE -DESCRIPTOR.message_types_by_name['SetPositionVelocityNedRequest'] = _SETPOSITIONVELOCITYNEDREQUEST -DESCRIPTOR.message_types_by_name['SetPositionVelocityNedResponse'] = _SETPOSITIONVELOCITYNEDRESPONSE -DESCRIPTOR.message_types_by_name['SetAccelerationNedRequest'] = _SETACCELERATIONNEDREQUEST -DESCRIPTOR.message_types_by_name['SetAccelerationNedResponse'] = _SETACCELERATIONNEDRESPONSE -DESCRIPTOR.message_types_by_name['Attitude'] = _ATTITUDE -DESCRIPTOR.message_types_by_name['ActuatorControlGroup'] = _ACTUATORCONTROLGROUP -DESCRIPTOR.message_types_by_name['ActuatorControl'] = _ACTUATORCONTROL -DESCRIPTOR.message_types_by_name['AttitudeRate'] = _ATTITUDERATE -DESCRIPTOR.message_types_by_name['PositionNedYaw'] = _POSITIONNEDYAW -DESCRIPTOR.message_types_by_name['PositionGlobalYaw'] = _POSITIONGLOBALYAW -DESCRIPTOR.message_types_by_name['VelocityBodyYawspeed'] = _VELOCITYBODYYAWSPEED -DESCRIPTOR.message_types_by_name['VelocityNedYaw'] = _VELOCITYNEDYAW -DESCRIPTOR.message_types_by_name['AccelerationNed'] = _ACCELERATIONNED -DESCRIPTOR.message_types_by_name['OffboardResult'] = _OFFBOARDRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17offboard/offboard.proto\x12\x13mavsdk.rpc.offboard\x1a\x14mavsdk_options.proto\"\x0e\n\x0cStartRequest\"M\n\rStartResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"\r\n\x0bStopRequest\"L\n\x0cStopResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"\x11\n\x0fIsActiveRequest\"%\n\x10IsActiveResponse\x12\x11\n\tis_active\x18\x01 \x01(\x08\"E\n\x12SetAttitudeRequest\x12/\n\x08\x61ttitude\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.offboard.Attitude\"S\n\x13SetAttitudeResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"[\n\x19SetActuatorControlRequest\x12>\n\x10\x61\x63tuator_control\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.offboard.ActuatorControl\"Z\n\x1aSetActuatorControlResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"R\n\x16SetAttitudeRateRequest\x12\x38\n\rattitude_rate\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.offboard.AttitudeRate\"W\n\x17SetAttitudeRateResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"V\n\x15SetPositionNedRequest\x12=\n\x10position_ned_yaw\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.PositionNedYaw\"V\n\x16SetPositionNedResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"_\n\x18SetPositionGlobalRequest\x12\x43\n\x13position_global_yaw\x18\x01 \x01(\x0b\x32&.mavsdk.rpc.offboard.PositionGlobalYaw\"Y\n\x19SetPositionGlobalResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"c\n\x16SetVelocityBodyRequest\x12I\n\x16velocity_body_yawspeed\x18\x01 \x01(\x0b\x32).mavsdk.rpc.offboard.VelocityBodyYawspeed\"W\n\x17SetVelocityBodyResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"V\n\x15SetVelocityNedRequest\x12=\n\x10velocity_ned_yaw\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.VelocityNedYaw\"V\n\x16SetVelocityNedResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"\x9d\x01\n\x1dSetPositionVelocityNedRequest\x12=\n\x10position_ned_yaw\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.PositionNedYaw\x12=\n\x10velocity_ned_yaw\x18\x02 \x01(\x0b\x32#.mavsdk.rpc.offboard.VelocityNedYaw\"^\n\x1eSetPositionVelocityNedResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"[\n\x19SetAccelerationNedRequest\x12>\n\x10\x61\x63\x63\x65leration_ned\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.offboard.AccelerationNed\"Z\n\x1aSetAccelerationNedResponse\x12<\n\x0foffboard_result\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.offboard.OffboardResult\"V\n\x08\x41ttitude\x12\x10\n\x08roll_deg\x18\x01 \x01(\x02\x12\x11\n\tpitch_deg\x18\x02 \x01(\x02\x12\x0f\n\x07yaw_deg\x18\x03 \x01(\x02\x12\x14\n\x0cthrust_value\x18\x04 \x01(\x02\"(\n\x14\x41\x63tuatorControlGroup\x12\x10\n\x08\x63ontrols\x18\x01 \x03(\x02\"L\n\x0f\x41\x63tuatorControl\x12\x39\n\x06groups\x18\x01 \x03(\x0b\x32).mavsdk.rpc.offboard.ActuatorControlGroup\"`\n\x0c\x41ttitudeRate\x12\x12\n\nroll_deg_s\x18\x01 \x01(\x02\x12\x13\n\x0bpitch_deg_s\x18\x02 \x01(\x02\x12\x11\n\tyaw_deg_s\x18\x03 \x01(\x02\x12\x14\n\x0cthrust_value\x18\x04 \x01(\x02\"R\n\x0ePositionNedYaw\x12\x0f\n\x07north_m\x18\x01 \x01(\x02\x12\x0e\n\x06\x65\x61st_m\x18\x02 \x01(\x02\x12\x0e\n\x06\x64own_m\x18\x03 \x01(\x02\x12\x0f\n\x07yaw_deg\x18\x04 \x01(\x02\"\xfc\x01\n\x11PositionGlobalYaw\x12\x0f\n\x07lat_deg\x18\x01 \x01(\x01\x12\x0f\n\x07lon_deg\x18\x02 \x01(\x01\x12\r\n\x05\x61lt_m\x18\x03 \x01(\x02\x12\x0f\n\x07yaw_deg\x18\x04 \x01(\x02\x12J\n\raltitude_type\x18\x05 \x01(\x0e\x32\x33.mavsdk.rpc.offboard.PositionGlobalYaw.AltitudeType\"Y\n\x0c\x41ltitudeType\x12\x1a\n\x16\x41LTITUDE_TYPE_REL_HOME\x10\x00\x12\x16\n\x12\x41LTITUDE_TYPE_AMSL\x10\x01\x12\x15\n\x11\x41LTITUDE_TYPE_AGL\x10\x02\"h\n\x14VelocityBodyYawspeed\x12\x13\n\x0b\x66orward_m_s\x18\x01 \x01(\x02\x12\x11\n\tright_m_s\x18\x02 \x01(\x02\x12\x10\n\x08\x64own_m_s\x18\x03 \x01(\x02\x12\x16\n\x0eyawspeed_deg_s\x18\x04 \x01(\x02\"X\n\x0eVelocityNedYaw\x12\x11\n\tnorth_m_s\x18\x01 \x01(\x02\x12\x10\n\x08\x65\x61st_m_s\x18\x02 \x01(\x02\x12\x10\n\x08\x64own_m_s\x18\x03 \x01(\x02\x12\x0f\n\x07yaw_deg\x18\x04 \x01(\x02\"K\n\x0f\x41\x63\x63\x65lerationNed\x12\x12\n\nnorth_m_s2\x18\x01 \x01(\x02\x12\x11\n\teast_m_s2\x18\x02 \x01(\x02\x12\x11\n\tdown_m_s2\x18\x03 \x01(\x02\"\xa2\x02\n\x0eOffboardResult\x12:\n\x06result\x18\x01 \x01(\x0e\x32*.mavsdk.rpc.offboard.OffboardResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xbf\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x19\n\x15RESULT_COMMAND_DENIED\x10\x05\x12\x12\n\x0eRESULT_TIMEOUT\x10\x06\x12\x1a\n\x16RESULT_NO_SETPOINT_SET\x10\x07\x32\xc1\n\n\x0fOffboardService\x12P\n\x05Start\x12!.mavsdk.rpc.offboard.StartRequest\x1a\".mavsdk.rpc.offboard.StartResponse\"\x00\x12M\n\x04Stop\x12 .mavsdk.rpc.offboard.StopRequest\x1a!.mavsdk.rpc.offboard.StopResponse\"\x00\x12]\n\x08IsActive\x12$.mavsdk.rpc.offboard.IsActiveRequest\x1a%.mavsdk.rpc.offboard.IsActiveResponse\"\x04\x80\xb5\x18\x01\x12\x66\n\x0bSetAttitude\x12\'.mavsdk.rpc.offboard.SetAttitudeRequest\x1a(.mavsdk.rpc.offboard.SetAttitudeResponse\"\x04\x80\xb5\x18\x01\x12{\n\x12SetActuatorControl\x12..mavsdk.rpc.offboard.SetActuatorControlRequest\x1a/.mavsdk.rpc.offboard.SetActuatorControlResponse\"\x04\x80\xb5\x18\x01\x12r\n\x0fSetAttitudeRate\x12+.mavsdk.rpc.offboard.SetAttitudeRateRequest\x1a,.mavsdk.rpc.offboard.SetAttitudeRateResponse\"\x04\x80\xb5\x18\x01\x12o\n\x0eSetPositionNed\x12*.mavsdk.rpc.offboard.SetPositionNedRequest\x1a+.mavsdk.rpc.offboard.SetPositionNedResponse\"\x04\x80\xb5\x18\x01\x12x\n\x11SetPositionGlobal\x12-.mavsdk.rpc.offboard.SetPositionGlobalRequest\x1a..mavsdk.rpc.offboard.SetPositionGlobalResponse\"\x04\x80\xb5\x18\x01\x12r\n\x0fSetVelocityBody\x12+.mavsdk.rpc.offboard.SetVelocityBodyRequest\x1a,.mavsdk.rpc.offboard.SetVelocityBodyResponse\"\x04\x80\xb5\x18\x01\x12o\n\x0eSetVelocityNed\x12*.mavsdk.rpc.offboard.SetVelocityNedRequest\x1a+.mavsdk.rpc.offboard.SetVelocityNedResponse\"\x04\x80\xb5\x18\x01\x12\x87\x01\n\x16SetPositionVelocityNed\x12\x32.mavsdk.rpc.offboard.SetPositionVelocityNedRequest\x1a\x33.mavsdk.rpc.offboard.SetPositionVelocityNedResponse\"\x04\x80\xb5\x18\x01\x12{\n\x12SetAccelerationNed\x12..mavsdk.rpc.offboard.SetAccelerationNedRequest\x1a/.mavsdk.rpc.offboard.SetAccelerationNedResponse\"\x04\x80\xb5\x18\x01\x42#\n\x12io.mavsdk.offboardB\rOffboardProtob\x06proto3') + + + +_STARTREQUEST = DESCRIPTOR.message_types_by_name['StartRequest'] +_STARTRESPONSE = DESCRIPTOR.message_types_by_name['StartResponse'] +_STOPREQUEST = DESCRIPTOR.message_types_by_name['StopRequest'] +_STOPRESPONSE = DESCRIPTOR.message_types_by_name['StopResponse'] +_ISACTIVEREQUEST = DESCRIPTOR.message_types_by_name['IsActiveRequest'] +_ISACTIVERESPONSE = DESCRIPTOR.message_types_by_name['IsActiveResponse'] +_SETATTITUDEREQUEST = DESCRIPTOR.message_types_by_name['SetAttitudeRequest'] +_SETATTITUDERESPONSE = DESCRIPTOR.message_types_by_name['SetAttitudeResponse'] +_SETACTUATORCONTROLREQUEST = DESCRIPTOR.message_types_by_name['SetActuatorControlRequest'] +_SETACTUATORCONTROLRESPONSE = DESCRIPTOR.message_types_by_name['SetActuatorControlResponse'] +_SETATTITUDERATEREQUEST = DESCRIPTOR.message_types_by_name['SetAttitudeRateRequest'] +_SETATTITUDERATERESPONSE = DESCRIPTOR.message_types_by_name['SetAttitudeRateResponse'] +_SETPOSITIONNEDREQUEST = DESCRIPTOR.message_types_by_name['SetPositionNedRequest'] +_SETPOSITIONNEDRESPONSE = DESCRIPTOR.message_types_by_name['SetPositionNedResponse'] +_SETPOSITIONGLOBALREQUEST = DESCRIPTOR.message_types_by_name['SetPositionGlobalRequest'] +_SETPOSITIONGLOBALRESPONSE = DESCRIPTOR.message_types_by_name['SetPositionGlobalResponse'] +_SETVELOCITYBODYREQUEST = DESCRIPTOR.message_types_by_name['SetVelocityBodyRequest'] +_SETVELOCITYBODYRESPONSE = DESCRIPTOR.message_types_by_name['SetVelocityBodyResponse'] +_SETVELOCITYNEDREQUEST = DESCRIPTOR.message_types_by_name['SetVelocityNedRequest'] +_SETVELOCITYNEDRESPONSE = DESCRIPTOR.message_types_by_name['SetVelocityNedResponse'] +_SETPOSITIONVELOCITYNEDREQUEST = DESCRIPTOR.message_types_by_name['SetPositionVelocityNedRequest'] +_SETPOSITIONVELOCITYNEDRESPONSE = DESCRIPTOR.message_types_by_name['SetPositionVelocityNedResponse'] +_SETACCELERATIONNEDREQUEST = DESCRIPTOR.message_types_by_name['SetAccelerationNedRequest'] +_SETACCELERATIONNEDRESPONSE = DESCRIPTOR.message_types_by_name['SetAccelerationNedResponse'] +_ATTITUDE = DESCRIPTOR.message_types_by_name['Attitude'] +_ACTUATORCONTROLGROUP = DESCRIPTOR.message_types_by_name['ActuatorControlGroup'] +_ACTUATORCONTROL = DESCRIPTOR.message_types_by_name['ActuatorControl'] +_ATTITUDERATE = DESCRIPTOR.message_types_by_name['AttitudeRate'] +_POSITIONNEDYAW = DESCRIPTOR.message_types_by_name['PositionNedYaw'] +_POSITIONGLOBALYAW = DESCRIPTOR.message_types_by_name['PositionGlobalYaw'] +_VELOCITYBODYYAWSPEED = DESCRIPTOR.message_types_by_name['VelocityBodyYawspeed'] +_VELOCITYNEDYAW = DESCRIPTOR.message_types_by_name['VelocityNedYaw'] +_ACCELERATIONNED = DESCRIPTOR.message_types_by_name['AccelerationNed'] +_OFFBOARDRESULT = DESCRIPTOR.message_types_by_name['OffboardResult'] +_POSITIONGLOBALYAW_ALTITUDETYPE = _POSITIONGLOBALYAW.enum_types_by_name['AltitudeType'] +_OFFBOARDRESULT_RESULT = _OFFBOARDRESULT.enum_types_by_name['Result'] StartRequest = _reflection.GeneratedProtocolMessageType('StartRequest', (_message.Message,), { 'DESCRIPTOR' : _STARTREQUEST, '__module__' : 'offboard.offboard_pb2' @@ -1641,142 +293,103 @@ }) _sym_db.RegisterMessage(OffboardResult) - -DESCRIPTOR._options = None - -_OFFBOARDSERVICE = _descriptor.ServiceDescriptor( - name='OffboardService', - full_name='mavsdk.rpc.offboard.OffboardService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=3213, - serialized_end=4558, - methods=[ - _descriptor.MethodDescriptor( - name='Start', - full_name='mavsdk.rpc.offboard.OffboardService.Start', - index=0, - containing_service=None, - input_type=_STARTREQUEST, - output_type=_STARTRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Stop', - full_name='mavsdk.rpc.offboard.OffboardService.Stop', - index=1, - containing_service=None, - input_type=_STOPREQUEST, - output_type=_STOPRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='IsActive', - full_name='mavsdk.rpc.offboard.OffboardService.IsActive', - index=2, - containing_service=None, - input_type=_ISACTIVEREQUEST, - output_type=_ISACTIVERESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetAttitude', - full_name='mavsdk.rpc.offboard.OffboardService.SetAttitude', - index=3, - containing_service=None, - input_type=_SETATTITUDEREQUEST, - output_type=_SETATTITUDERESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetActuatorControl', - full_name='mavsdk.rpc.offboard.OffboardService.SetActuatorControl', - index=4, - containing_service=None, - input_type=_SETACTUATORCONTROLREQUEST, - output_type=_SETACTUATORCONTROLRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetAttitudeRate', - full_name='mavsdk.rpc.offboard.OffboardService.SetAttitudeRate', - index=5, - containing_service=None, - input_type=_SETATTITUDERATEREQUEST, - output_type=_SETATTITUDERATERESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetPositionNed', - full_name='mavsdk.rpc.offboard.OffboardService.SetPositionNed', - index=6, - containing_service=None, - input_type=_SETPOSITIONNEDREQUEST, - output_type=_SETPOSITIONNEDRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetPositionGlobal', - full_name='mavsdk.rpc.offboard.OffboardService.SetPositionGlobal', - index=7, - containing_service=None, - input_type=_SETPOSITIONGLOBALREQUEST, - output_type=_SETPOSITIONGLOBALRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetVelocityBody', - full_name='mavsdk.rpc.offboard.OffboardService.SetVelocityBody', - index=8, - containing_service=None, - input_type=_SETVELOCITYBODYREQUEST, - output_type=_SETVELOCITYBODYRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetVelocityNed', - full_name='mavsdk.rpc.offboard.OffboardService.SetVelocityNed', - index=9, - containing_service=None, - input_type=_SETVELOCITYNEDREQUEST, - output_type=_SETVELOCITYNEDRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetPositionVelocityNed', - full_name='mavsdk.rpc.offboard.OffboardService.SetPositionVelocityNed', - index=10, - containing_service=None, - input_type=_SETPOSITIONVELOCITYNEDREQUEST, - output_type=_SETPOSITIONVELOCITYNEDRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetAccelerationNed', - full_name='mavsdk.rpc.offboard.OffboardService.SetAccelerationNed', - index=11, - containing_service=None, - input_type=_SETACCELERATIONNEDREQUEST, - output_type=_SETACCELERATIONNEDRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_OFFBOARDSERVICE) - -DESCRIPTOR.services_by_name['OffboardService'] = _OFFBOARDSERVICE - +_OFFBOARDSERVICE = DESCRIPTOR.services_by_name['OffboardService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\022io.mavsdk.offboardB\rOffboardProto' + _OFFBOARDSERVICE.methods_by_name['IsActive']._options = None + _OFFBOARDSERVICE.methods_by_name['IsActive']._serialized_options = b'\200\265\030\001' + _OFFBOARDSERVICE.methods_by_name['SetAttitude']._options = None + _OFFBOARDSERVICE.methods_by_name['SetAttitude']._serialized_options = b'\200\265\030\001' + _OFFBOARDSERVICE.methods_by_name['SetActuatorControl']._options = None + _OFFBOARDSERVICE.methods_by_name['SetActuatorControl']._serialized_options = b'\200\265\030\001' + _OFFBOARDSERVICE.methods_by_name['SetAttitudeRate']._options = None + _OFFBOARDSERVICE.methods_by_name['SetAttitudeRate']._serialized_options = b'\200\265\030\001' + _OFFBOARDSERVICE.methods_by_name['SetPositionNed']._options = None + _OFFBOARDSERVICE.methods_by_name['SetPositionNed']._serialized_options = b'\200\265\030\001' + _OFFBOARDSERVICE.methods_by_name['SetPositionGlobal']._options = None + _OFFBOARDSERVICE.methods_by_name['SetPositionGlobal']._serialized_options = b'\200\265\030\001' + _OFFBOARDSERVICE.methods_by_name['SetVelocityBody']._options = None + _OFFBOARDSERVICE.methods_by_name['SetVelocityBody']._serialized_options = b'\200\265\030\001' + _OFFBOARDSERVICE.methods_by_name['SetVelocityNed']._options = None + _OFFBOARDSERVICE.methods_by_name['SetVelocityNed']._serialized_options = b'\200\265\030\001' + _OFFBOARDSERVICE.methods_by_name['SetPositionVelocityNed']._options = None + _OFFBOARDSERVICE.methods_by_name['SetPositionVelocityNed']._serialized_options = b'\200\265\030\001' + _OFFBOARDSERVICE.methods_by_name['SetAccelerationNed']._options = None + _OFFBOARDSERVICE.methods_by_name['SetAccelerationNed']._serialized_options = b'\200\265\030\001' + _STARTREQUEST._serialized_start=70 + _STARTREQUEST._serialized_end=84 + _STARTRESPONSE._serialized_start=86 + _STARTRESPONSE._serialized_end=163 + _STOPREQUEST._serialized_start=165 + _STOPREQUEST._serialized_end=178 + _STOPRESPONSE._serialized_start=180 + _STOPRESPONSE._serialized_end=256 + _ISACTIVEREQUEST._serialized_start=258 + _ISACTIVEREQUEST._serialized_end=275 + _ISACTIVERESPONSE._serialized_start=277 + _ISACTIVERESPONSE._serialized_end=314 + _SETATTITUDEREQUEST._serialized_start=316 + _SETATTITUDEREQUEST._serialized_end=385 + _SETATTITUDERESPONSE._serialized_start=387 + _SETATTITUDERESPONSE._serialized_end=470 + _SETACTUATORCONTROLREQUEST._serialized_start=472 + _SETACTUATORCONTROLREQUEST._serialized_end=563 + _SETACTUATORCONTROLRESPONSE._serialized_start=565 + _SETACTUATORCONTROLRESPONSE._serialized_end=655 + _SETATTITUDERATEREQUEST._serialized_start=657 + _SETATTITUDERATEREQUEST._serialized_end=739 + _SETATTITUDERATERESPONSE._serialized_start=741 + _SETATTITUDERATERESPONSE._serialized_end=828 + _SETPOSITIONNEDREQUEST._serialized_start=830 + _SETPOSITIONNEDREQUEST._serialized_end=916 + _SETPOSITIONNEDRESPONSE._serialized_start=918 + _SETPOSITIONNEDRESPONSE._serialized_end=1004 + _SETPOSITIONGLOBALREQUEST._serialized_start=1006 + _SETPOSITIONGLOBALREQUEST._serialized_end=1101 + _SETPOSITIONGLOBALRESPONSE._serialized_start=1103 + _SETPOSITIONGLOBALRESPONSE._serialized_end=1192 + _SETVELOCITYBODYREQUEST._serialized_start=1194 + _SETVELOCITYBODYREQUEST._serialized_end=1293 + _SETVELOCITYBODYRESPONSE._serialized_start=1295 + _SETVELOCITYBODYRESPONSE._serialized_end=1382 + _SETVELOCITYNEDREQUEST._serialized_start=1384 + _SETVELOCITYNEDREQUEST._serialized_end=1470 + _SETVELOCITYNEDRESPONSE._serialized_start=1472 + _SETVELOCITYNEDRESPONSE._serialized_end=1558 + _SETPOSITIONVELOCITYNEDREQUEST._serialized_start=1561 + _SETPOSITIONVELOCITYNEDREQUEST._serialized_end=1718 + _SETPOSITIONVELOCITYNEDRESPONSE._serialized_start=1720 + _SETPOSITIONVELOCITYNEDRESPONSE._serialized_end=1814 + _SETACCELERATIONNEDREQUEST._serialized_start=1816 + _SETACCELERATIONNEDREQUEST._serialized_end=1907 + _SETACCELERATIONNEDRESPONSE._serialized_start=1909 + _SETACCELERATIONNEDRESPONSE._serialized_end=1999 + _ATTITUDE._serialized_start=2001 + _ATTITUDE._serialized_end=2087 + _ACTUATORCONTROLGROUP._serialized_start=2089 + _ACTUATORCONTROLGROUP._serialized_end=2129 + _ACTUATORCONTROL._serialized_start=2131 + _ACTUATORCONTROL._serialized_end=2207 + _ATTITUDERATE._serialized_start=2209 + _ATTITUDERATE._serialized_end=2305 + _POSITIONNEDYAW._serialized_start=2307 + _POSITIONNEDYAW._serialized_end=2389 + _POSITIONGLOBALYAW._serialized_start=2392 + _POSITIONGLOBALYAW._serialized_end=2644 + _POSITIONGLOBALYAW_ALTITUDETYPE._serialized_start=2555 + _POSITIONGLOBALYAW_ALTITUDETYPE._serialized_end=2644 + _VELOCITYBODYYAWSPEED._serialized_start=2646 + _VELOCITYBODYYAWSPEED._serialized_end=2750 + _VELOCITYNEDYAW._serialized_start=2752 + _VELOCITYNEDYAW._serialized_end=2840 + _ACCELERATIONNED._serialized_start=2842 + _ACCELERATIONNED._serialized_end=2917 + _OFFBOARDRESULT._serialized_start=2920 + _OFFBOARDRESULT._serialized_end=3210 + _OFFBOARDRESULT_RESULT._serialized_start=3019 + _OFFBOARDRESULT_RESULT._serialized_end=3210 + _OFFBOARDSERVICE._serialized_start=3213 + _OFFBOARDSERVICE._serialized_end=4558 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/param_pb2.py b/mavsdk/param_pb2.py index 531c7944..487318ed 100644 --- a/mavsdk/param_pb2.py +++ b/mavsdk/param_pb2.py @@ -3,6 +3,7 @@ # source: param/param.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -14,591 +15,25 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='param/param.proto', - package='mavsdk.rpc.param', - syntax='proto3', - serialized_options=b'\n\017io.mavsdk.paramB\nParamProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x11param/param.proto\x12\x10mavsdk.rpc.param\x1a\x14mavsdk_options.proto\"\"\n\x12GetParamIntRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"Y\n\x13GetParamIntResponse\x12\x33\n\x0cparam_result\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.param.ParamResult\x12\r\n\x05value\x18\x02 \x01(\x05\"1\n\x12SetParamIntRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05\"J\n\x13SetParamIntResponse\x12\x33\n\x0cparam_result\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.param.ParamResult\"$\n\x14GetParamFloatRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"[\n\x15GetParamFloatResponse\x12\x33\n\x0cparam_result\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.param.ParamResult\x12\r\n\x05value\x18\x02 \x01(\x02\"3\n\x14SetParamFloatRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02\"L\n\x15SetParamFloatResponse\x12\x33\n\x0cparam_result\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.param.ParamResult\"\x15\n\x13GetAllParamsRequest\"C\n\x14GetAllParamsResponse\x12+\n\x06params\x18\x01 \x01(\x0b\x32\x1b.mavsdk.rpc.param.AllParams\"\'\n\x08IntParam\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05\")\n\nFloatParam\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02\"o\n\tAllParams\x12.\n\nint_params\x18\x01 \x03(\x0b\x32\x1a.mavsdk.rpc.param.IntParam\x12\x32\n\x0c\x66loat_params\x18\x02 \x03(\x0b\x32\x1c.mavsdk.rpc.param.FloatParam\"\x88\x02\n\x0bParamResult\x12\x34\n\x06result\x18\x01 \x01(\x0e\x32$.mavsdk.rpc.param.ParamResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xae\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x12\n\x0eRESULT_TIMEOUT\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x15\n\x11RESULT_WRONG_TYPE\x10\x04\x12\x1e\n\x1aRESULT_PARAM_NAME_TOO_LONG\x10\x05\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x06\x32\x87\x04\n\x0cParamService\x12`\n\x0bGetParamInt\x12$.mavsdk.rpc.param.GetParamIntRequest\x1a%.mavsdk.rpc.param.GetParamIntResponse\"\x04\x80\xb5\x18\x01\x12`\n\x0bSetParamInt\x12$.mavsdk.rpc.param.SetParamIntRequest\x1a%.mavsdk.rpc.param.SetParamIntResponse\"\x04\x80\xb5\x18\x01\x12\x66\n\rGetParamFloat\x12&.mavsdk.rpc.param.GetParamFloatRequest\x1a\'.mavsdk.rpc.param.GetParamFloatResponse\"\x04\x80\xb5\x18\x01\x12\x66\n\rSetParamFloat\x12&.mavsdk.rpc.param.SetParamFloatRequest\x1a\'.mavsdk.rpc.param.SetParamFloatResponse\"\x04\x80\xb5\x18\x01\x12\x63\n\x0cGetAllParams\x12%.mavsdk.rpc.param.GetAllParamsRequest\x1a&.mavsdk.rpc.param.GetAllParamsResponse\"\x04\x80\xb5\x18\x01\x42\x1d\n\x0fio.mavsdk.paramB\nParamProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11param/param.proto\x12\x10mavsdk.rpc.param\x1a\x14mavsdk_options.proto\"\"\n\x12GetParamIntRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"Y\n\x13GetParamIntResponse\x12\x33\n\x0cparam_result\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.param.ParamResult\x12\r\n\x05value\x18\x02 \x01(\x05\"1\n\x12SetParamIntRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05\"J\n\x13SetParamIntResponse\x12\x33\n\x0cparam_result\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.param.ParamResult\"$\n\x14GetParamFloatRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"[\n\x15GetParamFloatResponse\x12\x33\n\x0cparam_result\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.param.ParamResult\x12\r\n\x05value\x18\x02 \x01(\x02\"3\n\x14SetParamFloatRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02\"L\n\x15SetParamFloatResponse\x12\x33\n\x0cparam_result\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.param.ParamResult\"\x15\n\x13GetAllParamsRequest\"C\n\x14GetAllParamsResponse\x12+\n\x06params\x18\x01 \x01(\x0b\x32\x1b.mavsdk.rpc.param.AllParams\"\'\n\x08IntParam\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05\")\n\nFloatParam\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02\"o\n\tAllParams\x12.\n\nint_params\x18\x01 \x03(\x0b\x32\x1a.mavsdk.rpc.param.IntParam\x12\x32\n\x0c\x66loat_params\x18\x02 \x03(\x0b\x32\x1c.mavsdk.rpc.param.FloatParam\"\x88\x02\n\x0bParamResult\x12\x34\n\x06result\x18\x01 \x01(\x0e\x32$.mavsdk.rpc.param.ParamResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xae\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x12\n\x0eRESULT_TIMEOUT\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x15\n\x11RESULT_WRONG_TYPE\x10\x04\x12\x1e\n\x1aRESULT_PARAM_NAME_TOO_LONG\x10\x05\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x06\x32\x87\x04\n\x0cParamService\x12`\n\x0bGetParamInt\x12$.mavsdk.rpc.param.GetParamIntRequest\x1a%.mavsdk.rpc.param.GetParamIntResponse\"\x04\x80\xb5\x18\x01\x12`\n\x0bSetParamInt\x12$.mavsdk.rpc.param.SetParamIntRequest\x1a%.mavsdk.rpc.param.SetParamIntResponse\"\x04\x80\xb5\x18\x01\x12\x66\n\rGetParamFloat\x12&.mavsdk.rpc.param.GetParamFloatRequest\x1a\'.mavsdk.rpc.param.GetParamFloatResponse\"\x04\x80\xb5\x18\x01\x12\x66\n\rSetParamFloat\x12&.mavsdk.rpc.param.SetParamFloatRequest\x1a\'.mavsdk.rpc.param.SetParamFloatResponse\"\x04\x80\xb5\x18\x01\x12\x63\n\x0cGetAllParams\x12%.mavsdk.rpc.param.GetAllParamsRequest\x1a&.mavsdk.rpc.param.GetAllParamsResponse\"\x04\x80\xb5\x18\x01\x42\x1d\n\x0fio.mavsdk.paramB\nParamProtob\x06proto3') -_PARAMRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.param.ParamResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TIMEOUT', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_CONNECTION_ERROR', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_WRONG_TYPE', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_PARAM_NAME_TOO_LONG', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=957, - serialized_end=1131, -) -_sym_db.RegisterEnumDescriptor(_PARAMRESULT_RESULT) - - -_GETPARAMINTREQUEST = _descriptor.Descriptor( - name='GetParamIntRequest', - full_name='mavsdk.rpc.param.GetParamIntRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='mavsdk.rpc.param.GetParamIntRequest.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=61, - serialized_end=95, -) - - -_GETPARAMINTRESPONSE = _descriptor.Descriptor( - name='GetParamIntResponse', - full_name='mavsdk.rpc.param.GetParamIntResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='param_result', full_name='mavsdk.rpc.param.GetParamIntResponse.param_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='mavsdk.rpc.param.GetParamIntResponse.value', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=97, - serialized_end=186, -) - - -_SETPARAMINTREQUEST = _descriptor.Descriptor( - name='SetParamIntRequest', - full_name='mavsdk.rpc.param.SetParamIntRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='mavsdk.rpc.param.SetParamIntRequest.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='mavsdk.rpc.param.SetParamIntRequest.value', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=188, - serialized_end=237, -) - - -_SETPARAMINTRESPONSE = _descriptor.Descriptor( - name='SetParamIntResponse', - full_name='mavsdk.rpc.param.SetParamIntResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='param_result', full_name='mavsdk.rpc.param.SetParamIntResponse.param_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=239, - serialized_end=313, -) - - -_GETPARAMFLOATREQUEST = _descriptor.Descriptor( - name='GetParamFloatRequest', - full_name='mavsdk.rpc.param.GetParamFloatRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='mavsdk.rpc.param.GetParamFloatRequest.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=315, - serialized_end=351, -) - - -_GETPARAMFLOATRESPONSE = _descriptor.Descriptor( - name='GetParamFloatResponse', - full_name='mavsdk.rpc.param.GetParamFloatResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='param_result', full_name='mavsdk.rpc.param.GetParamFloatResponse.param_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='mavsdk.rpc.param.GetParamFloatResponse.value', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=353, - serialized_end=444, -) - - -_SETPARAMFLOATREQUEST = _descriptor.Descriptor( - name='SetParamFloatRequest', - full_name='mavsdk.rpc.param.SetParamFloatRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='mavsdk.rpc.param.SetParamFloatRequest.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='mavsdk.rpc.param.SetParamFloatRequest.value', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=446, - serialized_end=497, -) - - -_SETPARAMFLOATRESPONSE = _descriptor.Descriptor( - name='SetParamFloatResponse', - full_name='mavsdk.rpc.param.SetParamFloatResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='param_result', full_name='mavsdk.rpc.param.SetParamFloatResponse.param_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=499, - serialized_end=575, -) - - -_GETALLPARAMSREQUEST = _descriptor.Descriptor( - name='GetAllParamsRequest', - full_name='mavsdk.rpc.param.GetAllParamsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=577, - serialized_end=598, -) - - -_GETALLPARAMSRESPONSE = _descriptor.Descriptor( - name='GetAllParamsResponse', - full_name='mavsdk.rpc.param.GetAllParamsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='params', full_name='mavsdk.rpc.param.GetAllParamsResponse.params', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=600, - serialized_end=667, -) - - -_INTPARAM = _descriptor.Descriptor( - name='IntParam', - full_name='mavsdk.rpc.param.IntParam', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='mavsdk.rpc.param.IntParam.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='mavsdk.rpc.param.IntParam.value', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=669, - serialized_end=708, -) - - -_FLOATPARAM = _descriptor.Descriptor( - name='FloatParam', - full_name='mavsdk.rpc.param.FloatParam', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='mavsdk.rpc.param.FloatParam.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='mavsdk.rpc.param.FloatParam.value', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=710, - serialized_end=751, -) - - -_ALLPARAMS = _descriptor.Descriptor( - name='AllParams', - full_name='mavsdk.rpc.param.AllParams', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='int_params', full_name='mavsdk.rpc.param.AllParams.int_params', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='float_params', full_name='mavsdk.rpc.param.AllParams.float_params', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=753, - serialized_end=864, -) - - -_PARAMRESULT = _descriptor.Descriptor( - name='ParamResult', - full_name='mavsdk.rpc.param.ParamResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.param.ParamResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.param.ParamResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PARAMRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=867, - serialized_end=1131, -) - -_GETPARAMINTRESPONSE.fields_by_name['param_result'].message_type = _PARAMRESULT -_SETPARAMINTRESPONSE.fields_by_name['param_result'].message_type = _PARAMRESULT -_GETPARAMFLOATRESPONSE.fields_by_name['param_result'].message_type = _PARAMRESULT -_SETPARAMFLOATRESPONSE.fields_by_name['param_result'].message_type = _PARAMRESULT -_GETALLPARAMSRESPONSE.fields_by_name['params'].message_type = _ALLPARAMS -_ALLPARAMS.fields_by_name['int_params'].message_type = _INTPARAM -_ALLPARAMS.fields_by_name['float_params'].message_type = _FLOATPARAM -_PARAMRESULT.fields_by_name['result'].enum_type = _PARAMRESULT_RESULT -_PARAMRESULT_RESULT.containing_type = _PARAMRESULT -DESCRIPTOR.message_types_by_name['GetParamIntRequest'] = _GETPARAMINTREQUEST -DESCRIPTOR.message_types_by_name['GetParamIntResponse'] = _GETPARAMINTRESPONSE -DESCRIPTOR.message_types_by_name['SetParamIntRequest'] = _SETPARAMINTREQUEST -DESCRIPTOR.message_types_by_name['SetParamIntResponse'] = _SETPARAMINTRESPONSE -DESCRIPTOR.message_types_by_name['GetParamFloatRequest'] = _GETPARAMFLOATREQUEST -DESCRIPTOR.message_types_by_name['GetParamFloatResponse'] = _GETPARAMFLOATRESPONSE -DESCRIPTOR.message_types_by_name['SetParamFloatRequest'] = _SETPARAMFLOATREQUEST -DESCRIPTOR.message_types_by_name['SetParamFloatResponse'] = _SETPARAMFLOATRESPONSE -DESCRIPTOR.message_types_by_name['GetAllParamsRequest'] = _GETALLPARAMSREQUEST -DESCRIPTOR.message_types_by_name['GetAllParamsResponse'] = _GETALLPARAMSRESPONSE -DESCRIPTOR.message_types_by_name['IntParam'] = _INTPARAM -DESCRIPTOR.message_types_by_name['FloatParam'] = _FLOATPARAM -DESCRIPTOR.message_types_by_name['AllParams'] = _ALLPARAMS -DESCRIPTOR.message_types_by_name['ParamResult'] = _PARAMRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_GETPARAMINTREQUEST = DESCRIPTOR.message_types_by_name['GetParamIntRequest'] +_GETPARAMINTRESPONSE = DESCRIPTOR.message_types_by_name['GetParamIntResponse'] +_SETPARAMINTREQUEST = DESCRIPTOR.message_types_by_name['SetParamIntRequest'] +_SETPARAMINTRESPONSE = DESCRIPTOR.message_types_by_name['SetParamIntResponse'] +_GETPARAMFLOATREQUEST = DESCRIPTOR.message_types_by_name['GetParamFloatRequest'] +_GETPARAMFLOATRESPONSE = DESCRIPTOR.message_types_by_name['GetParamFloatResponse'] +_SETPARAMFLOATREQUEST = DESCRIPTOR.message_types_by_name['SetParamFloatRequest'] +_SETPARAMFLOATRESPONSE = DESCRIPTOR.message_types_by_name['SetParamFloatResponse'] +_GETALLPARAMSREQUEST = DESCRIPTOR.message_types_by_name['GetAllParamsRequest'] +_GETALLPARAMSRESPONSE = DESCRIPTOR.message_types_by_name['GetAllParamsResponse'] +_INTPARAM = DESCRIPTOR.message_types_by_name['IntParam'] +_FLOATPARAM = DESCRIPTOR.message_types_by_name['FloatParam'] +_ALLPARAMS = DESCRIPTOR.message_types_by_name['AllParams'] +_PARAMRESULT = DESCRIPTOR.message_types_by_name['ParamResult'] +_PARAMRESULT_RESULT = _PARAMRESULT.enum_types_by_name['Result'] GetParamIntRequest = _reflection.GeneratedProtocolMessageType('GetParamIntRequest', (_message.Message,), { 'DESCRIPTOR' : _GETPARAMINTREQUEST, '__module__' : 'param.param_pb2' @@ -697,72 +132,51 @@ }) _sym_db.RegisterMessage(ParamResult) - -DESCRIPTOR._options = None - -_PARAMSERVICE = _descriptor.ServiceDescriptor( - name='ParamService', - full_name='mavsdk.rpc.param.ParamService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=1134, - serialized_end=1653, - methods=[ - _descriptor.MethodDescriptor( - name='GetParamInt', - full_name='mavsdk.rpc.param.ParamService.GetParamInt', - index=0, - containing_service=None, - input_type=_GETPARAMINTREQUEST, - output_type=_GETPARAMINTRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetParamInt', - full_name='mavsdk.rpc.param.ParamService.SetParamInt', - index=1, - containing_service=None, - input_type=_SETPARAMINTREQUEST, - output_type=_SETPARAMINTRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetParamFloat', - full_name='mavsdk.rpc.param.ParamService.GetParamFloat', - index=2, - containing_service=None, - input_type=_GETPARAMFLOATREQUEST, - output_type=_GETPARAMFLOATRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetParamFloat', - full_name='mavsdk.rpc.param.ParamService.SetParamFloat', - index=3, - containing_service=None, - input_type=_SETPARAMFLOATREQUEST, - output_type=_SETPARAMFLOATRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetAllParams', - full_name='mavsdk.rpc.param.ParamService.GetAllParams', - index=4, - containing_service=None, - input_type=_GETALLPARAMSREQUEST, - output_type=_GETALLPARAMSRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_PARAMSERVICE) - -DESCRIPTOR.services_by_name['ParamService'] = _PARAMSERVICE - +_PARAMSERVICE = DESCRIPTOR.services_by_name['ParamService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\017io.mavsdk.paramB\nParamProto' + _PARAMSERVICE.methods_by_name['GetParamInt']._options = None + _PARAMSERVICE.methods_by_name['GetParamInt']._serialized_options = b'\200\265\030\001' + _PARAMSERVICE.methods_by_name['SetParamInt']._options = None + _PARAMSERVICE.methods_by_name['SetParamInt']._serialized_options = b'\200\265\030\001' + _PARAMSERVICE.methods_by_name['GetParamFloat']._options = None + _PARAMSERVICE.methods_by_name['GetParamFloat']._serialized_options = b'\200\265\030\001' + _PARAMSERVICE.methods_by_name['SetParamFloat']._options = None + _PARAMSERVICE.methods_by_name['SetParamFloat']._serialized_options = b'\200\265\030\001' + _PARAMSERVICE.methods_by_name['GetAllParams']._options = None + _PARAMSERVICE.methods_by_name['GetAllParams']._serialized_options = b'\200\265\030\001' + _GETPARAMINTREQUEST._serialized_start=61 + _GETPARAMINTREQUEST._serialized_end=95 + _GETPARAMINTRESPONSE._serialized_start=97 + _GETPARAMINTRESPONSE._serialized_end=186 + _SETPARAMINTREQUEST._serialized_start=188 + _SETPARAMINTREQUEST._serialized_end=237 + _SETPARAMINTRESPONSE._serialized_start=239 + _SETPARAMINTRESPONSE._serialized_end=313 + _GETPARAMFLOATREQUEST._serialized_start=315 + _GETPARAMFLOATREQUEST._serialized_end=351 + _GETPARAMFLOATRESPONSE._serialized_start=353 + _GETPARAMFLOATRESPONSE._serialized_end=444 + _SETPARAMFLOATREQUEST._serialized_start=446 + _SETPARAMFLOATREQUEST._serialized_end=497 + _SETPARAMFLOATRESPONSE._serialized_start=499 + _SETPARAMFLOATRESPONSE._serialized_end=575 + _GETALLPARAMSREQUEST._serialized_start=577 + _GETALLPARAMSREQUEST._serialized_end=598 + _GETALLPARAMSRESPONSE._serialized_start=600 + _GETALLPARAMSRESPONSE._serialized_end=667 + _INTPARAM._serialized_start=669 + _INTPARAM._serialized_end=708 + _FLOATPARAM._serialized_start=710 + _FLOATPARAM._serialized_end=751 + _ALLPARAMS._serialized_start=753 + _ALLPARAMS._serialized_end=864 + _PARAMRESULT._serialized_start=867 + _PARAMRESULT._serialized_end=1131 + _PARAMRESULT_RESULT._serialized_start=957 + _PARAMRESULT_RESULT._serialized_end=1131 + _PARAMSERVICE._serialized_start=1134 + _PARAMSERVICE._serialized_end=1653 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/param_server_pb2.py b/mavsdk/param_server_pb2.py index e0bb2ea1..c2c7378c 100644 --- a/mavsdk/param_server_pb2.py +++ b/mavsdk/param_server_pb2.py @@ -3,6 +3,7 @@ # source: param_server/param_server.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -14,586 +15,25 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='param_server/param_server.proto', - package='mavsdk.rpc.param_server', - syntax='proto3', - serialized_options=b'\n\026io.mavsdk.param_serverB\020ParamServerProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1fparam_server/param_server.proto\x12\x17mavsdk.rpc.param_server\x1a\x14mavsdk_options.proto\"\'\n\x17RetrieveParamIntRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"r\n\x18RetrieveParamIntResponse\x12G\n\x13param_server_result\x18\x01 \x01(\x0b\x32*.mavsdk.rpc.param_server.ParamServerResult\x12\r\n\x05value\x18\x02 \x01(\x05\"5\n\x16ProvideParamIntRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05\"b\n\x17ProvideParamIntResponse\x12G\n\x13param_server_result\x18\x01 \x01(\x0b\x32*.mavsdk.rpc.param_server.ParamServerResult\")\n\x19RetrieveParamFloatRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"t\n\x1aRetrieveParamFloatResponse\x12G\n\x13param_server_result\x18\x01 \x01(\x0b\x32*.mavsdk.rpc.param_server.ParamServerResult\x12\r\n\x05value\x18\x02 \x01(\x02\"7\n\x18ProvideParamFloatRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02\"d\n\x19ProvideParamFloatResponse\x12G\n\x13param_server_result\x18\x01 \x01(\x0b\x32*.mavsdk.rpc.param_server.ParamServerResult\"\x1a\n\x18RetrieveAllParamsRequest\"O\n\x19RetrieveAllParamsResponse\x12\x32\n\x06params\x18\x01 \x01(\x0b\x32\".mavsdk.rpc.param_server.AllParams\"\'\n\x08IntParam\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05\")\n\nFloatParam\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02\"}\n\tAllParams\x12\x35\n\nint_params\x18\x01 \x03(\x0b\x32!.mavsdk.rpc.param_server.IntParam\x12\x39\n\x0c\x66loat_params\x18\x02 \x03(\x0b\x32#.mavsdk.rpc.param_server.FloatParam\"\x80\x02\n\x11ParamServerResult\x12\x41\n\x06result\x18\x01 \x01(\x0e\x32\x31.mavsdk.rpc.param_server.ParamServerResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\x93\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NOT_FOUND\x10\x02\x12\x15\n\x11RESULT_WRONG_TYPE\x10\x03\x12\x1e\n\x1aRESULT_PARAM_NAME_TOO_LONG\x10\x04\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x05\x32\x9b\x05\n\x12ParamServerService\x12}\n\x10RetrieveParamInt\x12\x30.mavsdk.rpc.param_server.RetrieveParamIntRequest\x1a\x31.mavsdk.rpc.param_server.RetrieveParamIntResponse\"\x04\x80\xb5\x18\x01\x12z\n\x0fProvideParamInt\x12/.mavsdk.rpc.param_server.ProvideParamIntRequest\x1a\x30.mavsdk.rpc.param_server.ProvideParamIntResponse\"\x04\x80\xb5\x18\x01\x12\x83\x01\n\x12RetrieveParamFloat\x12\x32.mavsdk.rpc.param_server.RetrieveParamFloatRequest\x1a\x33.mavsdk.rpc.param_server.RetrieveParamFloatResponse\"\x04\x80\xb5\x18\x01\x12\x80\x01\n\x11ProvideParamFloat\x12\x31.mavsdk.rpc.param_server.ProvideParamFloatRequest\x1a\x32.mavsdk.rpc.param_server.ProvideParamFloatResponse\"\x04\x80\xb5\x18\x01\x12\x80\x01\n\x11RetrieveAllParams\x12\x31.mavsdk.rpc.param_server.RetrieveAllParamsRequest\x1a\x32.mavsdk.rpc.param_server.RetrieveAllParamsResponse\"\x04\x80\xb5\x18\x01\x42*\n\x16io.mavsdk.param_serverB\x10ParamServerProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fparam_server/param_server.proto\x12\x17mavsdk.rpc.param_server\x1a\x14mavsdk_options.proto\"\'\n\x17RetrieveParamIntRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"r\n\x18RetrieveParamIntResponse\x12G\n\x13param_server_result\x18\x01 \x01(\x0b\x32*.mavsdk.rpc.param_server.ParamServerResult\x12\r\n\x05value\x18\x02 \x01(\x05\"5\n\x16ProvideParamIntRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05\"b\n\x17ProvideParamIntResponse\x12G\n\x13param_server_result\x18\x01 \x01(\x0b\x32*.mavsdk.rpc.param_server.ParamServerResult\")\n\x19RetrieveParamFloatRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"t\n\x1aRetrieveParamFloatResponse\x12G\n\x13param_server_result\x18\x01 \x01(\x0b\x32*.mavsdk.rpc.param_server.ParamServerResult\x12\r\n\x05value\x18\x02 \x01(\x02\"7\n\x18ProvideParamFloatRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02\"d\n\x19ProvideParamFloatResponse\x12G\n\x13param_server_result\x18\x01 \x01(\x0b\x32*.mavsdk.rpc.param_server.ParamServerResult\"\x1a\n\x18RetrieveAllParamsRequest\"O\n\x19RetrieveAllParamsResponse\x12\x32\n\x06params\x18\x01 \x01(\x0b\x32\".mavsdk.rpc.param_server.AllParams\"\'\n\x08IntParam\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05\")\n\nFloatParam\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02\"}\n\tAllParams\x12\x35\n\nint_params\x18\x01 \x03(\x0b\x32!.mavsdk.rpc.param_server.IntParam\x12\x39\n\x0c\x66loat_params\x18\x02 \x03(\x0b\x32#.mavsdk.rpc.param_server.FloatParam\"\x80\x02\n\x11ParamServerResult\x12\x41\n\x06result\x18\x01 \x01(\x0e\x32\x31.mavsdk.rpc.param_server.ParamServerResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\x93\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NOT_FOUND\x10\x02\x12\x15\n\x11RESULT_WRONG_TYPE\x10\x03\x12\x1e\n\x1aRESULT_PARAM_NAME_TOO_LONG\x10\x04\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x05\x32\x9b\x05\n\x12ParamServerService\x12}\n\x10RetrieveParamInt\x12\x30.mavsdk.rpc.param_server.RetrieveParamIntRequest\x1a\x31.mavsdk.rpc.param_server.RetrieveParamIntResponse\"\x04\x80\xb5\x18\x01\x12z\n\x0fProvideParamInt\x12/.mavsdk.rpc.param_server.ProvideParamIntRequest\x1a\x30.mavsdk.rpc.param_server.ProvideParamIntResponse\"\x04\x80\xb5\x18\x01\x12\x83\x01\n\x12RetrieveParamFloat\x12\x32.mavsdk.rpc.param_server.RetrieveParamFloatRequest\x1a\x33.mavsdk.rpc.param_server.RetrieveParamFloatResponse\"\x04\x80\xb5\x18\x01\x12\x80\x01\n\x11ProvideParamFloat\x12\x31.mavsdk.rpc.param_server.ProvideParamFloatRequest\x1a\x32.mavsdk.rpc.param_server.ProvideParamFloatResponse\"\x04\x80\xb5\x18\x01\x12\x80\x01\n\x11RetrieveAllParams\x12\x31.mavsdk.rpc.param_server.RetrieveAllParamsRequest\x1a\x32.mavsdk.rpc.param_server.RetrieveAllParamsResponse\"\x04\x80\xb5\x18\x01\x42*\n\x16io.mavsdk.param_serverB\x10ParamServerProtob\x06proto3') -_PARAMSERVERRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.param_server.ParamServerResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NOT_FOUND', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_WRONG_TYPE', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_PARAM_NAME_TOO_LONG', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=1144, - serialized_end=1291, -) -_sym_db.RegisterEnumDescriptor(_PARAMSERVERRESULT_RESULT) - - -_RETRIEVEPARAMINTREQUEST = _descriptor.Descriptor( - name='RetrieveParamIntRequest', - full_name='mavsdk.rpc.param_server.RetrieveParamIntRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='mavsdk.rpc.param_server.RetrieveParamIntRequest.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=82, - serialized_end=121, -) - - -_RETRIEVEPARAMINTRESPONSE = _descriptor.Descriptor( - name='RetrieveParamIntResponse', - full_name='mavsdk.rpc.param_server.RetrieveParamIntResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='param_server_result', full_name='mavsdk.rpc.param_server.RetrieveParamIntResponse.param_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='mavsdk.rpc.param_server.RetrieveParamIntResponse.value', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=123, - serialized_end=237, -) - - -_PROVIDEPARAMINTREQUEST = _descriptor.Descriptor( - name='ProvideParamIntRequest', - full_name='mavsdk.rpc.param_server.ProvideParamIntRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='mavsdk.rpc.param_server.ProvideParamIntRequest.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='mavsdk.rpc.param_server.ProvideParamIntRequest.value', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=239, - serialized_end=292, -) - - -_PROVIDEPARAMINTRESPONSE = _descriptor.Descriptor( - name='ProvideParamIntResponse', - full_name='mavsdk.rpc.param_server.ProvideParamIntResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='param_server_result', full_name='mavsdk.rpc.param_server.ProvideParamIntResponse.param_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=294, - serialized_end=392, -) - - -_RETRIEVEPARAMFLOATREQUEST = _descriptor.Descriptor( - name='RetrieveParamFloatRequest', - full_name='mavsdk.rpc.param_server.RetrieveParamFloatRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='mavsdk.rpc.param_server.RetrieveParamFloatRequest.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=394, - serialized_end=435, -) - - -_RETRIEVEPARAMFLOATRESPONSE = _descriptor.Descriptor( - name='RetrieveParamFloatResponse', - full_name='mavsdk.rpc.param_server.RetrieveParamFloatResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='param_server_result', full_name='mavsdk.rpc.param_server.RetrieveParamFloatResponse.param_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='mavsdk.rpc.param_server.RetrieveParamFloatResponse.value', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=437, - serialized_end=553, -) - - -_PROVIDEPARAMFLOATREQUEST = _descriptor.Descriptor( - name='ProvideParamFloatRequest', - full_name='mavsdk.rpc.param_server.ProvideParamFloatRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='mavsdk.rpc.param_server.ProvideParamFloatRequest.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='mavsdk.rpc.param_server.ProvideParamFloatRequest.value', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=555, - serialized_end=610, -) - - -_PROVIDEPARAMFLOATRESPONSE = _descriptor.Descriptor( - name='ProvideParamFloatResponse', - full_name='mavsdk.rpc.param_server.ProvideParamFloatResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='param_server_result', full_name='mavsdk.rpc.param_server.ProvideParamFloatResponse.param_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=612, - serialized_end=712, -) - - -_RETRIEVEALLPARAMSREQUEST = _descriptor.Descriptor( - name='RetrieveAllParamsRequest', - full_name='mavsdk.rpc.param_server.RetrieveAllParamsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=714, - serialized_end=740, -) - - -_RETRIEVEALLPARAMSRESPONSE = _descriptor.Descriptor( - name='RetrieveAllParamsResponse', - full_name='mavsdk.rpc.param_server.RetrieveAllParamsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='params', full_name='mavsdk.rpc.param_server.RetrieveAllParamsResponse.params', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=742, - serialized_end=821, -) - - -_INTPARAM = _descriptor.Descriptor( - name='IntParam', - full_name='mavsdk.rpc.param_server.IntParam', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='mavsdk.rpc.param_server.IntParam.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='mavsdk.rpc.param_server.IntParam.value', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=823, - serialized_end=862, -) - - -_FLOATPARAM = _descriptor.Descriptor( - name='FloatParam', - full_name='mavsdk.rpc.param_server.FloatParam', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='mavsdk.rpc.param_server.FloatParam.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='mavsdk.rpc.param_server.FloatParam.value', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=864, - serialized_end=905, -) - - -_ALLPARAMS = _descriptor.Descriptor( - name='AllParams', - full_name='mavsdk.rpc.param_server.AllParams', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='int_params', full_name='mavsdk.rpc.param_server.AllParams.int_params', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='float_params', full_name='mavsdk.rpc.param_server.AllParams.float_params', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=907, - serialized_end=1032, -) - - -_PARAMSERVERRESULT = _descriptor.Descriptor( - name='ParamServerResult', - full_name='mavsdk.rpc.param_server.ParamServerResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.param_server.ParamServerResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.param_server.ParamServerResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PARAMSERVERRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1035, - serialized_end=1291, -) - -_RETRIEVEPARAMINTRESPONSE.fields_by_name['param_server_result'].message_type = _PARAMSERVERRESULT -_PROVIDEPARAMINTRESPONSE.fields_by_name['param_server_result'].message_type = _PARAMSERVERRESULT -_RETRIEVEPARAMFLOATRESPONSE.fields_by_name['param_server_result'].message_type = _PARAMSERVERRESULT -_PROVIDEPARAMFLOATRESPONSE.fields_by_name['param_server_result'].message_type = _PARAMSERVERRESULT -_RETRIEVEALLPARAMSRESPONSE.fields_by_name['params'].message_type = _ALLPARAMS -_ALLPARAMS.fields_by_name['int_params'].message_type = _INTPARAM -_ALLPARAMS.fields_by_name['float_params'].message_type = _FLOATPARAM -_PARAMSERVERRESULT.fields_by_name['result'].enum_type = _PARAMSERVERRESULT_RESULT -_PARAMSERVERRESULT_RESULT.containing_type = _PARAMSERVERRESULT -DESCRIPTOR.message_types_by_name['RetrieveParamIntRequest'] = _RETRIEVEPARAMINTREQUEST -DESCRIPTOR.message_types_by_name['RetrieveParamIntResponse'] = _RETRIEVEPARAMINTRESPONSE -DESCRIPTOR.message_types_by_name['ProvideParamIntRequest'] = _PROVIDEPARAMINTREQUEST -DESCRIPTOR.message_types_by_name['ProvideParamIntResponse'] = _PROVIDEPARAMINTRESPONSE -DESCRIPTOR.message_types_by_name['RetrieveParamFloatRequest'] = _RETRIEVEPARAMFLOATREQUEST -DESCRIPTOR.message_types_by_name['RetrieveParamFloatResponse'] = _RETRIEVEPARAMFLOATRESPONSE -DESCRIPTOR.message_types_by_name['ProvideParamFloatRequest'] = _PROVIDEPARAMFLOATREQUEST -DESCRIPTOR.message_types_by_name['ProvideParamFloatResponse'] = _PROVIDEPARAMFLOATRESPONSE -DESCRIPTOR.message_types_by_name['RetrieveAllParamsRequest'] = _RETRIEVEALLPARAMSREQUEST -DESCRIPTOR.message_types_by_name['RetrieveAllParamsResponse'] = _RETRIEVEALLPARAMSRESPONSE -DESCRIPTOR.message_types_by_name['IntParam'] = _INTPARAM -DESCRIPTOR.message_types_by_name['FloatParam'] = _FLOATPARAM -DESCRIPTOR.message_types_by_name['AllParams'] = _ALLPARAMS -DESCRIPTOR.message_types_by_name['ParamServerResult'] = _PARAMSERVERRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_RETRIEVEPARAMINTREQUEST = DESCRIPTOR.message_types_by_name['RetrieveParamIntRequest'] +_RETRIEVEPARAMINTRESPONSE = DESCRIPTOR.message_types_by_name['RetrieveParamIntResponse'] +_PROVIDEPARAMINTREQUEST = DESCRIPTOR.message_types_by_name['ProvideParamIntRequest'] +_PROVIDEPARAMINTRESPONSE = DESCRIPTOR.message_types_by_name['ProvideParamIntResponse'] +_RETRIEVEPARAMFLOATREQUEST = DESCRIPTOR.message_types_by_name['RetrieveParamFloatRequest'] +_RETRIEVEPARAMFLOATRESPONSE = DESCRIPTOR.message_types_by_name['RetrieveParamFloatResponse'] +_PROVIDEPARAMFLOATREQUEST = DESCRIPTOR.message_types_by_name['ProvideParamFloatRequest'] +_PROVIDEPARAMFLOATRESPONSE = DESCRIPTOR.message_types_by_name['ProvideParamFloatResponse'] +_RETRIEVEALLPARAMSREQUEST = DESCRIPTOR.message_types_by_name['RetrieveAllParamsRequest'] +_RETRIEVEALLPARAMSRESPONSE = DESCRIPTOR.message_types_by_name['RetrieveAllParamsResponse'] +_INTPARAM = DESCRIPTOR.message_types_by_name['IntParam'] +_FLOATPARAM = DESCRIPTOR.message_types_by_name['FloatParam'] +_ALLPARAMS = DESCRIPTOR.message_types_by_name['AllParams'] +_PARAMSERVERRESULT = DESCRIPTOR.message_types_by_name['ParamServerResult'] +_PARAMSERVERRESULT_RESULT = _PARAMSERVERRESULT.enum_types_by_name['Result'] RetrieveParamIntRequest = _reflection.GeneratedProtocolMessageType('RetrieveParamIntRequest', (_message.Message,), { 'DESCRIPTOR' : _RETRIEVEPARAMINTREQUEST, '__module__' : 'param_server.param_server_pb2' @@ -692,72 +132,51 @@ }) _sym_db.RegisterMessage(ParamServerResult) - -DESCRIPTOR._options = None - -_PARAMSERVERSERVICE = _descriptor.ServiceDescriptor( - name='ParamServerService', - full_name='mavsdk.rpc.param_server.ParamServerService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=1294, - serialized_end=1961, - methods=[ - _descriptor.MethodDescriptor( - name='RetrieveParamInt', - full_name='mavsdk.rpc.param_server.ParamServerService.RetrieveParamInt', - index=0, - containing_service=None, - input_type=_RETRIEVEPARAMINTREQUEST, - output_type=_RETRIEVEPARAMINTRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ProvideParamInt', - full_name='mavsdk.rpc.param_server.ParamServerService.ProvideParamInt', - index=1, - containing_service=None, - input_type=_PROVIDEPARAMINTREQUEST, - output_type=_PROVIDEPARAMINTRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='RetrieveParamFloat', - full_name='mavsdk.rpc.param_server.ParamServerService.RetrieveParamFloat', - index=2, - containing_service=None, - input_type=_RETRIEVEPARAMFLOATREQUEST, - output_type=_RETRIEVEPARAMFLOATRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ProvideParamFloat', - full_name='mavsdk.rpc.param_server.ParamServerService.ProvideParamFloat', - index=3, - containing_service=None, - input_type=_PROVIDEPARAMFLOATREQUEST, - output_type=_PROVIDEPARAMFLOATRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='RetrieveAllParams', - full_name='mavsdk.rpc.param_server.ParamServerService.RetrieveAllParams', - index=4, - containing_service=None, - input_type=_RETRIEVEALLPARAMSREQUEST, - output_type=_RETRIEVEALLPARAMSRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_PARAMSERVERSERVICE) - -DESCRIPTOR.services_by_name['ParamServerService'] = _PARAMSERVERSERVICE - +_PARAMSERVERSERVICE = DESCRIPTOR.services_by_name['ParamServerService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\026io.mavsdk.param_serverB\020ParamServerProto' + _PARAMSERVERSERVICE.methods_by_name['RetrieveParamInt']._options = None + _PARAMSERVERSERVICE.methods_by_name['RetrieveParamInt']._serialized_options = b'\200\265\030\001' + _PARAMSERVERSERVICE.methods_by_name['ProvideParamInt']._options = None + _PARAMSERVERSERVICE.methods_by_name['ProvideParamInt']._serialized_options = b'\200\265\030\001' + _PARAMSERVERSERVICE.methods_by_name['RetrieveParamFloat']._options = None + _PARAMSERVERSERVICE.methods_by_name['RetrieveParamFloat']._serialized_options = b'\200\265\030\001' + _PARAMSERVERSERVICE.methods_by_name['ProvideParamFloat']._options = None + _PARAMSERVERSERVICE.methods_by_name['ProvideParamFloat']._serialized_options = b'\200\265\030\001' + _PARAMSERVERSERVICE.methods_by_name['RetrieveAllParams']._options = None + _PARAMSERVERSERVICE.methods_by_name['RetrieveAllParams']._serialized_options = b'\200\265\030\001' + _RETRIEVEPARAMINTREQUEST._serialized_start=82 + _RETRIEVEPARAMINTREQUEST._serialized_end=121 + _RETRIEVEPARAMINTRESPONSE._serialized_start=123 + _RETRIEVEPARAMINTRESPONSE._serialized_end=237 + _PROVIDEPARAMINTREQUEST._serialized_start=239 + _PROVIDEPARAMINTREQUEST._serialized_end=292 + _PROVIDEPARAMINTRESPONSE._serialized_start=294 + _PROVIDEPARAMINTRESPONSE._serialized_end=392 + _RETRIEVEPARAMFLOATREQUEST._serialized_start=394 + _RETRIEVEPARAMFLOATREQUEST._serialized_end=435 + _RETRIEVEPARAMFLOATRESPONSE._serialized_start=437 + _RETRIEVEPARAMFLOATRESPONSE._serialized_end=553 + _PROVIDEPARAMFLOATREQUEST._serialized_start=555 + _PROVIDEPARAMFLOATREQUEST._serialized_end=610 + _PROVIDEPARAMFLOATRESPONSE._serialized_start=612 + _PROVIDEPARAMFLOATRESPONSE._serialized_end=712 + _RETRIEVEALLPARAMSREQUEST._serialized_start=714 + _RETRIEVEALLPARAMSREQUEST._serialized_end=740 + _RETRIEVEALLPARAMSRESPONSE._serialized_start=742 + _RETRIEVEALLPARAMSRESPONSE._serialized_end=821 + _INTPARAM._serialized_start=823 + _INTPARAM._serialized_end=862 + _FLOATPARAM._serialized_start=864 + _FLOATPARAM._serialized_end=905 + _ALLPARAMS._serialized_start=907 + _ALLPARAMS._serialized_end=1032 + _PARAMSERVERRESULT._serialized_start=1035 + _PARAMSERVERRESULT._serialized_end=1291 + _PARAMSERVERRESULT_RESULT._serialized_start=1144 + _PARAMSERVERRESULT_RESULT._serialized_end=1291 + _PARAMSERVERSERVICE._serialized_start=1294 + _PARAMSERVERSERVICE._serialized_end=1961 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/server_utility_pb2.py b/mavsdk/server_utility_pb2.py index c18e2d2f..9ac14b7d 100644 --- a/mavsdk/server_utility_pb2.py +++ b/mavsdk/server_utility_pb2.py @@ -4,6 +4,7 @@ """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -15,71 +16,9 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='server_utility/server_utility.proto', - package='mavsdk.rpc.server_utility', - syntax='proto3', - serialized_options=b'\n\030io.mavsdk.server_utilityB\022ServerUtilityProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n#server_utility/server_utility.proto\x12\x19mavsdk.rpc.server_utility\x1a\x14mavsdk_options.proto\"^\n\x15SendStatusTextRequest\x12\x37\n\x04type\x18\x01 \x01(\x0e\x32).mavsdk.rpc.server_utility.StatusTextType\x12\x0c\n\x04text\x18\x02 \x01(\t\"g\n\x16SendStatusTextResponse\x12M\n\x15server_utility_result\x18\x01 \x01(\x0b\x32..mavsdk.rpc.server_utility.ServerUtilityResult\"\xf3\x01\n\x13ServerUtilityResult\x12\x45\n\x06result\x18\x01 \x01(\x0e\x32\x35.mavsdk.rpc.server_utility.ServerUtilityResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\x80\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x1b\n\x17RESULT_INVALID_ARGUMENT\x10\x04*\xf9\x01\n\x0eStatusTextType\x12\x1a\n\x16STATUS_TEXT_TYPE_DEBUG\x10\x00\x12\x19\n\x15STATUS_TEXT_TYPE_INFO\x10\x01\x12\x1b\n\x17STATUS_TEXT_TYPE_NOTICE\x10\x02\x12\x1c\n\x18STATUS_TEXT_TYPE_WARNING\x10\x03\x12\x1a\n\x16STATUS_TEXT_TYPE_ERROR\x10\x04\x12\x1d\n\x19STATUS_TEXT_TYPE_CRITICAL\x10\x05\x12\x1a\n\x16STATUS_TEXT_TYPE_ALERT\x10\x06\x12\x1e\n\x1aSTATUS_TEXT_TYPE_EMERGENCY\x10\x07\x32\x93\x01\n\x14ServerUtilityService\x12{\n\x0eSendStatusText\x12\x30.mavsdk.rpc.server_utility.SendStatusTextRequest\x1a\x31.mavsdk.rpc.server_utility.SendStatusTextResponse\"\x04\x80\xb5\x18\x01\x42.\n\x18io.mavsdk.server_utilityB\x12ServerUtilityProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) - -_STATUSTEXTTYPE = _descriptor.EnumDescriptor( - name='StatusTextType', - full_name='mavsdk.rpc.server_utility.StatusTextType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_DEBUG', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_INFO', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_NOTICE', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_WARNING', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_ERROR', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_CRITICAL', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_ALERT', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_EMERGENCY', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=536, - serialized_end=785, -) -_sym_db.RegisterEnumDescriptor(_STATUSTEXTTYPE) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#server_utility/server_utility.proto\x12\x19mavsdk.rpc.server_utility\x1a\x14mavsdk_options.proto\"^\n\x15SendStatusTextRequest\x12\x37\n\x04type\x18\x01 \x01(\x0e\x32).mavsdk.rpc.server_utility.StatusTextType\x12\x0c\n\x04text\x18\x02 \x01(\t\"g\n\x16SendStatusTextResponse\x12M\n\x15server_utility_result\x18\x01 \x01(\x0b\x32..mavsdk.rpc.server_utility.ServerUtilityResult\"\xf3\x01\n\x13ServerUtilityResult\x12\x45\n\x06result\x18\x01 \x01(\x0e\x32\x35.mavsdk.rpc.server_utility.ServerUtilityResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\x80\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x1b\n\x17RESULT_INVALID_ARGUMENT\x10\x04*\xf9\x01\n\x0eStatusTextType\x12\x1a\n\x16STATUS_TEXT_TYPE_DEBUG\x10\x00\x12\x19\n\x15STATUS_TEXT_TYPE_INFO\x10\x01\x12\x1b\n\x17STATUS_TEXT_TYPE_NOTICE\x10\x02\x12\x1c\n\x18STATUS_TEXT_TYPE_WARNING\x10\x03\x12\x1a\n\x16STATUS_TEXT_TYPE_ERROR\x10\x04\x12\x1d\n\x19STATUS_TEXT_TYPE_CRITICAL\x10\x05\x12\x1a\n\x16STATUS_TEXT_TYPE_ALERT\x10\x06\x12\x1e\n\x1aSTATUS_TEXT_TYPE_EMERGENCY\x10\x07\x32\x93\x01\n\x14ServerUtilityService\x12{\n\x0eSendStatusText\x12\x30.mavsdk.rpc.server_utility.SendStatusTextRequest\x1a\x31.mavsdk.rpc.server_utility.SendStatusTextResponse\"\x04\x80\xb5\x18\x01\x42.\n\x18io.mavsdk.server_utilityB\x12ServerUtilityProtob\x06proto3') +_STATUSTEXTTYPE = DESCRIPTOR.enum_types_by_name['StatusTextType'] StatusTextType = enum_type_wrapper.EnumTypeWrapper(_STATUSTEXTTYPE) STATUS_TEXT_TYPE_DEBUG = 0 STATUS_TEXT_TYPE_INFO = 1 @@ -91,167 +30,10 @@ STATUS_TEXT_TYPE_EMERGENCY = 7 -_SERVERUTILITYRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.server_utility.ServerUtilityResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_CONNECTION_ERROR', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_INVALID_ARGUMENT', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=405, - serialized_end=533, -) -_sym_db.RegisterEnumDescriptor(_SERVERUTILITYRESULT_RESULT) - - -_SENDSTATUSTEXTREQUEST = _descriptor.Descriptor( - name='SendStatusTextRequest', - full_name='mavsdk.rpc.server_utility.SendStatusTextRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='mavsdk.rpc.server_utility.SendStatusTextRequest.type', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='text', full_name='mavsdk.rpc.server_utility.SendStatusTextRequest.text', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=88, - serialized_end=182, -) - - -_SENDSTATUSTEXTRESPONSE = _descriptor.Descriptor( - name='SendStatusTextResponse', - full_name='mavsdk.rpc.server_utility.SendStatusTextResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='server_utility_result', full_name='mavsdk.rpc.server_utility.SendStatusTextResponse.server_utility_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=184, - serialized_end=287, -) - - -_SERVERUTILITYRESULT = _descriptor.Descriptor( - name='ServerUtilityResult', - full_name='mavsdk.rpc.server_utility.ServerUtilityResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.server_utility.ServerUtilityResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.server_utility.ServerUtilityResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SERVERUTILITYRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=290, - serialized_end=533, -) - -_SENDSTATUSTEXTREQUEST.fields_by_name['type'].enum_type = _STATUSTEXTTYPE -_SENDSTATUSTEXTRESPONSE.fields_by_name['server_utility_result'].message_type = _SERVERUTILITYRESULT -_SERVERUTILITYRESULT.fields_by_name['result'].enum_type = _SERVERUTILITYRESULT_RESULT -_SERVERUTILITYRESULT_RESULT.containing_type = _SERVERUTILITYRESULT -DESCRIPTOR.message_types_by_name['SendStatusTextRequest'] = _SENDSTATUSTEXTREQUEST -DESCRIPTOR.message_types_by_name['SendStatusTextResponse'] = _SENDSTATUSTEXTRESPONSE -DESCRIPTOR.message_types_by_name['ServerUtilityResult'] = _SERVERUTILITYRESULT -DESCRIPTOR.enum_types_by_name['StatusTextType'] = _STATUSTEXTTYPE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_SENDSTATUSTEXTREQUEST = DESCRIPTOR.message_types_by_name['SendStatusTextRequest'] +_SENDSTATUSTEXTRESPONSE = DESCRIPTOR.message_types_by_name['SendStatusTextResponse'] +_SERVERUTILITYRESULT = DESCRIPTOR.message_types_by_name['ServerUtilityResult'] +_SERVERUTILITYRESULT_RESULT = _SERVERUTILITYRESULT.enum_types_by_name['Result'] SendStatusTextRequest = _reflection.GeneratedProtocolMessageType('SendStatusTextRequest', (_message.Message,), { 'DESCRIPTOR' : _SENDSTATUSTEXTREQUEST, '__module__' : 'server_utility.server_utility_pb2' @@ -273,32 +55,23 @@ }) _sym_db.RegisterMessage(ServerUtilityResult) - -DESCRIPTOR._options = None - -_SERVERUTILITYSERVICE = _descriptor.ServiceDescriptor( - name='ServerUtilityService', - full_name='mavsdk.rpc.server_utility.ServerUtilityService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=788, - serialized_end=935, - methods=[ - _descriptor.MethodDescriptor( - name='SendStatusText', - full_name='mavsdk.rpc.server_utility.ServerUtilityService.SendStatusText', - index=0, - containing_service=None, - input_type=_SENDSTATUSTEXTREQUEST, - output_type=_SENDSTATUSTEXTRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_SERVERUTILITYSERVICE) - -DESCRIPTOR.services_by_name['ServerUtilityService'] = _SERVERUTILITYSERVICE - +_SERVERUTILITYSERVICE = DESCRIPTOR.services_by_name['ServerUtilityService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\030io.mavsdk.server_utilityB\022ServerUtilityProto' + _SERVERUTILITYSERVICE.methods_by_name['SendStatusText']._options = None + _SERVERUTILITYSERVICE.methods_by_name['SendStatusText']._serialized_options = b'\200\265\030\001' + _STATUSTEXTTYPE._serialized_start=536 + _STATUSTEXTTYPE._serialized_end=785 + _SENDSTATUSTEXTREQUEST._serialized_start=88 + _SENDSTATUSTEXTREQUEST._serialized_end=182 + _SENDSTATUSTEXTRESPONSE._serialized_start=184 + _SENDSTATUSTEXTRESPONSE._serialized_end=287 + _SERVERUTILITYRESULT._serialized_start=290 + _SERVERUTILITYRESULT._serialized_end=533 + _SERVERUTILITYRESULT_RESULT._serialized_start=405 + _SERVERUTILITYRESULT_RESULT._serialized_end=533 + _SERVERUTILITYSERVICE._serialized_start=788 + _SERVERUTILITYSERVICE._serialized_end=935 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/shell_pb2.py b/mavsdk/shell_pb2.py index 4a3bf2f8..d7139e0a 100644 --- a/mavsdk/shell_pb2.py +++ b/mavsdk/shell_pb2.py @@ -3,6 +3,7 @@ # source: shell/shell.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -14,234 +15,16 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='shell/shell.proto', - package='mavsdk.rpc.shell', - syntax='proto3', - serialized_options=b'\n\017io.mavsdk.shellB\nShellProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x11shell/shell.proto\x12\x10mavsdk.rpc.shell\x1a\x14mavsdk_options.proto\"\x1e\n\x0bSendRequest\x12\x0f\n\x07\x63ommand\x18\x01 \x01(\t\"C\n\x0cSendResponse\x12\x33\n\x0cshell_result\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.shell.ShellResult\"\x19\n\x17SubscribeReceiveRequest\"\x1f\n\x0fReceiveResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\t\"\xe6\x01\n\x0bShellResult\x12\x34\n\x06result\x18\x01 \x01(\x0e\x32$.mavsdk.rpc.shell.ShellResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\x8c\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x16\n\x12RESULT_NO_RESPONSE\x10\x04\x12\x0f\n\x0bRESULT_BUSY\x10\x05\x32\xc5\x01\n\x0cShellService\x12K\n\x04Send\x12\x1d.mavsdk.rpc.shell.SendRequest\x1a\x1e.mavsdk.rpc.shell.SendResponse\"\x04\x80\xb5\x18\x01\x12h\n\x10SubscribeReceive\x12).mavsdk.rpc.shell.SubscribeReceiveRequest\x1a!.mavsdk.rpc.shell.ReceiveResponse\"\x04\x80\xb5\x18\x00\x30\x01\x42\x1d\n\x0fio.mavsdk.shellB\nShellProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11shell/shell.proto\x12\x10mavsdk.rpc.shell\x1a\x14mavsdk_options.proto\"\x1e\n\x0bSendRequest\x12\x0f\n\x07\x63ommand\x18\x01 \x01(\t\"C\n\x0cSendResponse\x12\x33\n\x0cshell_result\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.shell.ShellResult\"\x19\n\x17SubscribeReceiveRequest\"\x1f\n\x0fReceiveResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\t\"\xe6\x01\n\x0bShellResult\x12\x34\n\x06result\x18\x01 \x01(\x0e\x32$.mavsdk.rpc.shell.ShellResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\x8c\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x16\n\x12RESULT_NO_RESPONSE\x10\x04\x12\x0f\n\x0bRESULT_BUSY\x10\x05\x32\xc5\x01\n\x0cShellService\x12K\n\x04Send\x12\x1d.mavsdk.rpc.shell.SendRequest\x1a\x1e.mavsdk.rpc.shell.SendResponse\"\x04\x80\xb5\x18\x01\x12h\n\x10SubscribeReceive\x12).mavsdk.rpc.shell.SubscribeReceiveRequest\x1a!.mavsdk.rpc.shell.ReceiveResponse\"\x04\x80\xb5\x18\x00\x30\x01\x42\x1d\n\x0fio.mavsdk.shellB\nShellProtob\x06proto3') -_SHELLRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.shell.ShellResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_CONNECTION_ERROR', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_RESPONSE', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_BUSY', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=313, - serialized_end=453, -) -_sym_db.RegisterEnumDescriptor(_SHELLRESULT_RESULT) - - -_SENDREQUEST = _descriptor.Descriptor( - name='SendRequest', - full_name='mavsdk.rpc.shell.SendRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='command', full_name='mavsdk.rpc.shell.SendRequest.command', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=61, - serialized_end=91, -) - - -_SENDRESPONSE = _descriptor.Descriptor( - name='SendResponse', - full_name='mavsdk.rpc.shell.SendResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='shell_result', full_name='mavsdk.rpc.shell.SendResponse.shell_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=93, - serialized_end=160, -) - - -_SUBSCRIBERECEIVEREQUEST = _descriptor.Descriptor( - name='SubscribeReceiveRequest', - full_name='mavsdk.rpc.shell.SubscribeReceiveRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=162, - serialized_end=187, -) - - -_RECEIVERESPONSE = _descriptor.Descriptor( - name='ReceiveResponse', - full_name='mavsdk.rpc.shell.ReceiveResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='data', full_name='mavsdk.rpc.shell.ReceiveResponse.data', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=189, - serialized_end=220, -) - - -_SHELLRESULT = _descriptor.Descriptor( - name='ShellResult', - full_name='mavsdk.rpc.shell.ShellResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.shell.ShellResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.shell.ShellResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SHELLRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=223, - serialized_end=453, -) - -_SENDRESPONSE.fields_by_name['shell_result'].message_type = _SHELLRESULT -_SHELLRESULT.fields_by_name['result'].enum_type = _SHELLRESULT_RESULT -_SHELLRESULT_RESULT.containing_type = _SHELLRESULT -DESCRIPTOR.message_types_by_name['SendRequest'] = _SENDREQUEST -DESCRIPTOR.message_types_by_name['SendResponse'] = _SENDRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeReceiveRequest'] = _SUBSCRIBERECEIVEREQUEST -DESCRIPTOR.message_types_by_name['ReceiveResponse'] = _RECEIVERESPONSE -DESCRIPTOR.message_types_by_name['ShellResult'] = _SHELLRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_SENDREQUEST = DESCRIPTOR.message_types_by_name['SendRequest'] +_SENDRESPONSE = DESCRIPTOR.message_types_by_name['SendResponse'] +_SUBSCRIBERECEIVEREQUEST = DESCRIPTOR.message_types_by_name['SubscribeReceiveRequest'] +_RECEIVERESPONSE = DESCRIPTOR.message_types_by_name['ReceiveResponse'] +_SHELLRESULT = DESCRIPTOR.message_types_by_name['ShellResult'] +_SHELLRESULT_RESULT = _SHELLRESULT.enum_types_by_name['Result'] SendRequest = _reflection.GeneratedProtocolMessageType('SendRequest', (_message.Message,), { 'DESCRIPTOR' : _SENDREQUEST, '__module__' : 'shell.shell_pb2' @@ -277,42 +60,27 @@ }) _sym_db.RegisterMessage(ShellResult) - -DESCRIPTOR._options = None - -_SHELLSERVICE = _descriptor.ServiceDescriptor( - name='ShellService', - full_name='mavsdk.rpc.shell.ShellService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=456, - serialized_end=653, - methods=[ - _descriptor.MethodDescriptor( - name='Send', - full_name='mavsdk.rpc.shell.ShellService.Send', - index=0, - containing_service=None, - input_type=_SENDREQUEST, - output_type=_SENDRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeReceive', - full_name='mavsdk.rpc.shell.ShellService.SubscribeReceive', - index=1, - containing_service=None, - input_type=_SUBSCRIBERECEIVEREQUEST, - output_type=_RECEIVERESPONSE, - serialized_options=b'\200\265\030\000', - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_SHELLSERVICE) - -DESCRIPTOR.services_by_name['ShellService'] = _SHELLSERVICE - +_SHELLSERVICE = DESCRIPTOR.services_by_name['ShellService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\017io.mavsdk.shellB\nShellProto' + _SHELLSERVICE.methods_by_name['Send']._options = None + _SHELLSERVICE.methods_by_name['Send']._serialized_options = b'\200\265\030\001' + _SHELLSERVICE.methods_by_name['SubscribeReceive']._options = None + _SHELLSERVICE.methods_by_name['SubscribeReceive']._serialized_options = b'\200\265\030\000' + _SENDREQUEST._serialized_start=61 + _SENDREQUEST._serialized_end=91 + _SENDRESPONSE._serialized_start=93 + _SENDRESPONSE._serialized_end=160 + _SUBSCRIBERECEIVEREQUEST._serialized_start=162 + _SUBSCRIBERECEIVEREQUEST._serialized_end=187 + _RECEIVERESPONSE._serialized_start=189 + _RECEIVERESPONSE._serialized_end=220 + _SHELLRESULT._serialized_start=223 + _SHELLRESULT._serialized_end=453 + _SHELLRESULT_RESULT._serialized_start=313 + _SHELLRESULT_RESULT._serialized_end=453 + _SHELLSERVICE._serialized_start=456 + _SHELLSERVICE._serialized_end=653 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/source/plugins/component_information.rst b/mavsdk/source/plugins/component_information.rst new file mode 100644 index 00000000..e2276fbb --- /dev/null +++ b/mavsdk/source/plugins/component_information.rst @@ -0,0 +1,8 @@ +ComponentInformation +==== + +.. automodule:: mavsdk.component_information + :members: + :undoc-members: + :show-inheritance: + :exclude-members: translate_from_rpc, translate_to_rpc \ No newline at end of file diff --git a/mavsdk/source/plugins/component_information_server.rst b/mavsdk/source/plugins/component_information_server.rst new file mode 100644 index 00000000..f9aa02ee --- /dev/null +++ b/mavsdk/source/plugins/component_information_server.rst @@ -0,0 +1,8 @@ +ComponentInformationServer +==== + +.. automodule:: mavsdk.component_information_server + :members: + :undoc-members: + :show-inheritance: + :exclude-members: translate_from_rpc, translate_to_rpc \ No newline at end of file diff --git a/mavsdk/source/plugins/index.rst b/mavsdk/source/plugins/index.rst index fbc1ad9f..6c8771ac 100644 --- a/mavsdk/source/plugins/index.rst +++ b/mavsdk/source/plugins/index.rst @@ -5,9 +5,13 @@ Plugins :maxdepth: 5 action + action_server calibration camera core + component_information + component_information_server + failure follow_me ftp geofence @@ -17,17 +21,15 @@ Plugins manual_control mission mission_raw + mission_raw_server mocap offboard param + param_server + server_utility shell telemetry - tune - failure + telemetry_server tracking_server - server_utility transponder - param_server - telemetry_server - action_server - mission_raw_server + tune diff --git a/mavsdk/system.py b/mavsdk/system.py index 7f5ceb18..c035434d 100644 --- a/mavsdk/system.py +++ b/mavsdk/system.py @@ -6,9 +6,12 @@ from .async_plugin_manager import AsyncPluginManager from . import action +from . import action_server from . import calibration from . import camera from . import core +from . import component_information +from . import component_information_server from . import failure from . import follow_me from . import ftp @@ -19,9 +22,11 @@ from . import manual_control from . import mission from . import mission_raw +from . import mission_raw_server from . import mocap from . import offboard from . import param +from . import param_server from . import server_utility from . import shell from . import telemetry @@ -122,9 +127,12 @@ async def _init_plugins(self, host, port): self._plugins = {} self._plugins["action"] = action.Action(plugin_manager) + self._plugins["action_server"] = action_server.ActionServer(plugin_manager) self._plugins["calibration"] = calibration.Calibration(plugin_manager) self._plugins["camera"] = camera.Camera(plugin_manager) self._plugins["core"] = core.Core(plugin_manager) + self._plugins["component_information"] = component_information.ComponentInformation(plugin_manager) + self._plugins["component_information_server"] = component_information_server.ComponentInformationServer(plugin_manager) self._plugins["failure"] = failure.Failure(plugin_manager) self._plugins["follow_me"] = follow_me.FollowMe(plugin_manager) self._plugins["ftp"] = ftp.Ftp(plugin_manager) @@ -135,9 +143,11 @@ async def _init_plugins(self, host, port): self._plugins["manual_control"] = manual_control.ManualControl(plugin_manager) self._plugins["mission"] = mission.Mission(plugin_manager) self._plugins["mission_raw"] = mission_raw.MissionRaw(plugin_manager) + self._plugins["mission_raw_server"] = mission_raw_server.MissionRawServer(plugin_manager) self._plugins["mocap"] = mocap.Mocap(plugin_manager) self._plugins["offboard"] = offboard.Offboard(plugin_manager) self._plugins["param"] = param.Param(plugin_manager) + self._plugins["param_server"] = param_server.ParamServer(plugin_manager) self._plugins["server_utility"] = server_utility.ServerUtility(plugin_manager) self._plugins["shell"] = shell.Shell(plugin_manager) self._plugins["telemetry"] = telemetry.Telemetry(plugin_manager) @@ -157,6 +167,12 @@ def action(self) -> action.Action: raise RuntimeError(self.error_uninitialized("Action")) return self._plugins["action"] + @property + def action_server(self) -> action_server.ActionServer: + if "action_server" not in self._plugins: + raise RuntimeError(self.error_uninitialized("ActionServer")) + return self._plugins["action_server"] + @property def calibration(self) -> calibration.Calibration: if "calibration" not in self._plugins: @@ -175,6 +191,18 @@ def core(self) -> core.Core: raise RuntimeError(self.error_uninitialized("Core")) return self._plugins["core"] + @property + def component_information(self) -> component_information.ComponentInformation: + if "component_information" not in self._plugins: + raise RuntimeError(self.error_uninitialized("ComponentInformation")) + return self._plugins["component_information"] + + @property + def component_information_server(self) -> component_information_server.ComponentInformationServer: + if "component_information_server" not in self._plugins: + raise RuntimeError(self.error_uninitialized("ComponentInformationServer")) + return self._plugins["component_informationServer"] + @property def failure(self) -> failure.Failure: if "failure" not in self._plugins: @@ -235,6 +263,12 @@ def mission_raw(self) -> mission_raw.MissionRaw: raise RuntimeError(self.error_uninitialized("MissionRaw")) return self._plugins["mission_raw"] + @property + def mission_raw_server(self) -> mission_raw_server.MissionRawServer: + if "mission_raw_server" not in self._plugins: + raise RuntimeError(self.error_uninitialized("MissionRawServer")) + return self._plugins["mission_raw_server"] + @property def mocap(self) -> mocap.Mocap: if "mocap" not in self._plugins: @@ -253,6 +287,12 @@ def param(self) -> param.Param: raise RuntimeError(self.error_uninitialized("Param")) return self._plugins["param"] + @property + def param_server(self) -> param_server.ParamServer: + if "param_server" not in self._plugins: + raise RuntimeError(self.error_uninitialized("ParamServer")) + return self._plugins["param_server"] + @property def server_utility(self) -> server_utility.ServerUtility: if "server_utility" not in self._plugins: diff --git a/mavsdk/telemetry_pb2.py b/mavsdk/telemetry_pb2.py index 6d95bef1..2fb4cec3 100644 --- a/mavsdk/telemetry_pb2.py +++ b/mavsdk/telemetry_pb2.py @@ -4,6 +4,7 @@ """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -15,295 +16,17 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='telemetry/telemetry.proto', - package='mavsdk.rpc.telemetry', - syntax='proto3', - serialized_options=b'\n\023io.mavsdk.telemetryB\016TelemetryProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x19telemetry/telemetry.proto\x12\x14mavsdk.rpc.telemetry\x1a\x14mavsdk_options.proto\"\x1a\n\x18SubscribePositionRequest\"D\n\x10PositionResponse\x12\x30\n\x08position\x18\x01 \x01(\x0b\x32\x1e.mavsdk.rpc.telemetry.Position\"\x16\n\x14SubscribeHomeRequest\"<\n\x0cHomeResponse\x12,\n\x04home\x18\x01 \x01(\x0b\x32\x1e.mavsdk.rpc.telemetry.Position\"\x17\n\x15SubscribeInAirRequest\"\"\n\rInAirResponse\x12\x11\n\tis_in_air\x18\x01 \x01(\x08\"\x1d\n\x1bSubscribeLandedStateRequest\"N\n\x13LandedStateResponse\x12\x37\n\x0clanded_state\x18\x01 \x01(\x0e\x32!.mavsdk.rpc.telemetry.LandedState\"\x17\n\x15SubscribeArmedRequest\"!\n\rArmedResponse\x12\x10\n\x08is_armed\x18\x01 \x01(\x08\"\x1b\n\x19SubscribeVtolStateRequest\"H\n\x11VtolStateResponse\x12\x33\n\nvtol_state\x18\x01 \x01(\x0e\x32\x1f.mavsdk.rpc.telemetry.VtolState\"$\n\"SubscribeAttitudeQuaternionRequest\"[\n\x1a\x41ttitudeQuaternionResponse\x12=\n\x13\x61ttitude_quaternion\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.telemetry.Quaternion\"\x1f\n\x1dSubscribeAttitudeEulerRequest\"Q\n\x15\x41ttitudeEulerResponse\x12\x38\n\x0e\x61ttitude_euler\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.telemetry.EulerAngle\"-\n+SubscribeAttitudeAngularVelocityBodyRequest\"x\n#AttitudeAngularVelocityBodyResponse\x12Q\n\x1e\x61ttitude_angular_velocity_body\x18\x01 \x01(\x0b\x32).mavsdk.rpc.telemetry.AngularVelocityBody\"*\n(SubscribeCameraAttitudeQuaternionRequest\"a\n CameraAttitudeQuaternionResponse\x12=\n\x13\x61ttitude_quaternion\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.telemetry.Quaternion\"%\n#SubscribeCameraAttitudeEulerRequest\"W\n\x1b\x43\x61meraAttitudeEulerResponse\x12\x38\n\x0e\x61ttitude_euler\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.telemetry.EulerAngle\"\x1d\n\x1bSubscribeVelocityNedRequest\"N\n\x13VelocityNedResponse\x12\x37\n\x0cvelocity_ned\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.telemetry.VelocityNed\"\x19\n\x17SubscribeGpsInfoRequest\"B\n\x0fGpsInfoResponse\x12/\n\x08gps_info\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.telemetry.GpsInfo\"\x18\n\x16SubscribeRawGpsRequest\"?\n\x0eRawGpsResponse\x12-\n\x07raw_gps\x18\x01 \x01(\x0b\x32\x1c.mavsdk.rpc.telemetry.RawGps\"\x19\n\x17SubscribeBatteryRequest\"A\n\x0f\x42\x61tteryResponse\x12.\n\x07\x62\x61ttery\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.telemetry.Battery\"\x1c\n\x1aSubscribeFlightModeRequest\"K\n\x12\x46lightModeResponse\x12\x35\n\x0b\x66light_mode\x18\x01 \x01(\x0e\x32 .mavsdk.rpc.telemetry.FlightMode\"\x18\n\x16SubscribeHealthRequest\">\n\x0eHealthResponse\x12,\n\x06health\x18\x01 \x01(\x0b\x32\x1c.mavsdk.rpc.telemetry.Health\"\x1a\n\x18SubscribeRcStatusRequest\"E\n\x10RcStatusResponse\x12\x31\n\trc_status\x18\x01 \x01(\x0b\x32\x1e.mavsdk.rpc.telemetry.RcStatus\"\x1c\n\x1aSubscribeStatusTextRequest\"K\n\x12StatusTextResponse\x12\x35\n\x0bstatus_text\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.telemetry.StatusText\"\'\n%SubscribeActuatorControlTargetRequest\"m\n\x1d\x41\x63tuatorControlTargetResponse\x12L\n\x17\x61\x63tuator_control_target\x18\x01 \x01(\x0b\x32+.mavsdk.rpc.telemetry.ActuatorControlTarget\"&\n$SubscribeActuatorOutputStatusRequest\"j\n\x1c\x41\x63tuatorOutputStatusResponse\x12J\n\x16\x61\x63tuator_output_status\x18\x01 \x01(\x0b\x32*.mavsdk.rpc.telemetry.ActuatorOutputStatus\"\x1a\n\x18SubscribeOdometryRequest\"D\n\x10OdometryResponse\x12\x30\n\x08odometry\x18\x01 \x01(\x0b\x32\x1e.mavsdk.rpc.telemetry.Odometry\"%\n#SubscribePositionVelocityNedRequest\"g\n\x1bPositionVelocityNedResponse\x12H\n\x15position_velocity_ned\x18\x01 \x01(\x0b\x32).mavsdk.rpc.telemetry.PositionVelocityNed\"\x1d\n\x1bSubscribeGroundTruthRequest\"N\n\x13GroundTruthResponse\x12\x37\n\x0cground_truth\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.telemetry.GroundTruth\"\"\n SubscribeFixedwingMetricsRequest\"]\n\x18\x46ixedwingMetricsResponse\x12\x41\n\x11\x66ixedwing_metrics\x18\x01 \x01(\x0b\x32&.mavsdk.rpc.telemetry.FixedwingMetrics\"\x15\n\x13SubscribeImuRequest\"5\n\x0bImuResponse\x12&\n\x03imu\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.telemetry.Imu\"\x1b\n\x19SubscribeScaledImuRequest\";\n\x11ScaledImuResponse\x12&\n\x03imu\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.telemetry.Imu\"\x18\n\x16SubscribeRawImuRequest\"8\n\x0eRawImuResponse\x12&\n\x03imu\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.telemetry.Imu\"\x1d\n\x1bSubscribeHealthAllOkRequest\"/\n\x13HealthAllOkResponse\x12\x18\n\x10is_health_all_ok\x18\x01 \x01(\x08\"\x1f\n\x1dSubscribeUnixEpochTimeRequest\"(\n\x15UnixEpochTimeResponse\x12\x0f\n\x07time_us\x18\x01 \x01(\x04\" \n\x1eSubscribeDistanceSensorRequest\"W\n\x16\x44istanceSensorResponse\x12=\n\x0f\x64istance_sensor\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.telemetry.DistanceSensor\" \n\x1eSubscribeScaledPressureRequest\"W\n\x16ScaledPressureResponse\x12=\n\x0fscaled_pressure\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.telemetry.ScaledPressure\"\x19\n\x17SubscribeHeadingRequest\"E\n\x0fHeadingResponse\x12\x32\n\x0bheading_deg\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.telemetry.Heading\")\n\x16SetRatePositionRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"Z\n\x17SetRatePositionResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"%\n\x12SetRateHomeRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"V\n\x13SetRateHomeResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"&\n\x13SetRateInAirRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"W\n\x14SetRateInAirResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\",\n\x19SetRateLandedStateRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"]\n\x1aSetRateLandedStateResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"*\n\x17SetRateVtolStateRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"[\n\x18SetRateVtolStateResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\")\n\x16SetRateAttitudeRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"Z\n\x17SetRateAttitudeResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"<\n)SetRateAttitudeAngularVelocityBodyRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"m\n*SetRateAttitudeAngularVelocityBodyResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"9\n&SetRateCameraAttitudeQuaternionRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"j\n\'SetRateCameraAttitudeQuaternionResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"/\n\x1cSetRateCameraAttitudeRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"`\n\x1dSetRateCameraAttitudeResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\",\n\x19SetRateVelocityNedRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"]\n\x1aSetRateVelocityNedResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"(\n\x15SetRateGpsInfoRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"Y\n\x16SetRateGpsInfoResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"\'\n\x14SetRateRawGpsRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"(\n\x15SetRateBatteryRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"Y\n\x16SetRateBatteryResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\")\n\x16SetRateRcStatusRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"Z\n\x17SetRateRcStatusResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"6\n#SetRateActuatorControlTargetRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"g\n$SetRateActuatorControlTargetResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"5\n\"SetRateActuatorOutputStatusRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"f\n#SetRateActuatorOutputStatusResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\")\n\x16SetRateOdometryRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"Z\n\x17SetRateOdometryResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"4\n!SetRatePositionVelocityNedRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"e\n\"SetRatePositionVelocityNedResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\",\n\x19SetRateGroundTruthRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"]\n\x1aSetRateGroundTruthResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"1\n\x1eSetRateFixedwingMetricsRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"b\n\x1fSetRateFixedwingMetricsResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"$\n\x11SetRateImuRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"U\n\x12SetRateImuResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"*\n\x17SetRateScaledImuRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"[\n\x18SetRateScaledImuResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"\'\n\x14SetRateRawImuRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"X\n\x15SetRateRawImuResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\".\n\x1bSetRateUnixEpochTimeRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"_\n\x1cSetRateUnixEpochTimeResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"/\n\x1cSetRateDistanceSensorRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"`\n\x1dSetRateDistanceSensorResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"\x1b\n\x19GetGpsGlobalOriginRequest\"\x9f\x01\n\x1aGetGpsGlobalOriginResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\x12@\n\x11gps_global_origin\x18\x02 \x01(\x0b\x32%.mavsdk.rpc.telemetry.GpsGlobalOrigin\"\x95\x01\n\x08Position\x12\x1d\n\x0clatitude_deg\x18\x01 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12\x1e\n\rlongitude_deg\x18\x02 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13\x61\x62solute_altitude_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13relative_altitude_m\x18\x04 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"\'\n\x07Heading\x12\x1c\n\x0bheading_deg\x18\x01 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\"r\n\nQuaternion\x12\x12\n\x01w\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x12\n\x01x\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x12\n\x01y\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x12\n\x01z\x18\x04 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x14\n\x0ctimestamp_us\x18\x05 \x01(\x04\"s\n\nEulerAngle\x12\x19\n\x08roll_deg\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1a\n\tpitch_deg\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x18\n\x07yaw_deg\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x14\n\x0ctimestamp_us\x18\x04 \x01(\x04\"l\n\x13\x41ngularVelocityBody\x12\x1b\n\nroll_rad_s\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1c\n\x0bpitch_rad_s\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1a\n\tyaw_rad_s\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"Y\n\x07GpsInfo\x12\x1d\n\x0enum_satellites\x18\x01 \x01(\x05\x42\x05\x82\xb5\x18\x01\x30\x12/\n\x08\x66ix_type\x18\x02 \x01(\x0e\x32\x1d.mavsdk.rpc.telemetry.FixType\"\xdf\x02\n\x06RawGps\x12\x14\n\x0ctimestamp_us\x18\x01 \x01(\x04\x12\x14\n\x0clatitude_deg\x18\x02 \x01(\x01\x12\x15\n\rlongitude_deg\x18\x03 \x01(\x01\x12\x1b\n\x13\x61\x62solute_altitude_m\x18\x04 \x01(\x02\x12\x0c\n\x04hdop\x18\x05 \x01(\x02\x12\x0c\n\x04vdop\x18\x06 \x01(\x02\x12\x14\n\x0cvelocity_m_s\x18\x07 \x01(\x02\x12\x0f\n\x07\x63og_deg\x18\x08 \x01(\x02\x12\x1c\n\x14\x61ltitude_ellipsoid_m\x18\t \x01(\x02\x12 \n\x18horizontal_uncertainty_m\x18\n \x01(\x02\x12\x1e\n\x16vertical_uncertainty_m\x18\x0b \x01(\x02\x12 \n\x18velocity_uncertainty_m_s\x18\x0c \x01(\x02\x12\x1f\n\x17heading_uncertainty_deg\x18\r \x01(\x02\x12\x0f\n\x07yaw_deg\x18\x0e \x01(\x02\"\\\n\x07\x42\x61ttery\x12\x11\n\x02id\x18\x03 \x01(\rB\x05\x82\xb5\x18\x01\x30\x12\x1a\n\tvoltage_v\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\"\n\x11remaining_percent\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"\xb9\x02\n\x06Health\x12.\n\x1bis_gyrometer_calibration_ok\x18\x01 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12\x32\n\x1fis_accelerometer_calibration_ok\x18\x02 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12\x31\n\x1eis_magnetometer_calibration_ok\x18\x03 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12\'\n\x14is_local_position_ok\x18\x05 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12(\n\x15is_global_position_ok\x18\x06 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12&\n\x13is_home_position_ok\x18\x07 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12\x1d\n\nis_armable\x18\x08 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\"|\n\x08RcStatus\x12%\n\x12was_available_once\x18\x01 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12\x1f\n\x0cis_available\x18\x02 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12(\n\x17signal_strength_percent\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"N\n\nStatusText\x12\x32\n\x04type\x18\x01 \x01(\x0e\x32$.mavsdk.rpc.telemetry.StatusTextType\x12\x0c\n\x04text\x18\x02 \x01(\t\"?\n\x15\x41\x63tuatorControlTarget\x12\x14\n\x05group\x18\x01 \x01(\x05\x42\x05\x82\xb5\x18\x01\x30\x12\x10\n\x08\x63ontrols\x18\x02 \x03(\x02\"?\n\x14\x41\x63tuatorOutputStatus\x12\x15\n\x06\x61\x63tive\x18\x01 \x01(\rB\x05\x82\xb5\x18\x01\x30\x12\x10\n\x08\x61\x63tuator\x18\x02 \x03(\x02\"\'\n\nCovariance\x12\x19\n\x11\x63ovariance_matrix\x18\x01 \x03(\x02\";\n\x0cVelocityBody\x12\r\n\x05x_m_s\x18\x01 \x01(\x02\x12\r\n\x05y_m_s\x18\x02 \x01(\x02\x12\r\n\x05z_m_s\x18\x03 \x01(\x02\"5\n\x0cPositionBody\x12\x0b\n\x03x_m\x18\x01 \x01(\x02\x12\x0b\n\x03y_m\x18\x02 \x01(\x02\x12\x0b\n\x03z_m\x18\x03 \x01(\x02\"\xec\x04\n\x08Odometry\x12\x11\n\ttime_usec\x18\x01 \x01(\x04\x12\x39\n\x08\x66rame_id\x18\x02 \x01(\x0e\x32\'.mavsdk.rpc.telemetry.Odometry.MavFrame\x12?\n\x0e\x63hild_frame_id\x18\x03 \x01(\x0e\x32\'.mavsdk.rpc.telemetry.Odometry.MavFrame\x12\x39\n\rposition_body\x18\x04 \x01(\x0b\x32\".mavsdk.rpc.telemetry.PositionBody\x12+\n\x01q\x18\x05 \x01(\x0b\x32 .mavsdk.rpc.telemetry.Quaternion\x12\x39\n\rvelocity_body\x18\x06 \x01(\x0b\x32\".mavsdk.rpc.telemetry.VelocityBody\x12H\n\x15\x61ngular_velocity_body\x18\x07 \x01(\x0b\x32).mavsdk.rpc.telemetry.AngularVelocityBody\x12\x39\n\x0fpose_covariance\x18\x08 \x01(\x0b\x32 .mavsdk.rpc.telemetry.Covariance\x12=\n\x13velocity_covariance\x18\t \x01(\x0b\x32 .mavsdk.rpc.telemetry.Covariance\"j\n\x08MavFrame\x12\x13\n\x0fMAV_FRAME_UNDEF\x10\x00\x12\x16\n\x12MAV_FRAME_BODY_NED\x10\x08\x12\x18\n\x14MAV_FRAME_VISION_NED\x10\x10\x12\x17\n\x13MAV_FRAME_ESTIM_NED\x10\x12\"\x7f\n\x0e\x44istanceSensor\x12#\n\x12minimum_distance_m\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12#\n\x12maximum_distance_m\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12#\n\x12\x63urrent_distance_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"\xb0\x01\n\x0eScaledPressure\x12\x14\n\x0ctimestamp_us\x18\x01 \x01(\x04\x12\x1d\n\x15\x61\x62solute_pressure_hpa\x18\x02 \x01(\x02\x12!\n\x19\x64ifferential_pressure_hpa\x18\x03 \x01(\x02\x12\x17\n\x0ftemperature_deg\x18\x04 \x01(\x02\x12-\n%differential_pressure_temperature_deg\x18\x05 \x01(\x02\"Y\n\x0bPositionNed\x12\x18\n\x07north_m\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x17\n\x06\x65\x61st_m\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x17\n\x06\x64own_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"D\n\x0bVelocityNed\x12\x11\n\tnorth_m_s\x18\x01 \x01(\x02\x12\x10\n\x08\x65\x61st_m_s\x18\x02 \x01(\x02\x12\x10\n\x08\x64own_m_s\x18\x03 \x01(\x02\"\x7f\n\x13PositionVelocityNed\x12\x33\n\x08position\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.telemetry.PositionNed\x12\x33\n\x08velocity\x18\x02 \x01(\x0b\x32!.mavsdk.rpc.telemetry.VelocityNed\"r\n\x0bGroundTruth\x12\x1d\n\x0clatitude_deg\x18\x01 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12\x1e\n\rlongitude_deg\x18\x02 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13\x61\x62solute_altitude_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"x\n\x10\x46ixedwingMetrics\x12\x1d\n\x0c\x61irspeed_m_s\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13throttle_percentage\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1f\n\x0e\x63limb_rate_m_s\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"i\n\x0f\x41\x63\x63\x65lerationFrd\x12\x1d\n\x0c\x66orward_m_s2\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1b\n\nright_m_s2\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1a\n\tdown_m_s2\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"o\n\x12\x41ngularVelocityFrd\x12\x1e\n\rforward_rad_s\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1c\n\x0bright_rad_s\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1b\n\ndown_rad_s\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"m\n\x10MagneticFieldFrd\x12\x1e\n\rforward_gauss\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1c\n\x0bright_gauss\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1b\n\ndown_gauss\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"\x8b\x02\n\x03Imu\x12?\n\x10\x61\x63\x63\x65leration_frd\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.AccelerationFrd\x12\x46\n\x14\x61ngular_velocity_frd\x18\x02 \x01(\x0b\x32(.mavsdk.rpc.telemetry.AngularVelocityFrd\x12\x42\n\x12magnetic_field_frd\x18\x03 \x01(\x0b\x32&.mavsdk.rpc.telemetry.MagneticFieldFrd\x12!\n\x10temperature_degc\x18\x04 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x14\n\x0ctimestamp_us\x18\x05 \x01(\x04\"m\n\x0fGpsGlobalOrigin\x12\x1d\n\x0clatitude_deg\x18\x01 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12\x1e\n\rlongitude_deg\x18\x02 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12\x1b\n\naltitude_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"\xa1\x02\n\x0fTelemetryResult\x12<\n\x06result\x18\x01 \x01(\x0e\x32,.mavsdk.rpc.telemetry.TelemetryResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xbb\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x19\n\x15RESULT_COMMAND_DENIED\x10\x05\x12\x12\n\x0eRESULT_TIMEOUT\x10\x06\x12\x16\n\x12RESULT_UNSUPPORTED\x10\x07*\xa4\x01\n\x07\x46ixType\x12\x13\n\x0f\x46IX_TYPE_NO_GPS\x10\x00\x12\x13\n\x0f\x46IX_TYPE_NO_FIX\x10\x01\x12\x13\n\x0f\x46IX_TYPE_FIX_2D\x10\x02\x12\x13\n\x0f\x46IX_TYPE_FIX_3D\x10\x03\x12\x15\n\x11\x46IX_TYPE_FIX_DGPS\x10\x04\x12\x16\n\x12\x46IX_TYPE_RTK_FLOAT\x10\x05\x12\x16\n\x12\x46IX_TYPE_RTK_FIXED\x10\x06*\x86\x03\n\nFlightMode\x12\x17\n\x13\x46LIGHT_MODE_UNKNOWN\x10\x00\x12\x15\n\x11\x46LIGHT_MODE_READY\x10\x01\x12\x17\n\x13\x46LIGHT_MODE_TAKEOFF\x10\x02\x12\x14\n\x10\x46LIGHT_MODE_HOLD\x10\x03\x12\x17\n\x13\x46LIGHT_MODE_MISSION\x10\x04\x12 \n\x1c\x46LIGHT_MODE_RETURN_TO_LAUNCH\x10\x05\x12\x14\n\x10\x46LIGHT_MODE_LAND\x10\x06\x12\x18\n\x14\x46LIGHT_MODE_OFFBOARD\x10\x07\x12\x19\n\x15\x46LIGHT_MODE_FOLLOW_ME\x10\x08\x12\x16\n\x12\x46LIGHT_MODE_MANUAL\x10\t\x12\x16\n\x12\x46LIGHT_MODE_ALTCTL\x10\n\x12\x16\n\x12\x46LIGHT_MODE_POSCTL\x10\x0b\x12\x14\n\x10\x46LIGHT_MODE_ACRO\x10\x0c\x12\x1a\n\x16\x46LIGHT_MODE_STABILIZED\x10\r\x12\x19\n\x15\x46LIGHT_MODE_RATTITUDE\x10\x0e*\xf9\x01\n\x0eStatusTextType\x12\x1a\n\x16STATUS_TEXT_TYPE_DEBUG\x10\x00\x12\x19\n\x15STATUS_TEXT_TYPE_INFO\x10\x01\x12\x1b\n\x17STATUS_TEXT_TYPE_NOTICE\x10\x02\x12\x1c\n\x18STATUS_TEXT_TYPE_WARNING\x10\x03\x12\x1a\n\x16STATUS_TEXT_TYPE_ERROR\x10\x04\x12\x1d\n\x19STATUS_TEXT_TYPE_CRITICAL\x10\x05\x12\x1a\n\x16STATUS_TEXT_TYPE_ALERT\x10\x06\x12\x1e\n\x1aSTATUS_TEXT_TYPE_EMERGENCY\x10\x07*\x93\x01\n\x0bLandedState\x12\x18\n\x14LANDED_STATE_UNKNOWN\x10\x00\x12\x1a\n\x16LANDED_STATE_ON_GROUND\x10\x01\x12\x17\n\x13LANDED_STATE_IN_AIR\x10\x02\x12\x1b\n\x17LANDED_STATE_TAKING_OFF\x10\x03\x12\x18\n\x14LANDED_STATE_LANDING\x10\x04*\x8d\x01\n\tVtolState\x12\x18\n\x14VTOL_STATE_UNDEFINED\x10\x00\x12\x1f\n\x1bVTOL_STATE_TRANSITION_TO_FW\x10\x01\x12\x1f\n\x1bVTOL_STATE_TRANSITION_TO_MC\x10\x02\x12\x11\n\rVTOL_STATE_MC\x10\x03\x12\x11\n\rVTOL_STATE_FW\x10\x04\x32\xfe\x35\n\x10TelemetryService\x12o\n\x11SubscribePosition\x12..mavsdk.rpc.telemetry.SubscribePositionRequest\x1a&.mavsdk.rpc.telemetry.PositionResponse\"\x00\x30\x01\x12\x63\n\rSubscribeHome\x12*.mavsdk.rpc.telemetry.SubscribeHomeRequest\x1a\".mavsdk.rpc.telemetry.HomeResponse\"\x00\x30\x01\x12\x66\n\x0eSubscribeInAir\x12+.mavsdk.rpc.telemetry.SubscribeInAirRequest\x1a#.mavsdk.rpc.telemetry.InAirResponse\"\x00\x30\x01\x12x\n\x14SubscribeLandedState\x12\x31.mavsdk.rpc.telemetry.SubscribeLandedStateRequest\x1a).mavsdk.rpc.telemetry.LandedStateResponse\"\x00\x30\x01\x12\x66\n\x0eSubscribeArmed\x12+.mavsdk.rpc.telemetry.SubscribeArmedRequest\x1a#.mavsdk.rpc.telemetry.ArmedResponse\"\x00\x30\x01\x12r\n\x12SubscribeVtolState\x12/.mavsdk.rpc.telemetry.SubscribeVtolStateRequest\x1a\'.mavsdk.rpc.telemetry.VtolStateResponse\"\x00\x30\x01\x12\x8d\x01\n\x1bSubscribeAttitudeQuaternion\x12\x38.mavsdk.rpc.telemetry.SubscribeAttitudeQuaternionRequest\x1a\x30.mavsdk.rpc.telemetry.AttitudeQuaternionResponse\"\x00\x30\x01\x12~\n\x16SubscribeAttitudeEuler\x12\x33.mavsdk.rpc.telemetry.SubscribeAttitudeEulerRequest\x1a+.mavsdk.rpc.telemetry.AttitudeEulerResponse\"\x00\x30\x01\x12\xa8\x01\n$SubscribeAttitudeAngularVelocityBody\x12\x41.mavsdk.rpc.telemetry.SubscribeAttitudeAngularVelocityBodyRequest\x1a\x39.mavsdk.rpc.telemetry.AttitudeAngularVelocityBodyResponse\"\x00\x30\x01\x12\x9f\x01\n!SubscribeCameraAttitudeQuaternion\x12>.mavsdk.rpc.telemetry.SubscribeCameraAttitudeQuaternionRequest\x1a\x36.mavsdk.rpc.telemetry.CameraAttitudeQuaternionResponse\"\x00\x30\x01\x12\x90\x01\n\x1cSubscribeCameraAttitudeEuler\x12\x39.mavsdk.rpc.telemetry.SubscribeCameraAttitudeEulerRequest\x1a\x31.mavsdk.rpc.telemetry.CameraAttitudeEulerResponse\"\x00\x30\x01\x12x\n\x14SubscribeVelocityNed\x12\x31.mavsdk.rpc.telemetry.SubscribeVelocityNedRequest\x1a).mavsdk.rpc.telemetry.VelocityNedResponse\"\x00\x30\x01\x12l\n\x10SubscribeGpsInfo\x12-.mavsdk.rpc.telemetry.SubscribeGpsInfoRequest\x1a%.mavsdk.rpc.telemetry.GpsInfoResponse\"\x00\x30\x01\x12i\n\x0fSubscribeRawGps\x12,.mavsdk.rpc.telemetry.SubscribeRawGpsRequest\x1a$.mavsdk.rpc.telemetry.RawGpsResponse\"\x00\x30\x01\x12l\n\x10SubscribeBattery\x12-.mavsdk.rpc.telemetry.SubscribeBatteryRequest\x1a%.mavsdk.rpc.telemetry.BatteryResponse\"\x00\x30\x01\x12u\n\x13SubscribeFlightMode\x12\x30.mavsdk.rpc.telemetry.SubscribeFlightModeRequest\x1a(.mavsdk.rpc.telemetry.FlightModeResponse\"\x00\x30\x01\x12i\n\x0fSubscribeHealth\x12,.mavsdk.rpc.telemetry.SubscribeHealthRequest\x1a$.mavsdk.rpc.telemetry.HealthResponse\"\x00\x30\x01\x12o\n\x11SubscribeRcStatus\x12..mavsdk.rpc.telemetry.SubscribeRcStatusRequest\x1a&.mavsdk.rpc.telemetry.RcStatusResponse\"\x00\x30\x01\x12u\n\x13SubscribeStatusText\x12\x30.mavsdk.rpc.telemetry.SubscribeStatusTextRequest\x1a(.mavsdk.rpc.telemetry.StatusTextResponse\"\x00\x30\x01\x12\x96\x01\n\x1eSubscribeActuatorControlTarget\x12;.mavsdk.rpc.telemetry.SubscribeActuatorControlTargetRequest\x1a\x33.mavsdk.rpc.telemetry.ActuatorControlTargetResponse\"\x00\x30\x01\x12\x93\x01\n\x1dSubscribeActuatorOutputStatus\x12:.mavsdk.rpc.telemetry.SubscribeActuatorOutputStatusRequest\x1a\x32.mavsdk.rpc.telemetry.ActuatorOutputStatusResponse\"\x00\x30\x01\x12o\n\x11SubscribeOdometry\x12..mavsdk.rpc.telemetry.SubscribeOdometryRequest\x1a&.mavsdk.rpc.telemetry.OdometryResponse\"\x00\x30\x01\x12\x90\x01\n\x1cSubscribePositionVelocityNed\x12\x39.mavsdk.rpc.telemetry.SubscribePositionVelocityNedRequest\x1a\x31.mavsdk.rpc.telemetry.PositionVelocityNedResponse\"\x00\x30\x01\x12x\n\x14SubscribeGroundTruth\x12\x31.mavsdk.rpc.telemetry.SubscribeGroundTruthRequest\x1a).mavsdk.rpc.telemetry.GroundTruthResponse\"\x00\x30\x01\x12\x87\x01\n\x19SubscribeFixedwingMetrics\x12\x36.mavsdk.rpc.telemetry.SubscribeFixedwingMetricsRequest\x1a..mavsdk.rpc.telemetry.FixedwingMetricsResponse\"\x00\x30\x01\x12`\n\x0cSubscribeImu\x12).mavsdk.rpc.telemetry.SubscribeImuRequest\x1a!.mavsdk.rpc.telemetry.ImuResponse\"\x00\x30\x01\x12r\n\x12SubscribeScaledImu\x12/.mavsdk.rpc.telemetry.SubscribeScaledImuRequest\x1a\'.mavsdk.rpc.telemetry.ScaledImuResponse\"\x00\x30\x01\x12i\n\x0fSubscribeRawImu\x12,.mavsdk.rpc.telemetry.SubscribeRawImuRequest\x1a$.mavsdk.rpc.telemetry.RawImuResponse\"\x00\x30\x01\x12x\n\x14SubscribeHealthAllOk\x12\x31.mavsdk.rpc.telemetry.SubscribeHealthAllOkRequest\x1a).mavsdk.rpc.telemetry.HealthAllOkResponse\"\x00\x30\x01\x12~\n\x16SubscribeUnixEpochTime\x12\x33.mavsdk.rpc.telemetry.SubscribeUnixEpochTimeRequest\x1a+.mavsdk.rpc.telemetry.UnixEpochTimeResponse\"\x00\x30\x01\x12\x81\x01\n\x17SubscribeDistanceSensor\x12\x34.mavsdk.rpc.telemetry.SubscribeDistanceSensorRequest\x1a,.mavsdk.rpc.telemetry.DistanceSensorResponse\"\x00\x30\x01\x12\x81\x01\n\x17SubscribeScaledPressure\x12\x34.mavsdk.rpc.telemetry.SubscribeScaledPressureRequest\x1a,.mavsdk.rpc.telemetry.ScaledPressureResponse\"\x00\x30\x01\x12l\n\x10SubscribeHeading\x12-.mavsdk.rpc.telemetry.SubscribeHeadingRequest\x1a%.mavsdk.rpc.telemetry.HeadingResponse\"\x00\x30\x01\x12p\n\x0fSetRatePosition\x12,.mavsdk.rpc.telemetry.SetRatePositionRequest\x1a-.mavsdk.rpc.telemetry.SetRatePositionResponse\"\x00\x12\x64\n\x0bSetRateHome\x12(.mavsdk.rpc.telemetry.SetRateHomeRequest\x1a).mavsdk.rpc.telemetry.SetRateHomeResponse\"\x00\x12g\n\x0cSetRateInAir\x12).mavsdk.rpc.telemetry.SetRateInAirRequest\x1a*.mavsdk.rpc.telemetry.SetRateInAirResponse\"\x00\x12y\n\x12SetRateLandedState\x12/.mavsdk.rpc.telemetry.SetRateLandedStateRequest\x1a\x30.mavsdk.rpc.telemetry.SetRateLandedStateResponse\"\x00\x12s\n\x10SetRateVtolState\x12-.mavsdk.rpc.telemetry.SetRateVtolStateRequest\x1a..mavsdk.rpc.telemetry.SetRateVtolStateResponse\"\x00\x12p\n\x0fSetRateAttitude\x12,.mavsdk.rpc.telemetry.SetRateAttitudeRequest\x1a-.mavsdk.rpc.telemetry.SetRateAttitudeResponse\"\x00\x12\x82\x01\n\x15SetRateCameraAttitude\x12\x32.mavsdk.rpc.telemetry.SetRateCameraAttitudeRequest\x1a\x33.mavsdk.rpc.telemetry.SetRateCameraAttitudeResponse\"\x00\x12y\n\x12SetRateVelocityNed\x12/.mavsdk.rpc.telemetry.SetRateVelocityNedRequest\x1a\x30.mavsdk.rpc.telemetry.SetRateVelocityNedResponse\"\x00\x12m\n\x0eSetRateGpsInfo\x12+.mavsdk.rpc.telemetry.SetRateGpsInfoRequest\x1a,.mavsdk.rpc.telemetry.SetRateGpsInfoResponse\"\x00\x12m\n\x0eSetRateBattery\x12+.mavsdk.rpc.telemetry.SetRateBatteryRequest\x1a,.mavsdk.rpc.telemetry.SetRateBatteryResponse\"\x00\x12p\n\x0fSetRateRcStatus\x12,.mavsdk.rpc.telemetry.SetRateRcStatusRequest\x1a-.mavsdk.rpc.telemetry.SetRateRcStatusResponse\"\x00\x12\x97\x01\n\x1cSetRateActuatorControlTarget\x12\x39.mavsdk.rpc.telemetry.SetRateActuatorControlTargetRequest\x1a:.mavsdk.rpc.telemetry.SetRateActuatorControlTargetResponse\"\x00\x12\x94\x01\n\x1bSetRateActuatorOutputStatus\x12\x38.mavsdk.rpc.telemetry.SetRateActuatorOutputStatusRequest\x1a\x39.mavsdk.rpc.telemetry.SetRateActuatorOutputStatusResponse\"\x00\x12p\n\x0fSetRateOdometry\x12,.mavsdk.rpc.telemetry.SetRateOdometryRequest\x1a-.mavsdk.rpc.telemetry.SetRateOdometryResponse\"\x00\x12\x91\x01\n\x1aSetRatePositionVelocityNed\x12\x37.mavsdk.rpc.telemetry.SetRatePositionVelocityNedRequest\x1a\x38.mavsdk.rpc.telemetry.SetRatePositionVelocityNedResponse\"\x00\x12y\n\x12SetRateGroundTruth\x12/.mavsdk.rpc.telemetry.SetRateGroundTruthRequest\x1a\x30.mavsdk.rpc.telemetry.SetRateGroundTruthResponse\"\x00\x12\x88\x01\n\x17SetRateFixedwingMetrics\x12\x34.mavsdk.rpc.telemetry.SetRateFixedwingMetricsRequest\x1a\x35.mavsdk.rpc.telemetry.SetRateFixedwingMetricsResponse\"\x00\x12\x61\n\nSetRateImu\x12\'.mavsdk.rpc.telemetry.SetRateImuRequest\x1a(.mavsdk.rpc.telemetry.SetRateImuResponse\"\x00\x12s\n\x10SetRateScaledImu\x12-.mavsdk.rpc.telemetry.SetRateScaledImuRequest\x1a..mavsdk.rpc.telemetry.SetRateScaledImuResponse\"\x00\x12j\n\rSetRateRawImu\x12*.mavsdk.rpc.telemetry.SetRateRawImuRequest\x1a+.mavsdk.rpc.telemetry.SetRateRawImuResponse\"\x00\x12\x7f\n\x14SetRateUnixEpochTime\x12\x31.mavsdk.rpc.telemetry.SetRateUnixEpochTimeRequest\x1a\x32.mavsdk.rpc.telemetry.SetRateUnixEpochTimeResponse\"\x00\x12\x82\x01\n\x15SetRateDistanceSensor\x12\x32.mavsdk.rpc.telemetry.SetRateDistanceSensorRequest\x1a\x33.mavsdk.rpc.telemetry.SetRateDistanceSensorResponse\"\x00\x12y\n\x12GetGpsGlobalOrigin\x12/.mavsdk.rpc.telemetry.GetGpsGlobalOriginRequest\x1a\x30.mavsdk.rpc.telemetry.GetGpsGlobalOriginResponse\"\x00\x42%\n\x13io.mavsdk.telemetryB\x0eTelemetryProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) - -_FIXTYPE = _descriptor.EnumDescriptor( - name='FixType', - full_name='mavsdk.rpc.telemetry.FixType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='FIX_TYPE_NO_GPS', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FIX_TYPE_NO_FIX', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FIX_TYPE_FIX_2D', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FIX_TYPE_FIX_3D', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FIX_TYPE_FIX_DGPS', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FIX_TYPE_RTK_FLOAT', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FIX_TYPE_RTK_FIXED', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=11610, - serialized_end=11774, -) -_sym_db.RegisterEnumDescriptor(_FIXTYPE) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19telemetry/telemetry.proto\x12\x14mavsdk.rpc.telemetry\x1a\x14mavsdk_options.proto\"\x1a\n\x18SubscribePositionRequest\"D\n\x10PositionResponse\x12\x30\n\x08position\x18\x01 \x01(\x0b\x32\x1e.mavsdk.rpc.telemetry.Position\"\x16\n\x14SubscribeHomeRequest\"<\n\x0cHomeResponse\x12,\n\x04home\x18\x01 \x01(\x0b\x32\x1e.mavsdk.rpc.telemetry.Position\"\x17\n\x15SubscribeInAirRequest\"\"\n\rInAirResponse\x12\x11\n\tis_in_air\x18\x01 \x01(\x08\"\x1d\n\x1bSubscribeLandedStateRequest\"N\n\x13LandedStateResponse\x12\x37\n\x0clanded_state\x18\x01 \x01(\x0e\x32!.mavsdk.rpc.telemetry.LandedState\"\x17\n\x15SubscribeArmedRequest\"!\n\rArmedResponse\x12\x10\n\x08is_armed\x18\x01 \x01(\x08\"\x1b\n\x19SubscribeVtolStateRequest\"H\n\x11VtolStateResponse\x12\x33\n\nvtol_state\x18\x01 \x01(\x0e\x32\x1f.mavsdk.rpc.telemetry.VtolState\"$\n\"SubscribeAttitudeQuaternionRequest\"[\n\x1a\x41ttitudeQuaternionResponse\x12=\n\x13\x61ttitude_quaternion\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.telemetry.Quaternion\"\x1f\n\x1dSubscribeAttitudeEulerRequest\"Q\n\x15\x41ttitudeEulerResponse\x12\x38\n\x0e\x61ttitude_euler\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.telemetry.EulerAngle\"-\n+SubscribeAttitudeAngularVelocityBodyRequest\"x\n#AttitudeAngularVelocityBodyResponse\x12Q\n\x1e\x61ttitude_angular_velocity_body\x18\x01 \x01(\x0b\x32).mavsdk.rpc.telemetry.AngularVelocityBody\"*\n(SubscribeCameraAttitudeQuaternionRequest\"a\n CameraAttitudeQuaternionResponse\x12=\n\x13\x61ttitude_quaternion\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.telemetry.Quaternion\"%\n#SubscribeCameraAttitudeEulerRequest\"W\n\x1b\x43\x61meraAttitudeEulerResponse\x12\x38\n\x0e\x61ttitude_euler\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.telemetry.EulerAngle\"\x1d\n\x1bSubscribeVelocityNedRequest\"N\n\x13VelocityNedResponse\x12\x37\n\x0cvelocity_ned\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.telemetry.VelocityNed\"\x19\n\x17SubscribeGpsInfoRequest\"B\n\x0fGpsInfoResponse\x12/\n\x08gps_info\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.telemetry.GpsInfo\"\x18\n\x16SubscribeRawGpsRequest\"?\n\x0eRawGpsResponse\x12-\n\x07raw_gps\x18\x01 \x01(\x0b\x32\x1c.mavsdk.rpc.telemetry.RawGps\"\x19\n\x17SubscribeBatteryRequest\"A\n\x0f\x42\x61tteryResponse\x12.\n\x07\x62\x61ttery\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.telemetry.Battery\"\x1c\n\x1aSubscribeFlightModeRequest\"K\n\x12\x46lightModeResponse\x12\x35\n\x0b\x66light_mode\x18\x01 \x01(\x0e\x32 .mavsdk.rpc.telemetry.FlightMode\"\x18\n\x16SubscribeHealthRequest\">\n\x0eHealthResponse\x12,\n\x06health\x18\x01 \x01(\x0b\x32\x1c.mavsdk.rpc.telemetry.Health\"\x1a\n\x18SubscribeRcStatusRequest\"E\n\x10RcStatusResponse\x12\x31\n\trc_status\x18\x01 \x01(\x0b\x32\x1e.mavsdk.rpc.telemetry.RcStatus\"\x1c\n\x1aSubscribeStatusTextRequest\"K\n\x12StatusTextResponse\x12\x35\n\x0bstatus_text\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.telemetry.StatusText\"\'\n%SubscribeActuatorControlTargetRequest\"m\n\x1d\x41\x63tuatorControlTargetResponse\x12L\n\x17\x61\x63tuator_control_target\x18\x01 \x01(\x0b\x32+.mavsdk.rpc.telemetry.ActuatorControlTarget\"&\n$SubscribeActuatorOutputStatusRequest\"j\n\x1c\x41\x63tuatorOutputStatusResponse\x12J\n\x16\x61\x63tuator_output_status\x18\x01 \x01(\x0b\x32*.mavsdk.rpc.telemetry.ActuatorOutputStatus\"\x1a\n\x18SubscribeOdometryRequest\"D\n\x10OdometryResponse\x12\x30\n\x08odometry\x18\x01 \x01(\x0b\x32\x1e.mavsdk.rpc.telemetry.Odometry\"%\n#SubscribePositionVelocityNedRequest\"g\n\x1bPositionVelocityNedResponse\x12H\n\x15position_velocity_ned\x18\x01 \x01(\x0b\x32).mavsdk.rpc.telemetry.PositionVelocityNed\"\x1d\n\x1bSubscribeGroundTruthRequest\"N\n\x13GroundTruthResponse\x12\x37\n\x0cground_truth\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.telemetry.GroundTruth\"\"\n SubscribeFixedwingMetricsRequest\"]\n\x18\x46ixedwingMetricsResponse\x12\x41\n\x11\x66ixedwing_metrics\x18\x01 \x01(\x0b\x32&.mavsdk.rpc.telemetry.FixedwingMetrics\"\x15\n\x13SubscribeImuRequest\"5\n\x0bImuResponse\x12&\n\x03imu\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.telemetry.Imu\"\x1b\n\x19SubscribeScaledImuRequest\";\n\x11ScaledImuResponse\x12&\n\x03imu\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.telemetry.Imu\"\x18\n\x16SubscribeRawImuRequest\"8\n\x0eRawImuResponse\x12&\n\x03imu\x18\x01 \x01(\x0b\x32\x19.mavsdk.rpc.telemetry.Imu\"\x1d\n\x1bSubscribeHealthAllOkRequest\"/\n\x13HealthAllOkResponse\x12\x18\n\x10is_health_all_ok\x18\x01 \x01(\x08\"\x1f\n\x1dSubscribeUnixEpochTimeRequest\"(\n\x15UnixEpochTimeResponse\x12\x0f\n\x07time_us\x18\x01 \x01(\x04\" \n\x1eSubscribeDistanceSensorRequest\"W\n\x16\x44istanceSensorResponse\x12=\n\x0f\x64istance_sensor\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.telemetry.DistanceSensor\" \n\x1eSubscribeScaledPressureRequest\"W\n\x16ScaledPressureResponse\x12=\n\x0fscaled_pressure\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.telemetry.ScaledPressure\"\x19\n\x17SubscribeHeadingRequest\"E\n\x0fHeadingResponse\x12\x32\n\x0bheading_deg\x18\x01 \x01(\x0b\x32\x1d.mavsdk.rpc.telemetry.Heading\")\n\x16SetRatePositionRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"Z\n\x17SetRatePositionResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"%\n\x12SetRateHomeRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"V\n\x13SetRateHomeResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"&\n\x13SetRateInAirRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"W\n\x14SetRateInAirResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\",\n\x19SetRateLandedStateRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"]\n\x1aSetRateLandedStateResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"*\n\x17SetRateVtolStateRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"[\n\x18SetRateVtolStateResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\")\n\x16SetRateAttitudeRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"Z\n\x17SetRateAttitudeResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"<\n)SetRateAttitudeAngularVelocityBodyRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"m\n*SetRateAttitudeAngularVelocityBodyResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"9\n&SetRateCameraAttitudeQuaternionRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"j\n\'SetRateCameraAttitudeQuaternionResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"/\n\x1cSetRateCameraAttitudeRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"`\n\x1dSetRateCameraAttitudeResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\",\n\x19SetRateVelocityNedRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"]\n\x1aSetRateVelocityNedResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"(\n\x15SetRateGpsInfoRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"Y\n\x16SetRateGpsInfoResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"\'\n\x14SetRateRawGpsRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"(\n\x15SetRateBatteryRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"Y\n\x16SetRateBatteryResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\")\n\x16SetRateRcStatusRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"Z\n\x17SetRateRcStatusResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"6\n#SetRateActuatorControlTargetRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"g\n$SetRateActuatorControlTargetResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"5\n\"SetRateActuatorOutputStatusRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"f\n#SetRateActuatorOutputStatusResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\")\n\x16SetRateOdometryRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"Z\n\x17SetRateOdometryResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"4\n!SetRatePositionVelocityNedRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"e\n\"SetRatePositionVelocityNedResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\",\n\x19SetRateGroundTruthRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"]\n\x1aSetRateGroundTruthResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"1\n\x1eSetRateFixedwingMetricsRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"b\n\x1fSetRateFixedwingMetricsResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"$\n\x11SetRateImuRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"U\n\x12SetRateImuResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"*\n\x17SetRateScaledImuRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"[\n\x18SetRateScaledImuResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"\'\n\x14SetRateRawImuRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"X\n\x15SetRateRawImuResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\".\n\x1bSetRateUnixEpochTimeRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"_\n\x1cSetRateUnixEpochTimeResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"/\n\x1cSetRateDistanceSensorRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"`\n\x1dSetRateDistanceSensorResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\"\x1b\n\x19GetGpsGlobalOriginRequest\"\x9f\x01\n\x1aGetGpsGlobalOriginResponse\x12?\n\x10telemetry_result\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.TelemetryResult\x12@\n\x11gps_global_origin\x18\x02 \x01(\x0b\x32%.mavsdk.rpc.telemetry.GpsGlobalOrigin\"\x95\x01\n\x08Position\x12\x1d\n\x0clatitude_deg\x18\x01 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12\x1e\n\rlongitude_deg\x18\x02 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13\x61\x62solute_altitude_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13relative_altitude_m\x18\x04 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"\'\n\x07Heading\x12\x1c\n\x0bheading_deg\x18\x01 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\"r\n\nQuaternion\x12\x12\n\x01w\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x12\n\x01x\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x12\n\x01y\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x12\n\x01z\x18\x04 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x14\n\x0ctimestamp_us\x18\x05 \x01(\x04\"s\n\nEulerAngle\x12\x19\n\x08roll_deg\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1a\n\tpitch_deg\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x18\n\x07yaw_deg\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x14\n\x0ctimestamp_us\x18\x04 \x01(\x04\"l\n\x13\x41ngularVelocityBody\x12\x1b\n\nroll_rad_s\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1c\n\x0bpitch_rad_s\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1a\n\tyaw_rad_s\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"Y\n\x07GpsInfo\x12\x1d\n\x0enum_satellites\x18\x01 \x01(\x05\x42\x05\x82\xb5\x18\x01\x30\x12/\n\x08\x66ix_type\x18\x02 \x01(\x0e\x32\x1d.mavsdk.rpc.telemetry.FixType\"\xdf\x02\n\x06RawGps\x12\x14\n\x0ctimestamp_us\x18\x01 \x01(\x04\x12\x14\n\x0clatitude_deg\x18\x02 \x01(\x01\x12\x15\n\rlongitude_deg\x18\x03 \x01(\x01\x12\x1b\n\x13\x61\x62solute_altitude_m\x18\x04 \x01(\x02\x12\x0c\n\x04hdop\x18\x05 \x01(\x02\x12\x0c\n\x04vdop\x18\x06 \x01(\x02\x12\x14\n\x0cvelocity_m_s\x18\x07 \x01(\x02\x12\x0f\n\x07\x63og_deg\x18\x08 \x01(\x02\x12\x1c\n\x14\x61ltitude_ellipsoid_m\x18\t \x01(\x02\x12 \n\x18horizontal_uncertainty_m\x18\n \x01(\x02\x12\x1e\n\x16vertical_uncertainty_m\x18\x0b \x01(\x02\x12 \n\x18velocity_uncertainty_m_s\x18\x0c \x01(\x02\x12\x1f\n\x17heading_uncertainty_deg\x18\r \x01(\x02\x12\x0f\n\x07yaw_deg\x18\x0e \x01(\x02\"\\\n\x07\x42\x61ttery\x12\x11\n\x02id\x18\x03 \x01(\rB\x05\x82\xb5\x18\x01\x30\x12\x1a\n\tvoltage_v\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\"\n\x11remaining_percent\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"\xb9\x02\n\x06Health\x12.\n\x1bis_gyrometer_calibration_ok\x18\x01 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12\x32\n\x1fis_accelerometer_calibration_ok\x18\x02 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12\x31\n\x1eis_magnetometer_calibration_ok\x18\x03 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12\'\n\x14is_local_position_ok\x18\x05 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12(\n\x15is_global_position_ok\x18\x06 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12&\n\x13is_home_position_ok\x18\x07 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12\x1d\n\nis_armable\x18\x08 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\"|\n\x08RcStatus\x12%\n\x12was_available_once\x18\x01 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12\x1f\n\x0cis_available\x18\x02 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12(\n\x17signal_strength_percent\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"N\n\nStatusText\x12\x32\n\x04type\x18\x01 \x01(\x0e\x32$.mavsdk.rpc.telemetry.StatusTextType\x12\x0c\n\x04text\x18\x02 \x01(\t\"?\n\x15\x41\x63tuatorControlTarget\x12\x14\n\x05group\x18\x01 \x01(\x05\x42\x05\x82\xb5\x18\x01\x30\x12\x10\n\x08\x63ontrols\x18\x02 \x03(\x02\"?\n\x14\x41\x63tuatorOutputStatus\x12\x15\n\x06\x61\x63tive\x18\x01 \x01(\rB\x05\x82\xb5\x18\x01\x30\x12\x10\n\x08\x61\x63tuator\x18\x02 \x03(\x02\"\'\n\nCovariance\x12\x19\n\x11\x63ovariance_matrix\x18\x01 \x03(\x02\";\n\x0cVelocityBody\x12\r\n\x05x_m_s\x18\x01 \x01(\x02\x12\r\n\x05y_m_s\x18\x02 \x01(\x02\x12\r\n\x05z_m_s\x18\x03 \x01(\x02\"5\n\x0cPositionBody\x12\x0b\n\x03x_m\x18\x01 \x01(\x02\x12\x0b\n\x03y_m\x18\x02 \x01(\x02\x12\x0b\n\x03z_m\x18\x03 \x01(\x02\"\xec\x04\n\x08Odometry\x12\x11\n\ttime_usec\x18\x01 \x01(\x04\x12\x39\n\x08\x66rame_id\x18\x02 \x01(\x0e\x32\'.mavsdk.rpc.telemetry.Odometry.MavFrame\x12?\n\x0e\x63hild_frame_id\x18\x03 \x01(\x0e\x32\'.mavsdk.rpc.telemetry.Odometry.MavFrame\x12\x39\n\rposition_body\x18\x04 \x01(\x0b\x32\".mavsdk.rpc.telemetry.PositionBody\x12+\n\x01q\x18\x05 \x01(\x0b\x32 .mavsdk.rpc.telemetry.Quaternion\x12\x39\n\rvelocity_body\x18\x06 \x01(\x0b\x32\".mavsdk.rpc.telemetry.VelocityBody\x12H\n\x15\x61ngular_velocity_body\x18\x07 \x01(\x0b\x32).mavsdk.rpc.telemetry.AngularVelocityBody\x12\x39\n\x0fpose_covariance\x18\x08 \x01(\x0b\x32 .mavsdk.rpc.telemetry.Covariance\x12=\n\x13velocity_covariance\x18\t \x01(\x0b\x32 .mavsdk.rpc.telemetry.Covariance\"j\n\x08MavFrame\x12\x13\n\x0fMAV_FRAME_UNDEF\x10\x00\x12\x16\n\x12MAV_FRAME_BODY_NED\x10\x08\x12\x18\n\x14MAV_FRAME_VISION_NED\x10\x10\x12\x17\n\x13MAV_FRAME_ESTIM_NED\x10\x12\"\x7f\n\x0e\x44istanceSensor\x12#\n\x12minimum_distance_m\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12#\n\x12maximum_distance_m\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12#\n\x12\x63urrent_distance_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"\xb0\x01\n\x0eScaledPressure\x12\x14\n\x0ctimestamp_us\x18\x01 \x01(\x04\x12\x1d\n\x15\x61\x62solute_pressure_hpa\x18\x02 \x01(\x02\x12!\n\x19\x64ifferential_pressure_hpa\x18\x03 \x01(\x02\x12\x17\n\x0ftemperature_deg\x18\x04 \x01(\x02\x12-\n%differential_pressure_temperature_deg\x18\x05 \x01(\x02\"Y\n\x0bPositionNed\x12\x18\n\x07north_m\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x17\n\x06\x65\x61st_m\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x17\n\x06\x64own_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"D\n\x0bVelocityNed\x12\x11\n\tnorth_m_s\x18\x01 \x01(\x02\x12\x10\n\x08\x65\x61st_m_s\x18\x02 \x01(\x02\x12\x10\n\x08\x64own_m_s\x18\x03 \x01(\x02\"\x7f\n\x13PositionVelocityNed\x12\x33\n\x08position\x18\x01 \x01(\x0b\x32!.mavsdk.rpc.telemetry.PositionNed\x12\x33\n\x08velocity\x18\x02 \x01(\x0b\x32!.mavsdk.rpc.telemetry.VelocityNed\"r\n\x0bGroundTruth\x12\x1d\n\x0clatitude_deg\x18\x01 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12\x1e\n\rlongitude_deg\x18\x02 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13\x61\x62solute_altitude_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"x\n\x10\x46ixedwingMetrics\x12\x1d\n\x0c\x61irspeed_m_s\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13throttle_percentage\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1f\n\x0e\x63limb_rate_m_s\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"i\n\x0f\x41\x63\x63\x65lerationFrd\x12\x1d\n\x0c\x66orward_m_s2\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1b\n\nright_m_s2\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1a\n\tdown_m_s2\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"o\n\x12\x41ngularVelocityFrd\x12\x1e\n\rforward_rad_s\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1c\n\x0bright_rad_s\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1b\n\ndown_rad_s\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"m\n\x10MagneticFieldFrd\x12\x1e\n\rforward_gauss\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1c\n\x0bright_gauss\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1b\n\ndown_gauss\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"\x8b\x02\n\x03Imu\x12?\n\x10\x61\x63\x63\x65leration_frd\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry.AccelerationFrd\x12\x46\n\x14\x61ngular_velocity_frd\x18\x02 \x01(\x0b\x32(.mavsdk.rpc.telemetry.AngularVelocityFrd\x12\x42\n\x12magnetic_field_frd\x18\x03 \x01(\x0b\x32&.mavsdk.rpc.telemetry.MagneticFieldFrd\x12!\n\x10temperature_degc\x18\x04 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x14\n\x0ctimestamp_us\x18\x05 \x01(\x04\"m\n\x0fGpsGlobalOrigin\x12\x1d\n\x0clatitude_deg\x18\x01 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12\x1e\n\rlongitude_deg\x18\x02 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12\x1b\n\naltitude_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"\xa1\x02\n\x0fTelemetryResult\x12<\n\x06result\x18\x01 \x01(\x0e\x32,.mavsdk.rpc.telemetry.TelemetryResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xbb\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x19\n\x15RESULT_COMMAND_DENIED\x10\x05\x12\x12\n\x0eRESULT_TIMEOUT\x10\x06\x12\x16\n\x12RESULT_UNSUPPORTED\x10\x07*\xa4\x01\n\x07\x46ixType\x12\x13\n\x0f\x46IX_TYPE_NO_GPS\x10\x00\x12\x13\n\x0f\x46IX_TYPE_NO_FIX\x10\x01\x12\x13\n\x0f\x46IX_TYPE_FIX_2D\x10\x02\x12\x13\n\x0f\x46IX_TYPE_FIX_3D\x10\x03\x12\x15\n\x11\x46IX_TYPE_FIX_DGPS\x10\x04\x12\x16\n\x12\x46IX_TYPE_RTK_FLOAT\x10\x05\x12\x16\n\x12\x46IX_TYPE_RTK_FIXED\x10\x06*\x86\x03\n\nFlightMode\x12\x17\n\x13\x46LIGHT_MODE_UNKNOWN\x10\x00\x12\x15\n\x11\x46LIGHT_MODE_READY\x10\x01\x12\x17\n\x13\x46LIGHT_MODE_TAKEOFF\x10\x02\x12\x14\n\x10\x46LIGHT_MODE_HOLD\x10\x03\x12\x17\n\x13\x46LIGHT_MODE_MISSION\x10\x04\x12 \n\x1c\x46LIGHT_MODE_RETURN_TO_LAUNCH\x10\x05\x12\x14\n\x10\x46LIGHT_MODE_LAND\x10\x06\x12\x18\n\x14\x46LIGHT_MODE_OFFBOARD\x10\x07\x12\x19\n\x15\x46LIGHT_MODE_FOLLOW_ME\x10\x08\x12\x16\n\x12\x46LIGHT_MODE_MANUAL\x10\t\x12\x16\n\x12\x46LIGHT_MODE_ALTCTL\x10\n\x12\x16\n\x12\x46LIGHT_MODE_POSCTL\x10\x0b\x12\x14\n\x10\x46LIGHT_MODE_ACRO\x10\x0c\x12\x1a\n\x16\x46LIGHT_MODE_STABILIZED\x10\r\x12\x19\n\x15\x46LIGHT_MODE_RATTITUDE\x10\x0e*\xf9\x01\n\x0eStatusTextType\x12\x1a\n\x16STATUS_TEXT_TYPE_DEBUG\x10\x00\x12\x19\n\x15STATUS_TEXT_TYPE_INFO\x10\x01\x12\x1b\n\x17STATUS_TEXT_TYPE_NOTICE\x10\x02\x12\x1c\n\x18STATUS_TEXT_TYPE_WARNING\x10\x03\x12\x1a\n\x16STATUS_TEXT_TYPE_ERROR\x10\x04\x12\x1d\n\x19STATUS_TEXT_TYPE_CRITICAL\x10\x05\x12\x1a\n\x16STATUS_TEXT_TYPE_ALERT\x10\x06\x12\x1e\n\x1aSTATUS_TEXT_TYPE_EMERGENCY\x10\x07*\x93\x01\n\x0bLandedState\x12\x18\n\x14LANDED_STATE_UNKNOWN\x10\x00\x12\x1a\n\x16LANDED_STATE_ON_GROUND\x10\x01\x12\x17\n\x13LANDED_STATE_IN_AIR\x10\x02\x12\x1b\n\x17LANDED_STATE_TAKING_OFF\x10\x03\x12\x18\n\x14LANDED_STATE_LANDING\x10\x04*\x8d\x01\n\tVtolState\x12\x18\n\x14VTOL_STATE_UNDEFINED\x10\x00\x12\x1f\n\x1bVTOL_STATE_TRANSITION_TO_FW\x10\x01\x12\x1f\n\x1bVTOL_STATE_TRANSITION_TO_MC\x10\x02\x12\x11\n\rVTOL_STATE_MC\x10\x03\x12\x11\n\rVTOL_STATE_FW\x10\x04\x32\xfe\x35\n\x10TelemetryService\x12o\n\x11SubscribePosition\x12..mavsdk.rpc.telemetry.SubscribePositionRequest\x1a&.mavsdk.rpc.telemetry.PositionResponse\"\x00\x30\x01\x12\x63\n\rSubscribeHome\x12*.mavsdk.rpc.telemetry.SubscribeHomeRequest\x1a\".mavsdk.rpc.telemetry.HomeResponse\"\x00\x30\x01\x12\x66\n\x0eSubscribeInAir\x12+.mavsdk.rpc.telemetry.SubscribeInAirRequest\x1a#.mavsdk.rpc.telemetry.InAirResponse\"\x00\x30\x01\x12x\n\x14SubscribeLandedState\x12\x31.mavsdk.rpc.telemetry.SubscribeLandedStateRequest\x1a).mavsdk.rpc.telemetry.LandedStateResponse\"\x00\x30\x01\x12\x66\n\x0eSubscribeArmed\x12+.mavsdk.rpc.telemetry.SubscribeArmedRequest\x1a#.mavsdk.rpc.telemetry.ArmedResponse\"\x00\x30\x01\x12r\n\x12SubscribeVtolState\x12/.mavsdk.rpc.telemetry.SubscribeVtolStateRequest\x1a\'.mavsdk.rpc.telemetry.VtolStateResponse\"\x00\x30\x01\x12\x8d\x01\n\x1bSubscribeAttitudeQuaternion\x12\x38.mavsdk.rpc.telemetry.SubscribeAttitudeQuaternionRequest\x1a\x30.mavsdk.rpc.telemetry.AttitudeQuaternionResponse\"\x00\x30\x01\x12~\n\x16SubscribeAttitudeEuler\x12\x33.mavsdk.rpc.telemetry.SubscribeAttitudeEulerRequest\x1a+.mavsdk.rpc.telemetry.AttitudeEulerResponse\"\x00\x30\x01\x12\xa8\x01\n$SubscribeAttitudeAngularVelocityBody\x12\x41.mavsdk.rpc.telemetry.SubscribeAttitudeAngularVelocityBodyRequest\x1a\x39.mavsdk.rpc.telemetry.AttitudeAngularVelocityBodyResponse\"\x00\x30\x01\x12\x9f\x01\n!SubscribeCameraAttitudeQuaternion\x12>.mavsdk.rpc.telemetry.SubscribeCameraAttitudeQuaternionRequest\x1a\x36.mavsdk.rpc.telemetry.CameraAttitudeQuaternionResponse\"\x00\x30\x01\x12\x90\x01\n\x1cSubscribeCameraAttitudeEuler\x12\x39.mavsdk.rpc.telemetry.SubscribeCameraAttitudeEulerRequest\x1a\x31.mavsdk.rpc.telemetry.CameraAttitudeEulerResponse\"\x00\x30\x01\x12x\n\x14SubscribeVelocityNed\x12\x31.mavsdk.rpc.telemetry.SubscribeVelocityNedRequest\x1a).mavsdk.rpc.telemetry.VelocityNedResponse\"\x00\x30\x01\x12l\n\x10SubscribeGpsInfo\x12-.mavsdk.rpc.telemetry.SubscribeGpsInfoRequest\x1a%.mavsdk.rpc.telemetry.GpsInfoResponse\"\x00\x30\x01\x12i\n\x0fSubscribeRawGps\x12,.mavsdk.rpc.telemetry.SubscribeRawGpsRequest\x1a$.mavsdk.rpc.telemetry.RawGpsResponse\"\x00\x30\x01\x12l\n\x10SubscribeBattery\x12-.mavsdk.rpc.telemetry.SubscribeBatteryRequest\x1a%.mavsdk.rpc.telemetry.BatteryResponse\"\x00\x30\x01\x12u\n\x13SubscribeFlightMode\x12\x30.mavsdk.rpc.telemetry.SubscribeFlightModeRequest\x1a(.mavsdk.rpc.telemetry.FlightModeResponse\"\x00\x30\x01\x12i\n\x0fSubscribeHealth\x12,.mavsdk.rpc.telemetry.SubscribeHealthRequest\x1a$.mavsdk.rpc.telemetry.HealthResponse\"\x00\x30\x01\x12o\n\x11SubscribeRcStatus\x12..mavsdk.rpc.telemetry.SubscribeRcStatusRequest\x1a&.mavsdk.rpc.telemetry.RcStatusResponse\"\x00\x30\x01\x12u\n\x13SubscribeStatusText\x12\x30.mavsdk.rpc.telemetry.SubscribeStatusTextRequest\x1a(.mavsdk.rpc.telemetry.StatusTextResponse\"\x00\x30\x01\x12\x96\x01\n\x1eSubscribeActuatorControlTarget\x12;.mavsdk.rpc.telemetry.SubscribeActuatorControlTargetRequest\x1a\x33.mavsdk.rpc.telemetry.ActuatorControlTargetResponse\"\x00\x30\x01\x12\x93\x01\n\x1dSubscribeActuatorOutputStatus\x12:.mavsdk.rpc.telemetry.SubscribeActuatorOutputStatusRequest\x1a\x32.mavsdk.rpc.telemetry.ActuatorOutputStatusResponse\"\x00\x30\x01\x12o\n\x11SubscribeOdometry\x12..mavsdk.rpc.telemetry.SubscribeOdometryRequest\x1a&.mavsdk.rpc.telemetry.OdometryResponse\"\x00\x30\x01\x12\x90\x01\n\x1cSubscribePositionVelocityNed\x12\x39.mavsdk.rpc.telemetry.SubscribePositionVelocityNedRequest\x1a\x31.mavsdk.rpc.telemetry.PositionVelocityNedResponse\"\x00\x30\x01\x12x\n\x14SubscribeGroundTruth\x12\x31.mavsdk.rpc.telemetry.SubscribeGroundTruthRequest\x1a).mavsdk.rpc.telemetry.GroundTruthResponse\"\x00\x30\x01\x12\x87\x01\n\x19SubscribeFixedwingMetrics\x12\x36.mavsdk.rpc.telemetry.SubscribeFixedwingMetricsRequest\x1a..mavsdk.rpc.telemetry.FixedwingMetricsResponse\"\x00\x30\x01\x12`\n\x0cSubscribeImu\x12).mavsdk.rpc.telemetry.SubscribeImuRequest\x1a!.mavsdk.rpc.telemetry.ImuResponse\"\x00\x30\x01\x12r\n\x12SubscribeScaledImu\x12/.mavsdk.rpc.telemetry.SubscribeScaledImuRequest\x1a\'.mavsdk.rpc.telemetry.ScaledImuResponse\"\x00\x30\x01\x12i\n\x0fSubscribeRawImu\x12,.mavsdk.rpc.telemetry.SubscribeRawImuRequest\x1a$.mavsdk.rpc.telemetry.RawImuResponse\"\x00\x30\x01\x12x\n\x14SubscribeHealthAllOk\x12\x31.mavsdk.rpc.telemetry.SubscribeHealthAllOkRequest\x1a).mavsdk.rpc.telemetry.HealthAllOkResponse\"\x00\x30\x01\x12~\n\x16SubscribeUnixEpochTime\x12\x33.mavsdk.rpc.telemetry.SubscribeUnixEpochTimeRequest\x1a+.mavsdk.rpc.telemetry.UnixEpochTimeResponse\"\x00\x30\x01\x12\x81\x01\n\x17SubscribeDistanceSensor\x12\x34.mavsdk.rpc.telemetry.SubscribeDistanceSensorRequest\x1a,.mavsdk.rpc.telemetry.DistanceSensorResponse\"\x00\x30\x01\x12\x81\x01\n\x17SubscribeScaledPressure\x12\x34.mavsdk.rpc.telemetry.SubscribeScaledPressureRequest\x1a,.mavsdk.rpc.telemetry.ScaledPressureResponse\"\x00\x30\x01\x12l\n\x10SubscribeHeading\x12-.mavsdk.rpc.telemetry.SubscribeHeadingRequest\x1a%.mavsdk.rpc.telemetry.HeadingResponse\"\x00\x30\x01\x12p\n\x0fSetRatePosition\x12,.mavsdk.rpc.telemetry.SetRatePositionRequest\x1a-.mavsdk.rpc.telemetry.SetRatePositionResponse\"\x00\x12\x64\n\x0bSetRateHome\x12(.mavsdk.rpc.telemetry.SetRateHomeRequest\x1a).mavsdk.rpc.telemetry.SetRateHomeResponse\"\x00\x12g\n\x0cSetRateInAir\x12).mavsdk.rpc.telemetry.SetRateInAirRequest\x1a*.mavsdk.rpc.telemetry.SetRateInAirResponse\"\x00\x12y\n\x12SetRateLandedState\x12/.mavsdk.rpc.telemetry.SetRateLandedStateRequest\x1a\x30.mavsdk.rpc.telemetry.SetRateLandedStateResponse\"\x00\x12s\n\x10SetRateVtolState\x12-.mavsdk.rpc.telemetry.SetRateVtolStateRequest\x1a..mavsdk.rpc.telemetry.SetRateVtolStateResponse\"\x00\x12p\n\x0fSetRateAttitude\x12,.mavsdk.rpc.telemetry.SetRateAttitudeRequest\x1a-.mavsdk.rpc.telemetry.SetRateAttitudeResponse\"\x00\x12\x82\x01\n\x15SetRateCameraAttitude\x12\x32.mavsdk.rpc.telemetry.SetRateCameraAttitudeRequest\x1a\x33.mavsdk.rpc.telemetry.SetRateCameraAttitudeResponse\"\x00\x12y\n\x12SetRateVelocityNed\x12/.mavsdk.rpc.telemetry.SetRateVelocityNedRequest\x1a\x30.mavsdk.rpc.telemetry.SetRateVelocityNedResponse\"\x00\x12m\n\x0eSetRateGpsInfo\x12+.mavsdk.rpc.telemetry.SetRateGpsInfoRequest\x1a,.mavsdk.rpc.telemetry.SetRateGpsInfoResponse\"\x00\x12m\n\x0eSetRateBattery\x12+.mavsdk.rpc.telemetry.SetRateBatteryRequest\x1a,.mavsdk.rpc.telemetry.SetRateBatteryResponse\"\x00\x12p\n\x0fSetRateRcStatus\x12,.mavsdk.rpc.telemetry.SetRateRcStatusRequest\x1a-.mavsdk.rpc.telemetry.SetRateRcStatusResponse\"\x00\x12\x97\x01\n\x1cSetRateActuatorControlTarget\x12\x39.mavsdk.rpc.telemetry.SetRateActuatorControlTargetRequest\x1a:.mavsdk.rpc.telemetry.SetRateActuatorControlTargetResponse\"\x00\x12\x94\x01\n\x1bSetRateActuatorOutputStatus\x12\x38.mavsdk.rpc.telemetry.SetRateActuatorOutputStatusRequest\x1a\x39.mavsdk.rpc.telemetry.SetRateActuatorOutputStatusResponse\"\x00\x12p\n\x0fSetRateOdometry\x12,.mavsdk.rpc.telemetry.SetRateOdometryRequest\x1a-.mavsdk.rpc.telemetry.SetRateOdometryResponse\"\x00\x12\x91\x01\n\x1aSetRatePositionVelocityNed\x12\x37.mavsdk.rpc.telemetry.SetRatePositionVelocityNedRequest\x1a\x38.mavsdk.rpc.telemetry.SetRatePositionVelocityNedResponse\"\x00\x12y\n\x12SetRateGroundTruth\x12/.mavsdk.rpc.telemetry.SetRateGroundTruthRequest\x1a\x30.mavsdk.rpc.telemetry.SetRateGroundTruthResponse\"\x00\x12\x88\x01\n\x17SetRateFixedwingMetrics\x12\x34.mavsdk.rpc.telemetry.SetRateFixedwingMetricsRequest\x1a\x35.mavsdk.rpc.telemetry.SetRateFixedwingMetricsResponse\"\x00\x12\x61\n\nSetRateImu\x12\'.mavsdk.rpc.telemetry.SetRateImuRequest\x1a(.mavsdk.rpc.telemetry.SetRateImuResponse\"\x00\x12s\n\x10SetRateScaledImu\x12-.mavsdk.rpc.telemetry.SetRateScaledImuRequest\x1a..mavsdk.rpc.telemetry.SetRateScaledImuResponse\"\x00\x12j\n\rSetRateRawImu\x12*.mavsdk.rpc.telemetry.SetRateRawImuRequest\x1a+.mavsdk.rpc.telemetry.SetRateRawImuResponse\"\x00\x12\x7f\n\x14SetRateUnixEpochTime\x12\x31.mavsdk.rpc.telemetry.SetRateUnixEpochTimeRequest\x1a\x32.mavsdk.rpc.telemetry.SetRateUnixEpochTimeResponse\"\x00\x12\x82\x01\n\x15SetRateDistanceSensor\x12\x32.mavsdk.rpc.telemetry.SetRateDistanceSensorRequest\x1a\x33.mavsdk.rpc.telemetry.SetRateDistanceSensorResponse\"\x00\x12y\n\x12GetGpsGlobalOrigin\x12/.mavsdk.rpc.telemetry.GetGpsGlobalOriginRequest\x1a\x30.mavsdk.rpc.telemetry.GetGpsGlobalOriginResponse\"\x00\x42%\n\x13io.mavsdk.telemetryB\x0eTelemetryProtob\x06proto3') +_FIXTYPE = DESCRIPTOR.enum_types_by_name['FixType'] FixType = enum_type_wrapper.EnumTypeWrapper(_FIXTYPE) -_FLIGHTMODE = _descriptor.EnumDescriptor( - name='FlightMode', - full_name='mavsdk.rpc.telemetry.FlightMode', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_READY', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_TAKEOFF', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_HOLD', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_MISSION', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_RETURN_TO_LAUNCH', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_LAND', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_OFFBOARD', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_FOLLOW_ME', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_MANUAL', index=9, number=9, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_ALTCTL', index=10, number=10, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_POSCTL', index=11, number=11, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_ACRO', index=12, number=12, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_STABILIZED', index=13, number=13, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLIGHT_MODE_RATTITUDE', index=14, number=14, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=11777, - serialized_end=12167, -) -_sym_db.RegisterEnumDescriptor(_FLIGHTMODE) - +_FLIGHTMODE = DESCRIPTOR.enum_types_by_name['FlightMode'] FlightMode = enum_type_wrapper.EnumTypeWrapper(_FLIGHTMODE) -_STATUSTEXTTYPE = _descriptor.EnumDescriptor( - name='StatusTextType', - full_name='mavsdk.rpc.telemetry.StatusTextType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_DEBUG', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_INFO', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_NOTICE', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_WARNING', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_ERROR', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_CRITICAL', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_ALERT', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_EMERGENCY', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=12170, - serialized_end=12419, -) -_sym_db.RegisterEnumDescriptor(_STATUSTEXTTYPE) - +_STATUSTEXTTYPE = DESCRIPTOR.enum_types_by_name['StatusTextType'] StatusTextType = enum_type_wrapper.EnumTypeWrapper(_STATUSTEXTTYPE) -_LANDEDSTATE = _descriptor.EnumDescriptor( - name='LandedState', - full_name='mavsdk.rpc.telemetry.LandedState', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='LANDED_STATE_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='LANDED_STATE_ON_GROUND', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='LANDED_STATE_IN_AIR', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='LANDED_STATE_TAKING_OFF', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='LANDED_STATE_LANDING', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=12422, - serialized_end=12569, -) -_sym_db.RegisterEnumDescriptor(_LANDEDSTATE) - +_LANDEDSTATE = DESCRIPTOR.enum_types_by_name['LandedState'] LandedState = enum_type_wrapper.EnumTypeWrapper(_LANDEDSTATE) -_VTOLSTATE = _descriptor.EnumDescriptor( - name='VtolState', - full_name='mavsdk.rpc.telemetry.VtolState', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='VTOL_STATE_UNDEFINED', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='VTOL_STATE_TRANSITION_TO_FW', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='VTOL_STATE_TRANSITION_TO_MC', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='VTOL_STATE_MC', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='VTOL_STATE_FW', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=12572, - serialized_end=12713, -) -_sym_db.RegisterEnumDescriptor(_VTOLSTATE) - +_VTOLSTATE = DESCRIPTOR.enum_types_by_name['VtolState'] VtolState = enum_type_wrapper.EnumTypeWrapper(_VTOLSTATE) FIX_TYPE_NO_GPS = 0 FIX_TYPE_NO_FIX = 1 @@ -347,5351 +70,155 @@ VTOL_STATE_FW = 4 -_ODOMETRY_MAVFRAME = _descriptor.EnumDescriptor( - name='MavFrame', - full_name='mavsdk.rpc.telemetry.Odometry.MavFrame', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='MAV_FRAME_UNDEF', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='MAV_FRAME_BODY_NED', index=1, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='MAV_FRAME_VISION_NED', index=2, number=16, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='MAV_FRAME_ESTIM_NED', index=3, number=18, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=9661, - serialized_end=9767, -) -_sym_db.RegisterEnumDescriptor(_ODOMETRY_MAVFRAME) - -_TELEMETRYRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.telemetry.TelemetryResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_CONNECTION_ERROR', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_BUSY', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_COMMAND_DENIED', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TIMEOUT', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_UNSUPPORTED', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=11420, - serialized_end=11607, -) -_sym_db.RegisterEnumDescriptor(_TELEMETRYRESULT_RESULT) - - -_SUBSCRIBEPOSITIONREQUEST = _descriptor.Descriptor( - name='SubscribePositionRequest', - full_name='mavsdk.rpc.telemetry.SubscribePositionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=73, - serialized_end=99, -) - - -_POSITIONRESPONSE = _descriptor.Descriptor( - name='PositionResponse', - full_name='mavsdk.rpc.telemetry.PositionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='position', full_name='mavsdk.rpc.telemetry.PositionResponse.position', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=101, - serialized_end=169, -) - - -_SUBSCRIBEHOMEREQUEST = _descriptor.Descriptor( - name='SubscribeHomeRequest', - full_name='mavsdk.rpc.telemetry.SubscribeHomeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=171, - serialized_end=193, -) - - -_HOMERESPONSE = _descriptor.Descriptor( - name='HomeResponse', - full_name='mavsdk.rpc.telemetry.HomeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='home', full_name='mavsdk.rpc.telemetry.HomeResponse.home', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=195, - serialized_end=255, -) - - -_SUBSCRIBEINAIRREQUEST = _descriptor.Descriptor( - name='SubscribeInAirRequest', - full_name='mavsdk.rpc.telemetry.SubscribeInAirRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=257, - serialized_end=280, -) - - -_INAIRRESPONSE = _descriptor.Descriptor( - name='InAirResponse', - full_name='mavsdk.rpc.telemetry.InAirResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='is_in_air', full_name='mavsdk.rpc.telemetry.InAirResponse.is_in_air', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=282, - serialized_end=316, -) - - -_SUBSCRIBELANDEDSTATEREQUEST = _descriptor.Descriptor( - name='SubscribeLandedStateRequest', - full_name='mavsdk.rpc.telemetry.SubscribeLandedStateRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=318, - serialized_end=347, -) - - -_LANDEDSTATERESPONSE = _descriptor.Descriptor( - name='LandedStateResponse', - full_name='mavsdk.rpc.telemetry.LandedStateResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='landed_state', full_name='mavsdk.rpc.telemetry.LandedStateResponse.landed_state', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=349, - serialized_end=427, -) - - -_SUBSCRIBEARMEDREQUEST = _descriptor.Descriptor( - name='SubscribeArmedRequest', - full_name='mavsdk.rpc.telemetry.SubscribeArmedRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=429, - serialized_end=452, -) - - -_ARMEDRESPONSE = _descriptor.Descriptor( - name='ArmedResponse', - full_name='mavsdk.rpc.telemetry.ArmedResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='is_armed', full_name='mavsdk.rpc.telemetry.ArmedResponse.is_armed', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=454, - serialized_end=487, -) - - -_SUBSCRIBEVTOLSTATEREQUEST = _descriptor.Descriptor( - name='SubscribeVtolStateRequest', - full_name='mavsdk.rpc.telemetry.SubscribeVtolStateRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=489, - serialized_end=516, -) - - -_VTOLSTATERESPONSE = _descriptor.Descriptor( - name='VtolStateResponse', - full_name='mavsdk.rpc.telemetry.VtolStateResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='vtol_state', full_name='mavsdk.rpc.telemetry.VtolStateResponse.vtol_state', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=518, - serialized_end=590, -) - - -_SUBSCRIBEATTITUDEQUATERNIONREQUEST = _descriptor.Descriptor( - name='SubscribeAttitudeQuaternionRequest', - full_name='mavsdk.rpc.telemetry.SubscribeAttitudeQuaternionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=592, - serialized_end=628, -) - - -_ATTITUDEQUATERNIONRESPONSE = _descriptor.Descriptor( - name='AttitudeQuaternionResponse', - full_name='mavsdk.rpc.telemetry.AttitudeQuaternionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='attitude_quaternion', full_name='mavsdk.rpc.telemetry.AttitudeQuaternionResponse.attitude_quaternion', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=630, - serialized_end=721, -) - - -_SUBSCRIBEATTITUDEEULERREQUEST = _descriptor.Descriptor( - name='SubscribeAttitudeEulerRequest', - full_name='mavsdk.rpc.telemetry.SubscribeAttitudeEulerRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=723, - serialized_end=754, -) - - -_ATTITUDEEULERRESPONSE = _descriptor.Descriptor( - name='AttitudeEulerResponse', - full_name='mavsdk.rpc.telemetry.AttitudeEulerResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='attitude_euler', full_name='mavsdk.rpc.telemetry.AttitudeEulerResponse.attitude_euler', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=756, - serialized_end=837, -) - - -_SUBSCRIBEATTITUDEANGULARVELOCITYBODYREQUEST = _descriptor.Descriptor( - name='SubscribeAttitudeAngularVelocityBodyRequest', - full_name='mavsdk.rpc.telemetry.SubscribeAttitudeAngularVelocityBodyRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=839, - serialized_end=884, -) - - -_ATTITUDEANGULARVELOCITYBODYRESPONSE = _descriptor.Descriptor( - name='AttitudeAngularVelocityBodyResponse', - full_name='mavsdk.rpc.telemetry.AttitudeAngularVelocityBodyResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='attitude_angular_velocity_body', full_name='mavsdk.rpc.telemetry.AttitudeAngularVelocityBodyResponse.attitude_angular_velocity_body', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=886, - serialized_end=1006, -) - - -_SUBSCRIBECAMERAATTITUDEQUATERNIONREQUEST = _descriptor.Descriptor( - name='SubscribeCameraAttitudeQuaternionRequest', - full_name='mavsdk.rpc.telemetry.SubscribeCameraAttitudeQuaternionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1008, - serialized_end=1050, -) - - -_CAMERAATTITUDEQUATERNIONRESPONSE = _descriptor.Descriptor( - name='CameraAttitudeQuaternionResponse', - full_name='mavsdk.rpc.telemetry.CameraAttitudeQuaternionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='attitude_quaternion', full_name='mavsdk.rpc.telemetry.CameraAttitudeQuaternionResponse.attitude_quaternion', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1052, - serialized_end=1149, -) - - -_SUBSCRIBECAMERAATTITUDEEULERREQUEST = _descriptor.Descriptor( - name='SubscribeCameraAttitudeEulerRequest', - full_name='mavsdk.rpc.telemetry.SubscribeCameraAttitudeEulerRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1151, - serialized_end=1188, -) - - -_CAMERAATTITUDEEULERRESPONSE = _descriptor.Descriptor( - name='CameraAttitudeEulerResponse', - full_name='mavsdk.rpc.telemetry.CameraAttitudeEulerResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='attitude_euler', full_name='mavsdk.rpc.telemetry.CameraAttitudeEulerResponse.attitude_euler', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1190, - serialized_end=1277, -) - - -_SUBSCRIBEVELOCITYNEDREQUEST = _descriptor.Descriptor( - name='SubscribeVelocityNedRequest', - full_name='mavsdk.rpc.telemetry.SubscribeVelocityNedRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1279, - serialized_end=1308, -) - - -_VELOCITYNEDRESPONSE = _descriptor.Descriptor( - name='VelocityNedResponse', - full_name='mavsdk.rpc.telemetry.VelocityNedResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='velocity_ned', full_name='mavsdk.rpc.telemetry.VelocityNedResponse.velocity_ned', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1310, - serialized_end=1388, -) - - -_SUBSCRIBEGPSINFOREQUEST = _descriptor.Descriptor( - name='SubscribeGpsInfoRequest', - full_name='mavsdk.rpc.telemetry.SubscribeGpsInfoRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1390, - serialized_end=1415, -) - - -_GPSINFORESPONSE = _descriptor.Descriptor( - name='GpsInfoResponse', - full_name='mavsdk.rpc.telemetry.GpsInfoResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='gps_info', full_name='mavsdk.rpc.telemetry.GpsInfoResponse.gps_info', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1417, - serialized_end=1483, -) - - -_SUBSCRIBERAWGPSREQUEST = _descriptor.Descriptor( - name='SubscribeRawGpsRequest', - full_name='mavsdk.rpc.telemetry.SubscribeRawGpsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1485, - serialized_end=1509, -) - - -_RAWGPSRESPONSE = _descriptor.Descriptor( - name='RawGpsResponse', - full_name='mavsdk.rpc.telemetry.RawGpsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='raw_gps', full_name='mavsdk.rpc.telemetry.RawGpsResponse.raw_gps', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1511, - serialized_end=1574, -) - - -_SUBSCRIBEBATTERYREQUEST = _descriptor.Descriptor( - name='SubscribeBatteryRequest', - full_name='mavsdk.rpc.telemetry.SubscribeBatteryRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1576, - serialized_end=1601, -) - - -_BATTERYRESPONSE = _descriptor.Descriptor( - name='BatteryResponse', - full_name='mavsdk.rpc.telemetry.BatteryResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='battery', full_name='mavsdk.rpc.telemetry.BatteryResponse.battery', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1603, - serialized_end=1668, -) - - -_SUBSCRIBEFLIGHTMODEREQUEST = _descriptor.Descriptor( - name='SubscribeFlightModeRequest', - full_name='mavsdk.rpc.telemetry.SubscribeFlightModeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1670, - serialized_end=1698, -) - - -_FLIGHTMODERESPONSE = _descriptor.Descriptor( - name='FlightModeResponse', - full_name='mavsdk.rpc.telemetry.FlightModeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='flight_mode', full_name='mavsdk.rpc.telemetry.FlightModeResponse.flight_mode', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1700, - serialized_end=1775, -) - - -_SUBSCRIBEHEALTHREQUEST = _descriptor.Descriptor( - name='SubscribeHealthRequest', - full_name='mavsdk.rpc.telemetry.SubscribeHealthRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1777, - serialized_end=1801, -) - - -_HEALTHRESPONSE = _descriptor.Descriptor( - name='HealthResponse', - full_name='mavsdk.rpc.telemetry.HealthResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='health', full_name='mavsdk.rpc.telemetry.HealthResponse.health', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1803, - serialized_end=1865, -) - - -_SUBSCRIBERCSTATUSREQUEST = _descriptor.Descriptor( - name='SubscribeRcStatusRequest', - full_name='mavsdk.rpc.telemetry.SubscribeRcStatusRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1867, - serialized_end=1893, -) - - -_RCSTATUSRESPONSE = _descriptor.Descriptor( - name='RcStatusResponse', - full_name='mavsdk.rpc.telemetry.RcStatusResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rc_status', full_name='mavsdk.rpc.telemetry.RcStatusResponse.rc_status', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1895, - serialized_end=1964, -) - - -_SUBSCRIBESTATUSTEXTREQUEST = _descriptor.Descriptor( - name='SubscribeStatusTextRequest', - full_name='mavsdk.rpc.telemetry.SubscribeStatusTextRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1966, - serialized_end=1994, -) - - -_STATUSTEXTRESPONSE = _descriptor.Descriptor( - name='StatusTextResponse', - full_name='mavsdk.rpc.telemetry.StatusTextResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='status_text', full_name='mavsdk.rpc.telemetry.StatusTextResponse.status_text', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1996, - serialized_end=2071, -) - - -_SUBSCRIBEACTUATORCONTROLTARGETREQUEST = _descriptor.Descriptor( - name='SubscribeActuatorControlTargetRequest', - full_name='mavsdk.rpc.telemetry.SubscribeActuatorControlTargetRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2073, - serialized_end=2112, -) - - -_ACTUATORCONTROLTARGETRESPONSE = _descriptor.Descriptor( - name='ActuatorControlTargetResponse', - full_name='mavsdk.rpc.telemetry.ActuatorControlTargetResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='actuator_control_target', full_name='mavsdk.rpc.telemetry.ActuatorControlTargetResponse.actuator_control_target', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2114, - serialized_end=2223, -) - - -_SUBSCRIBEACTUATOROUTPUTSTATUSREQUEST = _descriptor.Descriptor( - name='SubscribeActuatorOutputStatusRequest', - full_name='mavsdk.rpc.telemetry.SubscribeActuatorOutputStatusRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2225, - serialized_end=2263, -) - - -_ACTUATOROUTPUTSTATUSRESPONSE = _descriptor.Descriptor( - name='ActuatorOutputStatusResponse', - full_name='mavsdk.rpc.telemetry.ActuatorOutputStatusResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='actuator_output_status', full_name='mavsdk.rpc.telemetry.ActuatorOutputStatusResponse.actuator_output_status', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2265, - serialized_end=2371, -) - - -_SUBSCRIBEODOMETRYREQUEST = _descriptor.Descriptor( - name='SubscribeOdometryRequest', - full_name='mavsdk.rpc.telemetry.SubscribeOdometryRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2373, - serialized_end=2399, -) - - -_ODOMETRYRESPONSE = _descriptor.Descriptor( - name='OdometryResponse', - full_name='mavsdk.rpc.telemetry.OdometryResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='odometry', full_name='mavsdk.rpc.telemetry.OdometryResponse.odometry', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2401, - serialized_end=2469, -) - - -_SUBSCRIBEPOSITIONVELOCITYNEDREQUEST = _descriptor.Descriptor( - name='SubscribePositionVelocityNedRequest', - full_name='mavsdk.rpc.telemetry.SubscribePositionVelocityNedRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2471, - serialized_end=2508, -) - - -_POSITIONVELOCITYNEDRESPONSE = _descriptor.Descriptor( - name='PositionVelocityNedResponse', - full_name='mavsdk.rpc.telemetry.PositionVelocityNedResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='position_velocity_ned', full_name='mavsdk.rpc.telemetry.PositionVelocityNedResponse.position_velocity_ned', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2510, - serialized_end=2613, -) - - -_SUBSCRIBEGROUNDTRUTHREQUEST = _descriptor.Descriptor( - name='SubscribeGroundTruthRequest', - full_name='mavsdk.rpc.telemetry.SubscribeGroundTruthRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2615, - serialized_end=2644, -) - - -_GROUNDTRUTHRESPONSE = _descriptor.Descriptor( - name='GroundTruthResponse', - full_name='mavsdk.rpc.telemetry.GroundTruthResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='ground_truth', full_name='mavsdk.rpc.telemetry.GroundTruthResponse.ground_truth', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2646, - serialized_end=2724, -) - - -_SUBSCRIBEFIXEDWINGMETRICSREQUEST = _descriptor.Descriptor( - name='SubscribeFixedwingMetricsRequest', - full_name='mavsdk.rpc.telemetry.SubscribeFixedwingMetricsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2726, - serialized_end=2760, -) - - -_FIXEDWINGMETRICSRESPONSE = _descriptor.Descriptor( - name='FixedwingMetricsResponse', - full_name='mavsdk.rpc.telemetry.FixedwingMetricsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='fixedwing_metrics', full_name='mavsdk.rpc.telemetry.FixedwingMetricsResponse.fixedwing_metrics', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2762, - serialized_end=2855, -) - - -_SUBSCRIBEIMUREQUEST = _descriptor.Descriptor( - name='SubscribeImuRequest', - full_name='mavsdk.rpc.telemetry.SubscribeImuRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2857, - serialized_end=2878, -) - - -_IMURESPONSE = _descriptor.Descriptor( - name='ImuResponse', - full_name='mavsdk.rpc.telemetry.ImuResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='imu', full_name='mavsdk.rpc.telemetry.ImuResponse.imu', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2880, - serialized_end=2933, -) - - -_SUBSCRIBESCALEDIMUREQUEST = _descriptor.Descriptor( - name='SubscribeScaledImuRequest', - full_name='mavsdk.rpc.telemetry.SubscribeScaledImuRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2935, - serialized_end=2962, -) - - -_SCALEDIMURESPONSE = _descriptor.Descriptor( - name='ScaledImuResponse', - full_name='mavsdk.rpc.telemetry.ScaledImuResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='imu', full_name='mavsdk.rpc.telemetry.ScaledImuResponse.imu', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2964, - serialized_end=3023, -) - - -_SUBSCRIBERAWIMUREQUEST = _descriptor.Descriptor( - name='SubscribeRawImuRequest', - full_name='mavsdk.rpc.telemetry.SubscribeRawImuRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3025, - serialized_end=3049, -) - - -_RAWIMURESPONSE = _descriptor.Descriptor( - name='RawImuResponse', - full_name='mavsdk.rpc.telemetry.RawImuResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='imu', full_name='mavsdk.rpc.telemetry.RawImuResponse.imu', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3051, - serialized_end=3107, -) - - -_SUBSCRIBEHEALTHALLOKREQUEST = _descriptor.Descriptor( - name='SubscribeHealthAllOkRequest', - full_name='mavsdk.rpc.telemetry.SubscribeHealthAllOkRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3109, - serialized_end=3138, -) - - -_HEALTHALLOKRESPONSE = _descriptor.Descriptor( - name='HealthAllOkResponse', - full_name='mavsdk.rpc.telemetry.HealthAllOkResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='is_health_all_ok', full_name='mavsdk.rpc.telemetry.HealthAllOkResponse.is_health_all_ok', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3140, - serialized_end=3187, -) - - -_SUBSCRIBEUNIXEPOCHTIMEREQUEST = _descriptor.Descriptor( - name='SubscribeUnixEpochTimeRequest', - full_name='mavsdk.rpc.telemetry.SubscribeUnixEpochTimeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3189, - serialized_end=3220, -) - - -_UNIXEPOCHTIMERESPONSE = _descriptor.Descriptor( - name='UnixEpochTimeResponse', - full_name='mavsdk.rpc.telemetry.UnixEpochTimeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='time_us', full_name='mavsdk.rpc.telemetry.UnixEpochTimeResponse.time_us', index=0, - number=1, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3222, - serialized_end=3262, -) - - -_SUBSCRIBEDISTANCESENSORREQUEST = _descriptor.Descriptor( - name='SubscribeDistanceSensorRequest', - full_name='mavsdk.rpc.telemetry.SubscribeDistanceSensorRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3264, - serialized_end=3296, -) - - -_DISTANCESENSORRESPONSE = _descriptor.Descriptor( - name='DistanceSensorResponse', - full_name='mavsdk.rpc.telemetry.DistanceSensorResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='distance_sensor', full_name='mavsdk.rpc.telemetry.DistanceSensorResponse.distance_sensor', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3298, - serialized_end=3385, -) - - -_SUBSCRIBESCALEDPRESSUREREQUEST = _descriptor.Descriptor( - name='SubscribeScaledPressureRequest', - full_name='mavsdk.rpc.telemetry.SubscribeScaledPressureRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3387, - serialized_end=3419, -) - - -_SCALEDPRESSURERESPONSE = _descriptor.Descriptor( - name='ScaledPressureResponse', - full_name='mavsdk.rpc.telemetry.ScaledPressureResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='scaled_pressure', full_name='mavsdk.rpc.telemetry.ScaledPressureResponse.scaled_pressure', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3421, - serialized_end=3508, -) - - -_SUBSCRIBEHEADINGREQUEST = _descriptor.Descriptor( - name='SubscribeHeadingRequest', - full_name='mavsdk.rpc.telemetry.SubscribeHeadingRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3510, - serialized_end=3535, -) - - -_HEADINGRESPONSE = _descriptor.Descriptor( - name='HeadingResponse', - full_name='mavsdk.rpc.telemetry.HeadingResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='heading_deg', full_name='mavsdk.rpc.telemetry.HeadingResponse.heading_deg', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3537, - serialized_end=3606, -) - - -_SETRATEPOSITIONREQUEST = _descriptor.Descriptor( - name='SetRatePositionRequest', - full_name='mavsdk.rpc.telemetry.SetRatePositionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRatePositionRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3608, - serialized_end=3649, -) - - -_SETRATEPOSITIONRESPONSE = _descriptor.Descriptor( - name='SetRatePositionResponse', - full_name='mavsdk.rpc.telemetry.SetRatePositionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRatePositionResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3651, - serialized_end=3741, -) - - -_SETRATEHOMEREQUEST = _descriptor.Descriptor( - name='SetRateHomeRequest', - full_name='mavsdk.rpc.telemetry.SetRateHomeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateHomeRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3743, - serialized_end=3780, -) - - -_SETRATEHOMERESPONSE = _descriptor.Descriptor( - name='SetRateHomeResponse', - full_name='mavsdk.rpc.telemetry.SetRateHomeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateHomeResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3782, - serialized_end=3868, -) - - -_SETRATEINAIRREQUEST = _descriptor.Descriptor( - name='SetRateInAirRequest', - full_name='mavsdk.rpc.telemetry.SetRateInAirRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateInAirRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3870, - serialized_end=3908, -) - - -_SETRATEINAIRRESPONSE = _descriptor.Descriptor( - name='SetRateInAirResponse', - full_name='mavsdk.rpc.telemetry.SetRateInAirResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateInAirResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3910, - serialized_end=3997, -) - - -_SETRATELANDEDSTATEREQUEST = _descriptor.Descriptor( - name='SetRateLandedStateRequest', - full_name='mavsdk.rpc.telemetry.SetRateLandedStateRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateLandedStateRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3999, - serialized_end=4043, -) - - -_SETRATELANDEDSTATERESPONSE = _descriptor.Descriptor( - name='SetRateLandedStateResponse', - full_name='mavsdk.rpc.telemetry.SetRateLandedStateResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateLandedStateResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4045, - serialized_end=4138, -) - - -_SETRATEVTOLSTATEREQUEST = _descriptor.Descriptor( - name='SetRateVtolStateRequest', - full_name='mavsdk.rpc.telemetry.SetRateVtolStateRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateVtolStateRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4140, - serialized_end=4182, -) - - -_SETRATEVTOLSTATERESPONSE = _descriptor.Descriptor( - name='SetRateVtolStateResponse', - full_name='mavsdk.rpc.telemetry.SetRateVtolStateResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateVtolStateResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4184, - serialized_end=4275, -) - - -_SETRATEATTITUDEREQUEST = _descriptor.Descriptor( - name='SetRateAttitudeRequest', - full_name='mavsdk.rpc.telemetry.SetRateAttitudeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateAttitudeRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4277, - serialized_end=4318, -) - - -_SETRATEATTITUDERESPONSE = _descriptor.Descriptor( - name='SetRateAttitudeResponse', - full_name='mavsdk.rpc.telemetry.SetRateAttitudeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateAttitudeResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4320, - serialized_end=4410, -) - - -_SETRATEATTITUDEANGULARVELOCITYBODYREQUEST = _descriptor.Descriptor( - name='SetRateAttitudeAngularVelocityBodyRequest', - full_name='mavsdk.rpc.telemetry.SetRateAttitudeAngularVelocityBodyRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateAttitudeAngularVelocityBodyRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4412, - serialized_end=4472, -) - - -_SETRATEATTITUDEANGULARVELOCITYBODYRESPONSE = _descriptor.Descriptor( - name='SetRateAttitudeAngularVelocityBodyResponse', - full_name='mavsdk.rpc.telemetry.SetRateAttitudeAngularVelocityBodyResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateAttitudeAngularVelocityBodyResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4474, - serialized_end=4583, -) - - -_SETRATECAMERAATTITUDEQUATERNIONREQUEST = _descriptor.Descriptor( - name='SetRateCameraAttitudeQuaternionRequest', - full_name='mavsdk.rpc.telemetry.SetRateCameraAttitudeQuaternionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateCameraAttitudeQuaternionRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4585, - serialized_end=4642, -) - - -_SETRATECAMERAATTITUDEQUATERNIONRESPONSE = _descriptor.Descriptor( - name='SetRateCameraAttitudeQuaternionResponse', - full_name='mavsdk.rpc.telemetry.SetRateCameraAttitudeQuaternionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateCameraAttitudeQuaternionResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4644, - serialized_end=4750, -) - - -_SETRATECAMERAATTITUDEREQUEST = _descriptor.Descriptor( - name='SetRateCameraAttitudeRequest', - full_name='mavsdk.rpc.telemetry.SetRateCameraAttitudeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateCameraAttitudeRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4752, - serialized_end=4799, -) - - -_SETRATECAMERAATTITUDERESPONSE = _descriptor.Descriptor( - name='SetRateCameraAttitudeResponse', - full_name='mavsdk.rpc.telemetry.SetRateCameraAttitudeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateCameraAttitudeResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4801, - serialized_end=4897, -) - - -_SETRATEVELOCITYNEDREQUEST = _descriptor.Descriptor( - name='SetRateVelocityNedRequest', - full_name='mavsdk.rpc.telemetry.SetRateVelocityNedRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateVelocityNedRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4899, - serialized_end=4943, -) - - -_SETRATEVELOCITYNEDRESPONSE = _descriptor.Descriptor( - name='SetRateVelocityNedResponse', - full_name='mavsdk.rpc.telemetry.SetRateVelocityNedResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateVelocityNedResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4945, - serialized_end=5038, -) - - -_SETRATEGPSINFOREQUEST = _descriptor.Descriptor( - name='SetRateGpsInfoRequest', - full_name='mavsdk.rpc.telemetry.SetRateGpsInfoRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateGpsInfoRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5040, - serialized_end=5080, -) - - -_SETRATEGPSINFORESPONSE = _descriptor.Descriptor( - name='SetRateGpsInfoResponse', - full_name='mavsdk.rpc.telemetry.SetRateGpsInfoResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateGpsInfoResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5082, - serialized_end=5171, -) - - -_SETRATERAWGPSREQUEST = _descriptor.Descriptor( - name='SetRateRawGpsRequest', - full_name='mavsdk.rpc.telemetry.SetRateRawGpsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateRawGpsRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5173, - serialized_end=5212, -) - - -_SETRATEBATTERYREQUEST = _descriptor.Descriptor( - name='SetRateBatteryRequest', - full_name='mavsdk.rpc.telemetry.SetRateBatteryRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateBatteryRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5214, - serialized_end=5254, -) - - -_SETRATEBATTERYRESPONSE = _descriptor.Descriptor( - name='SetRateBatteryResponse', - full_name='mavsdk.rpc.telemetry.SetRateBatteryResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateBatteryResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5256, - serialized_end=5345, -) - - -_SETRATERCSTATUSREQUEST = _descriptor.Descriptor( - name='SetRateRcStatusRequest', - full_name='mavsdk.rpc.telemetry.SetRateRcStatusRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateRcStatusRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5347, - serialized_end=5388, -) - - -_SETRATERCSTATUSRESPONSE = _descriptor.Descriptor( - name='SetRateRcStatusResponse', - full_name='mavsdk.rpc.telemetry.SetRateRcStatusResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateRcStatusResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5390, - serialized_end=5480, -) - - -_SETRATEACTUATORCONTROLTARGETREQUEST = _descriptor.Descriptor( - name='SetRateActuatorControlTargetRequest', - full_name='mavsdk.rpc.telemetry.SetRateActuatorControlTargetRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateActuatorControlTargetRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5482, - serialized_end=5536, -) - - -_SETRATEACTUATORCONTROLTARGETRESPONSE = _descriptor.Descriptor( - name='SetRateActuatorControlTargetResponse', - full_name='mavsdk.rpc.telemetry.SetRateActuatorControlTargetResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateActuatorControlTargetResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5538, - serialized_end=5641, -) - - -_SETRATEACTUATOROUTPUTSTATUSREQUEST = _descriptor.Descriptor( - name='SetRateActuatorOutputStatusRequest', - full_name='mavsdk.rpc.telemetry.SetRateActuatorOutputStatusRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateActuatorOutputStatusRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5643, - serialized_end=5696, -) - - -_SETRATEACTUATOROUTPUTSTATUSRESPONSE = _descriptor.Descriptor( - name='SetRateActuatorOutputStatusResponse', - full_name='mavsdk.rpc.telemetry.SetRateActuatorOutputStatusResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateActuatorOutputStatusResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5698, - serialized_end=5800, -) - - -_SETRATEODOMETRYREQUEST = _descriptor.Descriptor( - name='SetRateOdometryRequest', - full_name='mavsdk.rpc.telemetry.SetRateOdometryRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateOdometryRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5802, - serialized_end=5843, -) - - -_SETRATEODOMETRYRESPONSE = _descriptor.Descriptor( - name='SetRateOdometryResponse', - full_name='mavsdk.rpc.telemetry.SetRateOdometryResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateOdometryResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5845, - serialized_end=5935, -) - - -_SETRATEPOSITIONVELOCITYNEDREQUEST = _descriptor.Descriptor( - name='SetRatePositionVelocityNedRequest', - full_name='mavsdk.rpc.telemetry.SetRatePositionVelocityNedRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRatePositionVelocityNedRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5937, - serialized_end=5989, -) - - -_SETRATEPOSITIONVELOCITYNEDRESPONSE = _descriptor.Descriptor( - name='SetRatePositionVelocityNedResponse', - full_name='mavsdk.rpc.telemetry.SetRatePositionVelocityNedResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRatePositionVelocityNedResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5991, - serialized_end=6092, -) - - -_SETRATEGROUNDTRUTHREQUEST = _descriptor.Descriptor( - name='SetRateGroundTruthRequest', - full_name='mavsdk.rpc.telemetry.SetRateGroundTruthRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateGroundTruthRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6094, - serialized_end=6138, -) - - -_SETRATEGROUNDTRUTHRESPONSE = _descriptor.Descriptor( - name='SetRateGroundTruthResponse', - full_name='mavsdk.rpc.telemetry.SetRateGroundTruthResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateGroundTruthResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6140, - serialized_end=6233, -) - - -_SETRATEFIXEDWINGMETRICSREQUEST = _descriptor.Descriptor( - name='SetRateFixedwingMetricsRequest', - full_name='mavsdk.rpc.telemetry.SetRateFixedwingMetricsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateFixedwingMetricsRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6235, - serialized_end=6284, -) - - -_SETRATEFIXEDWINGMETRICSRESPONSE = _descriptor.Descriptor( - name='SetRateFixedwingMetricsResponse', - full_name='mavsdk.rpc.telemetry.SetRateFixedwingMetricsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateFixedwingMetricsResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6286, - serialized_end=6384, -) - - -_SETRATEIMUREQUEST = _descriptor.Descriptor( - name='SetRateImuRequest', - full_name='mavsdk.rpc.telemetry.SetRateImuRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateImuRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6386, - serialized_end=6422, -) - - -_SETRATEIMURESPONSE = _descriptor.Descriptor( - name='SetRateImuResponse', - full_name='mavsdk.rpc.telemetry.SetRateImuResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateImuResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6424, - serialized_end=6509, -) - - -_SETRATESCALEDIMUREQUEST = _descriptor.Descriptor( - name='SetRateScaledImuRequest', - full_name='mavsdk.rpc.telemetry.SetRateScaledImuRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateScaledImuRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6511, - serialized_end=6553, -) - - -_SETRATESCALEDIMURESPONSE = _descriptor.Descriptor( - name='SetRateScaledImuResponse', - full_name='mavsdk.rpc.telemetry.SetRateScaledImuResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateScaledImuResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6555, - serialized_end=6646, -) - - -_SETRATERAWIMUREQUEST = _descriptor.Descriptor( - name='SetRateRawImuRequest', - full_name='mavsdk.rpc.telemetry.SetRateRawImuRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateRawImuRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6648, - serialized_end=6687, -) - - -_SETRATERAWIMURESPONSE = _descriptor.Descriptor( - name='SetRateRawImuResponse', - full_name='mavsdk.rpc.telemetry.SetRateRawImuResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateRawImuResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6689, - serialized_end=6777, -) - - -_SETRATEUNIXEPOCHTIMEREQUEST = _descriptor.Descriptor( - name='SetRateUnixEpochTimeRequest', - full_name='mavsdk.rpc.telemetry.SetRateUnixEpochTimeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateUnixEpochTimeRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6779, - serialized_end=6825, -) - - -_SETRATEUNIXEPOCHTIMERESPONSE = _descriptor.Descriptor( - name='SetRateUnixEpochTimeResponse', - full_name='mavsdk.rpc.telemetry.SetRateUnixEpochTimeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateUnixEpochTimeResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6827, - serialized_end=6922, -) - - -_SETRATEDISTANCESENSORREQUEST = _descriptor.Descriptor( - name='SetRateDistanceSensorRequest', - full_name='mavsdk.rpc.telemetry.SetRateDistanceSensorRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.telemetry.SetRateDistanceSensorRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6924, - serialized_end=6971, -) - - -_SETRATEDISTANCESENSORRESPONSE = _descriptor.Descriptor( - name='SetRateDistanceSensorResponse', - full_name='mavsdk.rpc.telemetry.SetRateDistanceSensorResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.SetRateDistanceSensorResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6973, - serialized_end=7069, -) - - -_GETGPSGLOBALORIGINREQUEST = _descriptor.Descriptor( - name='GetGpsGlobalOriginRequest', - full_name='mavsdk.rpc.telemetry.GetGpsGlobalOriginRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=7071, - serialized_end=7098, -) - - -_GETGPSGLOBALORIGINRESPONSE = _descriptor.Descriptor( - name='GetGpsGlobalOriginResponse', - full_name='mavsdk.rpc.telemetry.GetGpsGlobalOriginResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_result', full_name='mavsdk.rpc.telemetry.GetGpsGlobalOriginResponse.telemetry_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='gps_global_origin', full_name='mavsdk.rpc.telemetry.GetGpsGlobalOriginResponse.gps_global_origin', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=7101, - serialized_end=7260, -) - - -_POSITION = _descriptor.Descriptor( - name='Position', - full_name='mavsdk.rpc.telemetry.Position', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='latitude_deg', full_name='mavsdk.rpc.telemetry.Position.latitude_deg', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='longitude_deg', full_name='mavsdk.rpc.telemetry.Position.longitude_deg', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='absolute_altitude_m', full_name='mavsdk.rpc.telemetry.Position.absolute_altitude_m', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='relative_altitude_m', full_name='mavsdk.rpc.telemetry.Position.relative_altitude_m', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=7263, - serialized_end=7412, -) - - -_HEADING = _descriptor.Descriptor( - name='Heading', - full_name='mavsdk.rpc.telemetry.Heading', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='heading_deg', full_name='mavsdk.rpc.telemetry.Heading.heading_deg', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=7414, - serialized_end=7453, -) - - -_QUATERNION = _descriptor.Descriptor( - name='Quaternion', - full_name='mavsdk.rpc.telemetry.Quaternion', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='w', full_name='mavsdk.rpc.telemetry.Quaternion.w', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='x', full_name='mavsdk.rpc.telemetry.Quaternion.x', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='mavsdk.rpc.telemetry.Quaternion.y', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='z', full_name='mavsdk.rpc.telemetry.Quaternion.z', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='timestamp_us', full_name='mavsdk.rpc.telemetry.Quaternion.timestamp_us', index=4, - number=5, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=7455, - serialized_end=7569, -) - - -_EULERANGLE = _descriptor.Descriptor( - name='EulerAngle', - full_name='mavsdk.rpc.telemetry.EulerAngle', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='roll_deg', full_name='mavsdk.rpc.telemetry.EulerAngle.roll_deg', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pitch_deg', full_name='mavsdk.rpc.telemetry.EulerAngle.pitch_deg', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yaw_deg', full_name='mavsdk.rpc.telemetry.EulerAngle.yaw_deg', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='timestamp_us', full_name='mavsdk.rpc.telemetry.EulerAngle.timestamp_us', index=3, - number=4, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=7571, - serialized_end=7686, -) - - -_ANGULARVELOCITYBODY = _descriptor.Descriptor( - name='AngularVelocityBody', - full_name='mavsdk.rpc.telemetry.AngularVelocityBody', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='roll_rad_s', full_name='mavsdk.rpc.telemetry.AngularVelocityBody.roll_rad_s', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pitch_rad_s', full_name='mavsdk.rpc.telemetry.AngularVelocityBody.pitch_rad_s', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yaw_rad_s', full_name='mavsdk.rpc.telemetry.AngularVelocityBody.yaw_rad_s', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=7688, - serialized_end=7796, -) - - -_GPSINFO = _descriptor.Descriptor( - name='GpsInfo', - full_name='mavsdk.rpc.telemetry.GpsInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='num_satellites', full_name='mavsdk.rpc.telemetry.GpsInfo.num_satellites', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\0010', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fix_type', full_name='mavsdk.rpc.telemetry.GpsInfo.fix_type', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=7798, - serialized_end=7887, -) - - -_RAWGPS = _descriptor.Descriptor( - name='RawGps', - full_name='mavsdk.rpc.telemetry.RawGps', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='timestamp_us', full_name='mavsdk.rpc.telemetry.RawGps.timestamp_us', index=0, - number=1, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='latitude_deg', full_name='mavsdk.rpc.telemetry.RawGps.latitude_deg', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='longitude_deg', full_name='mavsdk.rpc.telemetry.RawGps.longitude_deg', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='absolute_altitude_m', full_name='mavsdk.rpc.telemetry.RawGps.absolute_altitude_m', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='hdop', full_name='mavsdk.rpc.telemetry.RawGps.hdop', index=4, - number=5, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='vdop', full_name='mavsdk.rpc.telemetry.RawGps.vdop', index=5, - number=6, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='velocity_m_s', full_name='mavsdk.rpc.telemetry.RawGps.velocity_m_s', index=6, - number=7, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='cog_deg', full_name='mavsdk.rpc.telemetry.RawGps.cog_deg', index=7, - number=8, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='altitude_ellipsoid_m', full_name='mavsdk.rpc.telemetry.RawGps.altitude_ellipsoid_m', index=8, - number=9, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='horizontal_uncertainty_m', full_name='mavsdk.rpc.telemetry.RawGps.horizontal_uncertainty_m', index=9, - number=10, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='vertical_uncertainty_m', full_name='mavsdk.rpc.telemetry.RawGps.vertical_uncertainty_m', index=10, - number=11, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='velocity_uncertainty_m_s', full_name='mavsdk.rpc.telemetry.RawGps.velocity_uncertainty_m_s', index=11, - number=12, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='heading_uncertainty_deg', full_name='mavsdk.rpc.telemetry.RawGps.heading_uncertainty_deg', index=12, - number=13, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yaw_deg', full_name='mavsdk.rpc.telemetry.RawGps.yaw_deg', index=13, - number=14, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=7890, - serialized_end=8241, -) - - -_BATTERY = _descriptor.Descriptor( - name='Battery', - full_name='mavsdk.rpc.telemetry.Battery', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='mavsdk.rpc.telemetry.Battery.id', index=0, - number=3, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\0010', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='voltage_v', full_name='mavsdk.rpc.telemetry.Battery.voltage_v', index=1, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remaining_percent', full_name='mavsdk.rpc.telemetry.Battery.remaining_percent', index=2, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=8243, - serialized_end=8335, -) - - -_HEALTH = _descriptor.Descriptor( - name='Health', - full_name='mavsdk.rpc.telemetry.Health', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='is_gyrometer_calibration_ok', full_name='mavsdk.rpc.telemetry.Health.is_gyrometer_calibration_ok', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\005false', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='is_accelerometer_calibration_ok', full_name='mavsdk.rpc.telemetry.Health.is_accelerometer_calibration_ok', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\005false', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='is_magnetometer_calibration_ok', full_name='mavsdk.rpc.telemetry.Health.is_magnetometer_calibration_ok', index=2, - number=3, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\005false', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='is_local_position_ok', full_name='mavsdk.rpc.telemetry.Health.is_local_position_ok', index=3, - number=5, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\005false', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='is_global_position_ok', full_name='mavsdk.rpc.telemetry.Health.is_global_position_ok', index=4, - number=6, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\005false', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='is_home_position_ok', full_name='mavsdk.rpc.telemetry.Health.is_home_position_ok', index=5, - number=7, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\005false', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='is_armable', full_name='mavsdk.rpc.telemetry.Health.is_armable', index=6, - number=8, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\005false', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=8338, - serialized_end=8651, -) - - -_RCSTATUS = _descriptor.Descriptor( - name='RcStatus', - full_name='mavsdk.rpc.telemetry.RcStatus', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='was_available_once', full_name='mavsdk.rpc.telemetry.RcStatus.was_available_once', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\005false', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='is_available', full_name='mavsdk.rpc.telemetry.RcStatus.is_available', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\005false', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='signal_strength_percent', full_name='mavsdk.rpc.telemetry.RcStatus.signal_strength_percent', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=8653, - serialized_end=8777, -) - - -_STATUSTEXT = _descriptor.Descriptor( - name='StatusText', - full_name='mavsdk.rpc.telemetry.StatusText', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='mavsdk.rpc.telemetry.StatusText.type', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='text', full_name='mavsdk.rpc.telemetry.StatusText.text', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=8779, - serialized_end=8857, -) - - -_ACTUATORCONTROLTARGET = _descriptor.Descriptor( - name='ActuatorControlTarget', - full_name='mavsdk.rpc.telemetry.ActuatorControlTarget', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='group', full_name='mavsdk.rpc.telemetry.ActuatorControlTarget.group', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\0010', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='controls', full_name='mavsdk.rpc.telemetry.ActuatorControlTarget.controls', index=1, - number=2, type=2, cpp_type=6, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=8859, - serialized_end=8922, -) - - -_ACTUATOROUTPUTSTATUS = _descriptor.Descriptor( - name='ActuatorOutputStatus', - full_name='mavsdk.rpc.telemetry.ActuatorOutputStatus', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='active', full_name='mavsdk.rpc.telemetry.ActuatorOutputStatus.active', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\0010', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='actuator', full_name='mavsdk.rpc.telemetry.ActuatorOutputStatus.actuator', index=1, - number=2, type=2, cpp_type=6, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=8924, - serialized_end=8987, -) - - -_COVARIANCE = _descriptor.Descriptor( - name='Covariance', - full_name='mavsdk.rpc.telemetry.Covariance', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='covariance_matrix', full_name='mavsdk.rpc.telemetry.Covariance.covariance_matrix', index=0, - number=1, type=2, cpp_type=6, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=8989, - serialized_end=9028, -) - - -_VELOCITYBODY = _descriptor.Descriptor( - name='VelocityBody', - full_name='mavsdk.rpc.telemetry.VelocityBody', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='x_m_s', full_name='mavsdk.rpc.telemetry.VelocityBody.x_m_s', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y_m_s', full_name='mavsdk.rpc.telemetry.VelocityBody.y_m_s', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='z_m_s', full_name='mavsdk.rpc.telemetry.VelocityBody.z_m_s', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=9030, - serialized_end=9089, -) - - -_POSITIONBODY = _descriptor.Descriptor( - name='PositionBody', - full_name='mavsdk.rpc.telemetry.PositionBody', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='x_m', full_name='mavsdk.rpc.telemetry.PositionBody.x_m', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y_m', full_name='mavsdk.rpc.telemetry.PositionBody.y_m', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='z_m', full_name='mavsdk.rpc.telemetry.PositionBody.z_m', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=9091, - serialized_end=9144, -) - - -_ODOMETRY = _descriptor.Descriptor( - name='Odometry', - full_name='mavsdk.rpc.telemetry.Odometry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='time_usec', full_name='mavsdk.rpc.telemetry.Odometry.time_usec', index=0, - number=1, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='frame_id', full_name='mavsdk.rpc.telemetry.Odometry.frame_id', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='child_frame_id', full_name='mavsdk.rpc.telemetry.Odometry.child_frame_id', index=2, - number=3, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='position_body', full_name='mavsdk.rpc.telemetry.Odometry.position_body', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='q', full_name='mavsdk.rpc.telemetry.Odometry.q', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='velocity_body', full_name='mavsdk.rpc.telemetry.Odometry.velocity_body', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='angular_velocity_body', full_name='mavsdk.rpc.telemetry.Odometry.angular_velocity_body', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pose_covariance', full_name='mavsdk.rpc.telemetry.Odometry.pose_covariance', index=7, - number=8, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='velocity_covariance', full_name='mavsdk.rpc.telemetry.Odometry.velocity_covariance', index=8, - number=9, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ODOMETRY_MAVFRAME, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=9147, - serialized_end=9767, -) - - -_DISTANCESENSOR = _descriptor.Descriptor( - name='DistanceSensor', - full_name='mavsdk.rpc.telemetry.DistanceSensor', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='minimum_distance_m', full_name='mavsdk.rpc.telemetry.DistanceSensor.minimum_distance_m', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='maximum_distance_m', full_name='mavsdk.rpc.telemetry.DistanceSensor.maximum_distance_m', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='current_distance_m', full_name='mavsdk.rpc.telemetry.DistanceSensor.current_distance_m', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=9769, - serialized_end=9896, -) - - -_SCALEDPRESSURE = _descriptor.Descriptor( - name='ScaledPressure', - full_name='mavsdk.rpc.telemetry.ScaledPressure', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='timestamp_us', full_name='mavsdk.rpc.telemetry.ScaledPressure.timestamp_us', index=0, - number=1, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='absolute_pressure_hpa', full_name='mavsdk.rpc.telemetry.ScaledPressure.absolute_pressure_hpa', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='differential_pressure_hpa', full_name='mavsdk.rpc.telemetry.ScaledPressure.differential_pressure_hpa', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='temperature_deg', full_name='mavsdk.rpc.telemetry.ScaledPressure.temperature_deg', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='differential_pressure_temperature_deg', full_name='mavsdk.rpc.telemetry.ScaledPressure.differential_pressure_temperature_deg', index=4, - number=5, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=9899, - serialized_end=10075, -) - - -_POSITIONNED = _descriptor.Descriptor( - name='PositionNed', - full_name='mavsdk.rpc.telemetry.PositionNed', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='north_m', full_name='mavsdk.rpc.telemetry.PositionNed.north_m', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='east_m', full_name='mavsdk.rpc.telemetry.PositionNed.east_m', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='down_m', full_name='mavsdk.rpc.telemetry.PositionNed.down_m', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=10077, - serialized_end=10166, -) - - -_VELOCITYNED = _descriptor.Descriptor( - name='VelocityNed', - full_name='mavsdk.rpc.telemetry.VelocityNed', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='north_m_s', full_name='mavsdk.rpc.telemetry.VelocityNed.north_m_s', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='east_m_s', full_name='mavsdk.rpc.telemetry.VelocityNed.east_m_s', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='down_m_s', full_name='mavsdk.rpc.telemetry.VelocityNed.down_m_s', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=10168, - serialized_end=10236, -) - - -_POSITIONVELOCITYNED = _descriptor.Descriptor( - name='PositionVelocityNed', - full_name='mavsdk.rpc.telemetry.PositionVelocityNed', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='position', full_name='mavsdk.rpc.telemetry.PositionVelocityNed.position', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='velocity', full_name='mavsdk.rpc.telemetry.PositionVelocityNed.velocity', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=10238, - serialized_end=10365, -) - - -_GROUNDTRUTH = _descriptor.Descriptor( - name='GroundTruth', - full_name='mavsdk.rpc.telemetry.GroundTruth', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='latitude_deg', full_name='mavsdk.rpc.telemetry.GroundTruth.latitude_deg', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='longitude_deg', full_name='mavsdk.rpc.telemetry.GroundTruth.longitude_deg', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='absolute_altitude_m', full_name='mavsdk.rpc.telemetry.GroundTruth.absolute_altitude_m', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=10367, - serialized_end=10481, -) - - -_FIXEDWINGMETRICS = _descriptor.Descriptor( - name='FixedwingMetrics', - full_name='mavsdk.rpc.telemetry.FixedwingMetrics', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='airspeed_m_s', full_name='mavsdk.rpc.telemetry.FixedwingMetrics.airspeed_m_s', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='throttle_percentage', full_name='mavsdk.rpc.telemetry.FixedwingMetrics.throttle_percentage', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='climb_rate_m_s', full_name='mavsdk.rpc.telemetry.FixedwingMetrics.climb_rate_m_s', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=10483, - serialized_end=10603, -) - - -_ACCELERATIONFRD = _descriptor.Descriptor( - name='AccelerationFrd', - full_name='mavsdk.rpc.telemetry.AccelerationFrd', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='forward_m_s2', full_name='mavsdk.rpc.telemetry.AccelerationFrd.forward_m_s2', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='right_m_s2', full_name='mavsdk.rpc.telemetry.AccelerationFrd.right_m_s2', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='down_m_s2', full_name='mavsdk.rpc.telemetry.AccelerationFrd.down_m_s2', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=10605, - serialized_end=10710, -) - - -_ANGULARVELOCITYFRD = _descriptor.Descriptor( - name='AngularVelocityFrd', - full_name='mavsdk.rpc.telemetry.AngularVelocityFrd', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='forward_rad_s', full_name='mavsdk.rpc.telemetry.AngularVelocityFrd.forward_rad_s', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='right_rad_s', full_name='mavsdk.rpc.telemetry.AngularVelocityFrd.right_rad_s', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='down_rad_s', full_name='mavsdk.rpc.telemetry.AngularVelocityFrd.down_rad_s', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=10712, - serialized_end=10823, -) - - -_MAGNETICFIELDFRD = _descriptor.Descriptor( - name='MagneticFieldFrd', - full_name='mavsdk.rpc.telemetry.MagneticFieldFrd', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='forward_gauss', full_name='mavsdk.rpc.telemetry.MagneticFieldFrd.forward_gauss', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='right_gauss', full_name='mavsdk.rpc.telemetry.MagneticFieldFrd.right_gauss', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='down_gauss', full_name='mavsdk.rpc.telemetry.MagneticFieldFrd.down_gauss', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=10825, - serialized_end=10934, -) - - -_IMU = _descriptor.Descriptor( - name='Imu', - full_name='mavsdk.rpc.telemetry.Imu', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='acceleration_frd', full_name='mavsdk.rpc.telemetry.Imu.acceleration_frd', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='angular_velocity_frd', full_name='mavsdk.rpc.telemetry.Imu.angular_velocity_frd', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='magnetic_field_frd', full_name='mavsdk.rpc.telemetry.Imu.magnetic_field_frd', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='temperature_degc', full_name='mavsdk.rpc.telemetry.Imu.temperature_degc', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='timestamp_us', full_name='mavsdk.rpc.telemetry.Imu.timestamp_us', index=4, - number=5, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=10937, - serialized_end=11204, -) - - -_GPSGLOBALORIGIN = _descriptor.Descriptor( - name='GpsGlobalOrigin', - full_name='mavsdk.rpc.telemetry.GpsGlobalOrigin', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='latitude_deg', full_name='mavsdk.rpc.telemetry.GpsGlobalOrigin.latitude_deg', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='longitude_deg', full_name='mavsdk.rpc.telemetry.GpsGlobalOrigin.longitude_deg', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='altitude_m', full_name='mavsdk.rpc.telemetry.GpsGlobalOrigin.altitude_m', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=11206, - serialized_end=11315, -) - - -_TELEMETRYRESULT = _descriptor.Descriptor( - name='TelemetryResult', - full_name='mavsdk.rpc.telemetry.TelemetryResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.telemetry.TelemetryResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.telemetry.TelemetryResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _TELEMETRYRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=11318, - serialized_end=11607, -) - -_POSITIONRESPONSE.fields_by_name['position'].message_type = _POSITION -_HOMERESPONSE.fields_by_name['home'].message_type = _POSITION -_LANDEDSTATERESPONSE.fields_by_name['landed_state'].enum_type = _LANDEDSTATE -_VTOLSTATERESPONSE.fields_by_name['vtol_state'].enum_type = _VTOLSTATE -_ATTITUDEQUATERNIONRESPONSE.fields_by_name['attitude_quaternion'].message_type = _QUATERNION -_ATTITUDEEULERRESPONSE.fields_by_name['attitude_euler'].message_type = _EULERANGLE -_ATTITUDEANGULARVELOCITYBODYRESPONSE.fields_by_name['attitude_angular_velocity_body'].message_type = _ANGULARVELOCITYBODY -_CAMERAATTITUDEQUATERNIONRESPONSE.fields_by_name['attitude_quaternion'].message_type = _QUATERNION -_CAMERAATTITUDEEULERRESPONSE.fields_by_name['attitude_euler'].message_type = _EULERANGLE -_VELOCITYNEDRESPONSE.fields_by_name['velocity_ned'].message_type = _VELOCITYNED -_GPSINFORESPONSE.fields_by_name['gps_info'].message_type = _GPSINFO -_RAWGPSRESPONSE.fields_by_name['raw_gps'].message_type = _RAWGPS -_BATTERYRESPONSE.fields_by_name['battery'].message_type = _BATTERY -_FLIGHTMODERESPONSE.fields_by_name['flight_mode'].enum_type = _FLIGHTMODE -_HEALTHRESPONSE.fields_by_name['health'].message_type = _HEALTH -_RCSTATUSRESPONSE.fields_by_name['rc_status'].message_type = _RCSTATUS -_STATUSTEXTRESPONSE.fields_by_name['status_text'].message_type = _STATUSTEXT -_ACTUATORCONTROLTARGETRESPONSE.fields_by_name['actuator_control_target'].message_type = _ACTUATORCONTROLTARGET -_ACTUATOROUTPUTSTATUSRESPONSE.fields_by_name['actuator_output_status'].message_type = _ACTUATOROUTPUTSTATUS -_ODOMETRYRESPONSE.fields_by_name['odometry'].message_type = _ODOMETRY -_POSITIONVELOCITYNEDRESPONSE.fields_by_name['position_velocity_ned'].message_type = _POSITIONVELOCITYNED -_GROUNDTRUTHRESPONSE.fields_by_name['ground_truth'].message_type = _GROUNDTRUTH -_FIXEDWINGMETRICSRESPONSE.fields_by_name['fixedwing_metrics'].message_type = _FIXEDWINGMETRICS -_IMURESPONSE.fields_by_name['imu'].message_type = _IMU -_SCALEDIMURESPONSE.fields_by_name['imu'].message_type = _IMU -_RAWIMURESPONSE.fields_by_name['imu'].message_type = _IMU -_DISTANCESENSORRESPONSE.fields_by_name['distance_sensor'].message_type = _DISTANCESENSOR -_SCALEDPRESSURERESPONSE.fields_by_name['scaled_pressure'].message_type = _SCALEDPRESSURE -_HEADINGRESPONSE.fields_by_name['heading_deg'].message_type = _HEADING -_SETRATEPOSITIONRESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATEHOMERESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATEINAIRRESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATELANDEDSTATERESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATEVTOLSTATERESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATEATTITUDERESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATEATTITUDEANGULARVELOCITYBODYRESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATECAMERAATTITUDEQUATERNIONRESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATECAMERAATTITUDERESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATEVELOCITYNEDRESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATEGPSINFORESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATEBATTERYRESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATERCSTATUSRESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATEACTUATORCONTROLTARGETRESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATEACTUATOROUTPUTSTATUSRESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATEODOMETRYRESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATEPOSITIONVELOCITYNEDRESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATEGROUNDTRUTHRESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATEFIXEDWINGMETRICSRESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATEIMURESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATESCALEDIMURESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATERAWIMURESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATEUNIXEPOCHTIMERESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_SETRATEDISTANCESENSORRESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_GETGPSGLOBALORIGINRESPONSE.fields_by_name['telemetry_result'].message_type = _TELEMETRYRESULT -_GETGPSGLOBALORIGINRESPONSE.fields_by_name['gps_global_origin'].message_type = _GPSGLOBALORIGIN -_GPSINFO.fields_by_name['fix_type'].enum_type = _FIXTYPE -_STATUSTEXT.fields_by_name['type'].enum_type = _STATUSTEXTTYPE -_ODOMETRY.fields_by_name['frame_id'].enum_type = _ODOMETRY_MAVFRAME -_ODOMETRY.fields_by_name['child_frame_id'].enum_type = _ODOMETRY_MAVFRAME -_ODOMETRY.fields_by_name['position_body'].message_type = _POSITIONBODY -_ODOMETRY.fields_by_name['q'].message_type = _QUATERNION -_ODOMETRY.fields_by_name['velocity_body'].message_type = _VELOCITYBODY -_ODOMETRY.fields_by_name['angular_velocity_body'].message_type = _ANGULARVELOCITYBODY -_ODOMETRY.fields_by_name['pose_covariance'].message_type = _COVARIANCE -_ODOMETRY.fields_by_name['velocity_covariance'].message_type = _COVARIANCE -_ODOMETRY_MAVFRAME.containing_type = _ODOMETRY -_POSITIONVELOCITYNED.fields_by_name['position'].message_type = _POSITIONNED -_POSITIONVELOCITYNED.fields_by_name['velocity'].message_type = _VELOCITYNED -_IMU.fields_by_name['acceleration_frd'].message_type = _ACCELERATIONFRD -_IMU.fields_by_name['angular_velocity_frd'].message_type = _ANGULARVELOCITYFRD -_IMU.fields_by_name['magnetic_field_frd'].message_type = _MAGNETICFIELDFRD -_TELEMETRYRESULT.fields_by_name['result'].enum_type = _TELEMETRYRESULT_RESULT -_TELEMETRYRESULT_RESULT.containing_type = _TELEMETRYRESULT -DESCRIPTOR.message_types_by_name['SubscribePositionRequest'] = _SUBSCRIBEPOSITIONREQUEST -DESCRIPTOR.message_types_by_name['PositionResponse'] = _POSITIONRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeHomeRequest'] = _SUBSCRIBEHOMEREQUEST -DESCRIPTOR.message_types_by_name['HomeResponse'] = _HOMERESPONSE -DESCRIPTOR.message_types_by_name['SubscribeInAirRequest'] = _SUBSCRIBEINAIRREQUEST -DESCRIPTOR.message_types_by_name['InAirResponse'] = _INAIRRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeLandedStateRequest'] = _SUBSCRIBELANDEDSTATEREQUEST -DESCRIPTOR.message_types_by_name['LandedStateResponse'] = _LANDEDSTATERESPONSE -DESCRIPTOR.message_types_by_name['SubscribeArmedRequest'] = _SUBSCRIBEARMEDREQUEST -DESCRIPTOR.message_types_by_name['ArmedResponse'] = _ARMEDRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeVtolStateRequest'] = _SUBSCRIBEVTOLSTATEREQUEST -DESCRIPTOR.message_types_by_name['VtolStateResponse'] = _VTOLSTATERESPONSE -DESCRIPTOR.message_types_by_name['SubscribeAttitudeQuaternionRequest'] = _SUBSCRIBEATTITUDEQUATERNIONREQUEST -DESCRIPTOR.message_types_by_name['AttitudeQuaternionResponse'] = _ATTITUDEQUATERNIONRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeAttitudeEulerRequest'] = _SUBSCRIBEATTITUDEEULERREQUEST -DESCRIPTOR.message_types_by_name['AttitudeEulerResponse'] = _ATTITUDEEULERRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeAttitudeAngularVelocityBodyRequest'] = _SUBSCRIBEATTITUDEANGULARVELOCITYBODYREQUEST -DESCRIPTOR.message_types_by_name['AttitudeAngularVelocityBodyResponse'] = _ATTITUDEANGULARVELOCITYBODYRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeCameraAttitudeQuaternionRequest'] = _SUBSCRIBECAMERAATTITUDEQUATERNIONREQUEST -DESCRIPTOR.message_types_by_name['CameraAttitudeQuaternionResponse'] = _CAMERAATTITUDEQUATERNIONRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeCameraAttitudeEulerRequest'] = _SUBSCRIBECAMERAATTITUDEEULERREQUEST -DESCRIPTOR.message_types_by_name['CameraAttitudeEulerResponse'] = _CAMERAATTITUDEEULERRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeVelocityNedRequest'] = _SUBSCRIBEVELOCITYNEDREQUEST -DESCRIPTOR.message_types_by_name['VelocityNedResponse'] = _VELOCITYNEDRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeGpsInfoRequest'] = _SUBSCRIBEGPSINFOREQUEST -DESCRIPTOR.message_types_by_name['GpsInfoResponse'] = _GPSINFORESPONSE -DESCRIPTOR.message_types_by_name['SubscribeRawGpsRequest'] = _SUBSCRIBERAWGPSREQUEST -DESCRIPTOR.message_types_by_name['RawGpsResponse'] = _RAWGPSRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeBatteryRequest'] = _SUBSCRIBEBATTERYREQUEST -DESCRIPTOR.message_types_by_name['BatteryResponse'] = _BATTERYRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeFlightModeRequest'] = _SUBSCRIBEFLIGHTMODEREQUEST -DESCRIPTOR.message_types_by_name['FlightModeResponse'] = _FLIGHTMODERESPONSE -DESCRIPTOR.message_types_by_name['SubscribeHealthRequest'] = _SUBSCRIBEHEALTHREQUEST -DESCRIPTOR.message_types_by_name['HealthResponse'] = _HEALTHRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeRcStatusRequest'] = _SUBSCRIBERCSTATUSREQUEST -DESCRIPTOR.message_types_by_name['RcStatusResponse'] = _RCSTATUSRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeStatusTextRequest'] = _SUBSCRIBESTATUSTEXTREQUEST -DESCRIPTOR.message_types_by_name['StatusTextResponse'] = _STATUSTEXTRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeActuatorControlTargetRequest'] = _SUBSCRIBEACTUATORCONTROLTARGETREQUEST -DESCRIPTOR.message_types_by_name['ActuatorControlTargetResponse'] = _ACTUATORCONTROLTARGETRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeActuatorOutputStatusRequest'] = _SUBSCRIBEACTUATOROUTPUTSTATUSREQUEST -DESCRIPTOR.message_types_by_name['ActuatorOutputStatusResponse'] = _ACTUATOROUTPUTSTATUSRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeOdometryRequest'] = _SUBSCRIBEODOMETRYREQUEST -DESCRIPTOR.message_types_by_name['OdometryResponse'] = _ODOMETRYRESPONSE -DESCRIPTOR.message_types_by_name['SubscribePositionVelocityNedRequest'] = _SUBSCRIBEPOSITIONVELOCITYNEDREQUEST -DESCRIPTOR.message_types_by_name['PositionVelocityNedResponse'] = _POSITIONVELOCITYNEDRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeGroundTruthRequest'] = _SUBSCRIBEGROUNDTRUTHREQUEST -DESCRIPTOR.message_types_by_name['GroundTruthResponse'] = _GROUNDTRUTHRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeFixedwingMetricsRequest'] = _SUBSCRIBEFIXEDWINGMETRICSREQUEST -DESCRIPTOR.message_types_by_name['FixedwingMetricsResponse'] = _FIXEDWINGMETRICSRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeImuRequest'] = _SUBSCRIBEIMUREQUEST -DESCRIPTOR.message_types_by_name['ImuResponse'] = _IMURESPONSE -DESCRIPTOR.message_types_by_name['SubscribeScaledImuRequest'] = _SUBSCRIBESCALEDIMUREQUEST -DESCRIPTOR.message_types_by_name['ScaledImuResponse'] = _SCALEDIMURESPONSE -DESCRIPTOR.message_types_by_name['SubscribeRawImuRequest'] = _SUBSCRIBERAWIMUREQUEST -DESCRIPTOR.message_types_by_name['RawImuResponse'] = _RAWIMURESPONSE -DESCRIPTOR.message_types_by_name['SubscribeHealthAllOkRequest'] = _SUBSCRIBEHEALTHALLOKREQUEST -DESCRIPTOR.message_types_by_name['HealthAllOkResponse'] = _HEALTHALLOKRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeUnixEpochTimeRequest'] = _SUBSCRIBEUNIXEPOCHTIMEREQUEST -DESCRIPTOR.message_types_by_name['UnixEpochTimeResponse'] = _UNIXEPOCHTIMERESPONSE -DESCRIPTOR.message_types_by_name['SubscribeDistanceSensorRequest'] = _SUBSCRIBEDISTANCESENSORREQUEST -DESCRIPTOR.message_types_by_name['DistanceSensorResponse'] = _DISTANCESENSORRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeScaledPressureRequest'] = _SUBSCRIBESCALEDPRESSUREREQUEST -DESCRIPTOR.message_types_by_name['ScaledPressureResponse'] = _SCALEDPRESSURERESPONSE -DESCRIPTOR.message_types_by_name['SubscribeHeadingRequest'] = _SUBSCRIBEHEADINGREQUEST -DESCRIPTOR.message_types_by_name['HeadingResponse'] = _HEADINGRESPONSE -DESCRIPTOR.message_types_by_name['SetRatePositionRequest'] = _SETRATEPOSITIONREQUEST -DESCRIPTOR.message_types_by_name['SetRatePositionResponse'] = _SETRATEPOSITIONRESPONSE -DESCRIPTOR.message_types_by_name['SetRateHomeRequest'] = _SETRATEHOMEREQUEST -DESCRIPTOR.message_types_by_name['SetRateHomeResponse'] = _SETRATEHOMERESPONSE -DESCRIPTOR.message_types_by_name['SetRateInAirRequest'] = _SETRATEINAIRREQUEST -DESCRIPTOR.message_types_by_name['SetRateInAirResponse'] = _SETRATEINAIRRESPONSE -DESCRIPTOR.message_types_by_name['SetRateLandedStateRequest'] = _SETRATELANDEDSTATEREQUEST -DESCRIPTOR.message_types_by_name['SetRateLandedStateResponse'] = _SETRATELANDEDSTATERESPONSE -DESCRIPTOR.message_types_by_name['SetRateVtolStateRequest'] = _SETRATEVTOLSTATEREQUEST -DESCRIPTOR.message_types_by_name['SetRateVtolStateResponse'] = _SETRATEVTOLSTATERESPONSE -DESCRIPTOR.message_types_by_name['SetRateAttitudeRequest'] = _SETRATEATTITUDEREQUEST -DESCRIPTOR.message_types_by_name['SetRateAttitudeResponse'] = _SETRATEATTITUDERESPONSE -DESCRIPTOR.message_types_by_name['SetRateAttitudeAngularVelocityBodyRequest'] = _SETRATEATTITUDEANGULARVELOCITYBODYREQUEST -DESCRIPTOR.message_types_by_name['SetRateAttitudeAngularVelocityBodyResponse'] = _SETRATEATTITUDEANGULARVELOCITYBODYRESPONSE -DESCRIPTOR.message_types_by_name['SetRateCameraAttitudeQuaternionRequest'] = _SETRATECAMERAATTITUDEQUATERNIONREQUEST -DESCRIPTOR.message_types_by_name['SetRateCameraAttitudeQuaternionResponse'] = _SETRATECAMERAATTITUDEQUATERNIONRESPONSE -DESCRIPTOR.message_types_by_name['SetRateCameraAttitudeRequest'] = _SETRATECAMERAATTITUDEREQUEST -DESCRIPTOR.message_types_by_name['SetRateCameraAttitudeResponse'] = _SETRATECAMERAATTITUDERESPONSE -DESCRIPTOR.message_types_by_name['SetRateVelocityNedRequest'] = _SETRATEVELOCITYNEDREQUEST -DESCRIPTOR.message_types_by_name['SetRateVelocityNedResponse'] = _SETRATEVELOCITYNEDRESPONSE -DESCRIPTOR.message_types_by_name['SetRateGpsInfoRequest'] = _SETRATEGPSINFOREQUEST -DESCRIPTOR.message_types_by_name['SetRateGpsInfoResponse'] = _SETRATEGPSINFORESPONSE -DESCRIPTOR.message_types_by_name['SetRateRawGpsRequest'] = _SETRATERAWGPSREQUEST -DESCRIPTOR.message_types_by_name['SetRateBatteryRequest'] = _SETRATEBATTERYREQUEST -DESCRIPTOR.message_types_by_name['SetRateBatteryResponse'] = _SETRATEBATTERYRESPONSE -DESCRIPTOR.message_types_by_name['SetRateRcStatusRequest'] = _SETRATERCSTATUSREQUEST -DESCRIPTOR.message_types_by_name['SetRateRcStatusResponse'] = _SETRATERCSTATUSRESPONSE -DESCRIPTOR.message_types_by_name['SetRateActuatorControlTargetRequest'] = _SETRATEACTUATORCONTROLTARGETREQUEST -DESCRIPTOR.message_types_by_name['SetRateActuatorControlTargetResponse'] = _SETRATEACTUATORCONTROLTARGETRESPONSE -DESCRIPTOR.message_types_by_name['SetRateActuatorOutputStatusRequest'] = _SETRATEACTUATOROUTPUTSTATUSREQUEST -DESCRIPTOR.message_types_by_name['SetRateActuatorOutputStatusResponse'] = _SETRATEACTUATOROUTPUTSTATUSRESPONSE -DESCRIPTOR.message_types_by_name['SetRateOdometryRequest'] = _SETRATEODOMETRYREQUEST -DESCRIPTOR.message_types_by_name['SetRateOdometryResponse'] = _SETRATEODOMETRYRESPONSE -DESCRIPTOR.message_types_by_name['SetRatePositionVelocityNedRequest'] = _SETRATEPOSITIONVELOCITYNEDREQUEST -DESCRIPTOR.message_types_by_name['SetRatePositionVelocityNedResponse'] = _SETRATEPOSITIONVELOCITYNEDRESPONSE -DESCRIPTOR.message_types_by_name['SetRateGroundTruthRequest'] = _SETRATEGROUNDTRUTHREQUEST -DESCRIPTOR.message_types_by_name['SetRateGroundTruthResponse'] = _SETRATEGROUNDTRUTHRESPONSE -DESCRIPTOR.message_types_by_name['SetRateFixedwingMetricsRequest'] = _SETRATEFIXEDWINGMETRICSREQUEST -DESCRIPTOR.message_types_by_name['SetRateFixedwingMetricsResponse'] = _SETRATEFIXEDWINGMETRICSRESPONSE -DESCRIPTOR.message_types_by_name['SetRateImuRequest'] = _SETRATEIMUREQUEST -DESCRIPTOR.message_types_by_name['SetRateImuResponse'] = _SETRATEIMURESPONSE -DESCRIPTOR.message_types_by_name['SetRateScaledImuRequest'] = _SETRATESCALEDIMUREQUEST -DESCRIPTOR.message_types_by_name['SetRateScaledImuResponse'] = _SETRATESCALEDIMURESPONSE -DESCRIPTOR.message_types_by_name['SetRateRawImuRequest'] = _SETRATERAWIMUREQUEST -DESCRIPTOR.message_types_by_name['SetRateRawImuResponse'] = _SETRATERAWIMURESPONSE -DESCRIPTOR.message_types_by_name['SetRateUnixEpochTimeRequest'] = _SETRATEUNIXEPOCHTIMEREQUEST -DESCRIPTOR.message_types_by_name['SetRateUnixEpochTimeResponse'] = _SETRATEUNIXEPOCHTIMERESPONSE -DESCRIPTOR.message_types_by_name['SetRateDistanceSensorRequest'] = _SETRATEDISTANCESENSORREQUEST -DESCRIPTOR.message_types_by_name['SetRateDistanceSensorResponse'] = _SETRATEDISTANCESENSORRESPONSE -DESCRIPTOR.message_types_by_name['GetGpsGlobalOriginRequest'] = _GETGPSGLOBALORIGINREQUEST -DESCRIPTOR.message_types_by_name['GetGpsGlobalOriginResponse'] = _GETGPSGLOBALORIGINRESPONSE -DESCRIPTOR.message_types_by_name['Position'] = _POSITION -DESCRIPTOR.message_types_by_name['Heading'] = _HEADING -DESCRIPTOR.message_types_by_name['Quaternion'] = _QUATERNION -DESCRIPTOR.message_types_by_name['EulerAngle'] = _EULERANGLE -DESCRIPTOR.message_types_by_name['AngularVelocityBody'] = _ANGULARVELOCITYBODY -DESCRIPTOR.message_types_by_name['GpsInfo'] = _GPSINFO -DESCRIPTOR.message_types_by_name['RawGps'] = _RAWGPS -DESCRIPTOR.message_types_by_name['Battery'] = _BATTERY -DESCRIPTOR.message_types_by_name['Health'] = _HEALTH -DESCRIPTOR.message_types_by_name['RcStatus'] = _RCSTATUS -DESCRIPTOR.message_types_by_name['StatusText'] = _STATUSTEXT -DESCRIPTOR.message_types_by_name['ActuatorControlTarget'] = _ACTUATORCONTROLTARGET -DESCRIPTOR.message_types_by_name['ActuatorOutputStatus'] = _ACTUATOROUTPUTSTATUS -DESCRIPTOR.message_types_by_name['Covariance'] = _COVARIANCE -DESCRIPTOR.message_types_by_name['VelocityBody'] = _VELOCITYBODY -DESCRIPTOR.message_types_by_name['PositionBody'] = _POSITIONBODY -DESCRIPTOR.message_types_by_name['Odometry'] = _ODOMETRY -DESCRIPTOR.message_types_by_name['DistanceSensor'] = _DISTANCESENSOR -DESCRIPTOR.message_types_by_name['ScaledPressure'] = _SCALEDPRESSURE -DESCRIPTOR.message_types_by_name['PositionNed'] = _POSITIONNED -DESCRIPTOR.message_types_by_name['VelocityNed'] = _VELOCITYNED -DESCRIPTOR.message_types_by_name['PositionVelocityNed'] = _POSITIONVELOCITYNED -DESCRIPTOR.message_types_by_name['GroundTruth'] = _GROUNDTRUTH -DESCRIPTOR.message_types_by_name['FixedwingMetrics'] = _FIXEDWINGMETRICS -DESCRIPTOR.message_types_by_name['AccelerationFrd'] = _ACCELERATIONFRD -DESCRIPTOR.message_types_by_name['AngularVelocityFrd'] = _ANGULARVELOCITYFRD -DESCRIPTOR.message_types_by_name['MagneticFieldFrd'] = _MAGNETICFIELDFRD -DESCRIPTOR.message_types_by_name['Imu'] = _IMU -DESCRIPTOR.message_types_by_name['GpsGlobalOrigin'] = _GPSGLOBALORIGIN -DESCRIPTOR.message_types_by_name['TelemetryResult'] = _TELEMETRYRESULT -DESCRIPTOR.enum_types_by_name['FixType'] = _FIXTYPE -DESCRIPTOR.enum_types_by_name['FlightMode'] = _FLIGHTMODE -DESCRIPTOR.enum_types_by_name['StatusTextType'] = _STATUSTEXTTYPE -DESCRIPTOR.enum_types_by_name['LandedState'] = _LANDEDSTATE -DESCRIPTOR.enum_types_by_name['VtolState'] = _VTOLSTATE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_SUBSCRIBEPOSITIONREQUEST = DESCRIPTOR.message_types_by_name['SubscribePositionRequest'] +_POSITIONRESPONSE = DESCRIPTOR.message_types_by_name['PositionResponse'] +_SUBSCRIBEHOMEREQUEST = DESCRIPTOR.message_types_by_name['SubscribeHomeRequest'] +_HOMERESPONSE = DESCRIPTOR.message_types_by_name['HomeResponse'] +_SUBSCRIBEINAIRREQUEST = DESCRIPTOR.message_types_by_name['SubscribeInAirRequest'] +_INAIRRESPONSE = DESCRIPTOR.message_types_by_name['InAirResponse'] +_SUBSCRIBELANDEDSTATEREQUEST = DESCRIPTOR.message_types_by_name['SubscribeLandedStateRequest'] +_LANDEDSTATERESPONSE = DESCRIPTOR.message_types_by_name['LandedStateResponse'] +_SUBSCRIBEARMEDREQUEST = DESCRIPTOR.message_types_by_name['SubscribeArmedRequest'] +_ARMEDRESPONSE = DESCRIPTOR.message_types_by_name['ArmedResponse'] +_SUBSCRIBEVTOLSTATEREQUEST = DESCRIPTOR.message_types_by_name['SubscribeVtolStateRequest'] +_VTOLSTATERESPONSE = DESCRIPTOR.message_types_by_name['VtolStateResponse'] +_SUBSCRIBEATTITUDEQUATERNIONREQUEST = DESCRIPTOR.message_types_by_name['SubscribeAttitudeQuaternionRequest'] +_ATTITUDEQUATERNIONRESPONSE = DESCRIPTOR.message_types_by_name['AttitudeQuaternionResponse'] +_SUBSCRIBEATTITUDEEULERREQUEST = DESCRIPTOR.message_types_by_name['SubscribeAttitudeEulerRequest'] +_ATTITUDEEULERRESPONSE = DESCRIPTOR.message_types_by_name['AttitudeEulerResponse'] +_SUBSCRIBEATTITUDEANGULARVELOCITYBODYREQUEST = DESCRIPTOR.message_types_by_name['SubscribeAttitudeAngularVelocityBodyRequest'] +_ATTITUDEANGULARVELOCITYBODYRESPONSE = DESCRIPTOR.message_types_by_name['AttitudeAngularVelocityBodyResponse'] +_SUBSCRIBECAMERAATTITUDEQUATERNIONREQUEST = DESCRIPTOR.message_types_by_name['SubscribeCameraAttitudeQuaternionRequest'] +_CAMERAATTITUDEQUATERNIONRESPONSE = DESCRIPTOR.message_types_by_name['CameraAttitudeQuaternionResponse'] +_SUBSCRIBECAMERAATTITUDEEULERREQUEST = DESCRIPTOR.message_types_by_name['SubscribeCameraAttitudeEulerRequest'] +_CAMERAATTITUDEEULERRESPONSE = DESCRIPTOR.message_types_by_name['CameraAttitudeEulerResponse'] +_SUBSCRIBEVELOCITYNEDREQUEST = DESCRIPTOR.message_types_by_name['SubscribeVelocityNedRequest'] +_VELOCITYNEDRESPONSE = DESCRIPTOR.message_types_by_name['VelocityNedResponse'] +_SUBSCRIBEGPSINFOREQUEST = DESCRIPTOR.message_types_by_name['SubscribeGpsInfoRequest'] +_GPSINFORESPONSE = DESCRIPTOR.message_types_by_name['GpsInfoResponse'] +_SUBSCRIBERAWGPSREQUEST = DESCRIPTOR.message_types_by_name['SubscribeRawGpsRequest'] +_RAWGPSRESPONSE = DESCRIPTOR.message_types_by_name['RawGpsResponse'] +_SUBSCRIBEBATTERYREQUEST = DESCRIPTOR.message_types_by_name['SubscribeBatteryRequest'] +_BATTERYRESPONSE = DESCRIPTOR.message_types_by_name['BatteryResponse'] +_SUBSCRIBEFLIGHTMODEREQUEST = DESCRIPTOR.message_types_by_name['SubscribeFlightModeRequest'] +_FLIGHTMODERESPONSE = DESCRIPTOR.message_types_by_name['FlightModeResponse'] +_SUBSCRIBEHEALTHREQUEST = DESCRIPTOR.message_types_by_name['SubscribeHealthRequest'] +_HEALTHRESPONSE = DESCRIPTOR.message_types_by_name['HealthResponse'] +_SUBSCRIBERCSTATUSREQUEST = DESCRIPTOR.message_types_by_name['SubscribeRcStatusRequest'] +_RCSTATUSRESPONSE = DESCRIPTOR.message_types_by_name['RcStatusResponse'] +_SUBSCRIBESTATUSTEXTREQUEST = DESCRIPTOR.message_types_by_name['SubscribeStatusTextRequest'] +_STATUSTEXTRESPONSE = DESCRIPTOR.message_types_by_name['StatusTextResponse'] +_SUBSCRIBEACTUATORCONTROLTARGETREQUEST = DESCRIPTOR.message_types_by_name['SubscribeActuatorControlTargetRequest'] +_ACTUATORCONTROLTARGETRESPONSE = DESCRIPTOR.message_types_by_name['ActuatorControlTargetResponse'] +_SUBSCRIBEACTUATOROUTPUTSTATUSREQUEST = DESCRIPTOR.message_types_by_name['SubscribeActuatorOutputStatusRequest'] +_ACTUATOROUTPUTSTATUSRESPONSE = DESCRIPTOR.message_types_by_name['ActuatorOutputStatusResponse'] +_SUBSCRIBEODOMETRYREQUEST = DESCRIPTOR.message_types_by_name['SubscribeOdometryRequest'] +_ODOMETRYRESPONSE = DESCRIPTOR.message_types_by_name['OdometryResponse'] +_SUBSCRIBEPOSITIONVELOCITYNEDREQUEST = DESCRIPTOR.message_types_by_name['SubscribePositionVelocityNedRequest'] +_POSITIONVELOCITYNEDRESPONSE = DESCRIPTOR.message_types_by_name['PositionVelocityNedResponse'] +_SUBSCRIBEGROUNDTRUTHREQUEST = DESCRIPTOR.message_types_by_name['SubscribeGroundTruthRequest'] +_GROUNDTRUTHRESPONSE = DESCRIPTOR.message_types_by_name['GroundTruthResponse'] +_SUBSCRIBEFIXEDWINGMETRICSREQUEST = DESCRIPTOR.message_types_by_name['SubscribeFixedwingMetricsRequest'] +_FIXEDWINGMETRICSRESPONSE = DESCRIPTOR.message_types_by_name['FixedwingMetricsResponse'] +_SUBSCRIBEIMUREQUEST = DESCRIPTOR.message_types_by_name['SubscribeImuRequest'] +_IMURESPONSE = DESCRIPTOR.message_types_by_name['ImuResponse'] +_SUBSCRIBESCALEDIMUREQUEST = DESCRIPTOR.message_types_by_name['SubscribeScaledImuRequest'] +_SCALEDIMURESPONSE = DESCRIPTOR.message_types_by_name['ScaledImuResponse'] +_SUBSCRIBERAWIMUREQUEST = DESCRIPTOR.message_types_by_name['SubscribeRawImuRequest'] +_RAWIMURESPONSE = DESCRIPTOR.message_types_by_name['RawImuResponse'] +_SUBSCRIBEHEALTHALLOKREQUEST = DESCRIPTOR.message_types_by_name['SubscribeHealthAllOkRequest'] +_HEALTHALLOKRESPONSE = DESCRIPTOR.message_types_by_name['HealthAllOkResponse'] +_SUBSCRIBEUNIXEPOCHTIMEREQUEST = DESCRIPTOR.message_types_by_name['SubscribeUnixEpochTimeRequest'] +_UNIXEPOCHTIMERESPONSE = DESCRIPTOR.message_types_by_name['UnixEpochTimeResponse'] +_SUBSCRIBEDISTANCESENSORREQUEST = DESCRIPTOR.message_types_by_name['SubscribeDistanceSensorRequest'] +_DISTANCESENSORRESPONSE = DESCRIPTOR.message_types_by_name['DistanceSensorResponse'] +_SUBSCRIBESCALEDPRESSUREREQUEST = DESCRIPTOR.message_types_by_name['SubscribeScaledPressureRequest'] +_SCALEDPRESSURERESPONSE = DESCRIPTOR.message_types_by_name['ScaledPressureResponse'] +_SUBSCRIBEHEADINGREQUEST = DESCRIPTOR.message_types_by_name['SubscribeHeadingRequest'] +_HEADINGRESPONSE = DESCRIPTOR.message_types_by_name['HeadingResponse'] +_SETRATEPOSITIONREQUEST = DESCRIPTOR.message_types_by_name['SetRatePositionRequest'] +_SETRATEPOSITIONRESPONSE = DESCRIPTOR.message_types_by_name['SetRatePositionResponse'] +_SETRATEHOMEREQUEST = DESCRIPTOR.message_types_by_name['SetRateHomeRequest'] +_SETRATEHOMERESPONSE = DESCRIPTOR.message_types_by_name['SetRateHomeResponse'] +_SETRATEINAIRREQUEST = DESCRIPTOR.message_types_by_name['SetRateInAirRequest'] +_SETRATEINAIRRESPONSE = DESCRIPTOR.message_types_by_name['SetRateInAirResponse'] +_SETRATELANDEDSTATEREQUEST = DESCRIPTOR.message_types_by_name['SetRateLandedStateRequest'] +_SETRATELANDEDSTATERESPONSE = DESCRIPTOR.message_types_by_name['SetRateLandedStateResponse'] +_SETRATEVTOLSTATEREQUEST = DESCRIPTOR.message_types_by_name['SetRateVtolStateRequest'] +_SETRATEVTOLSTATERESPONSE = DESCRIPTOR.message_types_by_name['SetRateVtolStateResponse'] +_SETRATEATTITUDEREQUEST = DESCRIPTOR.message_types_by_name['SetRateAttitudeRequest'] +_SETRATEATTITUDERESPONSE = DESCRIPTOR.message_types_by_name['SetRateAttitudeResponse'] +_SETRATEATTITUDEANGULARVELOCITYBODYREQUEST = DESCRIPTOR.message_types_by_name['SetRateAttitudeAngularVelocityBodyRequest'] +_SETRATEATTITUDEANGULARVELOCITYBODYRESPONSE = DESCRIPTOR.message_types_by_name['SetRateAttitudeAngularVelocityBodyResponse'] +_SETRATECAMERAATTITUDEQUATERNIONREQUEST = DESCRIPTOR.message_types_by_name['SetRateCameraAttitudeQuaternionRequest'] +_SETRATECAMERAATTITUDEQUATERNIONRESPONSE = DESCRIPTOR.message_types_by_name['SetRateCameraAttitudeQuaternionResponse'] +_SETRATECAMERAATTITUDEREQUEST = DESCRIPTOR.message_types_by_name['SetRateCameraAttitudeRequest'] +_SETRATECAMERAATTITUDERESPONSE = DESCRIPTOR.message_types_by_name['SetRateCameraAttitudeResponse'] +_SETRATEVELOCITYNEDREQUEST = DESCRIPTOR.message_types_by_name['SetRateVelocityNedRequest'] +_SETRATEVELOCITYNEDRESPONSE = DESCRIPTOR.message_types_by_name['SetRateVelocityNedResponse'] +_SETRATEGPSINFOREQUEST = DESCRIPTOR.message_types_by_name['SetRateGpsInfoRequest'] +_SETRATEGPSINFORESPONSE = DESCRIPTOR.message_types_by_name['SetRateGpsInfoResponse'] +_SETRATERAWGPSREQUEST = DESCRIPTOR.message_types_by_name['SetRateRawGpsRequest'] +_SETRATEBATTERYREQUEST = DESCRIPTOR.message_types_by_name['SetRateBatteryRequest'] +_SETRATEBATTERYRESPONSE = DESCRIPTOR.message_types_by_name['SetRateBatteryResponse'] +_SETRATERCSTATUSREQUEST = DESCRIPTOR.message_types_by_name['SetRateRcStatusRequest'] +_SETRATERCSTATUSRESPONSE = DESCRIPTOR.message_types_by_name['SetRateRcStatusResponse'] +_SETRATEACTUATORCONTROLTARGETREQUEST = DESCRIPTOR.message_types_by_name['SetRateActuatorControlTargetRequest'] +_SETRATEACTUATORCONTROLTARGETRESPONSE = DESCRIPTOR.message_types_by_name['SetRateActuatorControlTargetResponse'] +_SETRATEACTUATOROUTPUTSTATUSREQUEST = DESCRIPTOR.message_types_by_name['SetRateActuatorOutputStatusRequest'] +_SETRATEACTUATOROUTPUTSTATUSRESPONSE = DESCRIPTOR.message_types_by_name['SetRateActuatorOutputStatusResponse'] +_SETRATEODOMETRYREQUEST = DESCRIPTOR.message_types_by_name['SetRateOdometryRequest'] +_SETRATEODOMETRYRESPONSE = DESCRIPTOR.message_types_by_name['SetRateOdometryResponse'] +_SETRATEPOSITIONVELOCITYNEDREQUEST = DESCRIPTOR.message_types_by_name['SetRatePositionVelocityNedRequest'] +_SETRATEPOSITIONVELOCITYNEDRESPONSE = DESCRIPTOR.message_types_by_name['SetRatePositionVelocityNedResponse'] +_SETRATEGROUNDTRUTHREQUEST = DESCRIPTOR.message_types_by_name['SetRateGroundTruthRequest'] +_SETRATEGROUNDTRUTHRESPONSE = DESCRIPTOR.message_types_by_name['SetRateGroundTruthResponse'] +_SETRATEFIXEDWINGMETRICSREQUEST = DESCRIPTOR.message_types_by_name['SetRateFixedwingMetricsRequest'] +_SETRATEFIXEDWINGMETRICSRESPONSE = DESCRIPTOR.message_types_by_name['SetRateFixedwingMetricsResponse'] +_SETRATEIMUREQUEST = DESCRIPTOR.message_types_by_name['SetRateImuRequest'] +_SETRATEIMURESPONSE = DESCRIPTOR.message_types_by_name['SetRateImuResponse'] +_SETRATESCALEDIMUREQUEST = DESCRIPTOR.message_types_by_name['SetRateScaledImuRequest'] +_SETRATESCALEDIMURESPONSE = DESCRIPTOR.message_types_by_name['SetRateScaledImuResponse'] +_SETRATERAWIMUREQUEST = DESCRIPTOR.message_types_by_name['SetRateRawImuRequest'] +_SETRATERAWIMURESPONSE = DESCRIPTOR.message_types_by_name['SetRateRawImuResponse'] +_SETRATEUNIXEPOCHTIMEREQUEST = DESCRIPTOR.message_types_by_name['SetRateUnixEpochTimeRequest'] +_SETRATEUNIXEPOCHTIMERESPONSE = DESCRIPTOR.message_types_by_name['SetRateUnixEpochTimeResponse'] +_SETRATEDISTANCESENSORREQUEST = DESCRIPTOR.message_types_by_name['SetRateDistanceSensorRequest'] +_SETRATEDISTANCESENSORRESPONSE = DESCRIPTOR.message_types_by_name['SetRateDistanceSensorResponse'] +_GETGPSGLOBALORIGINREQUEST = DESCRIPTOR.message_types_by_name['GetGpsGlobalOriginRequest'] +_GETGPSGLOBALORIGINRESPONSE = DESCRIPTOR.message_types_by_name['GetGpsGlobalOriginResponse'] +_POSITION = DESCRIPTOR.message_types_by_name['Position'] +_HEADING = DESCRIPTOR.message_types_by_name['Heading'] +_QUATERNION = DESCRIPTOR.message_types_by_name['Quaternion'] +_EULERANGLE = DESCRIPTOR.message_types_by_name['EulerAngle'] +_ANGULARVELOCITYBODY = DESCRIPTOR.message_types_by_name['AngularVelocityBody'] +_GPSINFO = DESCRIPTOR.message_types_by_name['GpsInfo'] +_RAWGPS = DESCRIPTOR.message_types_by_name['RawGps'] +_BATTERY = DESCRIPTOR.message_types_by_name['Battery'] +_HEALTH = DESCRIPTOR.message_types_by_name['Health'] +_RCSTATUS = DESCRIPTOR.message_types_by_name['RcStatus'] +_STATUSTEXT = DESCRIPTOR.message_types_by_name['StatusText'] +_ACTUATORCONTROLTARGET = DESCRIPTOR.message_types_by_name['ActuatorControlTarget'] +_ACTUATOROUTPUTSTATUS = DESCRIPTOR.message_types_by_name['ActuatorOutputStatus'] +_COVARIANCE = DESCRIPTOR.message_types_by_name['Covariance'] +_VELOCITYBODY = DESCRIPTOR.message_types_by_name['VelocityBody'] +_POSITIONBODY = DESCRIPTOR.message_types_by_name['PositionBody'] +_ODOMETRY = DESCRIPTOR.message_types_by_name['Odometry'] +_DISTANCESENSOR = DESCRIPTOR.message_types_by_name['DistanceSensor'] +_SCALEDPRESSURE = DESCRIPTOR.message_types_by_name['ScaledPressure'] +_POSITIONNED = DESCRIPTOR.message_types_by_name['PositionNed'] +_VELOCITYNED = DESCRIPTOR.message_types_by_name['VelocityNed'] +_POSITIONVELOCITYNED = DESCRIPTOR.message_types_by_name['PositionVelocityNed'] +_GROUNDTRUTH = DESCRIPTOR.message_types_by_name['GroundTruth'] +_FIXEDWINGMETRICS = DESCRIPTOR.message_types_by_name['FixedwingMetrics'] +_ACCELERATIONFRD = DESCRIPTOR.message_types_by_name['AccelerationFrd'] +_ANGULARVELOCITYFRD = DESCRIPTOR.message_types_by_name['AngularVelocityFrd'] +_MAGNETICFIELDFRD = DESCRIPTOR.message_types_by_name['MagneticFieldFrd'] +_IMU = DESCRIPTOR.message_types_by_name['Imu'] +_GPSGLOBALORIGIN = DESCRIPTOR.message_types_by_name['GpsGlobalOrigin'] +_TELEMETRYRESULT = DESCRIPTOR.message_types_by_name['TelemetryResult'] +_ODOMETRY_MAVFRAME = _ODOMETRY.enum_types_by_name['MavFrame'] +_TELEMETRYRESULT_RESULT = _TELEMETRYRESULT.enum_types_by_name['Result'] SubscribePositionRequest = _reflection.GeneratedProtocolMessageType('SubscribePositionRequest', (_message.Message,), { 'DESCRIPTOR' : _SUBSCRIBEPOSITIONREQUEST, '__module__' : 'telemetry.telemetry_pb2' @@ -6721,638 +1248,431 @@ }) _sym_db.RegisterMessage(TelemetryResult) - -DESCRIPTOR._options = None -_POSITION.fields_by_name['latitude_deg']._options = None -_POSITION.fields_by_name['longitude_deg']._options = None -_POSITION.fields_by_name['absolute_altitude_m']._options = None -_POSITION.fields_by_name['relative_altitude_m']._options = None -_HEADING.fields_by_name['heading_deg']._options = None -_QUATERNION.fields_by_name['w']._options = None -_QUATERNION.fields_by_name['x']._options = None -_QUATERNION.fields_by_name['y']._options = None -_QUATERNION.fields_by_name['z']._options = None -_EULERANGLE.fields_by_name['roll_deg']._options = None -_EULERANGLE.fields_by_name['pitch_deg']._options = None -_EULERANGLE.fields_by_name['yaw_deg']._options = None -_ANGULARVELOCITYBODY.fields_by_name['roll_rad_s']._options = None -_ANGULARVELOCITYBODY.fields_by_name['pitch_rad_s']._options = None -_ANGULARVELOCITYBODY.fields_by_name['yaw_rad_s']._options = None -_GPSINFO.fields_by_name['num_satellites']._options = None -_BATTERY.fields_by_name['id']._options = None -_BATTERY.fields_by_name['voltage_v']._options = None -_BATTERY.fields_by_name['remaining_percent']._options = None -_HEALTH.fields_by_name['is_gyrometer_calibration_ok']._options = None -_HEALTH.fields_by_name['is_accelerometer_calibration_ok']._options = None -_HEALTH.fields_by_name['is_magnetometer_calibration_ok']._options = None -_HEALTH.fields_by_name['is_local_position_ok']._options = None -_HEALTH.fields_by_name['is_global_position_ok']._options = None -_HEALTH.fields_by_name['is_home_position_ok']._options = None -_HEALTH.fields_by_name['is_armable']._options = None -_RCSTATUS.fields_by_name['was_available_once']._options = None -_RCSTATUS.fields_by_name['is_available']._options = None -_RCSTATUS.fields_by_name['signal_strength_percent']._options = None -_ACTUATORCONTROLTARGET.fields_by_name['group']._options = None -_ACTUATOROUTPUTSTATUS.fields_by_name['active']._options = None -_DISTANCESENSOR.fields_by_name['minimum_distance_m']._options = None -_DISTANCESENSOR.fields_by_name['maximum_distance_m']._options = None -_DISTANCESENSOR.fields_by_name['current_distance_m']._options = None -_POSITIONNED.fields_by_name['north_m']._options = None -_POSITIONNED.fields_by_name['east_m']._options = None -_POSITIONNED.fields_by_name['down_m']._options = None -_GROUNDTRUTH.fields_by_name['latitude_deg']._options = None -_GROUNDTRUTH.fields_by_name['longitude_deg']._options = None -_GROUNDTRUTH.fields_by_name['absolute_altitude_m']._options = None -_FIXEDWINGMETRICS.fields_by_name['airspeed_m_s']._options = None -_FIXEDWINGMETRICS.fields_by_name['throttle_percentage']._options = None -_FIXEDWINGMETRICS.fields_by_name['climb_rate_m_s']._options = None -_ACCELERATIONFRD.fields_by_name['forward_m_s2']._options = None -_ACCELERATIONFRD.fields_by_name['right_m_s2']._options = None -_ACCELERATIONFRD.fields_by_name['down_m_s2']._options = None -_ANGULARVELOCITYFRD.fields_by_name['forward_rad_s']._options = None -_ANGULARVELOCITYFRD.fields_by_name['right_rad_s']._options = None -_ANGULARVELOCITYFRD.fields_by_name['down_rad_s']._options = None -_MAGNETICFIELDFRD.fields_by_name['forward_gauss']._options = None -_MAGNETICFIELDFRD.fields_by_name['right_gauss']._options = None -_MAGNETICFIELDFRD.fields_by_name['down_gauss']._options = None -_IMU.fields_by_name['temperature_degc']._options = None -_GPSGLOBALORIGIN.fields_by_name['latitude_deg']._options = None -_GPSGLOBALORIGIN.fields_by_name['longitude_deg']._options = None -_GPSGLOBALORIGIN.fields_by_name['altitude_m']._options = None - -_TELEMETRYSERVICE = _descriptor.ServiceDescriptor( - name='TelemetryService', - full_name='mavsdk.rpc.telemetry.TelemetryService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=12716, - serialized_end=19626, - methods=[ - _descriptor.MethodDescriptor( - name='SubscribePosition', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribePosition', - index=0, - containing_service=None, - input_type=_SUBSCRIBEPOSITIONREQUEST, - output_type=_POSITIONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeHome', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeHome', - index=1, - containing_service=None, - input_type=_SUBSCRIBEHOMEREQUEST, - output_type=_HOMERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeInAir', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeInAir', - index=2, - containing_service=None, - input_type=_SUBSCRIBEINAIRREQUEST, - output_type=_INAIRRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeLandedState', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeLandedState', - index=3, - containing_service=None, - input_type=_SUBSCRIBELANDEDSTATEREQUEST, - output_type=_LANDEDSTATERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeArmed', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeArmed', - index=4, - containing_service=None, - input_type=_SUBSCRIBEARMEDREQUEST, - output_type=_ARMEDRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeVtolState', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeVtolState', - index=5, - containing_service=None, - input_type=_SUBSCRIBEVTOLSTATEREQUEST, - output_type=_VTOLSTATERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeAttitudeQuaternion', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeAttitudeQuaternion', - index=6, - containing_service=None, - input_type=_SUBSCRIBEATTITUDEQUATERNIONREQUEST, - output_type=_ATTITUDEQUATERNIONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeAttitudeEuler', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeAttitudeEuler', - index=7, - containing_service=None, - input_type=_SUBSCRIBEATTITUDEEULERREQUEST, - output_type=_ATTITUDEEULERRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeAttitudeAngularVelocityBody', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeAttitudeAngularVelocityBody', - index=8, - containing_service=None, - input_type=_SUBSCRIBEATTITUDEANGULARVELOCITYBODYREQUEST, - output_type=_ATTITUDEANGULARVELOCITYBODYRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeCameraAttitudeQuaternion', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeCameraAttitudeQuaternion', - index=9, - containing_service=None, - input_type=_SUBSCRIBECAMERAATTITUDEQUATERNIONREQUEST, - output_type=_CAMERAATTITUDEQUATERNIONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeCameraAttitudeEuler', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeCameraAttitudeEuler', - index=10, - containing_service=None, - input_type=_SUBSCRIBECAMERAATTITUDEEULERREQUEST, - output_type=_CAMERAATTITUDEEULERRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeVelocityNed', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeVelocityNed', - index=11, - containing_service=None, - input_type=_SUBSCRIBEVELOCITYNEDREQUEST, - output_type=_VELOCITYNEDRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeGpsInfo', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeGpsInfo', - index=12, - containing_service=None, - input_type=_SUBSCRIBEGPSINFOREQUEST, - output_type=_GPSINFORESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeRawGps', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeRawGps', - index=13, - containing_service=None, - input_type=_SUBSCRIBERAWGPSREQUEST, - output_type=_RAWGPSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeBattery', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeBattery', - index=14, - containing_service=None, - input_type=_SUBSCRIBEBATTERYREQUEST, - output_type=_BATTERYRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeFlightMode', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeFlightMode', - index=15, - containing_service=None, - input_type=_SUBSCRIBEFLIGHTMODEREQUEST, - output_type=_FLIGHTMODERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeHealth', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeHealth', - index=16, - containing_service=None, - input_type=_SUBSCRIBEHEALTHREQUEST, - output_type=_HEALTHRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeRcStatus', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeRcStatus', - index=17, - containing_service=None, - input_type=_SUBSCRIBERCSTATUSREQUEST, - output_type=_RCSTATUSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeStatusText', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeStatusText', - index=18, - containing_service=None, - input_type=_SUBSCRIBESTATUSTEXTREQUEST, - output_type=_STATUSTEXTRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeActuatorControlTarget', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeActuatorControlTarget', - index=19, - containing_service=None, - input_type=_SUBSCRIBEACTUATORCONTROLTARGETREQUEST, - output_type=_ACTUATORCONTROLTARGETRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeActuatorOutputStatus', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeActuatorOutputStatus', - index=20, - containing_service=None, - input_type=_SUBSCRIBEACTUATOROUTPUTSTATUSREQUEST, - output_type=_ACTUATOROUTPUTSTATUSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeOdometry', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeOdometry', - index=21, - containing_service=None, - input_type=_SUBSCRIBEODOMETRYREQUEST, - output_type=_ODOMETRYRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribePositionVelocityNed', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribePositionVelocityNed', - index=22, - containing_service=None, - input_type=_SUBSCRIBEPOSITIONVELOCITYNEDREQUEST, - output_type=_POSITIONVELOCITYNEDRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeGroundTruth', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeGroundTruth', - index=23, - containing_service=None, - input_type=_SUBSCRIBEGROUNDTRUTHREQUEST, - output_type=_GROUNDTRUTHRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeFixedwingMetrics', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeFixedwingMetrics', - index=24, - containing_service=None, - input_type=_SUBSCRIBEFIXEDWINGMETRICSREQUEST, - output_type=_FIXEDWINGMETRICSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeImu', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeImu', - index=25, - containing_service=None, - input_type=_SUBSCRIBEIMUREQUEST, - output_type=_IMURESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeScaledImu', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeScaledImu', - index=26, - containing_service=None, - input_type=_SUBSCRIBESCALEDIMUREQUEST, - output_type=_SCALEDIMURESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeRawImu', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeRawImu', - index=27, - containing_service=None, - input_type=_SUBSCRIBERAWIMUREQUEST, - output_type=_RAWIMURESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeHealthAllOk', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeHealthAllOk', - index=28, - containing_service=None, - input_type=_SUBSCRIBEHEALTHALLOKREQUEST, - output_type=_HEALTHALLOKRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeUnixEpochTime', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeUnixEpochTime', - index=29, - containing_service=None, - input_type=_SUBSCRIBEUNIXEPOCHTIMEREQUEST, - output_type=_UNIXEPOCHTIMERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeDistanceSensor', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeDistanceSensor', - index=30, - containing_service=None, - input_type=_SUBSCRIBEDISTANCESENSORREQUEST, - output_type=_DISTANCESENSORRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeScaledPressure', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeScaledPressure', - index=31, - containing_service=None, - input_type=_SUBSCRIBESCALEDPRESSUREREQUEST, - output_type=_SCALEDPRESSURERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeHeading', - full_name='mavsdk.rpc.telemetry.TelemetryService.SubscribeHeading', - index=32, - containing_service=None, - input_type=_SUBSCRIBEHEADINGREQUEST, - output_type=_HEADINGRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRatePosition', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRatePosition', - index=33, - containing_service=None, - input_type=_SETRATEPOSITIONREQUEST, - output_type=_SETRATEPOSITIONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateHome', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateHome', - index=34, - containing_service=None, - input_type=_SETRATEHOMEREQUEST, - output_type=_SETRATEHOMERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateInAir', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateInAir', - index=35, - containing_service=None, - input_type=_SETRATEINAIRREQUEST, - output_type=_SETRATEINAIRRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateLandedState', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateLandedState', - index=36, - containing_service=None, - input_type=_SETRATELANDEDSTATEREQUEST, - output_type=_SETRATELANDEDSTATERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateVtolState', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateVtolState', - index=37, - containing_service=None, - input_type=_SETRATEVTOLSTATEREQUEST, - output_type=_SETRATEVTOLSTATERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateAttitude', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateAttitude', - index=38, - containing_service=None, - input_type=_SETRATEATTITUDEREQUEST, - output_type=_SETRATEATTITUDERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateCameraAttitude', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateCameraAttitude', - index=39, - containing_service=None, - input_type=_SETRATECAMERAATTITUDEREQUEST, - output_type=_SETRATECAMERAATTITUDERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateVelocityNed', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateVelocityNed', - index=40, - containing_service=None, - input_type=_SETRATEVELOCITYNEDREQUEST, - output_type=_SETRATEVELOCITYNEDRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateGpsInfo', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateGpsInfo', - index=41, - containing_service=None, - input_type=_SETRATEGPSINFOREQUEST, - output_type=_SETRATEGPSINFORESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateBattery', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateBattery', - index=42, - containing_service=None, - input_type=_SETRATEBATTERYREQUEST, - output_type=_SETRATEBATTERYRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateRcStatus', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateRcStatus', - index=43, - containing_service=None, - input_type=_SETRATERCSTATUSREQUEST, - output_type=_SETRATERCSTATUSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateActuatorControlTarget', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateActuatorControlTarget', - index=44, - containing_service=None, - input_type=_SETRATEACTUATORCONTROLTARGETREQUEST, - output_type=_SETRATEACTUATORCONTROLTARGETRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateActuatorOutputStatus', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateActuatorOutputStatus', - index=45, - containing_service=None, - input_type=_SETRATEACTUATOROUTPUTSTATUSREQUEST, - output_type=_SETRATEACTUATOROUTPUTSTATUSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateOdometry', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateOdometry', - index=46, - containing_service=None, - input_type=_SETRATEODOMETRYREQUEST, - output_type=_SETRATEODOMETRYRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRatePositionVelocityNed', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRatePositionVelocityNed', - index=47, - containing_service=None, - input_type=_SETRATEPOSITIONVELOCITYNEDREQUEST, - output_type=_SETRATEPOSITIONVELOCITYNEDRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateGroundTruth', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateGroundTruth', - index=48, - containing_service=None, - input_type=_SETRATEGROUNDTRUTHREQUEST, - output_type=_SETRATEGROUNDTRUTHRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateFixedwingMetrics', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateFixedwingMetrics', - index=49, - containing_service=None, - input_type=_SETRATEFIXEDWINGMETRICSREQUEST, - output_type=_SETRATEFIXEDWINGMETRICSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateImu', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateImu', - index=50, - containing_service=None, - input_type=_SETRATEIMUREQUEST, - output_type=_SETRATEIMURESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateScaledImu', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateScaledImu', - index=51, - containing_service=None, - input_type=_SETRATESCALEDIMUREQUEST, - output_type=_SETRATESCALEDIMURESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateRawImu', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateRawImu', - index=52, - containing_service=None, - input_type=_SETRATERAWIMUREQUEST, - output_type=_SETRATERAWIMURESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateUnixEpochTime', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateUnixEpochTime', - index=53, - containing_service=None, - input_type=_SETRATEUNIXEPOCHTIMEREQUEST, - output_type=_SETRATEUNIXEPOCHTIMERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateDistanceSensor', - full_name='mavsdk.rpc.telemetry.TelemetryService.SetRateDistanceSensor', - index=54, - containing_service=None, - input_type=_SETRATEDISTANCESENSORREQUEST, - output_type=_SETRATEDISTANCESENSORRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetGpsGlobalOrigin', - full_name='mavsdk.rpc.telemetry.TelemetryService.GetGpsGlobalOrigin', - index=55, - containing_service=None, - input_type=_GETGPSGLOBALORIGINREQUEST, - output_type=_GETGPSGLOBALORIGINRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_TELEMETRYSERVICE) - -DESCRIPTOR.services_by_name['TelemetryService'] = _TELEMETRYSERVICE - +_TELEMETRYSERVICE = DESCRIPTOR.services_by_name['TelemetryService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\023io.mavsdk.telemetryB\016TelemetryProto' + _POSITION.fields_by_name['latitude_deg']._options = None + _POSITION.fields_by_name['latitude_deg']._serialized_options = b'\202\265\030\003NaN' + _POSITION.fields_by_name['longitude_deg']._options = None + _POSITION.fields_by_name['longitude_deg']._serialized_options = b'\202\265\030\003NaN' + _POSITION.fields_by_name['absolute_altitude_m']._options = None + _POSITION.fields_by_name['absolute_altitude_m']._serialized_options = b'\202\265\030\003NaN' + _POSITION.fields_by_name['relative_altitude_m']._options = None + _POSITION.fields_by_name['relative_altitude_m']._serialized_options = b'\202\265\030\003NaN' + _HEADING.fields_by_name['heading_deg']._options = None + _HEADING.fields_by_name['heading_deg']._serialized_options = b'\202\265\030\003NaN' + _QUATERNION.fields_by_name['w']._options = None + _QUATERNION.fields_by_name['w']._serialized_options = b'\202\265\030\003NaN' + _QUATERNION.fields_by_name['x']._options = None + _QUATERNION.fields_by_name['x']._serialized_options = b'\202\265\030\003NaN' + _QUATERNION.fields_by_name['y']._options = None + _QUATERNION.fields_by_name['y']._serialized_options = b'\202\265\030\003NaN' + _QUATERNION.fields_by_name['z']._options = None + _QUATERNION.fields_by_name['z']._serialized_options = b'\202\265\030\003NaN' + _EULERANGLE.fields_by_name['roll_deg']._options = None + _EULERANGLE.fields_by_name['roll_deg']._serialized_options = b'\202\265\030\003NaN' + _EULERANGLE.fields_by_name['pitch_deg']._options = None + _EULERANGLE.fields_by_name['pitch_deg']._serialized_options = b'\202\265\030\003NaN' + _EULERANGLE.fields_by_name['yaw_deg']._options = None + _EULERANGLE.fields_by_name['yaw_deg']._serialized_options = b'\202\265\030\003NaN' + _ANGULARVELOCITYBODY.fields_by_name['roll_rad_s']._options = None + _ANGULARVELOCITYBODY.fields_by_name['roll_rad_s']._serialized_options = b'\202\265\030\003NaN' + _ANGULARVELOCITYBODY.fields_by_name['pitch_rad_s']._options = None + _ANGULARVELOCITYBODY.fields_by_name['pitch_rad_s']._serialized_options = b'\202\265\030\003NaN' + _ANGULARVELOCITYBODY.fields_by_name['yaw_rad_s']._options = None + _ANGULARVELOCITYBODY.fields_by_name['yaw_rad_s']._serialized_options = b'\202\265\030\003NaN' + _GPSINFO.fields_by_name['num_satellites']._options = None + _GPSINFO.fields_by_name['num_satellites']._serialized_options = b'\202\265\030\0010' + _BATTERY.fields_by_name['id']._options = None + _BATTERY.fields_by_name['id']._serialized_options = b'\202\265\030\0010' + _BATTERY.fields_by_name['voltage_v']._options = None + _BATTERY.fields_by_name['voltage_v']._serialized_options = b'\202\265\030\003NaN' + _BATTERY.fields_by_name['remaining_percent']._options = None + _BATTERY.fields_by_name['remaining_percent']._serialized_options = b'\202\265\030\003NaN' + _HEALTH.fields_by_name['is_gyrometer_calibration_ok']._options = None + _HEALTH.fields_by_name['is_gyrometer_calibration_ok']._serialized_options = b'\202\265\030\005false' + _HEALTH.fields_by_name['is_accelerometer_calibration_ok']._options = None + _HEALTH.fields_by_name['is_accelerometer_calibration_ok']._serialized_options = b'\202\265\030\005false' + _HEALTH.fields_by_name['is_magnetometer_calibration_ok']._options = None + _HEALTH.fields_by_name['is_magnetometer_calibration_ok']._serialized_options = b'\202\265\030\005false' + _HEALTH.fields_by_name['is_local_position_ok']._options = None + _HEALTH.fields_by_name['is_local_position_ok']._serialized_options = b'\202\265\030\005false' + _HEALTH.fields_by_name['is_global_position_ok']._options = None + _HEALTH.fields_by_name['is_global_position_ok']._serialized_options = b'\202\265\030\005false' + _HEALTH.fields_by_name['is_home_position_ok']._options = None + _HEALTH.fields_by_name['is_home_position_ok']._serialized_options = b'\202\265\030\005false' + _HEALTH.fields_by_name['is_armable']._options = None + _HEALTH.fields_by_name['is_armable']._serialized_options = b'\202\265\030\005false' + _RCSTATUS.fields_by_name['was_available_once']._options = None + _RCSTATUS.fields_by_name['was_available_once']._serialized_options = b'\202\265\030\005false' + _RCSTATUS.fields_by_name['is_available']._options = None + _RCSTATUS.fields_by_name['is_available']._serialized_options = b'\202\265\030\005false' + _RCSTATUS.fields_by_name['signal_strength_percent']._options = None + _RCSTATUS.fields_by_name['signal_strength_percent']._serialized_options = b'\202\265\030\003NaN' + _ACTUATORCONTROLTARGET.fields_by_name['group']._options = None + _ACTUATORCONTROLTARGET.fields_by_name['group']._serialized_options = b'\202\265\030\0010' + _ACTUATOROUTPUTSTATUS.fields_by_name['active']._options = None + _ACTUATOROUTPUTSTATUS.fields_by_name['active']._serialized_options = b'\202\265\030\0010' + _DISTANCESENSOR.fields_by_name['minimum_distance_m']._options = None + _DISTANCESENSOR.fields_by_name['minimum_distance_m']._serialized_options = b'\202\265\030\003NaN' + _DISTANCESENSOR.fields_by_name['maximum_distance_m']._options = None + _DISTANCESENSOR.fields_by_name['maximum_distance_m']._serialized_options = b'\202\265\030\003NaN' + _DISTANCESENSOR.fields_by_name['current_distance_m']._options = None + _DISTANCESENSOR.fields_by_name['current_distance_m']._serialized_options = b'\202\265\030\003NaN' + _POSITIONNED.fields_by_name['north_m']._options = None + _POSITIONNED.fields_by_name['north_m']._serialized_options = b'\202\265\030\003NaN' + _POSITIONNED.fields_by_name['east_m']._options = None + _POSITIONNED.fields_by_name['east_m']._serialized_options = b'\202\265\030\003NaN' + _POSITIONNED.fields_by_name['down_m']._options = None + _POSITIONNED.fields_by_name['down_m']._serialized_options = b'\202\265\030\003NaN' + _GROUNDTRUTH.fields_by_name['latitude_deg']._options = None + _GROUNDTRUTH.fields_by_name['latitude_deg']._serialized_options = b'\202\265\030\003NaN' + _GROUNDTRUTH.fields_by_name['longitude_deg']._options = None + _GROUNDTRUTH.fields_by_name['longitude_deg']._serialized_options = b'\202\265\030\003NaN' + _GROUNDTRUTH.fields_by_name['absolute_altitude_m']._options = None + _GROUNDTRUTH.fields_by_name['absolute_altitude_m']._serialized_options = b'\202\265\030\003NaN' + _FIXEDWINGMETRICS.fields_by_name['airspeed_m_s']._options = None + _FIXEDWINGMETRICS.fields_by_name['airspeed_m_s']._serialized_options = b'\202\265\030\003NaN' + _FIXEDWINGMETRICS.fields_by_name['throttle_percentage']._options = None + _FIXEDWINGMETRICS.fields_by_name['throttle_percentage']._serialized_options = b'\202\265\030\003NaN' + _FIXEDWINGMETRICS.fields_by_name['climb_rate_m_s']._options = None + _FIXEDWINGMETRICS.fields_by_name['climb_rate_m_s']._serialized_options = b'\202\265\030\003NaN' + _ACCELERATIONFRD.fields_by_name['forward_m_s2']._options = None + _ACCELERATIONFRD.fields_by_name['forward_m_s2']._serialized_options = b'\202\265\030\003NaN' + _ACCELERATIONFRD.fields_by_name['right_m_s2']._options = None + _ACCELERATIONFRD.fields_by_name['right_m_s2']._serialized_options = b'\202\265\030\003NaN' + _ACCELERATIONFRD.fields_by_name['down_m_s2']._options = None + _ACCELERATIONFRD.fields_by_name['down_m_s2']._serialized_options = b'\202\265\030\003NaN' + _ANGULARVELOCITYFRD.fields_by_name['forward_rad_s']._options = None + _ANGULARVELOCITYFRD.fields_by_name['forward_rad_s']._serialized_options = b'\202\265\030\003NaN' + _ANGULARVELOCITYFRD.fields_by_name['right_rad_s']._options = None + _ANGULARVELOCITYFRD.fields_by_name['right_rad_s']._serialized_options = b'\202\265\030\003NaN' + _ANGULARVELOCITYFRD.fields_by_name['down_rad_s']._options = None + _ANGULARVELOCITYFRD.fields_by_name['down_rad_s']._serialized_options = b'\202\265\030\003NaN' + _MAGNETICFIELDFRD.fields_by_name['forward_gauss']._options = None + _MAGNETICFIELDFRD.fields_by_name['forward_gauss']._serialized_options = b'\202\265\030\003NaN' + _MAGNETICFIELDFRD.fields_by_name['right_gauss']._options = None + _MAGNETICFIELDFRD.fields_by_name['right_gauss']._serialized_options = b'\202\265\030\003NaN' + _MAGNETICFIELDFRD.fields_by_name['down_gauss']._options = None + _MAGNETICFIELDFRD.fields_by_name['down_gauss']._serialized_options = b'\202\265\030\003NaN' + _IMU.fields_by_name['temperature_degc']._options = None + _IMU.fields_by_name['temperature_degc']._serialized_options = b'\202\265\030\003NaN' + _GPSGLOBALORIGIN.fields_by_name['latitude_deg']._options = None + _GPSGLOBALORIGIN.fields_by_name['latitude_deg']._serialized_options = b'\202\265\030\003NaN' + _GPSGLOBALORIGIN.fields_by_name['longitude_deg']._options = None + _GPSGLOBALORIGIN.fields_by_name['longitude_deg']._serialized_options = b'\202\265\030\003NaN' + _GPSGLOBALORIGIN.fields_by_name['altitude_m']._options = None + _GPSGLOBALORIGIN.fields_by_name['altitude_m']._serialized_options = b'\202\265\030\003NaN' + _FIXTYPE._serialized_start=11610 + _FIXTYPE._serialized_end=11774 + _FLIGHTMODE._serialized_start=11777 + _FLIGHTMODE._serialized_end=12167 + _STATUSTEXTTYPE._serialized_start=12170 + _STATUSTEXTTYPE._serialized_end=12419 + _LANDEDSTATE._serialized_start=12422 + _LANDEDSTATE._serialized_end=12569 + _VTOLSTATE._serialized_start=12572 + _VTOLSTATE._serialized_end=12713 + _SUBSCRIBEPOSITIONREQUEST._serialized_start=73 + _SUBSCRIBEPOSITIONREQUEST._serialized_end=99 + _POSITIONRESPONSE._serialized_start=101 + _POSITIONRESPONSE._serialized_end=169 + _SUBSCRIBEHOMEREQUEST._serialized_start=171 + _SUBSCRIBEHOMEREQUEST._serialized_end=193 + _HOMERESPONSE._serialized_start=195 + _HOMERESPONSE._serialized_end=255 + _SUBSCRIBEINAIRREQUEST._serialized_start=257 + _SUBSCRIBEINAIRREQUEST._serialized_end=280 + _INAIRRESPONSE._serialized_start=282 + _INAIRRESPONSE._serialized_end=316 + _SUBSCRIBELANDEDSTATEREQUEST._serialized_start=318 + _SUBSCRIBELANDEDSTATEREQUEST._serialized_end=347 + _LANDEDSTATERESPONSE._serialized_start=349 + _LANDEDSTATERESPONSE._serialized_end=427 + _SUBSCRIBEARMEDREQUEST._serialized_start=429 + _SUBSCRIBEARMEDREQUEST._serialized_end=452 + _ARMEDRESPONSE._serialized_start=454 + _ARMEDRESPONSE._serialized_end=487 + _SUBSCRIBEVTOLSTATEREQUEST._serialized_start=489 + _SUBSCRIBEVTOLSTATEREQUEST._serialized_end=516 + _VTOLSTATERESPONSE._serialized_start=518 + _VTOLSTATERESPONSE._serialized_end=590 + _SUBSCRIBEATTITUDEQUATERNIONREQUEST._serialized_start=592 + _SUBSCRIBEATTITUDEQUATERNIONREQUEST._serialized_end=628 + _ATTITUDEQUATERNIONRESPONSE._serialized_start=630 + _ATTITUDEQUATERNIONRESPONSE._serialized_end=721 + _SUBSCRIBEATTITUDEEULERREQUEST._serialized_start=723 + _SUBSCRIBEATTITUDEEULERREQUEST._serialized_end=754 + _ATTITUDEEULERRESPONSE._serialized_start=756 + _ATTITUDEEULERRESPONSE._serialized_end=837 + _SUBSCRIBEATTITUDEANGULARVELOCITYBODYREQUEST._serialized_start=839 + _SUBSCRIBEATTITUDEANGULARVELOCITYBODYREQUEST._serialized_end=884 + _ATTITUDEANGULARVELOCITYBODYRESPONSE._serialized_start=886 + _ATTITUDEANGULARVELOCITYBODYRESPONSE._serialized_end=1006 + _SUBSCRIBECAMERAATTITUDEQUATERNIONREQUEST._serialized_start=1008 + _SUBSCRIBECAMERAATTITUDEQUATERNIONREQUEST._serialized_end=1050 + _CAMERAATTITUDEQUATERNIONRESPONSE._serialized_start=1052 + _CAMERAATTITUDEQUATERNIONRESPONSE._serialized_end=1149 + _SUBSCRIBECAMERAATTITUDEEULERREQUEST._serialized_start=1151 + _SUBSCRIBECAMERAATTITUDEEULERREQUEST._serialized_end=1188 + _CAMERAATTITUDEEULERRESPONSE._serialized_start=1190 + _CAMERAATTITUDEEULERRESPONSE._serialized_end=1277 + _SUBSCRIBEVELOCITYNEDREQUEST._serialized_start=1279 + _SUBSCRIBEVELOCITYNEDREQUEST._serialized_end=1308 + _VELOCITYNEDRESPONSE._serialized_start=1310 + _VELOCITYNEDRESPONSE._serialized_end=1388 + _SUBSCRIBEGPSINFOREQUEST._serialized_start=1390 + _SUBSCRIBEGPSINFOREQUEST._serialized_end=1415 + _GPSINFORESPONSE._serialized_start=1417 + _GPSINFORESPONSE._serialized_end=1483 + _SUBSCRIBERAWGPSREQUEST._serialized_start=1485 + _SUBSCRIBERAWGPSREQUEST._serialized_end=1509 + _RAWGPSRESPONSE._serialized_start=1511 + _RAWGPSRESPONSE._serialized_end=1574 + _SUBSCRIBEBATTERYREQUEST._serialized_start=1576 + _SUBSCRIBEBATTERYREQUEST._serialized_end=1601 + _BATTERYRESPONSE._serialized_start=1603 + _BATTERYRESPONSE._serialized_end=1668 + _SUBSCRIBEFLIGHTMODEREQUEST._serialized_start=1670 + _SUBSCRIBEFLIGHTMODEREQUEST._serialized_end=1698 + _FLIGHTMODERESPONSE._serialized_start=1700 + _FLIGHTMODERESPONSE._serialized_end=1775 + _SUBSCRIBEHEALTHREQUEST._serialized_start=1777 + _SUBSCRIBEHEALTHREQUEST._serialized_end=1801 + _HEALTHRESPONSE._serialized_start=1803 + _HEALTHRESPONSE._serialized_end=1865 + _SUBSCRIBERCSTATUSREQUEST._serialized_start=1867 + _SUBSCRIBERCSTATUSREQUEST._serialized_end=1893 + _RCSTATUSRESPONSE._serialized_start=1895 + _RCSTATUSRESPONSE._serialized_end=1964 + _SUBSCRIBESTATUSTEXTREQUEST._serialized_start=1966 + _SUBSCRIBESTATUSTEXTREQUEST._serialized_end=1994 + _STATUSTEXTRESPONSE._serialized_start=1996 + _STATUSTEXTRESPONSE._serialized_end=2071 + _SUBSCRIBEACTUATORCONTROLTARGETREQUEST._serialized_start=2073 + _SUBSCRIBEACTUATORCONTROLTARGETREQUEST._serialized_end=2112 + _ACTUATORCONTROLTARGETRESPONSE._serialized_start=2114 + _ACTUATORCONTROLTARGETRESPONSE._serialized_end=2223 + _SUBSCRIBEACTUATOROUTPUTSTATUSREQUEST._serialized_start=2225 + _SUBSCRIBEACTUATOROUTPUTSTATUSREQUEST._serialized_end=2263 + _ACTUATOROUTPUTSTATUSRESPONSE._serialized_start=2265 + _ACTUATOROUTPUTSTATUSRESPONSE._serialized_end=2371 + _SUBSCRIBEODOMETRYREQUEST._serialized_start=2373 + _SUBSCRIBEODOMETRYREQUEST._serialized_end=2399 + _ODOMETRYRESPONSE._serialized_start=2401 + _ODOMETRYRESPONSE._serialized_end=2469 + _SUBSCRIBEPOSITIONVELOCITYNEDREQUEST._serialized_start=2471 + _SUBSCRIBEPOSITIONVELOCITYNEDREQUEST._serialized_end=2508 + _POSITIONVELOCITYNEDRESPONSE._serialized_start=2510 + _POSITIONVELOCITYNEDRESPONSE._serialized_end=2613 + _SUBSCRIBEGROUNDTRUTHREQUEST._serialized_start=2615 + _SUBSCRIBEGROUNDTRUTHREQUEST._serialized_end=2644 + _GROUNDTRUTHRESPONSE._serialized_start=2646 + _GROUNDTRUTHRESPONSE._serialized_end=2724 + _SUBSCRIBEFIXEDWINGMETRICSREQUEST._serialized_start=2726 + _SUBSCRIBEFIXEDWINGMETRICSREQUEST._serialized_end=2760 + _FIXEDWINGMETRICSRESPONSE._serialized_start=2762 + _FIXEDWINGMETRICSRESPONSE._serialized_end=2855 + _SUBSCRIBEIMUREQUEST._serialized_start=2857 + _SUBSCRIBEIMUREQUEST._serialized_end=2878 + _IMURESPONSE._serialized_start=2880 + _IMURESPONSE._serialized_end=2933 + _SUBSCRIBESCALEDIMUREQUEST._serialized_start=2935 + _SUBSCRIBESCALEDIMUREQUEST._serialized_end=2962 + _SCALEDIMURESPONSE._serialized_start=2964 + _SCALEDIMURESPONSE._serialized_end=3023 + _SUBSCRIBERAWIMUREQUEST._serialized_start=3025 + _SUBSCRIBERAWIMUREQUEST._serialized_end=3049 + _RAWIMURESPONSE._serialized_start=3051 + _RAWIMURESPONSE._serialized_end=3107 + _SUBSCRIBEHEALTHALLOKREQUEST._serialized_start=3109 + _SUBSCRIBEHEALTHALLOKREQUEST._serialized_end=3138 + _HEALTHALLOKRESPONSE._serialized_start=3140 + _HEALTHALLOKRESPONSE._serialized_end=3187 + _SUBSCRIBEUNIXEPOCHTIMEREQUEST._serialized_start=3189 + _SUBSCRIBEUNIXEPOCHTIMEREQUEST._serialized_end=3220 + _UNIXEPOCHTIMERESPONSE._serialized_start=3222 + _UNIXEPOCHTIMERESPONSE._serialized_end=3262 + _SUBSCRIBEDISTANCESENSORREQUEST._serialized_start=3264 + _SUBSCRIBEDISTANCESENSORREQUEST._serialized_end=3296 + _DISTANCESENSORRESPONSE._serialized_start=3298 + _DISTANCESENSORRESPONSE._serialized_end=3385 + _SUBSCRIBESCALEDPRESSUREREQUEST._serialized_start=3387 + _SUBSCRIBESCALEDPRESSUREREQUEST._serialized_end=3419 + _SCALEDPRESSURERESPONSE._serialized_start=3421 + _SCALEDPRESSURERESPONSE._serialized_end=3508 + _SUBSCRIBEHEADINGREQUEST._serialized_start=3510 + _SUBSCRIBEHEADINGREQUEST._serialized_end=3535 + _HEADINGRESPONSE._serialized_start=3537 + _HEADINGRESPONSE._serialized_end=3606 + _SETRATEPOSITIONREQUEST._serialized_start=3608 + _SETRATEPOSITIONREQUEST._serialized_end=3649 + _SETRATEPOSITIONRESPONSE._serialized_start=3651 + _SETRATEPOSITIONRESPONSE._serialized_end=3741 + _SETRATEHOMEREQUEST._serialized_start=3743 + _SETRATEHOMEREQUEST._serialized_end=3780 + _SETRATEHOMERESPONSE._serialized_start=3782 + _SETRATEHOMERESPONSE._serialized_end=3868 + _SETRATEINAIRREQUEST._serialized_start=3870 + _SETRATEINAIRREQUEST._serialized_end=3908 + _SETRATEINAIRRESPONSE._serialized_start=3910 + _SETRATEINAIRRESPONSE._serialized_end=3997 + _SETRATELANDEDSTATEREQUEST._serialized_start=3999 + _SETRATELANDEDSTATEREQUEST._serialized_end=4043 + _SETRATELANDEDSTATERESPONSE._serialized_start=4045 + _SETRATELANDEDSTATERESPONSE._serialized_end=4138 + _SETRATEVTOLSTATEREQUEST._serialized_start=4140 + _SETRATEVTOLSTATEREQUEST._serialized_end=4182 + _SETRATEVTOLSTATERESPONSE._serialized_start=4184 + _SETRATEVTOLSTATERESPONSE._serialized_end=4275 + _SETRATEATTITUDEREQUEST._serialized_start=4277 + _SETRATEATTITUDEREQUEST._serialized_end=4318 + _SETRATEATTITUDERESPONSE._serialized_start=4320 + _SETRATEATTITUDERESPONSE._serialized_end=4410 + _SETRATEATTITUDEANGULARVELOCITYBODYREQUEST._serialized_start=4412 + _SETRATEATTITUDEANGULARVELOCITYBODYREQUEST._serialized_end=4472 + _SETRATEATTITUDEANGULARVELOCITYBODYRESPONSE._serialized_start=4474 + _SETRATEATTITUDEANGULARVELOCITYBODYRESPONSE._serialized_end=4583 + _SETRATECAMERAATTITUDEQUATERNIONREQUEST._serialized_start=4585 + _SETRATECAMERAATTITUDEQUATERNIONREQUEST._serialized_end=4642 + _SETRATECAMERAATTITUDEQUATERNIONRESPONSE._serialized_start=4644 + _SETRATECAMERAATTITUDEQUATERNIONRESPONSE._serialized_end=4750 + _SETRATECAMERAATTITUDEREQUEST._serialized_start=4752 + _SETRATECAMERAATTITUDEREQUEST._serialized_end=4799 + _SETRATECAMERAATTITUDERESPONSE._serialized_start=4801 + _SETRATECAMERAATTITUDERESPONSE._serialized_end=4897 + _SETRATEVELOCITYNEDREQUEST._serialized_start=4899 + _SETRATEVELOCITYNEDREQUEST._serialized_end=4943 + _SETRATEVELOCITYNEDRESPONSE._serialized_start=4945 + _SETRATEVELOCITYNEDRESPONSE._serialized_end=5038 + _SETRATEGPSINFOREQUEST._serialized_start=5040 + _SETRATEGPSINFOREQUEST._serialized_end=5080 + _SETRATEGPSINFORESPONSE._serialized_start=5082 + _SETRATEGPSINFORESPONSE._serialized_end=5171 + _SETRATERAWGPSREQUEST._serialized_start=5173 + _SETRATERAWGPSREQUEST._serialized_end=5212 + _SETRATEBATTERYREQUEST._serialized_start=5214 + _SETRATEBATTERYREQUEST._serialized_end=5254 + _SETRATEBATTERYRESPONSE._serialized_start=5256 + _SETRATEBATTERYRESPONSE._serialized_end=5345 + _SETRATERCSTATUSREQUEST._serialized_start=5347 + _SETRATERCSTATUSREQUEST._serialized_end=5388 + _SETRATERCSTATUSRESPONSE._serialized_start=5390 + _SETRATERCSTATUSRESPONSE._serialized_end=5480 + _SETRATEACTUATORCONTROLTARGETREQUEST._serialized_start=5482 + _SETRATEACTUATORCONTROLTARGETREQUEST._serialized_end=5536 + _SETRATEACTUATORCONTROLTARGETRESPONSE._serialized_start=5538 + _SETRATEACTUATORCONTROLTARGETRESPONSE._serialized_end=5641 + _SETRATEACTUATOROUTPUTSTATUSREQUEST._serialized_start=5643 + _SETRATEACTUATOROUTPUTSTATUSREQUEST._serialized_end=5696 + _SETRATEACTUATOROUTPUTSTATUSRESPONSE._serialized_start=5698 + _SETRATEACTUATOROUTPUTSTATUSRESPONSE._serialized_end=5800 + _SETRATEODOMETRYREQUEST._serialized_start=5802 + _SETRATEODOMETRYREQUEST._serialized_end=5843 + _SETRATEODOMETRYRESPONSE._serialized_start=5845 + _SETRATEODOMETRYRESPONSE._serialized_end=5935 + _SETRATEPOSITIONVELOCITYNEDREQUEST._serialized_start=5937 + _SETRATEPOSITIONVELOCITYNEDREQUEST._serialized_end=5989 + _SETRATEPOSITIONVELOCITYNEDRESPONSE._serialized_start=5991 + _SETRATEPOSITIONVELOCITYNEDRESPONSE._serialized_end=6092 + _SETRATEGROUNDTRUTHREQUEST._serialized_start=6094 + _SETRATEGROUNDTRUTHREQUEST._serialized_end=6138 + _SETRATEGROUNDTRUTHRESPONSE._serialized_start=6140 + _SETRATEGROUNDTRUTHRESPONSE._serialized_end=6233 + _SETRATEFIXEDWINGMETRICSREQUEST._serialized_start=6235 + _SETRATEFIXEDWINGMETRICSREQUEST._serialized_end=6284 + _SETRATEFIXEDWINGMETRICSRESPONSE._serialized_start=6286 + _SETRATEFIXEDWINGMETRICSRESPONSE._serialized_end=6384 + _SETRATEIMUREQUEST._serialized_start=6386 + _SETRATEIMUREQUEST._serialized_end=6422 + _SETRATEIMURESPONSE._serialized_start=6424 + _SETRATEIMURESPONSE._serialized_end=6509 + _SETRATESCALEDIMUREQUEST._serialized_start=6511 + _SETRATESCALEDIMUREQUEST._serialized_end=6553 + _SETRATESCALEDIMURESPONSE._serialized_start=6555 + _SETRATESCALEDIMURESPONSE._serialized_end=6646 + _SETRATERAWIMUREQUEST._serialized_start=6648 + _SETRATERAWIMUREQUEST._serialized_end=6687 + _SETRATERAWIMURESPONSE._serialized_start=6689 + _SETRATERAWIMURESPONSE._serialized_end=6777 + _SETRATEUNIXEPOCHTIMEREQUEST._serialized_start=6779 + _SETRATEUNIXEPOCHTIMEREQUEST._serialized_end=6825 + _SETRATEUNIXEPOCHTIMERESPONSE._serialized_start=6827 + _SETRATEUNIXEPOCHTIMERESPONSE._serialized_end=6922 + _SETRATEDISTANCESENSORREQUEST._serialized_start=6924 + _SETRATEDISTANCESENSORREQUEST._serialized_end=6971 + _SETRATEDISTANCESENSORRESPONSE._serialized_start=6973 + _SETRATEDISTANCESENSORRESPONSE._serialized_end=7069 + _GETGPSGLOBALORIGINREQUEST._serialized_start=7071 + _GETGPSGLOBALORIGINREQUEST._serialized_end=7098 + _GETGPSGLOBALORIGINRESPONSE._serialized_start=7101 + _GETGPSGLOBALORIGINRESPONSE._serialized_end=7260 + _POSITION._serialized_start=7263 + _POSITION._serialized_end=7412 + _HEADING._serialized_start=7414 + _HEADING._serialized_end=7453 + _QUATERNION._serialized_start=7455 + _QUATERNION._serialized_end=7569 + _EULERANGLE._serialized_start=7571 + _EULERANGLE._serialized_end=7686 + _ANGULARVELOCITYBODY._serialized_start=7688 + _ANGULARVELOCITYBODY._serialized_end=7796 + _GPSINFO._serialized_start=7798 + _GPSINFO._serialized_end=7887 + _RAWGPS._serialized_start=7890 + _RAWGPS._serialized_end=8241 + _BATTERY._serialized_start=8243 + _BATTERY._serialized_end=8335 + _HEALTH._serialized_start=8338 + _HEALTH._serialized_end=8651 + _RCSTATUS._serialized_start=8653 + _RCSTATUS._serialized_end=8777 + _STATUSTEXT._serialized_start=8779 + _STATUSTEXT._serialized_end=8857 + _ACTUATORCONTROLTARGET._serialized_start=8859 + _ACTUATORCONTROLTARGET._serialized_end=8922 + _ACTUATOROUTPUTSTATUS._serialized_start=8924 + _ACTUATOROUTPUTSTATUS._serialized_end=8987 + _COVARIANCE._serialized_start=8989 + _COVARIANCE._serialized_end=9028 + _VELOCITYBODY._serialized_start=9030 + _VELOCITYBODY._serialized_end=9089 + _POSITIONBODY._serialized_start=9091 + _POSITIONBODY._serialized_end=9144 + _ODOMETRY._serialized_start=9147 + _ODOMETRY._serialized_end=9767 + _ODOMETRY_MAVFRAME._serialized_start=9661 + _ODOMETRY_MAVFRAME._serialized_end=9767 + _DISTANCESENSOR._serialized_start=9769 + _DISTANCESENSOR._serialized_end=9896 + _SCALEDPRESSURE._serialized_start=9899 + _SCALEDPRESSURE._serialized_end=10075 + _POSITIONNED._serialized_start=10077 + _POSITIONNED._serialized_end=10166 + _VELOCITYNED._serialized_start=10168 + _VELOCITYNED._serialized_end=10236 + _POSITIONVELOCITYNED._serialized_start=10238 + _POSITIONVELOCITYNED._serialized_end=10365 + _GROUNDTRUTH._serialized_start=10367 + _GROUNDTRUTH._serialized_end=10481 + _FIXEDWINGMETRICS._serialized_start=10483 + _FIXEDWINGMETRICS._serialized_end=10603 + _ACCELERATIONFRD._serialized_start=10605 + _ACCELERATIONFRD._serialized_end=10710 + _ANGULARVELOCITYFRD._serialized_start=10712 + _ANGULARVELOCITYFRD._serialized_end=10823 + _MAGNETICFIELDFRD._serialized_start=10825 + _MAGNETICFIELDFRD._serialized_end=10934 + _IMU._serialized_start=10937 + _IMU._serialized_end=11204 + _GPSGLOBALORIGIN._serialized_start=11206 + _GPSGLOBALORIGIN._serialized_end=11315 + _TELEMETRYRESULT._serialized_start=11318 + _TELEMETRYRESULT._serialized_end=11607 + _TELEMETRYRESULT_RESULT._serialized_start=11420 + _TELEMETRYRESULT_RESULT._serialized_end=11607 + _TELEMETRYSERVICE._serialized_start=12716 + _TELEMETRYSERVICE._serialized_end=19626 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/telemetry_server_pb2.py b/mavsdk/telemetry_server_pb2.py index 4d3dcb95..92daaa29 100644 --- a/mavsdk/telemetry_server_pb2.py +++ b/mavsdk/telemetry_server_pb2.py @@ -4,6 +4,7 @@ """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -15,204 +16,15 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='telemetry_server/telemetry_server.proto', - package='mavsdk.rpc.telemetry_server', - syntax='proto3', - serialized_options=b'\n\032io.mavsdk.telemetry_serverB\024TelemetryServerProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\'telemetry_server/telemetry_server.proto\x12\x1bmavsdk.rpc.telemetry_server\x1a\x14mavsdk_options.proto\"\xc8\x01\n\x16PublishPositionRequest\x12\x37\n\x08position\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry_server.Position\x12>\n\x0cvelocity_ned\x18\x02 \x01(\x0b\x32(.mavsdk.rpc.telemetry_server.VelocityNed\x12\x35\n\x07heading\x18\x03 \x01(\x0b\x32$.mavsdk.rpc.telemetry_server.Heading\"I\n\x12PublishHomeRequest\x12\x33\n\x04home\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry_server.Position\"\xbf\x01\n\x17PublishSysStatusRequest\x12\x35\n\x07\x62\x61ttery\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.telemetry_server.Battery\x12\x1a\n\x12rc_receiver_status\x18\x02 \x01(\x08\x12\x13\n\x0bgyro_status\x18\x03 \x01(\x08\x12\x14\n\x0c\x61\x63\x63\x65l_status\x18\x04 \x01(\x08\x12\x12\n\nmag_status\x18\x05 \x01(\x08\x12\x12\n\ngps_status\x18\x06 \x01(\x08\"\x9c\x01\n\x1ePublishExtendedSysStateRequest\x12:\n\nvtol_state\x18\x01 \x01(\x0e\x32&.mavsdk.rpc.telemetry_server.VtolState\x12>\n\x0clanded_state\x18\x02 \x01(\x0e\x32(.mavsdk.rpc.telemetry_server.LandedState\"(\n\x13PublishInAirRequest\x12\x11\n\tis_in_air\x18\x01 \x01(\x08\"[\n\x19PublishLandedStateRequest\x12>\n\x0clanded_state\x18\x01 \x01(\x0e\x32(.mavsdk.rpc.telemetry_server.LandedState\"\x84\x01\n\x14PublishRawGpsRequest\x12\x34\n\x07raw_gps\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.telemetry_server.RawGps\x12\x36\n\x08gps_info\x18\x02 \x01(\x0b\x32$.mavsdk.rpc.telemetry_server.GpsInfo\"N\n\x15PublishBatteryRequest\x12\x35\n\x07\x62\x61ttery\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.telemetry_server.Battery\"R\n\x16PublishRcStatusRequest\x12\x38\n\trc_status\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry_server.RcStatus\"X\n\x18PublishStatusTextRequest\x12<\n\x0bstatus_text\x18\x01 \x01(\x0b\x32\'.mavsdk.rpc.telemetry_server.StatusText\"Q\n\x16PublishOdometryRequest\x12\x37\n\x08odometry\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry_server.Odometry\"t\n!PublishPositionVelocityNedRequest\x12O\n\x15position_velocity_ned\x18\x01 \x01(\x0b\x32\x30.mavsdk.rpc.telemetry_server.PositionVelocityNed\"[\n\x19PublishGroundTruthRequest\x12>\n\x0cground_truth\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.telemetry_server.GroundTruth\"B\n\x11PublishImuRequest\x12-\n\x03imu\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.telemetry_server.Imu\"H\n\x17PublishScaledImuRequest\x12-\n\x03imu\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.telemetry_server.Imu\"E\n\x14PublishRawImuRequest\x12-\n\x03imu\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.telemetry_server.Imu\".\n\x1bPublishUnixEpochTimeRequest\x12\x0f\n\x07time_us\x18\x01 \x01(\x04\"n\n\x17PublishPositionResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"j\n\x13PublishHomeResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"o\n\x18PublishSysStatusResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"v\n\x1fPublishExtendedSysStateResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"l\n\x15PublishRawGpsResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"m\n\x16PublishBatteryResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"p\n\x19PublishStatusTextResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"n\n\x17PublishOdometryResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"y\n\"PublishPositionVelocityNedResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"q\n\x1aPublishGroundTruthResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"i\n\x12PublishImuResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"o\n\x18PublishScaledImuResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"l\n\x15PublishRawImuResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"s\n\x1cPublishUnixEpochTimeResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"\x95\x01\n\x08Position\x12\x1d\n\x0clatitude_deg\x18\x01 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12\x1e\n\rlongitude_deg\x18\x02 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13\x61\x62solute_altitude_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13relative_altitude_m\x18\x04 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"\'\n\x07Heading\x12\x1c\n\x0bheading_deg\x18\x01 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\"r\n\nQuaternion\x12\x12\n\x01w\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x12\n\x01x\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x12\n\x01y\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x12\n\x01z\x18\x04 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x14\n\x0ctimestamp_us\x18\x05 \x01(\x04\"s\n\nEulerAngle\x12\x19\n\x08roll_deg\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1a\n\tpitch_deg\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x18\n\x07yaw_deg\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x14\n\x0ctimestamp_us\x18\x04 \x01(\x04\"l\n\x13\x41ngularVelocityBody\x12\x1b\n\nroll_rad_s\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1c\n\x0bpitch_rad_s\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1a\n\tyaw_rad_s\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"`\n\x07GpsInfo\x12\x1d\n\x0enum_satellites\x18\x01 \x01(\x05\x42\x05\x82\xb5\x18\x01\x30\x12\x36\n\x08\x66ix_type\x18\x02 \x01(\x0e\x32$.mavsdk.rpc.telemetry_server.FixType\"\xdf\x02\n\x06RawGps\x12\x14\n\x0ctimestamp_us\x18\x01 \x01(\x04\x12\x14\n\x0clatitude_deg\x18\x02 \x01(\x01\x12\x15\n\rlongitude_deg\x18\x03 \x01(\x01\x12\x1b\n\x13\x61\x62solute_altitude_m\x18\x04 \x01(\x02\x12\x0c\n\x04hdop\x18\x05 \x01(\x02\x12\x0c\n\x04vdop\x18\x06 \x01(\x02\x12\x14\n\x0cvelocity_m_s\x18\x07 \x01(\x02\x12\x0f\n\x07\x63og_deg\x18\x08 \x01(\x02\x12\x1c\n\x14\x61ltitude_ellipsoid_m\x18\t \x01(\x02\x12 \n\x18horizontal_uncertainty_m\x18\n \x01(\x02\x12\x1e\n\x16vertical_uncertainty_m\x18\x0b \x01(\x02\x12 \n\x18velocity_uncertainty_m_s\x18\x0c \x01(\x02\x12\x1f\n\x17heading_uncertainty_deg\x18\r \x01(\x02\x12\x0f\n\x07yaw_deg\x18\x0e \x01(\x02\"I\n\x07\x42\x61ttery\x12\x1a\n\tvoltage_v\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\"\n\x11remaining_percent\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"|\n\x08RcStatus\x12%\n\x12was_available_once\x18\x01 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12\x1f\n\x0cis_available\x18\x02 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12(\n\x17signal_strength_percent\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"U\n\nStatusText\x12\x39\n\x04type\x18\x01 \x01(\x0e\x32+.mavsdk.rpc.telemetry_server.StatusTextType\x12\x0c\n\x04text\x18\x02 \x01(\t\"?\n\x15\x41\x63tuatorControlTarget\x12\x14\n\x05group\x18\x01 \x01(\x05\x42\x05\x82\xb5\x18\x01\x30\x12\x10\n\x08\x63ontrols\x18\x02 \x03(\x02\"?\n\x14\x41\x63tuatorOutputStatus\x12\x15\n\x06\x61\x63tive\x18\x01 \x01(\rB\x05\x82\xb5\x18\x01\x30\x12\x10\n\x08\x61\x63tuator\x18\x02 \x03(\x02\"\'\n\nCovariance\x12\x19\n\x11\x63ovariance_matrix\x18\x01 \x03(\x02\";\n\x0cVelocityBody\x12\r\n\x05x_m_s\x18\x01 \x01(\x02\x12\r\n\x05y_m_s\x18\x02 \x01(\x02\x12\r\n\x05z_m_s\x18\x03 \x01(\x02\"5\n\x0cPositionBody\x12\x0b\n\x03x_m\x18\x01 \x01(\x02\x12\x0b\n\x03y_m\x18\x02 \x01(\x02\x12\x0b\n\x03z_m\x18\x03 \x01(\x02\"\xa4\x05\n\x08Odometry\x12\x11\n\ttime_usec\x18\x01 \x01(\x04\x12@\n\x08\x66rame_id\x18\x02 \x01(\x0e\x32..mavsdk.rpc.telemetry_server.Odometry.MavFrame\x12\x46\n\x0e\x63hild_frame_id\x18\x03 \x01(\x0e\x32..mavsdk.rpc.telemetry_server.Odometry.MavFrame\x12@\n\rposition_body\x18\x04 \x01(\x0b\x32).mavsdk.rpc.telemetry_server.PositionBody\x12\x32\n\x01q\x18\x05 \x01(\x0b\x32\'.mavsdk.rpc.telemetry_server.Quaternion\x12@\n\rvelocity_body\x18\x06 \x01(\x0b\x32).mavsdk.rpc.telemetry_server.VelocityBody\x12O\n\x15\x61ngular_velocity_body\x18\x07 \x01(\x0b\x32\x30.mavsdk.rpc.telemetry_server.AngularVelocityBody\x12@\n\x0fpose_covariance\x18\x08 \x01(\x0b\x32\'.mavsdk.rpc.telemetry_server.Covariance\x12\x44\n\x13velocity_covariance\x18\t \x01(\x0b\x32\'.mavsdk.rpc.telemetry_server.Covariance\"j\n\x08MavFrame\x12\x13\n\x0fMAV_FRAME_UNDEF\x10\x00\x12\x16\n\x12MAV_FRAME_BODY_NED\x10\x08\x12\x18\n\x14MAV_FRAME_VISION_NED\x10\x10\x12\x17\n\x13MAV_FRAME_ESTIM_NED\x10\x12\"\x7f\n\x0e\x44istanceSensor\x12#\n\x12minimum_distance_m\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12#\n\x12maximum_distance_m\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12#\n\x12\x63urrent_distance_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"\xb0\x01\n\x0eScaledPressure\x12\x14\n\x0ctimestamp_us\x18\x01 \x01(\x04\x12\x1d\n\x15\x61\x62solute_pressure_hpa\x18\x02 \x01(\x02\x12!\n\x19\x64ifferential_pressure_hpa\x18\x03 \x01(\x02\x12\x17\n\x0ftemperature_deg\x18\x04 \x01(\x02\x12-\n%differential_pressure_temperature_deg\x18\x05 \x01(\x02\"Y\n\x0bPositionNed\x12\x18\n\x07north_m\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x17\n\x06\x65\x61st_m\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x17\n\x06\x64own_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"D\n\x0bVelocityNed\x12\x11\n\tnorth_m_s\x18\x01 \x01(\x02\x12\x10\n\x08\x65\x61st_m_s\x18\x02 \x01(\x02\x12\x10\n\x08\x64own_m_s\x18\x03 \x01(\x02\"\x8d\x01\n\x13PositionVelocityNed\x12:\n\x08position\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.telemetry_server.PositionNed\x12:\n\x08velocity\x18\x02 \x01(\x0b\x32(.mavsdk.rpc.telemetry_server.VelocityNed\"r\n\x0bGroundTruth\x12\x1d\n\x0clatitude_deg\x18\x01 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12\x1e\n\rlongitude_deg\x18\x02 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13\x61\x62solute_altitude_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"x\n\x10\x46ixedwingMetrics\x12\x1d\n\x0c\x61irspeed_m_s\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13throttle_percentage\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1f\n\x0e\x63limb_rate_m_s\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"i\n\x0f\x41\x63\x63\x65lerationFrd\x12\x1d\n\x0c\x66orward_m_s2\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1b\n\nright_m_s2\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1a\n\tdown_m_s2\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"o\n\x12\x41ngularVelocityFrd\x12\x1e\n\rforward_rad_s\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1c\n\x0bright_rad_s\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1b\n\ndown_rad_s\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"m\n\x10MagneticFieldFrd\x12\x1e\n\rforward_gauss\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1c\n\x0bright_gauss\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1b\n\ndown_gauss\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"\xa0\x02\n\x03Imu\x12\x46\n\x10\x61\x63\x63\x65leration_frd\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.telemetry_server.AccelerationFrd\x12M\n\x14\x61ngular_velocity_frd\x18\x02 \x01(\x0b\x32/.mavsdk.rpc.telemetry_server.AngularVelocityFrd\x12I\n\x12magnetic_field_frd\x18\x03 \x01(\x0b\x32-.mavsdk.rpc.telemetry_server.MagneticFieldFrd\x12!\n\x10temperature_degc\x18\x04 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x14\n\x0ctimestamp_us\x18\x05 \x01(\x04\"\xb4\x02\n\x15TelemetryServerResult\x12I\n\x06result\x18\x01 \x01(\x0e\x32\x39.mavsdk.rpc.telemetry_server.TelemetryServerResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xbb\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x19\n\x15RESULT_COMMAND_DENIED\x10\x05\x12\x12\n\x0eRESULT_TIMEOUT\x10\x06\x12\x16\n\x12RESULT_UNSUPPORTED\x10\x07*\xa4\x01\n\x07\x46ixType\x12\x13\n\x0f\x46IX_TYPE_NO_GPS\x10\x00\x12\x13\n\x0f\x46IX_TYPE_NO_FIX\x10\x01\x12\x13\n\x0f\x46IX_TYPE_FIX_2D\x10\x02\x12\x13\n\x0f\x46IX_TYPE_FIX_3D\x10\x03\x12\x15\n\x11\x46IX_TYPE_FIX_DGPS\x10\x04\x12\x16\n\x12\x46IX_TYPE_RTK_FLOAT\x10\x05\x12\x16\n\x12\x46IX_TYPE_RTK_FIXED\x10\x06*\x8d\x01\n\tVtolState\x12\x18\n\x14VTOL_STATE_UNDEFINED\x10\x00\x12\x1f\n\x1bVTOL_STATE_TRANSITION_TO_FW\x10\x01\x12\x1f\n\x1bVTOL_STATE_TRANSITION_TO_MC\x10\x02\x12\x11\n\rVTOL_STATE_MC\x10\x03\x12\x11\n\rVTOL_STATE_FW\x10\x04*\xf9\x01\n\x0eStatusTextType\x12\x1a\n\x16STATUS_TEXT_TYPE_DEBUG\x10\x00\x12\x19\n\x15STATUS_TEXT_TYPE_INFO\x10\x01\x12\x1b\n\x17STATUS_TEXT_TYPE_NOTICE\x10\x02\x12\x1c\n\x18STATUS_TEXT_TYPE_WARNING\x10\x03\x12\x1a\n\x16STATUS_TEXT_TYPE_ERROR\x10\x04\x12\x1d\n\x19STATUS_TEXT_TYPE_CRITICAL\x10\x05\x12\x1a\n\x16STATUS_TEXT_TYPE_ALERT\x10\x06\x12\x1e\n\x1aSTATUS_TEXT_TYPE_EMERGENCY\x10\x07*\x93\x01\n\x0bLandedState\x12\x18\n\x14LANDED_STATE_UNKNOWN\x10\x00\x12\x1a\n\x16LANDED_STATE_ON_GROUND\x10\x01\x12\x17\n\x13LANDED_STATE_IN_AIR\x10\x02\x12\x1b\n\x17LANDED_STATE_TAKING_OFF\x10\x03\x12\x18\n\x14LANDED_STATE_LANDING\x10\x04\x32\x8c\x0f\n\x16TelemetryServerService\x12\x82\x01\n\x0fPublishPosition\x12\x33.mavsdk.rpc.telemetry_server.PublishPositionRequest\x1a\x34.mavsdk.rpc.telemetry_server.PublishPositionResponse\"\x04\x80\xb5\x18\x01\x12v\n\x0bPublishHome\x12/.mavsdk.rpc.telemetry_server.PublishHomeRequest\x1a\x30.mavsdk.rpc.telemetry_server.PublishHomeResponse\"\x04\x80\xb5\x18\x01\x12\x85\x01\n\x10PublishSysStatus\x12\x34.mavsdk.rpc.telemetry_server.PublishSysStatusRequest\x1a\x35.mavsdk.rpc.telemetry_server.PublishSysStatusResponse\"\x04\x80\xb5\x18\x01\x12\x9a\x01\n\x17PublishExtendedSysState\x12;.mavsdk.rpc.telemetry_server.PublishExtendedSysStateRequest\x1a<.mavsdk.rpc.telemetry_server.PublishExtendedSysStateResponse\"\x04\x80\xb5\x18\x01\x12|\n\rPublishRawGps\x12\x31.mavsdk.rpc.telemetry_server.PublishRawGpsRequest\x1a\x32.mavsdk.rpc.telemetry_server.PublishRawGpsResponse\"\x04\x80\xb5\x18\x01\x12\x7f\n\x0ePublishBattery\x12\x32.mavsdk.rpc.telemetry_server.PublishBatteryRequest\x1a\x33.mavsdk.rpc.telemetry_server.PublishBatteryResponse\"\x04\x80\xb5\x18\x01\x12\x88\x01\n\x11PublishStatusText\x12\x35.mavsdk.rpc.telemetry_server.PublishStatusTextRequest\x1a\x36.mavsdk.rpc.telemetry_server.PublishStatusTextResponse\"\x04\x80\xb5\x18\x01\x12\x82\x01\n\x0fPublishOdometry\x12\x33.mavsdk.rpc.telemetry_server.PublishOdometryRequest\x1a\x34.mavsdk.rpc.telemetry_server.PublishOdometryResponse\"\x04\x80\xb5\x18\x01\x12\xa3\x01\n\x1aPublishPositionVelocityNed\x12>.mavsdk.rpc.telemetry_server.PublishPositionVelocityNedRequest\x1a?.mavsdk.rpc.telemetry_server.PublishPositionVelocityNedResponse\"\x04\x80\xb5\x18\x01\x12\x8b\x01\n\x12PublishGroundTruth\x12\x36.mavsdk.rpc.telemetry_server.PublishGroundTruthRequest\x1a\x37.mavsdk.rpc.telemetry_server.PublishGroundTruthResponse\"\x04\x80\xb5\x18\x01\x12s\n\nPublishImu\x12..mavsdk.rpc.telemetry_server.PublishImuRequest\x1a/.mavsdk.rpc.telemetry_server.PublishImuResponse\"\x04\x80\xb5\x18\x01\x12\x85\x01\n\x10PublishScaledImu\x12\x34.mavsdk.rpc.telemetry_server.PublishScaledImuRequest\x1a\x35.mavsdk.rpc.telemetry_server.PublishScaledImuResponse\"\x04\x80\xb5\x18\x01\x12|\n\rPublishRawImu\x12\x31.mavsdk.rpc.telemetry_server.PublishRawImuRequest\x1a\x32.mavsdk.rpc.telemetry_server.PublishRawImuResponse\"\x04\x80\xb5\x18\x01\x12\x91\x01\n\x14PublishUnixEpochTime\x12\x38.mavsdk.rpc.telemetry_server.PublishUnixEpochTimeRequest\x1a\x39.mavsdk.rpc.telemetry_server.PublishUnixEpochTimeResponse\"\x04\x80\xb5\x18\x01\x42\x32\n\x1aio.mavsdk.telemetry_serverB\x14TelemetryServerProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) - -_FIXTYPE = _descriptor.EnumDescriptor( - name='FixType', - full_name='mavsdk.rpc.telemetry_server.FixType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='FIX_TYPE_NO_GPS', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FIX_TYPE_NO_FIX', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FIX_TYPE_FIX_2D', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FIX_TYPE_FIX_3D', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FIX_TYPE_FIX_DGPS', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FIX_TYPE_RTK_FLOAT', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FIX_TYPE_RTK_FIXED', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=7416, - serialized_end=7580, -) -_sym_db.RegisterEnumDescriptor(_FIXTYPE) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'telemetry_server/telemetry_server.proto\x12\x1bmavsdk.rpc.telemetry_server\x1a\x14mavsdk_options.proto\"\xc8\x01\n\x16PublishPositionRequest\x12\x37\n\x08position\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry_server.Position\x12>\n\x0cvelocity_ned\x18\x02 \x01(\x0b\x32(.mavsdk.rpc.telemetry_server.VelocityNed\x12\x35\n\x07heading\x18\x03 \x01(\x0b\x32$.mavsdk.rpc.telemetry_server.Heading\"I\n\x12PublishHomeRequest\x12\x33\n\x04home\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry_server.Position\"\xbf\x01\n\x17PublishSysStatusRequest\x12\x35\n\x07\x62\x61ttery\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.telemetry_server.Battery\x12\x1a\n\x12rc_receiver_status\x18\x02 \x01(\x08\x12\x13\n\x0bgyro_status\x18\x03 \x01(\x08\x12\x14\n\x0c\x61\x63\x63\x65l_status\x18\x04 \x01(\x08\x12\x12\n\nmag_status\x18\x05 \x01(\x08\x12\x12\n\ngps_status\x18\x06 \x01(\x08\"\x9c\x01\n\x1ePublishExtendedSysStateRequest\x12:\n\nvtol_state\x18\x01 \x01(\x0e\x32&.mavsdk.rpc.telemetry_server.VtolState\x12>\n\x0clanded_state\x18\x02 \x01(\x0e\x32(.mavsdk.rpc.telemetry_server.LandedState\"(\n\x13PublishInAirRequest\x12\x11\n\tis_in_air\x18\x01 \x01(\x08\"[\n\x19PublishLandedStateRequest\x12>\n\x0clanded_state\x18\x01 \x01(\x0e\x32(.mavsdk.rpc.telemetry_server.LandedState\"\x84\x01\n\x14PublishRawGpsRequest\x12\x34\n\x07raw_gps\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.telemetry_server.RawGps\x12\x36\n\x08gps_info\x18\x02 \x01(\x0b\x32$.mavsdk.rpc.telemetry_server.GpsInfo\"N\n\x15PublishBatteryRequest\x12\x35\n\x07\x62\x61ttery\x18\x01 \x01(\x0b\x32$.mavsdk.rpc.telemetry_server.Battery\"R\n\x16PublishRcStatusRequest\x12\x38\n\trc_status\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry_server.RcStatus\"X\n\x18PublishStatusTextRequest\x12<\n\x0bstatus_text\x18\x01 \x01(\x0b\x32\'.mavsdk.rpc.telemetry_server.StatusText\"Q\n\x16PublishOdometryRequest\x12\x37\n\x08odometry\x18\x01 \x01(\x0b\x32%.mavsdk.rpc.telemetry_server.Odometry\"t\n!PublishPositionVelocityNedRequest\x12O\n\x15position_velocity_ned\x18\x01 \x01(\x0b\x32\x30.mavsdk.rpc.telemetry_server.PositionVelocityNed\"[\n\x19PublishGroundTruthRequest\x12>\n\x0cground_truth\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.telemetry_server.GroundTruth\"B\n\x11PublishImuRequest\x12-\n\x03imu\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.telemetry_server.Imu\"H\n\x17PublishScaledImuRequest\x12-\n\x03imu\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.telemetry_server.Imu\"E\n\x14PublishRawImuRequest\x12-\n\x03imu\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.telemetry_server.Imu\".\n\x1bPublishUnixEpochTimeRequest\x12\x0f\n\x07time_us\x18\x01 \x01(\x04\"n\n\x17PublishPositionResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"j\n\x13PublishHomeResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"o\n\x18PublishSysStatusResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"v\n\x1fPublishExtendedSysStateResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"l\n\x15PublishRawGpsResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"m\n\x16PublishBatteryResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"p\n\x19PublishStatusTextResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"n\n\x17PublishOdometryResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"y\n\"PublishPositionVelocityNedResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"q\n\x1aPublishGroundTruthResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"i\n\x12PublishImuResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"o\n\x18PublishScaledImuResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"l\n\x15PublishRawImuResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"s\n\x1cPublishUnixEpochTimeResponse\x12S\n\x17telemetry_server_result\x18\x01 \x01(\x0b\x32\x32.mavsdk.rpc.telemetry_server.TelemetryServerResult\"\x95\x01\n\x08Position\x12\x1d\n\x0clatitude_deg\x18\x01 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12\x1e\n\rlongitude_deg\x18\x02 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13\x61\x62solute_altitude_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13relative_altitude_m\x18\x04 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"\'\n\x07Heading\x12\x1c\n\x0bheading_deg\x18\x01 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\"r\n\nQuaternion\x12\x12\n\x01w\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x12\n\x01x\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x12\n\x01y\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x12\n\x01z\x18\x04 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x14\n\x0ctimestamp_us\x18\x05 \x01(\x04\"s\n\nEulerAngle\x12\x19\n\x08roll_deg\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1a\n\tpitch_deg\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x18\n\x07yaw_deg\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x14\n\x0ctimestamp_us\x18\x04 \x01(\x04\"l\n\x13\x41ngularVelocityBody\x12\x1b\n\nroll_rad_s\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1c\n\x0bpitch_rad_s\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1a\n\tyaw_rad_s\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"`\n\x07GpsInfo\x12\x1d\n\x0enum_satellites\x18\x01 \x01(\x05\x42\x05\x82\xb5\x18\x01\x30\x12\x36\n\x08\x66ix_type\x18\x02 \x01(\x0e\x32$.mavsdk.rpc.telemetry_server.FixType\"\xdf\x02\n\x06RawGps\x12\x14\n\x0ctimestamp_us\x18\x01 \x01(\x04\x12\x14\n\x0clatitude_deg\x18\x02 \x01(\x01\x12\x15\n\rlongitude_deg\x18\x03 \x01(\x01\x12\x1b\n\x13\x61\x62solute_altitude_m\x18\x04 \x01(\x02\x12\x0c\n\x04hdop\x18\x05 \x01(\x02\x12\x0c\n\x04vdop\x18\x06 \x01(\x02\x12\x14\n\x0cvelocity_m_s\x18\x07 \x01(\x02\x12\x0f\n\x07\x63og_deg\x18\x08 \x01(\x02\x12\x1c\n\x14\x61ltitude_ellipsoid_m\x18\t \x01(\x02\x12 \n\x18horizontal_uncertainty_m\x18\n \x01(\x02\x12\x1e\n\x16vertical_uncertainty_m\x18\x0b \x01(\x02\x12 \n\x18velocity_uncertainty_m_s\x18\x0c \x01(\x02\x12\x1f\n\x17heading_uncertainty_deg\x18\r \x01(\x02\x12\x0f\n\x07yaw_deg\x18\x0e \x01(\x02\"I\n\x07\x42\x61ttery\x12\x1a\n\tvoltage_v\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\"\n\x11remaining_percent\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"|\n\x08RcStatus\x12%\n\x12was_available_once\x18\x01 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12\x1f\n\x0cis_available\x18\x02 \x01(\x08\x42\t\x82\xb5\x18\x05\x66\x61lse\x12(\n\x17signal_strength_percent\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"U\n\nStatusText\x12\x39\n\x04type\x18\x01 \x01(\x0e\x32+.mavsdk.rpc.telemetry_server.StatusTextType\x12\x0c\n\x04text\x18\x02 \x01(\t\"?\n\x15\x41\x63tuatorControlTarget\x12\x14\n\x05group\x18\x01 \x01(\x05\x42\x05\x82\xb5\x18\x01\x30\x12\x10\n\x08\x63ontrols\x18\x02 \x03(\x02\"?\n\x14\x41\x63tuatorOutputStatus\x12\x15\n\x06\x61\x63tive\x18\x01 \x01(\rB\x05\x82\xb5\x18\x01\x30\x12\x10\n\x08\x61\x63tuator\x18\x02 \x03(\x02\"\'\n\nCovariance\x12\x19\n\x11\x63ovariance_matrix\x18\x01 \x03(\x02\";\n\x0cVelocityBody\x12\r\n\x05x_m_s\x18\x01 \x01(\x02\x12\r\n\x05y_m_s\x18\x02 \x01(\x02\x12\r\n\x05z_m_s\x18\x03 \x01(\x02\"5\n\x0cPositionBody\x12\x0b\n\x03x_m\x18\x01 \x01(\x02\x12\x0b\n\x03y_m\x18\x02 \x01(\x02\x12\x0b\n\x03z_m\x18\x03 \x01(\x02\"\xa4\x05\n\x08Odometry\x12\x11\n\ttime_usec\x18\x01 \x01(\x04\x12@\n\x08\x66rame_id\x18\x02 \x01(\x0e\x32..mavsdk.rpc.telemetry_server.Odometry.MavFrame\x12\x46\n\x0e\x63hild_frame_id\x18\x03 \x01(\x0e\x32..mavsdk.rpc.telemetry_server.Odometry.MavFrame\x12@\n\rposition_body\x18\x04 \x01(\x0b\x32).mavsdk.rpc.telemetry_server.PositionBody\x12\x32\n\x01q\x18\x05 \x01(\x0b\x32\'.mavsdk.rpc.telemetry_server.Quaternion\x12@\n\rvelocity_body\x18\x06 \x01(\x0b\x32).mavsdk.rpc.telemetry_server.VelocityBody\x12O\n\x15\x61ngular_velocity_body\x18\x07 \x01(\x0b\x32\x30.mavsdk.rpc.telemetry_server.AngularVelocityBody\x12@\n\x0fpose_covariance\x18\x08 \x01(\x0b\x32\'.mavsdk.rpc.telemetry_server.Covariance\x12\x44\n\x13velocity_covariance\x18\t \x01(\x0b\x32\'.mavsdk.rpc.telemetry_server.Covariance\"j\n\x08MavFrame\x12\x13\n\x0fMAV_FRAME_UNDEF\x10\x00\x12\x16\n\x12MAV_FRAME_BODY_NED\x10\x08\x12\x18\n\x14MAV_FRAME_VISION_NED\x10\x10\x12\x17\n\x13MAV_FRAME_ESTIM_NED\x10\x12\"\x7f\n\x0e\x44istanceSensor\x12#\n\x12minimum_distance_m\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12#\n\x12maximum_distance_m\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12#\n\x12\x63urrent_distance_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"\xb0\x01\n\x0eScaledPressure\x12\x14\n\x0ctimestamp_us\x18\x01 \x01(\x04\x12\x1d\n\x15\x61\x62solute_pressure_hpa\x18\x02 \x01(\x02\x12!\n\x19\x64ifferential_pressure_hpa\x18\x03 \x01(\x02\x12\x17\n\x0ftemperature_deg\x18\x04 \x01(\x02\x12-\n%differential_pressure_temperature_deg\x18\x05 \x01(\x02\"Y\n\x0bPositionNed\x12\x18\n\x07north_m\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x17\n\x06\x65\x61st_m\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x17\n\x06\x64own_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"D\n\x0bVelocityNed\x12\x11\n\tnorth_m_s\x18\x01 \x01(\x02\x12\x10\n\x08\x65\x61st_m_s\x18\x02 \x01(\x02\x12\x10\n\x08\x64own_m_s\x18\x03 \x01(\x02\"\x8d\x01\n\x13PositionVelocityNed\x12:\n\x08position\x18\x01 \x01(\x0b\x32(.mavsdk.rpc.telemetry_server.PositionNed\x12:\n\x08velocity\x18\x02 \x01(\x0b\x32(.mavsdk.rpc.telemetry_server.VelocityNed\"r\n\x0bGroundTruth\x12\x1d\n\x0clatitude_deg\x18\x01 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12\x1e\n\rlongitude_deg\x18\x02 \x01(\x01\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13\x61\x62solute_altitude_m\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"x\n\x10\x46ixedwingMetrics\x12\x1d\n\x0c\x61irspeed_m_s\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12$\n\x13throttle_percentage\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1f\n\x0e\x63limb_rate_m_s\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"i\n\x0f\x41\x63\x63\x65lerationFrd\x12\x1d\n\x0c\x66orward_m_s2\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1b\n\nright_m_s2\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1a\n\tdown_m_s2\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"o\n\x12\x41ngularVelocityFrd\x12\x1e\n\rforward_rad_s\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1c\n\x0bright_rad_s\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1b\n\ndown_rad_s\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"m\n\x10MagneticFieldFrd\x12\x1e\n\rforward_gauss\x18\x01 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1c\n\x0bright_gauss\x18\x02 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x1b\n\ndown_gauss\x18\x03 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\"\xa0\x02\n\x03Imu\x12\x46\n\x10\x61\x63\x63\x65leration_frd\x18\x01 \x01(\x0b\x32,.mavsdk.rpc.telemetry_server.AccelerationFrd\x12M\n\x14\x61ngular_velocity_frd\x18\x02 \x01(\x0b\x32/.mavsdk.rpc.telemetry_server.AngularVelocityFrd\x12I\n\x12magnetic_field_frd\x18\x03 \x01(\x0b\x32-.mavsdk.rpc.telemetry_server.MagneticFieldFrd\x12!\n\x10temperature_degc\x18\x04 \x01(\x02\x42\x07\x82\xb5\x18\x03NaN\x12\x14\n\x0ctimestamp_us\x18\x05 \x01(\x04\"\xb4\x02\n\x15TelemetryServerResult\x12I\n\x06result\x18\x01 \x01(\x0e\x32\x39.mavsdk.rpc.telemetry_server.TelemetryServerResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xbb\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x19\n\x15RESULT_COMMAND_DENIED\x10\x05\x12\x12\n\x0eRESULT_TIMEOUT\x10\x06\x12\x16\n\x12RESULT_UNSUPPORTED\x10\x07*\xa4\x01\n\x07\x46ixType\x12\x13\n\x0f\x46IX_TYPE_NO_GPS\x10\x00\x12\x13\n\x0f\x46IX_TYPE_NO_FIX\x10\x01\x12\x13\n\x0f\x46IX_TYPE_FIX_2D\x10\x02\x12\x13\n\x0f\x46IX_TYPE_FIX_3D\x10\x03\x12\x15\n\x11\x46IX_TYPE_FIX_DGPS\x10\x04\x12\x16\n\x12\x46IX_TYPE_RTK_FLOAT\x10\x05\x12\x16\n\x12\x46IX_TYPE_RTK_FIXED\x10\x06*\x8d\x01\n\tVtolState\x12\x18\n\x14VTOL_STATE_UNDEFINED\x10\x00\x12\x1f\n\x1bVTOL_STATE_TRANSITION_TO_FW\x10\x01\x12\x1f\n\x1bVTOL_STATE_TRANSITION_TO_MC\x10\x02\x12\x11\n\rVTOL_STATE_MC\x10\x03\x12\x11\n\rVTOL_STATE_FW\x10\x04*\xf9\x01\n\x0eStatusTextType\x12\x1a\n\x16STATUS_TEXT_TYPE_DEBUG\x10\x00\x12\x19\n\x15STATUS_TEXT_TYPE_INFO\x10\x01\x12\x1b\n\x17STATUS_TEXT_TYPE_NOTICE\x10\x02\x12\x1c\n\x18STATUS_TEXT_TYPE_WARNING\x10\x03\x12\x1a\n\x16STATUS_TEXT_TYPE_ERROR\x10\x04\x12\x1d\n\x19STATUS_TEXT_TYPE_CRITICAL\x10\x05\x12\x1a\n\x16STATUS_TEXT_TYPE_ALERT\x10\x06\x12\x1e\n\x1aSTATUS_TEXT_TYPE_EMERGENCY\x10\x07*\x93\x01\n\x0bLandedState\x12\x18\n\x14LANDED_STATE_UNKNOWN\x10\x00\x12\x1a\n\x16LANDED_STATE_ON_GROUND\x10\x01\x12\x17\n\x13LANDED_STATE_IN_AIR\x10\x02\x12\x1b\n\x17LANDED_STATE_TAKING_OFF\x10\x03\x12\x18\n\x14LANDED_STATE_LANDING\x10\x04\x32\x8c\x0f\n\x16TelemetryServerService\x12\x82\x01\n\x0fPublishPosition\x12\x33.mavsdk.rpc.telemetry_server.PublishPositionRequest\x1a\x34.mavsdk.rpc.telemetry_server.PublishPositionResponse\"\x04\x80\xb5\x18\x01\x12v\n\x0bPublishHome\x12/.mavsdk.rpc.telemetry_server.PublishHomeRequest\x1a\x30.mavsdk.rpc.telemetry_server.PublishHomeResponse\"\x04\x80\xb5\x18\x01\x12\x85\x01\n\x10PublishSysStatus\x12\x34.mavsdk.rpc.telemetry_server.PublishSysStatusRequest\x1a\x35.mavsdk.rpc.telemetry_server.PublishSysStatusResponse\"\x04\x80\xb5\x18\x01\x12\x9a\x01\n\x17PublishExtendedSysState\x12;.mavsdk.rpc.telemetry_server.PublishExtendedSysStateRequest\x1a<.mavsdk.rpc.telemetry_server.PublishExtendedSysStateResponse\"\x04\x80\xb5\x18\x01\x12|\n\rPublishRawGps\x12\x31.mavsdk.rpc.telemetry_server.PublishRawGpsRequest\x1a\x32.mavsdk.rpc.telemetry_server.PublishRawGpsResponse\"\x04\x80\xb5\x18\x01\x12\x7f\n\x0ePublishBattery\x12\x32.mavsdk.rpc.telemetry_server.PublishBatteryRequest\x1a\x33.mavsdk.rpc.telemetry_server.PublishBatteryResponse\"\x04\x80\xb5\x18\x01\x12\x88\x01\n\x11PublishStatusText\x12\x35.mavsdk.rpc.telemetry_server.PublishStatusTextRequest\x1a\x36.mavsdk.rpc.telemetry_server.PublishStatusTextResponse\"\x04\x80\xb5\x18\x01\x12\x82\x01\n\x0fPublishOdometry\x12\x33.mavsdk.rpc.telemetry_server.PublishOdometryRequest\x1a\x34.mavsdk.rpc.telemetry_server.PublishOdometryResponse\"\x04\x80\xb5\x18\x01\x12\xa3\x01\n\x1aPublishPositionVelocityNed\x12>.mavsdk.rpc.telemetry_server.PublishPositionVelocityNedRequest\x1a?.mavsdk.rpc.telemetry_server.PublishPositionVelocityNedResponse\"\x04\x80\xb5\x18\x01\x12\x8b\x01\n\x12PublishGroundTruth\x12\x36.mavsdk.rpc.telemetry_server.PublishGroundTruthRequest\x1a\x37.mavsdk.rpc.telemetry_server.PublishGroundTruthResponse\"\x04\x80\xb5\x18\x01\x12s\n\nPublishImu\x12..mavsdk.rpc.telemetry_server.PublishImuRequest\x1a/.mavsdk.rpc.telemetry_server.PublishImuResponse\"\x04\x80\xb5\x18\x01\x12\x85\x01\n\x10PublishScaledImu\x12\x34.mavsdk.rpc.telemetry_server.PublishScaledImuRequest\x1a\x35.mavsdk.rpc.telemetry_server.PublishScaledImuResponse\"\x04\x80\xb5\x18\x01\x12|\n\rPublishRawImu\x12\x31.mavsdk.rpc.telemetry_server.PublishRawImuRequest\x1a\x32.mavsdk.rpc.telemetry_server.PublishRawImuResponse\"\x04\x80\xb5\x18\x01\x12\x91\x01\n\x14PublishUnixEpochTime\x12\x38.mavsdk.rpc.telemetry_server.PublishUnixEpochTimeRequest\x1a\x39.mavsdk.rpc.telemetry_server.PublishUnixEpochTimeResponse\"\x04\x80\xb5\x18\x01\x42\x32\n\x1aio.mavsdk.telemetry_serverB\x14TelemetryServerProtob\x06proto3') +_FIXTYPE = DESCRIPTOR.enum_types_by_name['FixType'] FixType = enum_type_wrapper.EnumTypeWrapper(_FIXTYPE) -_VTOLSTATE = _descriptor.EnumDescriptor( - name='VtolState', - full_name='mavsdk.rpc.telemetry_server.VtolState', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='VTOL_STATE_UNDEFINED', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='VTOL_STATE_TRANSITION_TO_FW', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='VTOL_STATE_TRANSITION_TO_MC', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='VTOL_STATE_MC', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='VTOL_STATE_FW', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=7583, - serialized_end=7724, -) -_sym_db.RegisterEnumDescriptor(_VTOLSTATE) - +_VTOLSTATE = DESCRIPTOR.enum_types_by_name['VtolState'] VtolState = enum_type_wrapper.EnumTypeWrapper(_VTOLSTATE) -_STATUSTEXTTYPE = _descriptor.EnumDescriptor( - name='StatusTextType', - full_name='mavsdk.rpc.telemetry_server.StatusTextType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_DEBUG', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_INFO', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_NOTICE', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_WARNING', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_ERROR', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_CRITICAL', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_ALERT', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATUS_TEXT_TYPE_EMERGENCY', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=7727, - serialized_end=7976, -) -_sym_db.RegisterEnumDescriptor(_STATUSTEXTTYPE) - +_STATUSTEXTTYPE = DESCRIPTOR.enum_types_by_name['StatusTextType'] StatusTextType = enum_type_wrapper.EnumTypeWrapper(_STATUSTEXTTYPE) -_LANDEDSTATE = _descriptor.EnumDescriptor( - name='LandedState', - full_name='mavsdk.rpc.telemetry_server.LandedState', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='LANDED_STATE_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='LANDED_STATE_ON_GROUND', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='LANDED_STATE_IN_AIR', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='LANDED_STATE_TAKING_OFF', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='LANDED_STATE_LANDING', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=7979, - serialized_end=8126, -) -_sym_db.RegisterEnumDescriptor(_LANDEDSTATE) - +_LANDEDSTATE = DESCRIPTOR.enum_types_by_name['LandedState'] LandedState = enum_type_wrapper.EnumTypeWrapper(_LANDEDSTATE) FIX_TYPE_NO_GPS = 0 FIX_TYPE_NO_FIX = 1 @@ -241,2655 +53,67 @@ LANDED_STATE_LANDING = 4 -_ODOMETRY_MAVFRAME = _descriptor.EnumDescriptor( - name='MavFrame', - full_name='mavsdk.rpc.telemetry_server.Odometry.MavFrame', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='MAV_FRAME_UNDEF', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='MAV_FRAME_BODY_NED', index=1, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='MAV_FRAME_VISION_NED', index=2, number=16, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='MAV_FRAME_ESTIM_NED', index=3, number=18, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=5523, - serialized_end=5629, -) -_sym_db.RegisterEnumDescriptor(_ODOMETRY_MAVFRAME) - -_TELEMETRYSERVERRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.telemetry_server.TelemetryServerResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_CONNECTION_ERROR', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_BUSY', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_COMMAND_DENIED', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TIMEOUT', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_UNSUPPORTED', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=7226, - serialized_end=7413, -) -_sym_db.RegisterEnumDescriptor(_TELEMETRYSERVERRESULT_RESULT) - - -_PUBLISHPOSITIONREQUEST = _descriptor.Descriptor( - name='PublishPositionRequest', - full_name='mavsdk.rpc.telemetry_server.PublishPositionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='position', full_name='mavsdk.rpc.telemetry_server.PublishPositionRequest.position', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='velocity_ned', full_name='mavsdk.rpc.telemetry_server.PublishPositionRequest.velocity_ned', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='heading', full_name='mavsdk.rpc.telemetry_server.PublishPositionRequest.heading', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=95, - serialized_end=295, -) - - -_PUBLISHHOMEREQUEST = _descriptor.Descriptor( - name='PublishHomeRequest', - full_name='mavsdk.rpc.telemetry_server.PublishHomeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='home', full_name='mavsdk.rpc.telemetry_server.PublishHomeRequest.home', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=297, - serialized_end=370, -) - - -_PUBLISHSYSSTATUSREQUEST = _descriptor.Descriptor( - name='PublishSysStatusRequest', - full_name='mavsdk.rpc.telemetry_server.PublishSysStatusRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='battery', full_name='mavsdk.rpc.telemetry_server.PublishSysStatusRequest.battery', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='rc_receiver_status', full_name='mavsdk.rpc.telemetry_server.PublishSysStatusRequest.rc_receiver_status', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='gyro_status', full_name='mavsdk.rpc.telemetry_server.PublishSysStatusRequest.gyro_status', index=2, - number=3, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='accel_status', full_name='mavsdk.rpc.telemetry_server.PublishSysStatusRequest.accel_status', index=3, - number=4, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='mag_status', full_name='mavsdk.rpc.telemetry_server.PublishSysStatusRequest.mag_status', index=4, - number=5, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='gps_status', full_name='mavsdk.rpc.telemetry_server.PublishSysStatusRequest.gps_status', index=5, - number=6, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=373, - serialized_end=564, -) - - -_PUBLISHEXTENDEDSYSSTATEREQUEST = _descriptor.Descriptor( - name='PublishExtendedSysStateRequest', - full_name='mavsdk.rpc.telemetry_server.PublishExtendedSysStateRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='vtol_state', full_name='mavsdk.rpc.telemetry_server.PublishExtendedSysStateRequest.vtol_state', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='landed_state', full_name='mavsdk.rpc.telemetry_server.PublishExtendedSysStateRequest.landed_state', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=567, - serialized_end=723, -) - - -_PUBLISHINAIRREQUEST = _descriptor.Descriptor( - name='PublishInAirRequest', - full_name='mavsdk.rpc.telemetry_server.PublishInAirRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='is_in_air', full_name='mavsdk.rpc.telemetry_server.PublishInAirRequest.is_in_air', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=725, - serialized_end=765, -) - - -_PUBLISHLANDEDSTATEREQUEST = _descriptor.Descriptor( - name='PublishLandedStateRequest', - full_name='mavsdk.rpc.telemetry_server.PublishLandedStateRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='landed_state', full_name='mavsdk.rpc.telemetry_server.PublishLandedStateRequest.landed_state', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=767, - serialized_end=858, -) - - -_PUBLISHRAWGPSREQUEST = _descriptor.Descriptor( - name='PublishRawGpsRequest', - full_name='mavsdk.rpc.telemetry_server.PublishRawGpsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='raw_gps', full_name='mavsdk.rpc.telemetry_server.PublishRawGpsRequest.raw_gps', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='gps_info', full_name='mavsdk.rpc.telemetry_server.PublishRawGpsRequest.gps_info', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=861, - serialized_end=993, -) - - -_PUBLISHBATTERYREQUEST = _descriptor.Descriptor( - name='PublishBatteryRequest', - full_name='mavsdk.rpc.telemetry_server.PublishBatteryRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='battery', full_name='mavsdk.rpc.telemetry_server.PublishBatteryRequest.battery', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=995, - serialized_end=1073, -) - - -_PUBLISHRCSTATUSREQUEST = _descriptor.Descriptor( - name='PublishRcStatusRequest', - full_name='mavsdk.rpc.telemetry_server.PublishRcStatusRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rc_status', full_name='mavsdk.rpc.telemetry_server.PublishRcStatusRequest.rc_status', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1075, - serialized_end=1157, -) - - -_PUBLISHSTATUSTEXTREQUEST = _descriptor.Descriptor( - name='PublishStatusTextRequest', - full_name='mavsdk.rpc.telemetry_server.PublishStatusTextRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='status_text', full_name='mavsdk.rpc.telemetry_server.PublishStatusTextRequest.status_text', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1159, - serialized_end=1247, -) - - -_PUBLISHODOMETRYREQUEST = _descriptor.Descriptor( - name='PublishOdometryRequest', - full_name='mavsdk.rpc.telemetry_server.PublishOdometryRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='odometry', full_name='mavsdk.rpc.telemetry_server.PublishOdometryRequest.odometry', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1249, - serialized_end=1330, -) - - -_PUBLISHPOSITIONVELOCITYNEDREQUEST = _descriptor.Descriptor( - name='PublishPositionVelocityNedRequest', - full_name='mavsdk.rpc.telemetry_server.PublishPositionVelocityNedRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='position_velocity_ned', full_name='mavsdk.rpc.telemetry_server.PublishPositionVelocityNedRequest.position_velocity_ned', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1332, - serialized_end=1448, -) - - -_PUBLISHGROUNDTRUTHREQUEST = _descriptor.Descriptor( - name='PublishGroundTruthRequest', - full_name='mavsdk.rpc.telemetry_server.PublishGroundTruthRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='ground_truth', full_name='mavsdk.rpc.telemetry_server.PublishGroundTruthRequest.ground_truth', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1450, - serialized_end=1541, -) - - -_PUBLISHIMUREQUEST = _descriptor.Descriptor( - name='PublishImuRequest', - full_name='mavsdk.rpc.telemetry_server.PublishImuRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='imu', full_name='mavsdk.rpc.telemetry_server.PublishImuRequest.imu', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1543, - serialized_end=1609, -) - - -_PUBLISHSCALEDIMUREQUEST = _descriptor.Descriptor( - name='PublishScaledImuRequest', - full_name='mavsdk.rpc.telemetry_server.PublishScaledImuRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='imu', full_name='mavsdk.rpc.telemetry_server.PublishScaledImuRequest.imu', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1611, - serialized_end=1683, -) - - -_PUBLISHRAWIMUREQUEST = _descriptor.Descriptor( - name='PublishRawImuRequest', - full_name='mavsdk.rpc.telemetry_server.PublishRawImuRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='imu', full_name='mavsdk.rpc.telemetry_server.PublishRawImuRequest.imu', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1685, - serialized_end=1754, -) - - -_PUBLISHUNIXEPOCHTIMEREQUEST = _descriptor.Descriptor( - name='PublishUnixEpochTimeRequest', - full_name='mavsdk.rpc.telemetry_server.PublishUnixEpochTimeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='time_us', full_name='mavsdk.rpc.telemetry_server.PublishUnixEpochTimeRequest.time_us', index=0, - number=1, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1756, - serialized_end=1802, -) - - -_PUBLISHPOSITIONRESPONSE = _descriptor.Descriptor( - name='PublishPositionResponse', - full_name='mavsdk.rpc.telemetry_server.PublishPositionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_server_result', full_name='mavsdk.rpc.telemetry_server.PublishPositionResponse.telemetry_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1804, - serialized_end=1914, -) - - -_PUBLISHHOMERESPONSE = _descriptor.Descriptor( - name='PublishHomeResponse', - full_name='mavsdk.rpc.telemetry_server.PublishHomeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_server_result', full_name='mavsdk.rpc.telemetry_server.PublishHomeResponse.telemetry_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1916, - serialized_end=2022, -) - - -_PUBLISHSYSSTATUSRESPONSE = _descriptor.Descriptor( - name='PublishSysStatusResponse', - full_name='mavsdk.rpc.telemetry_server.PublishSysStatusResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_server_result', full_name='mavsdk.rpc.telemetry_server.PublishSysStatusResponse.telemetry_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2024, - serialized_end=2135, -) - - -_PUBLISHEXTENDEDSYSSTATERESPONSE = _descriptor.Descriptor( - name='PublishExtendedSysStateResponse', - full_name='mavsdk.rpc.telemetry_server.PublishExtendedSysStateResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_server_result', full_name='mavsdk.rpc.telemetry_server.PublishExtendedSysStateResponse.telemetry_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2137, - serialized_end=2255, -) - - -_PUBLISHRAWGPSRESPONSE = _descriptor.Descriptor( - name='PublishRawGpsResponse', - full_name='mavsdk.rpc.telemetry_server.PublishRawGpsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_server_result', full_name='mavsdk.rpc.telemetry_server.PublishRawGpsResponse.telemetry_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2257, - serialized_end=2365, -) - - -_PUBLISHBATTERYRESPONSE = _descriptor.Descriptor( - name='PublishBatteryResponse', - full_name='mavsdk.rpc.telemetry_server.PublishBatteryResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_server_result', full_name='mavsdk.rpc.telemetry_server.PublishBatteryResponse.telemetry_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2367, - serialized_end=2476, -) - - -_PUBLISHSTATUSTEXTRESPONSE = _descriptor.Descriptor( - name='PublishStatusTextResponse', - full_name='mavsdk.rpc.telemetry_server.PublishStatusTextResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_server_result', full_name='mavsdk.rpc.telemetry_server.PublishStatusTextResponse.telemetry_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2478, - serialized_end=2590, -) - - -_PUBLISHODOMETRYRESPONSE = _descriptor.Descriptor( - name='PublishOdometryResponse', - full_name='mavsdk.rpc.telemetry_server.PublishOdometryResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_server_result', full_name='mavsdk.rpc.telemetry_server.PublishOdometryResponse.telemetry_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2592, - serialized_end=2702, -) - - -_PUBLISHPOSITIONVELOCITYNEDRESPONSE = _descriptor.Descriptor( - name='PublishPositionVelocityNedResponse', - full_name='mavsdk.rpc.telemetry_server.PublishPositionVelocityNedResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_server_result', full_name='mavsdk.rpc.telemetry_server.PublishPositionVelocityNedResponse.telemetry_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2704, - serialized_end=2825, -) - - -_PUBLISHGROUNDTRUTHRESPONSE = _descriptor.Descriptor( - name='PublishGroundTruthResponse', - full_name='mavsdk.rpc.telemetry_server.PublishGroundTruthResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_server_result', full_name='mavsdk.rpc.telemetry_server.PublishGroundTruthResponse.telemetry_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2827, - serialized_end=2940, -) - - -_PUBLISHIMURESPONSE = _descriptor.Descriptor( - name='PublishImuResponse', - full_name='mavsdk.rpc.telemetry_server.PublishImuResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_server_result', full_name='mavsdk.rpc.telemetry_server.PublishImuResponse.telemetry_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2942, - serialized_end=3047, -) - - -_PUBLISHSCALEDIMURESPONSE = _descriptor.Descriptor( - name='PublishScaledImuResponse', - full_name='mavsdk.rpc.telemetry_server.PublishScaledImuResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_server_result', full_name='mavsdk.rpc.telemetry_server.PublishScaledImuResponse.telemetry_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3049, - serialized_end=3160, -) - - -_PUBLISHRAWIMURESPONSE = _descriptor.Descriptor( - name='PublishRawImuResponse', - full_name='mavsdk.rpc.telemetry_server.PublishRawImuResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_server_result', full_name='mavsdk.rpc.telemetry_server.PublishRawImuResponse.telemetry_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3162, - serialized_end=3270, -) - - -_PUBLISHUNIXEPOCHTIMERESPONSE = _descriptor.Descriptor( - name='PublishUnixEpochTimeResponse', - full_name='mavsdk.rpc.telemetry_server.PublishUnixEpochTimeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='telemetry_server_result', full_name='mavsdk.rpc.telemetry_server.PublishUnixEpochTimeResponse.telemetry_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3272, - serialized_end=3387, -) - - -_POSITION = _descriptor.Descriptor( - name='Position', - full_name='mavsdk.rpc.telemetry_server.Position', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='latitude_deg', full_name='mavsdk.rpc.telemetry_server.Position.latitude_deg', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='longitude_deg', full_name='mavsdk.rpc.telemetry_server.Position.longitude_deg', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='absolute_altitude_m', full_name='mavsdk.rpc.telemetry_server.Position.absolute_altitude_m', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='relative_altitude_m', full_name='mavsdk.rpc.telemetry_server.Position.relative_altitude_m', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3390, - serialized_end=3539, -) - - -_HEADING = _descriptor.Descriptor( - name='Heading', - full_name='mavsdk.rpc.telemetry_server.Heading', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='heading_deg', full_name='mavsdk.rpc.telemetry_server.Heading.heading_deg', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3541, - serialized_end=3580, -) - - -_QUATERNION = _descriptor.Descriptor( - name='Quaternion', - full_name='mavsdk.rpc.telemetry_server.Quaternion', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='w', full_name='mavsdk.rpc.telemetry_server.Quaternion.w', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='x', full_name='mavsdk.rpc.telemetry_server.Quaternion.x', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='mavsdk.rpc.telemetry_server.Quaternion.y', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='z', full_name='mavsdk.rpc.telemetry_server.Quaternion.z', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='timestamp_us', full_name='mavsdk.rpc.telemetry_server.Quaternion.timestamp_us', index=4, - number=5, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3582, - serialized_end=3696, -) - - -_EULERANGLE = _descriptor.Descriptor( - name='EulerAngle', - full_name='mavsdk.rpc.telemetry_server.EulerAngle', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='roll_deg', full_name='mavsdk.rpc.telemetry_server.EulerAngle.roll_deg', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pitch_deg', full_name='mavsdk.rpc.telemetry_server.EulerAngle.pitch_deg', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yaw_deg', full_name='mavsdk.rpc.telemetry_server.EulerAngle.yaw_deg', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='timestamp_us', full_name='mavsdk.rpc.telemetry_server.EulerAngle.timestamp_us', index=3, - number=4, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3698, - serialized_end=3813, -) - - -_ANGULARVELOCITYBODY = _descriptor.Descriptor( - name='AngularVelocityBody', - full_name='mavsdk.rpc.telemetry_server.AngularVelocityBody', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='roll_rad_s', full_name='mavsdk.rpc.telemetry_server.AngularVelocityBody.roll_rad_s', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pitch_rad_s', full_name='mavsdk.rpc.telemetry_server.AngularVelocityBody.pitch_rad_s', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yaw_rad_s', full_name='mavsdk.rpc.telemetry_server.AngularVelocityBody.yaw_rad_s', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3815, - serialized_end=3923, -) - - -_GPSINFO = _descriptor.Descriptor( - name='GpsInfo', - full_name='mavsdk.rpc.telemetry_server.GpsInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='num_satellites', full_name='mavsdk.rpc.telemetry_server.GpsInfo.num_satellites', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\0010', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fix_type', full_name='mavsdk.rpc.telemetry_server.GpsInfo.fix_type', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3925, - serialized_end=4021, -) - - -_RAWGPS = _descriptor.Descriptor( - name='RawGps', - full_name='mavsdk.rpc.telemetry_server.RawGps', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='timestamp_us', full_name='mavsdk.rpc.telemetry_server.RawGps.timestamp_us', index=0, - number=1, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='latitude_deg', full_name='mavsdk.rpc.telemetry_server.RawGps.latitude_deg', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='longitude_deg', full_name='mavsdk.rpc.telemetry_server.RawGps.longitude_deg', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='absolute_altitude_m', full_name='mavsdk.rpc.telemetry_server.RawGps.absolute_altitude_m', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='hdop', full_name='mavsdk.rpc.telemetry_server.RawGps.hdop', index=4, - number=5, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='vdop', full_name='mavsdk.rpc.telemetry_server.RawGps.vdop', index=5, - number=6, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='velocity_m_s', full_name='mavsdk.rpc.telemetry_server.RawGps.velocity_m_s', index=6, - number=7, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='cog_deg', full_name='mavsdk.rpc.telemetry_server.RawGps.cog_deg', index=7, - number=8, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='altitude_ellipsoid_m', full_name='mavsdk.rpc.telemetry_server.RawGps.altitude_ellipsoid_m', index=8, - number=9, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='horizontal_uncertainty_m', full_name='mavsdk.rpc.telemetry_server.RawGps.horizontal_uncertainty_m', index=9, - number=10, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='vertical_uncertainty_m', full_name='mavsdk.rpc.telemetry_server.RawGps.vertical_uncertainty_m', index=10, - number=11, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='velocity_uncertainty_m_s', full_name='mavsdk.rpc.telemetry_server.RawGps.velocity_uncertainty_m_s', index=11, - number=12, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='heading_uncertainty_deg', full_name='mavsdk.rpc.telemetry_server.RawGps.heading_uncertainty_deg', index=12, - number=13, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='yaw_deg', full_name='mavsdk.rpc.telemetry_server.RawGps.yaw_deg', index=13, - number=14, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4024, - serialized_end=4375, -) - - -_BATTERY = _descriptor.Descriptor( - name='Battery', - full_name='mavsdk.rpc.telemetry_server.Battery', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='voltage_v', full_name='mavsdk.rpc.telemetry_server.Battery.voltage_v', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remaining_percent', full_name='mavsdk.rpc.telemetry_server.Battery.remaining_percent', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4377, - serialized_end=4450, -) - - -_RCSTATUS = _descriptor.Descriptor( - name='RcStatus', - full_name='mavsdk.rpc.telemetry_server.RcStatus', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='was_available_once', full_name='mavsdk.rpc.telemetry_server.RcStatus.was_available_once', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\005false', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='is_available', full_name='mavsdk.rpc.telemetry_server.RcStatus.is_available', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\005false', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='signal_strength_percent', full_name='mavsdk.rpc.telemetry_server.RcStatus.signal_strength_percent', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4452, - serialized_end=4576, -) - - -_STATUSTEXT = _descriptor.Descriptor( - name='StatusText', - full_name='mavsdk.rpc.telemetry_server.StatusText', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='mavsdk.rpc.telemetry_server.StatusText.type', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='text', full_name='mavsdk.rpc.telemetry_server.StatusText.text', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4578, - serialized_end=4663, -) - - -_ACTUATORCONTROLTARGET = _descriptor.Descriptor( - name='ActuatorControlTarget', - full_name='mavsdk.rpc.telemetry_server.ActuatorControlTarget', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='group', full_name='mavsdk.rpc.telemetry_server.ActuatorControlTarget.group', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\0010', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='controls', full_name='mavsdk.rpc.telemetry_server.ActuatorControlTarget.controls', index=1, - number=2, type=2, cpp_type=6, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4665, - serialized_end=4728, -) - - -_ACTUATOROUTPUTSTATUS = _descriptor.Descriptor( - name='ActuatorOutputStatus', - full_name='mavsdk.rpc.telemetry_server.ActuatorOutputStatus', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='active', full_name='mavsdk.rpc.telemetry_server.ActuatorOutputStatus.active', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\0010', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='actuator', full_name='mavsdk.rpc.telemetry_server.ActuatorOutputStatus.actuator', index=1, - number=2, type=2, cpp_type=6, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4730, - serialized_end=4793, -) - - -_COVARIANCE = _descriptor.Descriptor( - name='Covariance', - full_name='mavsdk.rpc.telemetry_server.Covariance', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='covariance_matrix', full_name='mavsdk.rpc.telemetry_server.Covariance.covariance_matrix', index=0, - number=1, type=2, cpp_type=6, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4795, - serialized_end=4834, -) - - -_VELOCITYBODY = _descriptor.Descriptor( - name='VelocityBody', - full_name='mavsdk.rpc.telemetry_server.VelocityBody', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='x_m_s', full_name='mavsdk.rpc.telemetry_server.VelocityBody.x_m_s', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y_m_s', full_name='mavsdk.rpc.telemetry_server.VelocityBody.y_m_s', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='z_m_s', full_name='mavsdk.rpc.telemetry_server.VelocityBody.z_m_s', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4836, - serialized_end=4895, -) - - -_POSITIONBODY = _descriptor.Descriptor( - name='PositionBody', - full_name='mavsdk.rpc.telemetry_server.PositionBody', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='x_m', full_name='mavsdk.rpc.telemetry_server.PositionBody.x_m', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y_m', full_name='mavsdk.rpc.telemetry_server.PositionBody.y_m', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='z_m', full_name='mavsdk.rpc.telemetry_server.PositionBody.z_m', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4897, - serialized_end=4950, -) - - -_ODOMETRY = _descriptor.Descriptor( - name='Odometry', - full_name='mavsdk.rpc.telemetry_server.Odometry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='time_usec', full_name='mavsdk.rpc.telemetry_server.Odometry.time_usec', index=0, - number=1, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='frame_id', full_name='mavsdk.rpc.telemetry_server.Odometry.frame_id', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='child_frame_id', full_name='mavsdk.rpc.telemetry_server.Odometry.child_frame_id', index=2, - number=3, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='position_body', full_name='mavsdk.rpc.telemetry_server.Odometry.position_body', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='q', full_name='mavsdk.rpc.telemetry_server.Odometry.q', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='velocity_body', full_name='mavsdk.rpc.telemetry_server.Odometry.velocity_body', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='angular_velocity_body', full_name='mavsdk.rpc.telemetry_server.Odometry.angular_velocity_body', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pose_covariance', full_name='mavsdk.rpc.telemetry_server.Odometry.pose_covariance', index=7, - number=8, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='velocity_covariance', full_name='mavsdk.rpc.telemetry_server.Odometry.velocity_covariance', index=8, - number=9, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ODOMETRY_MAVFRAME, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4953, - serialized_end=5629, -) - - -_DISTANCESENSOR = _descriptor.Descriptor( - name='DistanceSensor', - full_name='mavsdk.rpc.telemetry_server.DistanceSensor', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='minimum_distance_m', full_name='mavsdk.rpc.telemetry_server.DistanceSensor.minimum_distance_m', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='maximum_distance_m', full_name='mavsdk.rpc.telemetry_server.DistanceSensor.maximum_distance_m', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='current_distance_m', full_name='mavsdk.rpc.telemetry_server.DistanceSensor.current_distance_m', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5631, - serialized_end=5758, -) - - -_SCALEDPRESSURE = _descriptor.Descriptor( - name='ScaledPressure', - full_name='mavsdk.rpc.telemetry_server.ScaledPressure', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='timestamp_us', full_name='mavsdk.rpc.telemetry_server.ScaledPressure.timestamp_us', index=0, - number=1, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='absolute_pressure_hpa', full_name='mavsdk.rpc.telemetry_server.ScaledPressure.absolute_pressure_hpa', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='differential_pressure_hpa', full_name='mavsdk.rpc.telemetry_server.ScaledPressure.differential_pressure_hpa', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='temperature_deg', full_name='mavsdk.rpc.telemetry_server.ScaledPressure.temperature_deg', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='differential_pressure_temperature_deg', full_name='mavsdk.rpc.telemetry_server.ScaledPressure.differential_pressure_temperature_deg', index=4, - number=5, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5761, - serialized_end=5937, -) - - -_POSITIONNED = _descriptor.Descriptor( - name='PositionNed', - full_name='mavsdk.rpc.telemetry_server.PositionNed', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='north_m', full_name='mavsdk.rpc.telemetry_server.PositionNed.north_m', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='east_m', full_name='mavsdk.rpc.telemetry_server.PositionNed.east_m', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='down_m', full_name='mavsdk.rpc.telemetry_server.PositionNed.down_m', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5939, - serialized_end=6028, -) - - -_VELOCITYNED = _descriptor.Descriptor( - name='VelocityNed', - full_name='mavsdk.rpc.telemetry_server.VelocityNed', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='north_m_s', full_name='mavsdk.rpc.telemetry_server.VelocityNed.north_m_s', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='east_m_s', full_name='mavsdk.rpc.telemetry_server.VelocityNed.east_m_s', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='down_m_s', full_name='mavsdk.rpc.telemetry_server.VelocityNed.down_m_s', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6030, - serialized_end=6098, -) - - -_POSITIONVELOCITYNED = _descriptor.Descriptor( - name='PositionVelocityNed', - full_name='mavsdk.rpc.telemetry_server.PositionVelocityNed', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='position', full_name='mavsdk.rpc.telemetry_server.PositionVelocityNed.position', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='velocity', full_name='mavsdk.rpc.telemetry_server.PositionVelocityNed.velocity', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6101, - serialized_end=6242, -) - - -_GROUNDTRUTH = _descriptor.Descriptor( - name='GroundTruth', - full_name='mavsdk.rpc.telemetry_server.GroundTruth', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='latitude_deg', full_name='mavsdk.rpc.telemetry_server.GroundTruth.latitude_deg', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='longitude_deg', full_name='mavsdk.rpc.telemetry_server.GroundTruth.longitude_deg', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='absolute_altitude_m', full_name='mavsdk.rpc.telemetry_server.GroundTruth.absolute_altitude_m', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6244, - serialized_end=6358, -) - - -_FIXEDWINGMETRICS = _descriptor.Descriptor( - name='FixedwingMetrics', - full_name='mavsdk.rpc.telemetry_server.FixedwingMetrics', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='airspeed_m_s', full_name='mavsdk.rpc.telemetry_server.FixedwingMetrics.airspeed_m_s', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='throttle_percentage', full_name='mavsdk.rpc.telemetry_server.FixedwingMetrics.throttle_percentage', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='climb_rate_m_s', full_name='mavsdk.rpc.telemetry_server.FixedwingMetrics.climb_rate_m_s', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6360, - serialized_end=6480, -) - - -_ACCELERATIONFRD = _descriptor.Descriptor( - name='AccelerationFrd', - full_name='mavsdk.rpc.telemetry_server.AccelerationFrd', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='forward_m_s2', full_name='mavsdk.rpc.telemetry_server.AccelerationFrd.forward_m_s2', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='right_m_s2', full_name='mavsdk.rpc.telemetry_server.AccelerationFrd.right_m_s2', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='down_m_s2', full_name='mavsdk.rpc.telemetry_server.AccelerationFrd.down_m_s2', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6482, - serialized_end=6587, -) - - -_ANGULARVELOCITYFRD = _descriptor.Descriptor( - name='AngularVelocityFrd', - full_name='mavsdk.rpc.telemetry_server.AngularVelocityFrd', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='forward_rad_s', full_name='mavsdk.rpc.telemetry_server.AngularVelocityFrd.forward_rad_s', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='right_rad_s', full_name='mavsdk.rpc.telemetry_server.AngularVelocityFrd.right_rad_s', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='down_rad_s', full_name='mavsdk.rpc.telemetry_server.AngularVelocityFrd.down_rad_s', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6589, - serialized_end=6700, -) - - -_MAGNETICFIELDFRD = _descriptor.Descriptor( - name='MagneticFieldFrd', - full_name='mavsdk.rpc.telemetry_server.MagneticFieldFrd', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='forward_gauss', full_name='mavsdk.rpc.telemetry_server.MagneticFieldFrd.forward_gauss', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='right_gauss', full_name='mavsdk.rpc.telemetry_server.MagneticFieldFrd.right_gauss', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='down_gauss', full_name='mavsdk.rpc.telemetry_server.MagneticFieldFrd.down_gauss', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6702, - serialized_end=6811, -) - - -_IMU = _descriptor.Descriptor( - name='Imu', - full_name='mavsdk.rpc.telemetry_server.Imu', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='acceleration_frd', full_name='mavsdk.rpc.telemetry_server.Imu.acceleration_frd', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='angular_velocity_frd', full_name='mavsdk.rpc.telemetry_server.Imu.angular_velocity_frd', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='magnetic_field_frd', full_name='mavsdk.rpc.telemetry_server.Imu.magnetic_field_frd', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='temperature_degc', full_name='mavsdk.rpc.telemetry_server.Imu.temperature_degc', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=b'\202\265\030\003NaN', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='timestamp_us', full_name='mavsdk.rpc.telemetry_server.Imu.timestamp_us', index=4, - number=5, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6814, - serialized_end=7102, -) - - -_TELEMETRYSERVERRESULT = _descriptor.Descriptor( - name='TelemetryServerResult', - full_name='mavsdk.rpc.telemetry_server.TelemetryServerResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.telemetry_server.TelemetryServerResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.telemetry_server.TelemetryServerResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _TELEMETRYSERVERRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=7105, - serialized_end=7413, -) - -_PUBLISHPOSITIONREQUEST.fields_by_name['position'].message_type = _POSITION -_PUBLISHPOSITIONREQUEST.fields_by_name['velocity_ned'].message_type = _VELOCITYNED -_PUBLISHPOSITIONREQUEST.fields_by_name['heading'].message_type = _HEADING -_PUBLISHHOMEREQUEST.fields_by_name['home'].message_type = _POSITION -_PUBLISHSYSSTATUSREQUEST.fields_by_name['battery'].message_type = _BATTERY -_PUBLISHEXTENDEDSYSSTATEREQUEST.fields_by_name['vtol_state'].enum_type = _VTOLSTATE -_PUBLISHEXTENDEDSYSSTATEREQUEST.fields_by_name['landed_state'].enum_type = _LANDEDSTATE -_PUBLISHLANDEDSTATEREQUEST.fields_by_name['landed_state'].enum_type = _LANDEDSTATE -_PUBLISHRAWGPSREQUEST.fields_by_name['raw_gps'].message_type = _RAWGPS -_PUBLISHRAWGPSREQUEST.fields_by_name['gps_info'].message_type = _GPSINFO -_PUBLISHBATTERYREQUEST.fields_by_name['battery'].message_type = _BATTERY -_PUBLISHRCSTATUSREQUEST.fields_by_name['rc_status'].message_type = _RCSTATUS -_PUBLISHSTATUSTEXTREQUEST.fields_by_name['status_text'].message_type = _STATUSTEXT -_PUBLISHODOMETRYREQUEST.fields_by_name['odometry'].message_type = _ODOMETRY -_PUBLISHPOSITIONVELOCITYNEDREQUEST.fields_by_name['position_velocity_ned'].message_type = _POSITIONVELOCITYNED -_PUBLISHGROUNDTRUTHREQUEST.fields_by_name['ground_truth'].message_type = _GROUNDTRUTH -_PUBLISHIMUREQUEST.fields_by_name['imu'].message_type = _IMU -_PUBLISHSCALEDIMUREQUEST.fields_by_name['imu'].message_type = _IMU -_PUBLISHRAWIMUREQUEST.fields_by_name['imu'].message_type = _IMU -_PUBLISHPOSITIONRESPONSE.fields_by_name['telemetry_server_result'].message_type = _TELEMETRYSERVERRESULT -_PUBLISHHOMERESPONSE.fields_by_name['telemetry_server_result'].message_type = _TELEMETRYSERVERRESULT -_PUBLISHSYSSTATUSRESPONSE.fields_by_name['telemetry_server_result'].message_type = _TELEMETRYSERVERRESULT -_PUBLISHEXTENDEDSYSSTATERESPONSE.fields_by_name['telemetry_server_result'].message_type = _TELEMETRYSERVERRESULT -_PUBLISHRAWGPSRESPONSE.fields_by_name['telemetry_server_result'].message_type = _TELEMETRYSERVERRESULT -_PUBLISHBATTERYRESPONSE.fields_by_name['telemetry_server_result'].message_type = _TELEMETRYSERVERRESULT -_PUBLISHSTATUSTEXTRESPONSE.fields_by_name['telemetry_server_result'].message_type = _TELEMETRYSERVERRESULT -_PUBLISHODOMETRYRESPONSE.fields_by_name['telemetry_server_result'].message_type = _TELEMETRYSERVERRESULT -_PUBLISHPOSITIONVELOCITYNEDRESPONSE.fields_by_name['telemetry_server_result'].message_type = _TELEMETRYSERVERRESULT -_PUBLISHGROUNDTRUTHRESPONSE.fields_by_name['telemetry_server_result'].message_type = _TELEMETRYSERVERRESULT -_PUBLISHIMURESPONSE.fields_by_name['telemetry_server_result'].message_type = _TELEMETRYSERVERRESULT -_PUBLISHSCALEDIMURESPONSE.fields_by_name['telemetry_server_result'].message_type = _TELEMETRYSERVERRESULT -_PUBLISHRAWIMURESPONSE.fields_by_name['telemetry_server_result'].message_type = _TELEMETRYSERVERRESULT -_PUBLISHUNIXEPOCHTIMERESPONSE.fields_by_name['telemetry_server_result'].message_type = _TELEMETRYSERVERRESULT -_GPSINFO.fields_by_name['fix_type'].enum_type = _FIXTYPE -_STATUSTEXT.fields_by_name['type'].enum_type = _STATUSTEXTTYPE -_ODOMETRY.fields_by_name['frame_id'].enum_type = _ODOMETRY_MAVFRAME -_ODOMETRY.fields_by_name['child_frame_id'].enum_type = _ODOMETRY_MAVFRAME -_ODOMETRY.fields_by_name['position_body'].message_type = _POSITIONBODY -_ODOMETRY.fields_by_name['q'].message_type = _QUATERNION -_ODOMETRY.fields_by_name['velocity_body'].message_type = _VELOCITYBODY -_ODOMETRY.fields_by_name['angular_velocity_body'].message_type = _ANGULARVELOCITYBODY -_ODOMETRY.fields_by_name['pose_covariance'].message_type = _COVARIANCE -_ODOMETRY.fields_by_name['velocity_covariance'].message_type = _COVARIANCE -_ODOMETRY_MAVFRAME.containing_type = _ODOMETRY -_POSITIONVELOCITYNED.fields_by_name['position'].message_type = _POSITIONNED -_POSITIONVELOCITYNED.fields_by_name['velocity'].message_type = _VELOCITYNED -_IMU.fields_by_name['acceleration_frd'].message_type = _ACCELERATIONFRD -_IMU.fields_by_name['angular_velocity_frd'].message_type = _ANGULARVELOCITYFRD -_IMU.fields_by_name['magnetic_field_frd'].message_type = _MAGNETICFIELDFRD -_TELEMETRYSERVERRESULT.fields_by_name['result'].enum_type = _TELEMETRYSERVERRESULT_RESULT -_TELEMETRYSERVERRESULT_RESULT.containing_type = _TELEMETRYSERVERRESULT -DESCRIPTOR.message_types_by_name['PublishPositionRequest'] = _PUBLISHPOSITIONREQUEST -DESCRIPTOR.message_types_by_name['PublishHomeRequest'] = _PUBLISHHOMEREQUEST -DESCRIPTOR.message_types_by_name['PublishSysStatusRequest'] = _PUBLISHSYSSTATUSREQUEST -DESCRIPTOR.message_types_by_name['PublishExtendedSysStateRequest'] = _PUBLISHEXTENDEDSYSSTATEREQUEST -DESCRIPTOR.message_types_by_name['PublishInAirRequest'] = _PUBLISHINAIRREQUEST -DESCRIPTOR.message_types_by_name['PublishLandedStateRequest'] = _PUBLISHLANDEDSTATEREQUEST -DESCRIPTOR.message_types_by_name['PublishRawGpsRequest'] = _PUBLISHRAWGPSREQUEST -DESCRIPTOR.message_types_by_name['PublishBatteryRequest'] = _PUBLISHBATTERYREQUEST -DESCRIPTOR.message_types_by_name['PublishRcStatusRequest'] = _PUBLISHRCSTATUSREQUEST -DESCRIPTOR.message_types_by_name['PublishStatusTextRequest'] = _PUBLISHSTATUSTEXTREQUEST -DESCRIPTOR.message_types_by_name['PublishOdometryRequest'] = _PUBLISHODOMETRYREQUEST -DESCRIPTOR.message_types_by_name['PublishPositionVelocityNedRequest'] = _PUBLISHPOSITIONVELOCITYNEDREQUEST -DESCRIPTOR.message_types_by_name['PublishGroundTruthRequest'] = _PUBLISHGROUNDTRUTHREQUEST -DESCRIPTOR.message_types_by_name['PublishImuRequest'] = _PUBLISHIMUREQUEST -DESCRIPTOR.message_types_by_name['PublishScaledImuRequest'] = _PUBLISHSCALEDIMUREQUEST -DESCRIPTOR.message_types_by_name['PublishRawImuRequest'] = _PUBLISHRAWIMUREQUEST -DESCRIPTOR.message_types_by_name['PublishUnixEpochTimeRequest'] = _PUBLISHUNIXEPOCHTIMEREQUEST -DESCRIPTOR.message_types_by_name['PublishPositionResponse'] = _PUBLISHPOSITIONRESPONSE -DESCRIPTOR.message_types_by_name['PublishHomeResponse'] = _PUBLISHHOMERESPONSE -DESCRIPTOR.message_types_by_name['PublishSysStatusResponse'] = _PUBLISHSYSSTATUSRESPONSE -DESCRIPTOR.message_types_by_name['PublishExtendedSysStateResponse'] = _PUBLISHEXTENDEDSYSSTATERESPONSE -DESCRIPTOR.message_types_by_name['PublishRawGpsResponse'] = _PUBLISHRAWGPSRESPONSE -DESCRIPTOR.message_types_by_name['PublishBatteryResponse'] = _PUBLISHBATTERYRESPONSE -DESCRIPTOR.message_types_by_name['PublishStatusTextResponse'] = _PUBLISHSTATUSTEXTRESPONSE -DESCRIPTOR.message_types_by_name['PublishOdometryResponse'] = _PUBLISHODOMETRYRESPONSE -DESCRIPTOR.message_types_by_name['PublishPositionVelocityNedResponse'] = _PUBLISHPOSITIONVELOCITYNEDRESPONSE -DESCRIPTOR.message_types_by_name['PublishGroundTruthResponse'] = _PUBLISHGROUNDTRUTHRESPONSE -DESCRIPTOR.message_types_by_name['PublishImuResponse'] = _PUBLISHIMURESPONSE -DESCRIPTOR.message_types_by_name['PublishScaledImuResponse'] = _PUBLISHSCALEDIMURESPONSE -DESCRIPTOR.message_types_by_name['PublishRawImuResponse'] = _PUBLISHRAWIMURESPONSE -DESCRIPTOR.message_types_by_name['PublishUnixEpochTimeResponse'] = _PUBLISHUNIXEPOCHTIMERESPONSE -DESCRIPTOR.message_types_by_name['Position'] = _POSITION -DESCRIPTOR.message_types_by_name['Heading'] = _HEADING -DESCRIPTOR.message_types_by_name['Quaternion'] = _QUATERNION -DESCRIPTOR.message_types_by_name['EulerAngle'] = _EULERANGLE -DESCRIPTOR.message_types_by_name['AngularVelocityBody'] = _ANGULARVELOCITYBODY -DESCRIPTOR.message_types_by_name['GpsInfo'] = _GPSINFO -DESCRIPTOR.message_types_by_name['RawGps'] = _RAWGPS -DESCRIPTOR.message_types_by_name['Battery'] = _BATTERY -DESCRIPTOR.message_types_by_name['RcStatus'] = _RCSTATUS -DESCRIPTOR.message_types_by_name['StatusText'] = _STATUSTEXT -DESCRIPTOR.message_types_by_name['ActuatorControlTarget'] = _ACTUATORCONTROLTARGET -DESCRIPTOR.message_types_by_name['ActuatorOutputStatus'] = _ACTUATOROUTPUTSTATUS -DESCRIPTOR.message_types_by_name['Covariance'] = _COVARIANCE -DESCRIPTOR.message_types_by_name['VelocityBody'] = _VELOCITYBODY -DESCRIPTOR.message_types_by_name['PositionBody'] = _POSITIONBODY -DESCRIPTOR.message_types_by_name['Odometry'] = _ODOMETRY -DESCRIPTOR.message_types_by_name['DistanceSensor'] = _DISTANCESENSOR -DESCRIPTOR.message_types_by_name['ScaledPressure'] = _SCALEDPRESSURE -DESCRIPTOR.message_types_by_name['PositionNed'] = _POSITIONNED -DESCRIPTOR.message_types_by_name['VelocityNed'] = _VELOCITYNED -DESCRIPTOR.message_types_by_name['PositionVelocityNed'] = _POSITIONVELOCITYNED -DESCRIPTOR.message_types_by_name['GroundTruth'] = _GROUNDTRUTH -DESCRIPTOR.message_types_by_name['FixedwingMetrics'] = _FIXEDWINGMETRICS -DESCRIPTOR.message_types_by_name['AccelerationFrd'] = _ACCELERATIONFRD -DESCRIPTOR.message_types_by_name['AngularVelocityFrd'] = _ANGULARVELOCITYFRD -DESCRIPTOR.message_types_by_name['MagneticFieldFrd'] = _MAGNETICFIELDFRD -DESCRIPTOR.message_types_by_name['Imu'] = _IMU -DESCRIPTOR.message_types_by_name['TelemetryServerResult'] = _TELEMETRYSERVERRESULT -DESCRIPTOR.enum_types_by_name['FixType'] = _FIXTYPE -DESCRIPTOR.enum_types_by_name['VtolState'] = _VTOLSTATE -DESCRIPTOR.enum_types_by_name['StatusTextType'] = _STATUSTEXTTYPE -DESCRIPTOR.enum_types_by_name['LandedState'] = _LANDEDSTATE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_PUBLISHPOSITIONREQUEST = DESCRIPTOR.message_types_by_name['PublishPositionRequest'] +_PUBLISHHOMEREQUEST = DESCRIPTOR.message_types_by_name['PublishHomeRequest'] +_PUBLISHSYSSTATUSREQUEST = DESCRIPTOR.message_types_by_name['PublishSysStatusRequest'] +_PUBLISHEXTENDEDSYSSTATEREQUEST = DESCRIPTOR.message_types_by_name['PublishExtendedSysStateRequest'] +_PUBLISHINAIRREQUEST = DESCRIPTOR.message_types_by_name['PublishInAirRequest'] +_PUBLISHLANDEDSTATEREQUEST = DESCRIPTOR.message_types_by_name['PublishLandedStateRequest'] +_PUBLISHRAWGPSREQUEST = DESCRIPTOR.message_types_by_name['PublishRawGpsRequest'] +_PUBLISHBATTERYREQUEST = DESCRIPTOR.message_types_by_name['PublishBatteryRequest'] +_PUBLISHRCSTATUSREQUEST = DESCRIPTOR.message_types_by_name['PublishRcStatusRequest'] +_PUBLISHSTATUSTEXTREQUEST = DESCRIPTOR.message_types_by_name['PublishStatusTextRequest'] +_PUBLISHODOMETRYREQUEST = DESCRIPTOR.message_types_by_name['PublishOdometryRequest'] +_PUBLISHPOSITIONVELOCITYNEDREQUEST = DESCRIPTOR.message_types_by_name['PublishPositionVelocityNedRequest'] +_PUBLISHGROUNDTRUTHREQUEST = DESCRIPTOR.message_types_by_name['PublishGroundTruthRequest'] +_PUBLISHIMUREQUEST = DESCRIPTOR.message_types_by_name['PublishImuRequest'] +_PUBLISHSCALEDIMUREQUEST = DESCRIPTOR.message_types_by_name['PublishScaledImuRequest'] +_PUBLISHRAWIMUREQUEST = DESCRIPTOR.message_types_by_name['PublishRawImuRequest'] +_PUBLISHUNIXEPOCHTIMEREQUEST = DESCRIPTOR.message_types_by_name['PublishUnixEpochTimeRequest'] +_PUBLISHPOSITIONRESPONSE = DESCRIPTOR.message_types_by_name['PublishPositionResponse'] +_PUBLISHHOMERESPONSE = DESCRIPTOR.message_types_by_name['PublishHomeResponse'] +_PUBLISHSYSSTATUSRESPONSE = DESCRIPTOR.message_types_by_name['PublishSysStatusResponse'] +_PUBLISHEXTENDEDSYSSTATERESPONSE = DESCRIPTOR.message_types_by_name['PublishExtendedSysStateResponse'] +_PUBLISHRAWGPSRESPONSE = DESCRIPTOR.message_types_by_name['PublishRawGpsResponse'] +_PUBLISHBATTERYRESPONSE = DESCRIPTOR.message_types_by_name['PublishBatteryResponse'] +_PUBLISHSTATUSTEXTRESPONSE = DESCRIPTOR.message_types_by_name['PublishStatusTextResponse'] +_PUBLISHODOMETRYRESPONSE = DESCRIPTOR.message_types_by_name['PublishOdometryResponse'] +_PUBLISHPOSITIONVELOCITYNEDRESPONSE = DESCRIPTOR.message_types_by_name['PublishPositionVelocityNedResponse'] +_PUBLISHGROUNDTRUTHRESPONSE = DESCRIPTOR.message_types_by_name['PublishGroundTruthResponse'] +_PUBLISHIMURESPONSE = DESCRIPTOR.message_types_by_name['PublishImuResponse'] +_PUBLISHSCALEDIMURESPONSE = DESCRIPTOR.message_types_by_name['PublishScaledImuResponse'] +_PUBLISHRAWIMURESPONSE = DESCRIPTOR.message_types_by_name['PublishRawImuResponse'] +_PUBLISHUNIXEPOCHTIMERESPONSE = DESCRIPTOR.message_types_by_name['PublishUnixEpochTimeResponse'] +_POSITION = DESCRIPTOR.message_types_by_name['Position'] +_HEADING = DESCRIPTOR.message_types_by_name['Heading'] +_QUATERNION = DESCRIPTOR.message_types_by_name['Quaternion'] +_EULERANGLE = DESCRIPTOR.message_types_by_name['EulerAngle'] +_ANGULARVELOCITYBODY = DESCRIPTOR.message_types_by_name['AngularVelocityBody'] +_GPSINFO = DESCRIPTOR.message_types_by_name['GpsInfo'] +_RAWGPS = DESCRIPTOR.message_types_by_name['RawGps'] +_BATTERY = DESCRIPTOR.message_types_by_name['Battery'] +_RCSTATUS = DESCRIPTOR.message_types_by_name['RcStatus'] +_STATUSTEXT = DESCRIPTOR.message_types_by_name['StatusText'] +_ACTUATORCONTROLTARGET = DESCRIPTOR.message_types_by_name['ActuatorControlTarget'] +_ACTUATOROUTPUTSTATUS = DESCRIPTOR.message_types_by_name['ActuatorOutputStatus'] +_COVARIANCE = DESCRIPTOR.message_types_by_name['Covariance'] +_VELOCITYBODY = DESCRIPTOR.message_types_by_name['VelocityBody'] +_POSITIONBODY = DESCRIPTOR.message_types_by_name['PositionBody'] +_ODOMETRY = DESCRIPTOR.message_types_by_name['Odometry'] +_DISTANCESENSOR = DESCRIPTOR.message_types_by_name['DistanceSensor'] +_SCALEDPRESSURE = DESCRIPTOR.message_types_by_name['ScaledPressure'] +_POSITIONNED = DESCRIPTOR.message_types_by_name['PositionNed'] +_VELOCITYNED = DESCRIPTOR.message_types_by_name['VelocityNed'] +_POSITIONVELOCITYNED = DESCRIPTOR.message_types_by_name['PositionVelocityNed'] +_GROUNDTRUTH = DESCRIPTOR.message_types_by_name['GroundTruth'] +_FIXEDWINGMETRICS = DESCRIPTOR.message_types_by_name['FixedwingMetrics'] +_ACCELERATIONFRD = DESCRIPTOR.message_types_by_name['AccelerationFrd'] +_ANGULARVELOCITYFRD = DESCRIPTOR.message_types_by_name['AngularVelocityFrd'] +_MAGNETICFIELDFRD = DESCRIPTOR.message_types_by_name['MagneticFieldFrd'] +_IMU = DESCRIPTOR.message_types_by_name['Imu'] +_TELEMETRYSERVERRESULT = DESCRIPTOR.message_types_by_name['TelemetryServerResult'] +_ODOMETRY_MAVFRAME = _ODOMETRY.enum_types_by_name['MavFrame'] +_TELEMETRYSERVERRESULT_RESULT = _TELEMETRYSERVERRESULT.enum_types_by_name['Result'] PublishPositionRequest = _reflection.GeneratedProtocolMessageType('PublishPositionRequest', (_message.Message,), { 'DESCRIPTOR' : _PUBLISHPOSITIONREQUEST, '__module__' : 'telemetry_server.telemetry_server_pb2' @@ -3303,207 +527,259 @@ }) _sym_db.RegisterMessage(TelemetryServerResult) - -DESCRIPTOR._options = None -_POSITION.fields_by_name['latitude_deg']._options = None -_POSITION.fields_by_name['longitude_deg']._options = None -_POSITION.fields_by_name['absolute_altitude_m']._options = None -_POSITION.fields_by_name['relative_altitude_m']._options = None -_HEADING.fields_by_name['heading_deg']._options = None -_QUATERNION.fields_by_name['w']._options = None -_QUATERNION.fields_by_name['x']._options = None -_QUATERNION.fields_by_name['y']._options = None -_QUATERNION.fields_by_name['z']._options = None -_EULERANGLE.fields_by_name['roll_deg']._options = None -_EULERANGLE.fields_by_name['pitch_deg']._options = None -_EULERANGLE.fields_by_name['yaw_deg']._options = None -_ANGULARVELOCITYBODY.fields_by_name['roll_rad_s']._options = None -_ANGULARVELOCITYBODY.fields_by_name['pitch_rad_s']._options = None -_ANGULARVELOCITYBODY.fields_by_name['yaw_rad_s']._options = None -_GPSINFO.fields_by_name['num_satellites']._options = None -_BATTERY.fields_by_name['voltage_v']._options = None -_BATTERY.fields_by_name['remaining_percent']._options = None -_RCSTATUS.fields_by_name['was_available_once']._options = None -_RCSTATUS.fields_by_name['is_available']._options = None -_RCSTATUS.fields_by_name['signal_strength_percent']._options = None -_ACTUATORCONTROLTARGET.fields_by_name['group']._options = None -_ACTUATOROUTPUTSTATUS.fields_by_name['active']._options = None -_DISTANCESENSOR.fields_by_name['minimum_distance_m']._options = None -_DISTANCESENSOR.fields_by_name['maximum_distance_m']._options = None -_DISTANCESENSOR.fields_by_name['current_distance_m']._options = None -_POSITIONNED.fields_by_name['north_m']._options = None -_POSITIONNED.fields_by_name['east_m']._options = None -_POSITIONNED.fields_by_name['down_m']._options = None -_GROUNDTRUTH.fields_by_name['latitude_deg']._options = None -_GROUNDTRUTH.fields_by_name['longitude_deg']._options = None -_GROUNDTRUTH.fields_by_name['absolute_altitude_m']._options = None -_FIXEDWINGMETRICS.fields_by_name['airspeed_m_s']._options = None -_FIXEDWINGMETRICS.fields_by_name['throttle_percentage']._options = None -_FIXEDWINGMETRICS.fields_by_name['climb_rate_m_s']._options = None -_ACCELERATIONFRD.fields_by_name['forward_m_s2']._options = None -_ACCELERATIONFRD.fields_by_name['right_m_s2']._options = None -_ACCELERATIONFRD.fields_by_name['down_m_s2']._options = None -_ANGULARVELOCITYFRD.fields_by_name['forward_rad_s']._options = None -_ANGULARVELOCITYFRD.fields_by_name['right_rad_s']._options = None -_ANGULARVELOCITYFRD.fields_by_name['down_rad_s']._options = None -_MAGNETICFIELDFRD.fields_by_name['forward_gauss']._options = None -_MAGNETICFIELDFRD.fields_by_name['right_gauss']._options = None -_MAGNETICFIELDFRD.fields_by_name['down_gauss']._options = None -_IMU.fields_by_name['temperature_degc']._options = None - -_TELEMETRYSERVERSERVICE = _descriptor.ServiceDescriptor( - name='TelemetryServerService', - full_name='mavsdk.rpc.telemetry_server.TelemetryServerService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=8129, - serialized_end=10061, - methods=[ - _descriptor.MethodDescriptor( - name='PublishPosition', - full_name='mavsdk.rpc.telemetry_server.TelemetryServerService.PublishPosition', - index=0, - containing_service=None, - input_type=_PUBLISHPOSITIONREQUEST, - output_type=_PUBLISHPOSITIONRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='PublishHome', - full_name='mavsdk.rpc.telemetry_server.TelemetryServerService.PublishHome', - index=1, - containing_service=None, - input_type=_PUBLISHHOMEREQUEST, - output_type=_PUBLISHHOMERESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='PublishSysStatus', - full_name='mavsdk.rpc.telemetry_server.TelemetryServerService.PublishSysStatus', - index=2, - containing_service=None, - input_type=_PUBLISHSYSSTATUSREQUEST, - output_type=_PUBLISHSYSSTATUSRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='PublishExtendedSysState', - full_name='mavsdk.rpc.telemetry_server.TelemetryServerService.PublishExtendedSysState', - index=3, - containing_service=None, - input_type=_PUBLISHEXTENDEDSYSSTATEREQUEST, - output_type=_PUBLISHEXTENDEDSYSSTATERESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='PublishRawGps', - full_name='mavsdk.rpc.telemetry_server.TelemetryServerService.PublishRawGps', - index=4, - containing_service=None, - input_type=_PUBLISHRAWGPSREQUEST, - output_type=_PUBLISHRAWGPSRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='PublishBattery', - full_name='mavsdk.rpc.telemetry_server.TelemetryServerService.PublishBattery', - index=5, - containing_service=None, - input_type=_PUBLISHBATTERYREQUEST, - output_type=_PUBLISHBATTERYRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='PublishStatusText', - full_name='mavsdk.rpc.telemetry_server.TelemetryServerService.PublishStatusText', - index=6, - containing_service=None, - input_type=_PUBLISHSTATUSTEXTREQUEST, - output_type=_PUBLISHSTATUSTEXTRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='PublishOdometry', - full_name='mavsdk.rpc.telemetry_server.TelemetryServerService.PublishOdometry', - index=7, - containing_service=None, - input_type=_PUBLISHODOMETRYREQUEST, - output_type=_PUBLISHODOMETRYRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='PublishPositionVelocityNed', - full_name='mavsdk.rpc.telemetry_server.TelemetryServerService.PublishPositionVelocityNed', - index=8, - containing_service=None, - input_type=_PUBLISHPOSITIONVELOCITYNEDREQUEST, - output_type=_PUBLISHPOSITIONVELOCITYNEDRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='PublishGroundTruth', - full_name='mavsdk.rpc.telemetry_server.TelemetryServerService.PublishGroundTruth', - index=9, - containing_service=None, - input_type=_PUBLISHGROUNDTRUTHREQUEST, - output_type=_PUBLISHGROUNDTRUTHRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='PublishImu', - full_name='mavsdk.rpc.telemetry_server.TelemetryServerService.PublishImu', - index=10, - containing_service=None, - input_type=_PUBLISHIMUREQUEST, - output_type=_PUBLISHIMURESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='PublishScaledImu', - full_name='mavsdk.rpc.telemetry_server.TelemetryServerService.PublishScaledImu', - index=11, - containing_service=None, - input_type=_PUBLISHSCALEDIMUREQUEST, - output_type=_PUBLISHSCALEDIMURESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='PublishRawImu', - full_name='mavsdk.rpc.telemetry_server.TelemetryServerService.PublishRawImu', - index=12, - containing_service=None, - input_type=_PUBLISHRAWIMUREQUEST, - output_type=_PUBLISHRAWIMURESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='PublishUnixEpochTime', - full_name='mavsdk.rpc.telemetry_server.TelemetryServerService.PublishUnixEpochTime', - index=13, - containing_service=None, - input_type=_PUBLISHUNIXEPOCHTIMEREQUEST, - output_type=_PUBLISHUNIXEPOCHTIMERESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_TELEMETRYSERVERSERVICE) - -DESCRIPTOR.services_by_name['TelemetryServerService'] = _TELEMETRYSERVERSERVICE - +_TELEMETRYSERVERSERVICE = DESCRIPTOR.services_by_name['TelemetryServerService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\032io.mavsdk.telemetry_serverB\024TelemetryServerProto' + _POSITION.fields_by_name['latitude_deg']._options = None + _POSITION.fields_by_name['latitude_deg']._serialized_options = b'\202\265\030\003NaN' + _POSITION.fields_by_name['longitude_deg']._options = None + _POSITION.fields_by_name['longitude_deg']._serialized_options = b'\202\265\030\003NaN' + _POSITION.fields_by_name['absolute_altitude_m']._options = None + _POSITION.fields_by_name['absolute_altitude_m']._serialized_options = b'\202\265\030\003NaN' + _POSITION.fields_by_name['relative_altitude_m']._options = None + _POSITION.fields_by_name['relative_altitude_m']._serialized_options = b'\202\265\030\003NaN' + _HEADING.fields_by_name['heading_deg']._options = None + _HEADING.fields_by_name['heading_deg']._serialized_options = b'\202\265\030\003NaN' + _QUATERNION.fields_by_name['w']._options = None + _QUATERNION.fields_by_name['w']._serialized_options = b'\202\265\030\003NaN' + _QUATERNION.fields_by_name['x']._options = None + _QUATERNION.fields_by_name['x']._serialized_options = b'\202\265\030\003NaN' + _QUATERNION.fields_by_name['y']._options = None + _QUATERNION.fields_by_name['y']._serialized_options = b'\202\265\030\003NaN' + _QUATERNION.fields_by_name['z']._options = None + _QUATERNION.fields_by_name['z']._serialized_options = b'\202\265\030\003NaN' + _EULERANGLE.fields_by_name['roll_deg']._options = None + _EULERANGLE.fields_by_name['roll_deg']._serialized_options = b'\202\265\030\003NaN' + _EULERANGLE.fields_by_name['pitch_deg']._options = None + _EULERANGLE.fields_by_name['pitch_deg']._serialized_options = b'\202\265\030\003NaN' + _EULERANGLE.fields_by_name['yaw_deg']._options = None + _EULERANGLE.fields_by_name['yaw_deg']._serialized_options = b'\202\265\030\003NaN' + _ANGULARVELOCITYBODY.fields_by_name['roll_rad_s']._options = None + _ANGULARVELOCITYBODY.fields_by_name['roll_rad_s']._serialized_options = b'\202\265\030\003NaN' + _ANGULARVELOCITYBODY.fields_by_name['pitch_rad_s']._options = None + _ANGULARVELOCITYBODY.fields_by_name['pitch_rad_s']._serialized_options = b'\202\265\030\003NaN' + _ANGULARVELOCITYBODY.fields_by_name['yaw_rad_s']._options = None + _ANGULARVELOCITYBODY.fields_by_name['yaw_rad_s']._serialized_options = b'\202\265\030\003NaN' + _GPSINFO.fields_by_name['num_satellites']._options = None + _GPSINFO.fields_by_name['num_satellites']._serialized_options = b'\202\265\030\0010' + _BATTERY.fields_by_name['voltage_v']._options = None + _BATTERY.fields_by_name['voltage_v']._serialized_options = b'\202\265\030\003NaN' + _BATTERY.fields_by_name['remaining_percent']._options = None + _BATTERY.fields_by_name['remaining_percent']._serialized_options = b'\202\265\030\003NaN' + _RCSTATUS.fields_by_name['was_available_once']._options = None + _RCSTATUS.fields_by_name['was_available_once']._serialized_options = b'\202\265\030\005false' + _RCSTATUS.fields_by_name['is_available']._options = None + _RCSTATUS.fields_by_name['is_available']._serialized_options = b'\202\265\030\005false' + _RCSTATUS.fields_by_name['signal_strength_percent']._options = None + _RCSTATUS.fields_by_name['signal_strength_percent']._serialized_options = b'\202\265\030\003NaN' + _ACTUATORCONTROLTARGET.fields_by_name['group']._options = None + _ACTUATORCONTROLTARGET.fields_by_name['group']._serialized_options = b'\202\265\030\0010' + _ACTUATOROUTPUTSTATUS.fields_by_name['active']._options = None + _ACTUATOROUTPUTSTATUS.fields_by_name['active']._serialized_options = b'\202\265\030\0010' + _DISTANCESENSOR.fields_by_name['minimum_distance_m']._options = None + _DISTANCESENSOR.fields_by_name['minimum_distance_m']._serialized_options = b'\202\265\030\003NaN' + _DISTANCESENSOR.fields_by_name['maximum_distance_m']._options = None + _DISTANCESENSOR.fields_by_name['maximum_distance_m']._serialized_options = b'\202\265\030\003NaN' + _DISTANCESENSOR.fields_by_name['current_distance_m']._options = None + _DISTANCESENSOR.fields_by_name['current_distance_m']._serialized_options = b'\202\265\030\003NaN' + _POSITIONNED.fields_by_name['north_m']._options = None + _POSITIONNED.fields_by_name['north_m']._serialized_options = b'\202\265\030\003NaN' + _POSITIONNED.fields_by_name['east_m']._options = None + _POSITIONNED.fields_by_name['east_m']._serialized_options = b'\202\265\030\003NaN' + _POSITIONNED.fields_by_name['down_m']._options = None + _POSITIONNED.fields_by_name['down_m']._serialized_options = b'\202\265\030\003NaN' + _GROUNDTRUTH.fields_by_name['latitude_deg']._options = None + _GROUNDTRUTH.fields_by_name['latitude_deg']._serialized_options = b'\202\265\030\003NaN' + _GROUNDTRUTH.fields_by_name['longitude_deg']._options = None + _GROUNDTRUTH.fields_by_name['longitude_deg']._serialized_options = b'\202\265\030\003NaN' + _GROUNDTRUTH.fields_by_name['absolute_altitude_m']._options = None + _GROUNDTRUTH.fields_by_name['absolute_altitude_m']._serialized_options = b'\202\265\030\003NaN' + _FIXEDWINGMETRICS.fields_by_name['airspeed_m_s']._options = None + _FIXEDWINGMETRICS.fields_by_name['airspeed_m_s']._serialized_options = b'\202\265\030\003NaN' + _FIXEDWINGMETRICS.fields_by_name['throttle_percentage']._options = None + _FIXEDWINGMETRICS.fields_by_name['throttle_percentage']._serialized_options = b'\202\265\030\003NaN' + _FIXEDWINGMETRICS.fields_by_name['climb_rate_m_s']._options = None + _FIXEDWINGMETRICS.fields_by_name['climb_rate_m_s']._serialized_options = b'\202\265\030\003NaN' + _ACCELERATIONFRD.fields_by_name['forward_m_s2']._options = None + _ACCELERATIONFRD.fields_by_name['forward_m_s2']._serialized_options = b'\202\265\030\003NaN' + _ACCELERATIONFRD.fields_by_name['right_m_s2']._options = None + _ACCELERATIONFRD.fields_by_name['right_m_s2']._serialized_options = b'\202\265\030\003NaN' + _ACCELERATIONFRD.fields_by_name['down_m_s2']._options = None + _ACCELERATIONFRD.fields_by_name['down_m_s2']._serialized_options = b'\202\265\030\003NaN' + _ANGULARVELOCITYFRD.fields_by_name['forward_rad_s']._options = None + _ANGULARVELOCITYFRD.fields_by_name['forward_rad_s']._serialized_options = b'\202\265\030\003NaN' + _ANGULARVELOCITYFRD.fields_by_name['right_rad_s']._options = None + _ANGULARVELOCITYFRD.fields_by_name['right_rad_s']._serialized_options = b'\202\265\030\003NaN' + _ANGULARVELOCITYFRD.fields_by_name['down_rad_s']._options = None + _ANGULARVELOCITYFRD.fields_by_name['down_rad_s']._serialized_options = b'\202\265\030\003NaN' + _MAGNETICFIELDFRD.fields_by_name['forward_gauss']._options = None + _MAGNETICFIELDFRD.fields_by_name['forward_gauss']._serialized_options = b'\202\265\030\003NaN' + _MAGNETICFIELDFRD.fields_by_name['right_gauss']._options = None + _MAGNETICFIELDFRD.fields_by_name['right_gauss']._serialized_options = b'\202\265\030\003NaN' + _MAGNETICFIELDFRD.fields_by_name['down_gauss']._options = None + _MAGNETICFIELDFRD.fields_by_name['down_gauss']._serialized_options = b'\202\265\030\003NaN' + _IMU.fields_by_name['temperature_degc']._options = None + _IMU.fields_by_name['temperature_degc']._serialized_options = b'\202\265\030\003NaN' + _TELEMETRYSERVERSERVICE.methods_by_name['PublishPosition']._options = None + _TELEMETRYSERVERSERVICE.methods_by_name['PublishPosition']._serialized_options = b'\200\265\030\001' + _TELEMETRYSERVERSERVICE.methods_by_name['PublishHome']._options = None + _TELEMETRYSERVERSERVICE.methods_by_name['PublishHome']._serialized_options = b'\200\265\030\001' + _TELEMETRYSERVERSERVICE.methods_by_name['PublishSysStatus']._options = None + _TELEMETRYSERVERSERVICE.methods_by_name['PublishSysStatus']._serialized_options = b'\200\265\030\001' + _TELEMETRYSERVERSERVICE.methods_by_name['PublishExtendedSysState']._options = None + _TELEMETRYSERVERSERVICE.methods_by_name['PublishExtendedSysState']._serialized_options = b'\200\265\030\001' + _TELEMETRYSERVERSERVICE.methods_by_name['PublishRawGps']._options = None + _TELEMETRYSERVERSERVICE.methods_by_name['PublishRawGps']._serialized_options = b'\200\265\030\001' + _TELEMETRYSERVERSERVICE.methods_by_name['PublishBattery']._options = None + _TELEMETRYSERVERSERVICE.methods_by_name['PublishBattery']._serialized_options = b'\200\265\030\001' + _TELEMETRYSERVERSERVICE.methods_by_name['PublishStatusText']._options = None + _TELEMETRYSERVERSERVICE.methods_by_name['PublishStatusText']._serialized_options = b'\200\265\030\001' + _TELEMETRYSERVERSERVICE.methods_by_name['PublishOdometry']._options = None + _TELEMETRYSERVERSERVICE.methods_by_name['PublishOdometry']._serialized_options = b'\200\265\030\001' + _TELEMETRYSERVERSERVICE.methods_by_name['PublishPositionVelocityNed']._options = None + _TELEMETRYSERVERSERVICE.methods_by_name['PublishPositionVelocityNed']._serialized_options = b'\200\265\030\001' + _TELEMETRYSERVERSERVICE.methods_by_name['PublishGroundTruth']._options = None + _TELEMETRYSERVERSERVICE.methods_by_name['PublishGroundTruth']._serialized_options = b'\200\265\030\001' + _TELEMETRYSERVERSERVICE.methods_by_name['PublishImu']._options = None + _TELEMETRYSERVERSERVICE.methods_by_name['PublishImu']._serialized_options = b'\200\265\030\001' + _TELEMETRYSERVERSERVICE.methods_by_name['PublishScaledImu']._options = None + _TELEMETRYSERVERSERVICE.methods_by_name['PublishScaledImu']._serialized_options = b'\200\265\030\001' + _TELEMETRYSERVERSERVICE.methods_by_name['PublishRawImu']._options = None + _TELEMETRYSERVERSERVICE.methods_by_name['PublishRawImu']._serialized_options = b'\200\265\030\001' + _TELEMETRYSERVERSERVICE.methods_by_name['PublishUnixEpochTime']._options = None + _TELEMETRYSERVERSERVICE.methods_by_name['PublishUnixEpochTime']._serialized_options = b'\200\265\030\001' + _FIXTYPE._serialized_start=7416 + _FIXTYPE._serialized_end=7580 + _VTOLSTATE._serialized_start=7583 + _VTOLSTATE._serialized_end=7724 + _STATUSTEXTTYPE._serialized_start=7727 + _STATUSTEXTTYPE._serialized_end=7976 + _LANDEDSTATE._serialized_start=7979 + _LANDEDSTATE._serialized_end=8126 + _PUBLISHPOSITIONREQUEST._serialized_start=95 + _PUBLISHPOSITIONREQUEST._serialized_end=295 + _PUBLISHHOMEREQUEST._serialized_start=297 + _PUBLISHHOMEREQUEST._serialized_end=370 + _PUBLISHSYSSTATUSREQUEST._serialized_start=373 + _PUBLISHSYSSTATUSREQUEST._serialized_end=564 + _PUBLISHEXTENDEDSYSSTATEREQUEST._serialized_start=567 + _PUBLISHEXTENDEDSYSSTATEREQUEST._serialized_end=723 + _PUBLISHINAIRREQUEST._serialized_start=725 + _PUBLISHINAIRREQUEST._serialized_end=765 + _PUBLISHLANDEDSTATEREQUEST._serialized_start=767 + _PUBLISHLANDEDSTATEREQUEST._serialized_end=858 + _PUBLISHRAWGPSREQUEST._serialized_start=861 + _PUBLISHRAWGPSREQUEST._serialized_end=993 + _PUBLISHBATTERYREQUEST._serialized_start=995 + _PUBLISHBATTERYREQUEST._serialized_end=1073 + _PUBLISHRCSTATUSREQUEST._serialized_start=1075 + _PUBLISHRCSTATUSREQUEST._serialized_end=1157 + _PUBLISHSTATUSTEXTREQUEST._serialized_start=1159 + _PUBLISHSTATUSTEXTREQUEST._serialized_end=1247 + _PUBLISHODOMETRYREQUEST._serialized_start=1249 + _PUBLISHODOMETRYREQUEST._serialized_end=1330 + _PUBLISHPOSITIONVELOCITYNEDREQUEST._serialized_start=1332 + _PUBLISHPOSITIONVELOCITYNEDREQUEST._serialized_end=1448 + _PUBLISHGROUNDTRUTHREQUEST._serialized_start=1450 + _PUBLISHGROUNDTRUTHREQUEST._serialized_end=1541 + _PUBLISHIMUREQUEST._serialized_start=1543 + _PUBLISHIMUREQUEST._serialized_end=1609 + _PUBLISHSCALEDIMUREQUEST._serialized_start=1611 + _PUBLISHSCALEDIMUREQUEST._serialized_end=1683 + _PUBLISHRAWIMUREQUEST._serialized_start=1685 + _PUBLISHRAWIMUREQUEST._serialized_end=1754 + _PUBLISHUNIXEPOCHTIMEREQUEST._serialized_start=1756 + _PUBLISHUNIXEPOCHTIMEREQUEST._serialized_end=1802 + _PUBLISHPOSITIONRESPONSE._serialized_start=1804 + _PUBLISHPOSITIONRESPONSE._serialized_end=1914 + _PUBLISHHOMERESPONSE._serialized_start=1916 + _PUBLISHHOMERESPONSE._serialized_end=2022 + _PUBLISHSYSSTATUSRESPONSE._serialized_start=2024 + _PUBLISHSYSSTATUSRESPONSE._serialized_end=2135 + _PUBLISHEXTENDEDSYSSTATERESPONSE._serialized_start=2137 + _PUBLISHEXTENDEDSYSSTATERESPONSE._serialized_end=2255 + _PUBLISHRAWGPSRESPONSE._serialized_start=2257 + _PUBLISHRAWGPSRESPONSE._serialized_end=2365 + _PUBLISHBATTERYRESPONSE._serialized_start=2367 + _PUBLISHBATTERYRESPONSE._serialized_end=2476 + _PUBLISHSTATUSTEXTRESPONSE._serialized_start=2478 + _PUBLISHSTATUSTEXTRESPONSE._serialized_end=2590 + _PUBLISHODOMETRYRESPONSE._serialized_start=2592 + _PUBLISHODOMETRYRESPONSE._serialized_end=2702 + _PUBLISHPOSITIONVELOCITYNEDRESPONSE._serialized_start=2704 + _PUBLISHPOSITIONVELOCITYNEDRESPONSE._serialized_end=2825 + _PUBLISHGROUNDTRUTHRESPONSE._serialized_start=2827 + _PUBLISHGROUNDTRUTHRESPONSE._serialized_end=2940 + _PUBLISHIMURESPONSE._serialized_start=2942 + _PUBLISHIMURESPONSE._serialized_end=3047 + _PUBLISHSCALEDIMURESPONSE._serialized_start=3049 + _PUBLISHSCALEDIMURESPONSE._serialized_end=3160 + _PUBLISHRAWIMURESPONSE._serialized_start=3162 + _PUBLISHRAWIMURESPONSE._serialized_end=3270 + _PUBLISHUNIXEPOCHTIMERESPONSE._serialized_start=3272 + _PUBLISHUNIXEPOCHTIMERESPONSE._serialized_end=3387 + _POSITION._serialized_start=3390 + _POSITION._serialized_end=3539 + _HEADING._serialized_start=3541 + _HEADING._serialized_end=3580 + _QUATERNION._serialized_start=3582 + _QUATERNION._serialized_end=3696 + _EULERANGLE._serialized_start=3698 + _EULERANGLE._serialized_end=3813 + _ANGULARVELOCITYBODY._serialized_start=3815 + _ANGULARVELOCITYBODY._serialized_end=3923 + _GPSINFO._serialized_start=3925 + _GPSINFO._serialized_end=4021 + _RAWGPS._serialized_start=4024 + _RAWGPS._serialized_end=4375 + _BATTERY._serialized_start=4377 + _BATTERY._serialized_end=4450 + _RCSTATUS._serialized_start=4452 + _RCSTATUS._serialized_end=4576 + _STATUSTEXT._serialized_start=4578 + _STATUSTEXT._serialized_end=4663 + _ACTUATORCONTROLTARGET._serialized_start=4665 + _ACTUATORCONTROLTARGET._serialized_end=4728 + _ACTUATOROUTPUTSTATUS._serialized_start=4730 + _ACTUATOROUTPUTSTATUS._serialized_end=4793 + _COVARIANCE._serialized_start=4795 + _COVARIANCE._serialized_end=4834 + _VELOCITYBODY._serialized_start=4836 + _VELOCITYBODY._serialized_end=4895 + _POSITIONBODY._serialized_start=4897 + _POSITIONBODY._serialized_end=4950 + _ODOMETRY._serialized_start=4953 + _ODOMETRY._serialized_end=5629 + _ODOMETRY_MAVFRAME._serialized_start=5523 + _ODOMETRY_MAVFRAME._serialized_end=5629 + _DISTANCESENSOR._serialized_start=5631 + _DISTANCESENSOR._serialized_end=5758 + _SCALEDPRESSURE._serialized_start=5761 + _SCALEDPRESSURE._serialized_end=5937 + _POSITIONNED._serialized_start=5939 + _POSITIONNED._serialized_end=6028 + _VELOCITYNED._serialized_start=6030 + _VELOCITYNED._serialized_end=6098 + _POSITIONVELOCITYNED._serialized_start=6101 + _POSITIONVELOCITYNED._serialized_end=6242 + _GROUNDTRUTH._serialized_start=6244 + _GROUNDTRUTH._serialized_end=6358 + _FIXEDWINGMETRICS._serialized_start=6360 + _FIXEDWINGMETRICS._serialized_end=6480 + _ACCELERATIONFRD._serialized_start=6482 + _ACCELERATIONFRD._serialized_end=6587 + _ANGULARVELOCITYFRD._serialized_start=6589 + _ANGULARVELOCITYFRD._serialized_end=6700 + _MAGNETICFIELDFRD._serialized_start=6702 + _MAGNETICFIELDFRD._serialized_end=6811 + _IMU._serialized_start=6814 + _IMU._serialized_end=7102 + _TELEMETRYSERVERRESULT._serialized_start=7105 + _TELEMETRYSERVERRESULT._serialized_end=7413 + _TELEMETRYSERVERRESULT_RESULT._serialized_start=7226 + _TELEMETRYSERVERRESULT_RESULT._serialized_end=7413 + _TELEMETRYSERVERSERVICE._serialized_start=8129 + _TELEMETRYSERVERSERVICE._serialized_end=10061 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/tracking_server_pb2.py b/mavsdk/tracking_server_pb2.py index e45a5c2b..b793393b 100644 --- a/mavsdk/tracking_server_pb2.py +++ b/mavsdk/tracking_server_pb2.py @@ -4,6 +4,7 @@ """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -15,56 +16,9 @@ from . import mavsdk_options_pb2 as mavsdk__options__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='tracking_server/tracking_server.proto', - package='mavsdk.rpc.tracking_server', - syntax='proto3', - serialized_options=b'\n\031io.mavsdk.tracking_serverB\023TrackingServerProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n%tracking_server/tracking_server.proto\x12\x1amavsdk.rpc.tracking_server\x1a\x14mavsdk_options.proto\"^\n\x1dSetTrackingPointStatusRequest\x12=\n\rtracked_point\x18\x01 \x01(\x0b\x32&.mavsdk.rpc.tracking_server.TrackPoint\" \n\x1eSetTrackingPointStatusResponse\"j\n!SetTrackingRectangleStatusRequest\x12\x45\n\x11tracked_rectangle\x18\x01 \x01(\x0b\x32*.mavsdk.rpc.tracking_server.TrackRectangle\"$\n\"SetTrackingRectangleStatusResponse\"\x1d\n\x1bSetTrackingOffStatusRequest\"\x1e\n\x1cSetTrackingOffStatusResponse\"&\n$SubscribeTrackingPointCommandRequest\"[\n\x1cTrackingPointCommandResponse\x12;\n\x0btrack_point\x18\x01 \x01(\x0b\x32&.mavsdk.rpc.tracking_server.TrackPoint\"*\n(SubscribeTrackingRectangleCommandRequest\"g\n TrackingRectangleCommandResponse\x12\x43\n\x0ftrack_rectangle\x18\x01 \x01(\x0b\x32*.mavsdk.rpc.tracking_server.TrackRectangle\"$\n\"SubscribeTrackingOffCommandRequest\"+\n\x1aTrackingOffCommandResponse\x12\r\n\x05\x64ummy\x18\x01 \x01(\x05\"g\n\"RespondTrackingPointCommandRequest\x12\x41\n\x0e\x63ommand_answer\x18\x01 \x01(\x0e\x32).mavsdk.rpc.tracking_server.CommandAnswer\"w\n#RespondTrackingPointCommandResponse\x12P\n\x16tracking_server_result\x18\x01 \x01(\x0b\x32\x30.mavsdk.rpc.tracking_server.TrackingServerResult\"k\n&RespondTrackingRectangleCommandRequest\x12\x41\n\x0e\x63ommand_answer\x18\x01 \x01(\x0e\x32).mavsdk.rpc.tracking_server.CommandAnswer\"{\n\'RespondTrackingRectangleCommandResponse\x12P\n\x16tracking_server_result\x18\x01 \x01(\x0b\x32\x30.mavsdk.rpc.tracking_server.TrackingServerResult\"e\n RespondTrackingOffCommandRequest\x12\x41\n\x0e\x63ommand_answer\x18\x01 \x01(\x0e\x32).mavsdk.rpc.tracking_server.CommandAnswer\"u\n!RespondTrackingOffCommandResponse\x12P\n\x16tracking_server_result\x18\x01 \x01(\x0b\x32\x30.mavsdk.rpc.tracking_server.TrackingServerResult\">\n\nTrackPoint\x12\x0f\n\x07point_x\x18\x01 \x01(\x02\x12\x0f\n\x07point_y\x18\x02 \x01(\x02\x12\x0e\n\x06radius\x18\x03 \x01(\x02\"\x84\x01\n\x0eTrackRectangle\x12\x19\n\x11top_left_corner_x\x18\x01 \x01(\x02\x12\x19\n\x11top_left_corner_y\x18\x02 \x01(\x02\x12\x1d\n\x15\x62ottom_right_corner_x\x18\x03 \x01(\x02\x12\x1d\n\x15\x62ottom_right_corner_y\x18\x04 \x01(\x02\"\xd8\x01\n\x14TrackingServerResult\x12G\n\x06result\x18\x01 \x01(\x0e\x32\x37.mavsdk.rpc.tracking_server.TrackingServerResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"c\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03*\xab\x01\n\rCommandAnswer\x12\x1b\n\x17\x43OMMAND_ANSWER_ACCEPTED\x10\x00\x12\'\n#COMMAND_ANSWER_TEMPORARILY_REJECTED\x10\x01\x12\x19\n\x15\x43OMMAND_ANSWER_DENIED\x10\x02\x12\x1e\n\x1a\x43OMMAND_ANSWER_UNSUPPORTED\x10\x03\x12\x19\n\x15\x43OMMAND_ANSWER_FAILED\x10\x04\x32\xd8\x0b\n\x15TrackingServerService\x12\x95\x01\n\x16SetTrackingPointStatus\x12\x39.mavsdk.rpc.tracking_server.SetTrackingPointStatusRequest\x1a:.mavsdk.rpc.tracking_server.SetTrackingPointStatusResponse\"\x04\x80\xb5\x18\x01\x12\xa1\x01\n\x1aSetTrackingRectangleStatus\x12=.mavsdk.rpc.tracking_server.SetTrackingRectangleStatusRequest\x1a>.mavsdk.rpc.tracking_server.SetTrackingRectangleStatusResponse\"\x04\x80\xb5\x18\x01\x12\x8f\x01\n\x14SetTrackingOffStatus\x12\x37.mavsdk.rpc.tracking_server.SetTrackingOffStatusRequest\x1a\x38.mavsdk.rpc.tracking_server.SetTrackingOffStatusResponse\"\x04\x80\xb5\x18\x01\x12\xa3\x01\n\x1dSubscribeTrackingPointCommand\x12@.mavsdk.rpc.tracking_server.SubscribeTrackingPointCommandRequest\x1a\x38.mavsdk.rpc.tracking_server.TrackingPointCommandResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12\xaf\x01\n!SubscribeTrackingRectangleCommand\x12\x44.mavsdk.rpc.tracking_server.SubscribeTrackingRectangleCommandRequest\x1a<.mavsdk.rpc.tracking_server.TrackingRectangleCommandResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12\x9d\x01\n\x1bSubscribeTrackingOffCommand\x12>.mavsdk.rpc.tracking_server.SubscribeTrackingOffCommandRequest\x1a\x36.mavsdk.rpc.tracking_server.TrackingOffCommandResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12\xa4\x01\n\x1bRespondTrackingPointCommand\x12>.mavsdk.rpc.tracking_server.RespondTrackingPointCommandRequest\x1a?.mavsdk.rpc.tracking_server.RespondTrackingPointCommandResponse\"\x04\x80\xb5\x18\x01\x12\xb0\x01\n\x1fRespondTrackingRectangleCommand\x12\x42.mavsdk.rpc.tracking_server.RespondTrackingRectangleCommandRequest\x1a\x43.mavsdk.rpc.tracking_server.RespondTrackingRectangleCommandResponse\"\x04\x80\xb5\x18\x01\x12\x9e\x01\n\x19RespondTrackingOffCommand\x12<.mavsdk.rpc.tracking_server.RespondTrackingOffCommandRequest\x1a=.mavsdk.rpc.tracking_server.RespondTrackingOffCommandResponse\"\x04\x80\xb5\x18\x01\x42\x30\n\x19io.mavsdk.tracking_serverB\x13TrackingServerProtob\x06proto3' - , - dependencies=[mavsdk__options__pb2.DESCRIPTOR,]) - -_COMMANDANSWER = _descriptor.EnumDescriptor( - name='CommandAnswer', - full_name='mavsdk.rpc.tracking_server.CommandAnswer', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='COMMAND_ANSWER_ACCEPTED', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='COMMAND_ANSWER_TEMPORARILY_REJECTED', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='COMMAND_ANSWER_DENIED', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='COMMAND_ANSWER_UNSUPPORTED', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='COMMAND_ANSWER_FAILED', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=1896, - serialized_end=2067, -) -_sym_db.RegisterEnumDescriptor(_COMMANDANSWER) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%tracking_server/tracking_server.proto\x12\x1amavsdk.rpc.tracking_server\x1a\x14mavsdk_options.proto\"^\n\x1dSetTrackingPointStatusRequest\x12=\n\rtracked_point\x18\x01 \x01(\x0b\x32&.mavsdk.rpc.tracking_server.TrackPoint\" \n\x1eSetTrackingPointStatusResponse\"j\n!SetTrackingRectangleStatusRequest\x12\x45\n\x11tracked_rectangle\x18\x01 \x01(\x0b\x32*.mavsdk.rpc.tracking_server.TrackRectangle\"$\n\"SetTrackingRectangleStatusResponse\"\x1d\n\x1bSetTrackingOffStatusRequest\"\x1e\n\x1cSetTrackingOffStatusResponse\"&\n$SubscribeTrackingPointCommandRequest\"[\n\x1cTrackingPointCommandResponse\x12;\n\x0btrack_point\x18\x01 \x01(\x0b\x32&.mavsdk.rpc.tracking_server.TrackPoint\"*\n(SubscribeTrackingRectangleCommandRequest\"g\n TrackingRectangleCommandResponse\x12\x43\n\x0ftrack_rectangle\x18\x01 \x01(\x0b\x32*.mavsdk.rpc.tracking_server.TrackRectangle\"$\n\"SubscribeTrackingOffCommandRequest\"+\n\x1aTrackingOffCommandResponse\x12\r\n\x05\x64ummy\x18\x01 \x01(\x05\"g\n\"RespondTrackingPointCommandRequest\x12\x41\n\x0e\x63ommand_answer\x18\x01 \x01(\x0e\x32).mavsdk.rpc.tracking_server.CommandAnswer\"w\n#RespondTrackingPointCommandResponse\x12P\n\x16tracking_server_result\x18\x01 \x01(\x0b\x32\x30.mavsdk.rpc.tracking_server.TrackingServerResult\"k\n&RespondTrackingRectangleCommandRequest\x12\x41\n\x0e\x63ommand_answer\x18\x01 \x01(\x0e\x32).mavsdk.rpc.tracking_server.CommandAnswer\"{\n\'RespondTrackingRectangleCommandResponse\x12P\n\x16tracking_server_result\x18\x01 \x01(\x0b\x32\x30.mavsdk.rpc.tracking_server.TrackingServerResult\"e\n RespondTrackingOffCommandRequest\x12\x41\n\x0e\x63ommand_answer\x18\x01 \x01(\x0e\x32).mavsdk.rpc.tracking_server.CommandAnswer\"u\n!RespondTrackingOffCommandResponse\x12P\n\x16tracking_server_result\x18\x01 \x01(\x0b\x32\x30.mavsdk.rpc.tracking_server.TrackingServerResult\">\n\nTrackPoint\x12\x0f\n\x07point_x\x18\x01 \x01(\x02\x12\x0f\n\x07point_y\x18\x02 \x01(\x02\x12\x0e\n\x06radius\x18\x03 \x01(\x02\"\x84\x01\n\x0eTrackRectangle\x12\x19\n\x11top_left_corner_x\x18\x01 \x01(\x02\x12\x19\n\x11top_left_corner_y\x18\x02 \x01(\x02\x12\x1d\n\x15\x62ottom_right_corner_x\x18\x03 \x01(\x02\x12\x1d\n\x15\x62ottom_right_corner_y\x18\x04 \x01(\x02\"\xd8\x01\n\x14TrackingServerResult\x12G\n\x06result\x18\x01 \x01(\x0e\x32\x37.mavsdk.rpc.tracking_server.TrackingServerResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"c\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03*\xab\x01\n\rCommandAnswer\x12\x1b\n\x17\x43OMMAND_ANSWER_ACCEPTED\x10\x00\x12\'\n#COMMAND_ANSWER_TEMPORARILY_REJECTED\x10\x01\x12\x19\n\x15\x43OMMAND_ANSWER_DENIED\x10\x02\x12\x1e\n\x1a\x43OMMAND_ANSWER_UNSUPPORTED\x10\x03\x12\x19\n\x15\x43OMMAND_ANSWER_FAILED\x10\x04\x32\xd8\x0b\n\x15TrackingServerService\x12\x95\x01\n\x16SetTrackingPointStatus\x12\x39.mavsdk.rpc.tracking_server.SetTrackingPointStatusRequest\x1a:.mavsdk.rpc.tracking_server.SetTrackingPointStatusResponse\"\x04\x80\xb5\x18\x01\x12\xa1\x01\n\x1aSetTrackingRectangleStatus\x12=.mavsdk.rpc.tracking_server.SetTrackingRectangleStatusRequest\x1a>.mavsdk.rpc.tracking_server.SetTrackingRectangleStatusResponse\"\x04\x80\xb5\x18\x01\x12\x8f\x01\n\x14SetTrackingOffStatus\x12\x37.mavsdk.rpc.tracking_server.SetTrackingOffStatusRequest\x1a\x38.mavsdk.rpc.tracking_server.SetTrackingOffStatusResponse\"\x04\x80\xb5\x18\x01\x12\xa3\x01\n\x1dSubscribeTrackingPointCommand\x12@.mavsdk.rpc.tracking_server.SubscribeTrackingPointCommandRequest\x1a\x38.mavsdk.rpc.tracking_server.TrackingPointCommandResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12\xaf\x01\n!SubscribeTrackingRectangleCommand\x12\x44.mavsdk.rpc.tracking_server.SubscribeTrackingRectangleCommandRequest\x1a<.mavsdk.rpc.tracking_server.TrackingRectangleCommandResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12\x9d\x01\n\x1bSubscribeTrackingOffCommand\x12>.mavsdk.rpc.tracking_server.SubscribeTrackingOffCommandRequest\x1a\x36.mavsdk.rpc.tracking_server.TrackingOffCommandResponse\"\x04\x80\xb5\x18\x00\x30\x01\x12\xa4\x01\n\x1bRespondTrackingPointCommand\x12>.mavsdk.rpc.tracking_server.RespondTrackingPointCommandRequest\x1a?.mavsdk.rpc.tracking_server.RespondTrackingPointCommandResponse\"\x04\x80\xb5\x18\x01\x12\xb0\x01\n\x1fRespondTrackingRectangleCommand\x12\x42.mavsdk.rpc.tracking_server.RespondTrackingRectangleCommandRequest\x1a\x43.mavsdk.rpc.tracking_server.RespondTrackingRectangleCommandResponse\"\x04\x80\xb5\x18\x01\x12\x9e\x01\n\x19RespondTrackingOffCommand\x12<.mavsdk.rpc.tracking_server.RespondTrackingOffCommandRequest\x1a=.mavsdk.rpc.tracking_server.RespondTrackingOffCommandResponse\"\x04\x80\xb5\x18\x01\x42\x30\n\x19io.mavsdk.tracking_serverB\x13TrackingServerProtob\x06proto3') +_COMMANDANSWER = DESCRIPTOR.enum_types_by_name['CommandAnswer'] CommandAnswer = enum_type_wrapper.EnumTypeWrapper(_COMMANDANSWER) COMMAND_ANSWER_ACCEPTED = 0 COMMAND_ANSWER_TEMPORARILY_REJECTED = 1 @@ -73,743 +27,28 @@ COMMAND_ANSWER_FAILED = 4 -_TRACKINGSERVERRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.tracking_server.TrackingServerResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_CONNECTION_ERROR', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=1794, - serialized_end=1893, -) -_sym_db.RegisterEnumDescriptor(_TRACKINGSERVERRESULT_RESULT) - - -_SETTRACKINGPOINTSTATUSREQUEST = _descriptor.Descriptor( - name='SetTrackingPointStatusRequest', - full_name='mavsdk.rpc.tracking_server.SetTrackingPointStatusRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='tracked_point', full_name='mavsdk.rpc.tracking_server.SetTrackingPointStatusRequest.tracked_point', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=91, - serialized_end=185, -) - - -_SETTRACKINGPOINTSTATUSRESPONSE = _descriptor.Descriptor( - name='SetTrackingPointStatusResponse', - full_name='mavsdk.rpc.tracking_server.SetTrackingPointStatusResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=187, - serialized_end=219, -) - - -_SETTRACKINGRECTANGLESTATUSREQUEST = _descriptor.Descriptor( - name='SetTrackingRectangleStatusRequest', - full_name='mavsdk.rpc.tracking_server.SetTrackingRectangleStatusRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='tracked_rectangle', full_name='mavsdk.rpc.tracking_server.SetTrackingRectangleStatusRequest.tracked_rectangle', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=221, - serialized_end=327, -) - - -_SETTRACKINGRECTANGLESTATUSRESPONSE = _descriptor.Descriptor( - name='SetTrackingRectangleStatusResponse', - full_name='mavsdk.rpc.tracking_server.SetTrackingRectangleStatusResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=329, - serialized_end=365, -) - - -_SETTRACKINGOFFSTATUSREQUEST = _descriptor.Descriptor( - name='SetTrackingOffStatusRequest', - full_name='mavsdk.rpc.tracking_server.SetTrackingOffStatusRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=367, - serialized_end=396, -) - - -_SETTRACKINGOFFSTATUSRESPONSE = _descriptor.Descriptor( - name='SetTrackingOffStatusResponse', - full_name='mavsdk.rpc.tracking_server.SetTrackingOffStatusResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=398, - serialized_end=428, -) - - -_SUBSCRIBETRACKINGPOINTCOMMANDREQUEST = _descriptor.Descriptor( - name='SubscribeTrackingPointCommandRequest', - full_name='mavsdk.rpc.tracking_server.SubscribeTrackingPointCommandRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=430, - serialized_end=468, -) - - -_TRACKINGPOINTCOMMANDRESPONSE = _descriptor.Descriptor( - name='TrackingPointCommandResponse', - full_name='mavsdk.rpc.tracking_server.TrackingPointCommandResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='track_point', full_name='mavsdk.rpc.tracking_server.TrackingPointCommandResponse.track_point', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=470, - serialized_end=561, -) - - -_SUBSCRIBETRACKINGRECTANGLECOMMANDREQUEST = _descriptor.Descriptor( - name='SubscribeTrackingRectangleCommandRequest', - full_name='mavsdk.rpc.tracking_server.SubscribeTrackingRectangleCommandRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=563, - serialized_end=605, -) - - -_TRACKINGRECTANGLECOMMANDRESPONSE = _descriptor.Descriptor( - name='TrackingRectangleCommandResponse', - full_name='mavsdk.rpc.tracking_server.TrackingRectangleCommandResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='track_rectangle', full_name='mavsdk.rpc.tracking_server.TrackingRectangleCommandResponse.track_rectangle', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=607, - serialized_end=710, -) - - -_SUBSCRIBETRACKINGOFFCOMMANDREQUEST = _descriptor.Descriptor( - name='SubscribeTrackingOffCommandRequest', - full_name='mavsdk.rpc.tracking_server.SubscribeTrackingOffCommandRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=712, - serialized_end=748, -) - - -_TRACKINGOFFCOMMANDRESPONSE = _descriptor.Descriptor( - name='TrackingOffCommandResponse', - full_name='mavsdk.rpc.tracking_server.TrackingOffCommandResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='dummy', full_name='mavsdk.rpc.tracking_server.TrackingOffCommandResponse.dummy', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=750, - serialized_end=793, -) - - -_RESPONDTRACKINGPOINTCOMMANDREQUEST = _descriptor.Descriptor( - name='RespondTrackingPointCommandRequest', - full_name='mavsdk.rpc.tracking_server.RespondTrackingPointCommandRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='command_answer', full_name='mavsdk.rpc.tracking_server.RespondTrackingPointCommandRequest.command_answer', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=795, - serialized_end=898, -) - - -_RESPONDTRACKINGPOINTCOMMANDRESPONSE = _descriptor.Descriptor( - name='RespondTrackingPointCommandResponse', - full_name='mavsdk.rpc.tracking_server.RespondTrackingPointCommandResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='tracking_server_result', full_name='mavsdk.rpc.tracking_server.RespondTrackingPointCommandResponse.tracking_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=900, - serialized_end=1019, -) - - -_RESPONDTRACKINGRECTANGLECOMMANDREQUEST = _descriptor.Descriptor( - name='RespondTrackingRectangleCommandRequest', - full_name='mavsdk.rpc.tracking_server.RespondTrackingRectangleCommandRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='command_answer', full_name='mavsdk.rpc.tracking_server.RespondTrackingRectangleCommandRequest.command_answer', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1021, - serialized_end=1128, -) - - -_RESPONDTRACKINGRECTANGLECOMMANDRESPONSE = _descriptor.Descriptor( - name='RespondTrackingRectangleCommandResponse', - full_name='mavsdk.rpc.tracking_server.RespondTrackingRectangleCommandResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='tracking_server_result', full_name='mavsdk.rpc.tracking_server.RespondTrackingRectangleCommandResponse.tracking_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1130, - serialized_end=1253, -) - - -_RESPONDTRACKINGOFFCOMMANDREQUEST = _descriptor.Descriptor( - name='RespondTrackingOffCommandRequest', - full_name='mavsdk.rpc.tracking_server.RespondTrackingOffCommandRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='command_answer', full_name='mavsdk.rpc.tracking_server.RespondTrackingOffCommandRequest.command_answer', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1255, - serialized_end=1356, -) - - -_RESPONDTRACKINGOFFCOMMANDRESPONSE = _descriptor.Descriptor( - name='RespondTrackingOffCommandResponse', - full_name='mavsdk.rpc.tracking_server.RespondTrackingOffCommandResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='tracking_server_result', full_name='mavsdk.rpc.tracking_server.RespondTrackingOffCommandResponse.tracking_server_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1358, - serialized_end=1475, -) - - -_TRACKPOINT = _descriptor.Descriptor( - name='TrackPoint', - full_name='mavsdk.rpc.tracking_server.TrackPoint', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='point_x', full_name='mavsdk.rpc.tracking_server.TrackPoint.point_x', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='point_y', full_name='mavsdk.rpc.tracking_server.TrackPoint.point_y', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='radius', full_name='mavsdk.rpc.tracking_server.TrackPoint.radius', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1477, - serialized_end=1539, -) - - -_TRACKRECTANGLE = _descriptor.Descriptor( - name='TrackRectangle', - full_name='mavsdk.rpc.tracking_server.TrackRectangle', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='top_left_corner_x', full_name='mavsdk.rpc.tracking_server.TrackRectangle.top_left_corner_x', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='top_left_corner_y', full_name='mavsdk.rpc.tracking_server.TrackRectangle.top_left_corner_y', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='bottom_right_corner_x', full_name='mavsdk.rpc.tracking_server.TrackRectangle.bottom_right_corner_x', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='bottom_right_corner_y', full_name='mavsdk.rpc.tracking_server.TrackRectangle.bottom_right_corner_y', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1542, - serialized_end=1674, -) - - -_TRACKINGSERVERRESULT = _descriptor.Descriptor( - name='TrackingServerResult', - full_name='mavsdk.rpc.tracking_server.TrackingServerResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.tracking_server.TrackingServerResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.tracking_server.TrackingServerResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _TRACKINGSERVERRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1677, - serialized_end=1893, -) - -_SETTRACKINGPOINTSTATUSREQUEST.fields_by_name['tracked_point'].message_type = _TRACKPOINT -_SETTRACKINGRECTANGLESTATUSREQUEST.fields_by_name['tracked_rectangle'].message_type = _TRACKRECTANGLE -_TRACKINGPOINTCOMMANDRESPONSE.fields_by_name['track_point'].message_type = _TRACKPOINT -_TRACKINGRECTANGLECOMMANDRESPONSE.fields_by_name['track_rectangle'].message_type = _TRACKRECTANGLE -_RESPONDTRACKINGPOINTCOMMANDREQUEST.fields_by_name['command_answer'].enum_type = _COMMANDANSWER -_RESPONDTRACKINGPOINTCOMMANDRESPONSE.fields_by_name['tracking_server_result'].message_type = _TRACKINGSERVERRESULT -_RESPONDTRACKINGRECTANGLECOMMANDREQUEST.fields_by_name['command_answer'].enum_type = _COMMANDANSWER -_RESPONDTRACKINGRECTANGLECOMMANDRESPONSE.fields_by_name['tracking_server_result'].message_type = _TRACKINGSERVERRESULT -_RESPONDTRACKINGOFFCOMMANDREQUEST.fields_by_name['command_answer'].enum_type = _COMMANDANSWER -_RESPONDTRACKINGOFFCOMMANDRESPONSE.fields_by_name['tracking_server_result'].message_type = _TRACKINGSERVERRESULT -_TRACKINGSERVERRESULT.fields_by_name['result'].enum_type = _TRACKINGSERVERRESULT_RESULT -_TRACKINGSERVERRESULT_RESULT.containing_type = _TRACKINGSERVERRESULT -DESCRIPTOR.message_types_by_name['SetTrackingPointStatusRequest'] = _SETTRACKINGPOINTSTATUSREQUEST -DESCRIPTOR.message_types_by_name['SetTrackingPointStatusResponse'] = _SETTRACKINGPOINTSTATUSRESPONSE -DESCRIPTOR.message_types_by_name['SetTrackingRectangleStatusRequest'] = _SETTRACKINGRECTANGLESTATUSREQUEST -DESCRIPTOR.message_types_by_name['SetTrackingRectangleStatusResponse'] = _SETTRACKINGRECTANGLESTATUSRESPONSE -DESCRIPTOR.message_types_by_name['SetTrackingOffStatusRequest'] = _SETTRACKINGOFFSTATUSREQUEST -DESCRIPTOR.message_types_by_name['SetTrackingOffStatusResponse'] = _SETTRACKINGOFFSTATUSRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeTrackingPointCommandRequest'] = _SUBSCRIBETRACKINGPOINTCOMMANDREQUEST -DESCRIPTOR.message_types_by_name['TrackingPointCommandResponse'] = _TRACKINGPOINTCOMMANDRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeTrackingRectangleCommandRequest'] = _SUBSCRIBETRACKINGRECTANGLECOMMANDREQUEST -DESCRIPTOR.message_types_by_name['TrackingRectangleCommandResponse'] = _TRACKINGRECTANGLECOMMANDRESPONSE -DESCRIPTOR.message_types_by_name['SubscribeTrackingOffCommandRequest'] = _SUBSCRIBETRACKINGOFFCOMMANDREQUEST -DESCRIPTOR.message_types_by_name['TrackingOffCommandResponse'] = _TRACKINGOFFCOMMANDRESPONSE -DESCRIPTOR.message_types_by_name['RespondTrackingPointCommandRequest'] = _RESPONDTRACKINGPOINTCOMMANDREQUEST -DESCRIPTOR.message_types_by_name['RespondTrackingPointCommandResponse'] = _RESPONDTRACKINGPOINTCOMMANDRESPONSE -DESCRIPTOR.message_types_by_name['RespondTrackingRectangleCommandRequest'] = _RESPONDTRACKINGRECTANGLECOMMANDREQUEST -DESCRIPTOR.message_types_by_name['RespondTrackingRectangleCommandResponse'] = _RESPONDTRACKINGRECTANGLECOMMANDRESPONSE -DESCRIPTOR.message_types_by_name['RespondTrackingOffCommandRequest'] = _RESPONDTRACKINGOFFCOMMANDREQUEST -DESCRIPTOR.message_types_by_name['RespondTrackingOffCommandResponse'] = _RESPONDTRACKINGOFFCOMMANDRESPONSE -DESCRIPTOR.message_types_by_name['TrackPoint'] = _TRACKPOINT -DESCRIPTOR.message_types_by_name['TrackRectangle'] = _TRACKRECTANGLE -DESCRIPTOR.message_types_by_name['TrackingServerResult'] = _TRACKINGSERVERRESULT -DESCRIPTOR.enum_types_by_name['CommandAnswer'] = _COMMANDANSWER -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_SETTRACKINGPOINTSTATUSREQUEST = DESCRIPTOR.message_types_by_name['SetTrackingPointStatusRequest'] +_SETTRACKINGPOINTSTATUSRESPONSE = DESCRIPTOR.message_types_by_name['SetTrackingPointStatusResponse'] +_SETTRACKINGRECTANGLESTATUSREQUEST = DESCRIPTOR.message_types_by_name['SetTrackingRectangleStatusRequest'] +_SETTRACKINGRECTANGLESTATUSRESPONSE = DESCRIPTOR.message_types_by_name['SetTrackingRectangleStatusResponse'] +_SETTRACKINGOFFSTATUSREQUEST = DESCRIPTOR.message_types_by_name['SetTrackingOffStatusRequest'] +_SETTRACKINGOFFSTATUSRESPONSE = DESCRIPTOR.message_types_by_name['SetTrackingOffStatusResponse'] +_SUBSCRIBETRACKINGPOINTCOMMANDREQUEST = DESCRIPTOR.message_types_by_name['SubscribeTrackingPointCommandRequest'] +_TRACKINGPOINTCOMMANDRESPONSE = DESCRIPTOR.message_types_by_name['TrackingPointCommandResponse'] +_SUBSCRIBETRACKINGRECTANGLECOMMANDREQUEST = DESCRIPTOR.message_types_by_name['SubscribeTrackingRectangleCommandRequest'] +_TRACKINGRECTANGLECOMMANDRESPONSE = DESCRIPTOR.message_types_by_name['TrackingRectangleCommandResponse'] +_SUBSCRIBETRACKINGOFFCOMMANDREQUEST = DESCRIPTOR.message_types_by_name['SubscribeTrackingOffCommandRequest'] +_TRACKINGOFFCOMMANDRESPONSE = DESCRIPTOR.message_types_by_name['TrackingOffCommandResponse'] +_RESPONDTRACKINGPOINTCOMMANDREQUEST = DESCRIPTOR.message_types_by_name['RespondTrackingPointCommandRequest'] +_RESPONDTRACKINGPOINTCOMMANDRESPONSE = DESCRIPTOR.message_types_by_name['RespondTrackingPointCommandResponse'] +_RESPONDTRACKINGRECTANGLECOMMANDREQUEST = DESCRIPTOR.message_types_by_name['RespondTrackingRectangleCommandRequest'] +_RESPONDTRACKINGRECTANGLECOMMANDRESPONSE = DESCRIPTOR.message_types_by_name['RespondTrackingRectangleCommandResponse'] +_RESPONDTRACKINGOFFCOMMANDREQUEST = DESCRIPTOR.message_types_by_name['RespondTrackingOffCommandRequest'] +_RESPONDTRACKINGOFFCOMMANDRESPONSE = DESCRIPTOR.message_types_by_name['RespondTrackingOffCommandResponse'] +_TRACKPOINT = DESCRIPTOR.message_types_by_name['TrackPoint'] +_TRACKRECTANGLE = DESCRIPTOR.message_types_by_name['TrackRectangle'] +_TRACKINGSERVERRESULT = DESCRIPTOR.message_types_by_name['TrackingServerResult'] +_TRACKINGSERVERRESULT_RESULT = _TRACKINGSERVERRESULT.enum_types_by_name['Result'] SetTrackingPointStatusRequest = _reflection.GeneratedProtocolMessageType('SetTrackingPointStatusRequest', (_message.Message,), { 'DESCRIPTOR' : _SETTRACKINGPOINTSTATUSREQUEST, '__module__' : 'tracking_server.tracking_server_pb2' @@ -957,112 +196,75 @@ }) _sym_db.RegisterMessage(TrackingServerResult) - -DESCRIPTOR._options = None - -_TRACKINGSERVERSERVICE = _descriptor.ServiceDescriptor( - name='TrackingServerService', - full_name='mavsdk.rpc.tracking_server.TrackingServerService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=2070, - serialized_end=3566, - methods=[ - _descriptor.MethodDescriptor( - name='SetTrackingPointStatus', - full_name='mavsdk.rpc.tracking_server.TrackingServerService.SetTrackingPointStatus', - index=0, - containing_service=None, - input_type=_SETTRACKINGPOINTSTATUSREQUEST, - output_type=_SETTRACKINGPOINTSTATUSRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetTrackingRectangleStatus', - full_name='mavsdk.rpc.tracking_server.TrackingServerService.SetTrackingRectangleStatus', - index=1, - containing_service=None, - input_type=_SETTRACKINGRECTANGLESTATUSREQUEST, - output_type=_SETTRACKINGRECTANGLESTATUSRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetTrackingOffStatus', - full_name='mavsdk.rpc.tracking_server.TrackingServerService.SetTrackingOffStatus', - index=2, - containing_service=None, - input_type=_SETTRACKINGOFFSTATUSREQUEST, - output_type=_SETTRACKINGOFFSTATUSRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeTrackingPointCommand', - full_name='mavsdk.rpc.tracking_server.TrackingServerService.SubscribeTrackingPointCommand', - index=3, - containing_service=None, - input_type=_SUBSCRIBETRACKINGPOINTCOMMANDREQUEST, - output_type=_TRACKINGPOINTCOMMANDRESPONSE, - serialized_options=b'\200\265\030\000', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeTrackingRectangleCommand', - full_name='mavsdk.rpc.tracking_server.TrackingServerService.SubscribeTrackingRectangleCommand', - index=4, - containing_service=None, - input_type=_SUBSCRIBETRACKINGRECTANGLECOMMANDREQUEST, - output_type=_TRACKINGRECTANGLECOMMANDRESPONSE, - serialized_options=b'\200\265\030\000', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeTrackingOffCommand', - full_name='mavsdk.rpc.tracking_server.TrackingServerService.SubscribeTrackingOffCommand', - index=5, - containing_service=None, - input_type=_SUBSCRIBETRACKINGOFFCOMMANDREQUEST, - output_type=_TRACKINGOFFCOMMANDRESPONSE, - serialized_options=b'\200\265\030\000', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='RespondTrackingPointCommand', - full_name='mavsdk.rpc.tracking_server.TrackingServerService.RespondTrackingPointCommand', - index=6, - containing_service=None, - input_type=_RESPONDTRACKINGPOINTCOMMANDREQUEST, - output_type=_RESPONDTRACKINGPOINTCOMMANDRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='RespondTrackingRectangleCommand', - full_name='mavsdk.rpc.tracking_server.TrackingServerService.RespondTrackingRectangleCommand', - index=7, - containing_service=None, - input_type=_RESPONDTRACKINGRECTANGLECOMMANDREQUEST, - output_type=_RESPONDTRACKINGRECTANGLECOMMANDRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='RespondTrackingOffCommand', - full_name='mavsdk.rpc.tracking_server.TrackingServerService.RespondTrackingOffCommand', - index=8, - containing_service=None, - input_type=_RESPONDTRACKINGOFFCOMMANDREQUEST, - output_type=_RESPONDTRACKINGOFFCOMMANDRESPONSE, - serialized_options=b'\200\265\030\001', - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_TRACKINGSERVERSERVICE) - -DESCRIPTOR.services_by_name['TrackingServerService'] = _TRACKINGSERVERSERVICE - +_TRACKINGSERVERSERVICE = DESCRIPTOR.services_by_name['TrackingServerService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\031io.mavsdk.tracking_serverB\023TrackingServerProto' + _TRACKINGSERVERSERVICE.methods_by_name['SetTrackingPointStatus']._options = None + _TRACKINGSERVERSERVICE.methods_by_name['SetTrackingPointStatus']._serialized_options = b'\200\265\030\001' + _TRACKINGSERVERSERVICE.methods_by_name['SetTrackingRectangleStatus']._options = None + _TRACKINGSERVERSERVICE.methods_by_name['SetTrackingRectangleStatus']._serialized_options = b'\200\265\030\001' + _TRACKINGSERVERSERVICE.methods_by_name['SetTrackingOffStatus']._options = None + _TRACKINGSERVERSERVICE.methods_by_name['SetTrackingOffStatus']._serialized_options = b'\200\265\030\001' + _TRACKINGSERVERSERVICE.methods_by_name['SubscribeTrackingPointCommand']._options = None + _TRACKINGSERVERSERVICE.methods_by_name['SubscribeTrackingPointCommand']._serialized_options = b'\200\265\030\000' + _TRACKINGSERVERSERVICE.methods_by_name['SubscribeTrackingRectangleCommand']._options = None + _TRACKINGSERVERSERVICE.methods_by_name['SubscribeTrackingRectangleCommand']._serialized_options = b'\200\265\030\000' + _TRACKINGSERVERSERVICE.methods_by_name['SubscribeTrackingOffCommand']._options = None + _TRACKINGSERVERSERVICE.methods_by_name['SubscribeTrackingOffCommand']._serialized_options = b'\200\265\030\000' + _TRACKINGSERVERSERVICE.methods_by_name['RespondTrackingPointCommand']._options = None + _TRACKINGSERVERSERVICE.methods_by_name['RespondTrackingPointCommand']._serialized_options = b'\200\265\030\001' + _TRACKINGSERVERSERVICE.methods_by_name['RespondTrackingRectangleCommand']._options = None + _TRACKINGSERVERSERVICE.methods_by_name['RespondTrackingRectangleCommand']._serialized_options = b'\200\265\030\001' + _TRACKINGSERVERSERVICE.methods_by_name['RespondTrackingOffCommand']._options = None + _TRACKINGSERVERSERVICE.methods_by_name['RespondTrackingOffCommand']._serialized_options = b'\200\265\030\001' + _COMMANDANSWER._serialized_start=1896 + _COMMANDANSWER._serialized_end=2067 + _SETTRACKINGPOINTSTATUSREQUEST._serialized_start=91 + _SETTRACKINGPOINTSTATUSREQUEST._serialized_end=185 + _SETTRACKINGPOINTSTATUSRESPONSE._serialized_start=187 + _SETTRACKINGPOINTSTATUSRESPONSE._serialized_end=219 + _SETTRACKINGRECTANGLESTATUSREQUEST._serialized_start=221 + _SETTRACKINGRECTANGLESTATUSREQUEST._serialized_end=327 + _SETTRACKINGRECTANGLESTATUSRESPONSE._serialized_start=329 + _SETTRACKINGRECTANGLESTATUSRESPONSE._serialized_end=365 + _SETTRACKINGOFFSTATUSREQUEST._serialized_start=367 + _SETTRACKINGOFFSTATUSREQUEST._serialized_end=396 + _SETTRACKINGOFFSTATUSRESPONSE._serialized_start=398 + _SETTRACKINGOFFSTATUSRESPONSE._serialized_end=428 + _SUBSCRIBETRACKINGPOINTCOMMANDREQUEST._serialized_start=430 + _SUBSCRIBETRACKINGPOINTCOMMANDREQUEST._serialized_end=468 + _TRACKINGPOINTCOMMANDRESPONSE._serialized_start=470 + _TRACKINGPOINTCOMMANDRESPONSE._serialized_end=561 + _SUBSCRIBETRACKINGRECTANGLECOMMANDREQUEST._serialized_start=563 + _SUBSCRIBETRACKINGRECTANGLECOMMANDREQUEST._serialized_end=605 + _TRACKINGRECTANGLECOMMANDRESPONSE._serialized_start=607 + _TRACKINGRECTANGLECOMMANDRESPONSE._serialized_end=710 + _SUBSCRIBETRACKINGOFFCOMMANDREQUEST._serialized_start=712 + _SUBSCRIBETRACKINGOFFCOMMANDREQUEST._serialized_end=748 + _TRACKINGOFFCOMMANDRESPONSE._serialized_start=750 + _TRACKINGOFFCOMMANDRESPONSE._serialized_end=793 + _RESPONDTRACKINGPOINTCOMMANDREQUEST._serialized_start=795 + _RESPONDTRACKINGPOINTCOMMANDREQUEST._serialized_end=898 + _RESPONDTRACKINGPOINTCOMMANDRESPONSE._serialized_start=900 + _RESPONDTRACKINGPOINTCOMMANDRESPONSE._serialized_end=1019 + _RESPONDTRACKINGRECTANGLECOMMANDREQUEST._serialized_start=1021 + _RESPONDTRACKINGRECTANGLECOMMANDREQUEST._serialized_end=1128 + _RESPONDTRACKINGRECTANGLECOMMANDRESPONSE._serialized_start=1130 + _RESPONDTRACKINGRECTANGLECOMMANDRESPONSE._serialized_end=1253 + _RESPONDTRACKINGOFFCOMMANDREQUEST._serialized_start=1255 + _RESPONDTRACKINGOFFCOMMANDREQUEST._serialized_end=1356 + _RESPONDTRACKINGOFFCOMMANDRESPONSE._serialized_start=1358 + _RESPONDTRACKINGOFFCOMMANDRESPONSE._serialized_end=1475 + _TRACKPOINT._serialized_start=1477 + _TRACKPOINT._serialized_end=1539 + _TRACKRECTANGLE._serialized_start=1542 + _TRACKRECTANGLE._serialized_end=1674 + _TRACKINGSERVERRESULT._serialized_start=1677 + _TRACKINGSERVERRESULT._serialized_end=1893 + _TRACKINGSERVERRESULT_RESULT._serialized_start=1794 + _TRACKINGSERVERRESULT_RESULT._serialized_end=1893 + _TRACKINGSERVERSERVICE._serialized_start=2070 + _TRACKINGSERVERSERVICE._serialized_end=3566 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/transponder_pb2.py b/mavsdk/transponder_pb2.py index 34b6aeec..6b98f826 100644 --- a/mavsdk/transponder_pb2.py +++ b/mavsdk/transponder_pb2.py @@ -4,6 +4,7 @@ """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -14,130 +15,9 @@ -DESCRIPTOR = _descriptor.FileDescriptor( - name='transponder/transponder.proto', - package='mavsdk.rpc.transponder', - syntax='proto3', - serialized_options=b'\n\025io.mavsdk.transponderB\020TransponderProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1dtransponder/transponder.proto\x12\x16mavsdk.rpc.transponder\"\x1d\n\x1bSubscribeTransponderRequest\"O\n\x13TransponderResponse\x12\x38\n\x0btransponder\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.transponder.AdsbVehicle\",\n\x19SetRateTransponderRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"c\n\x1aSetRateTransponderResponse\x12\x45\n\x12transponder_result\x18\x01 \x01(\x0b\x32).mavsdk.rpc.transponder.TransponderResult\"\xa3\x02\n\x0b\x41\x64sbVehicle\x12\x14\n\x0cicao_address\x18\x01 \x01(\r\x12\x14\n\x0clatitude_deg\x18\x02 \x01(\x01\x12\x15\n\rlongitude_deg\x18\x03 \x01(\x01\x12\x1b\n\x13\x61\x62solute_altitude_m\x18\x05 \x01(\x02\x12\x13\n\x0bheading_deg\x18\x06 \x01(\x02\x12\x1f\n\x17horizontal_velocity_m_s\x18\x07 \x01(\x02\x12\x1d\n\x15vertical_velocity_m_s\x18\x08 \x01(\x02\x12\x10\n\x08\x63\x61llsign\x18\t \x01(\t\x12=\n\x0c\x65mitter_type\x18\n \x01(\x0e\x32\'.mavsdk.rpc.transponder.AdsbEmitterType\x12\x0e\n\x06squawk\x18\r \x01(\r\"\x8f\x02\n\x11TransponderResult\x12@\n\x06result\x18\x01 \x01(\x0e\x32\x30.mavsdk.rpc.transponder.TransponderResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xa3\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x19\n\x15RESULT_COMMAND_DENIED\x10\x05\x12\x12\n\x0eRESULT_TIMEOUT\x10\x06*\xad\x05\n\x0f\x41\x64sbEmitterType\x12\x1d\n\x19\x41\x44SB_EMITTER_TYPE_NO_INFO\x10\x00\x12\x1b\n\x17\x41\x44SB_EMITTER_TYPE_LIGHT\x10\x01\x12\x1b\n\x17\x41\x44SB_EMITTER_TYPE_SMALL\x10\x02\x12\x1b\n\x17\x41\x44SB_EMITTER_TYPE_LARGE\x10\x03\x12\'\n#ADSB_EMITTER_TYPE_HIGH_VORTEX_LARGE\x10\x04\x12\x1b\n\x17\x41\x44SB_EMITTER_TYPE_HEAVY\x10\x05\x12\"\n\x1e\x41\x44SB_EMITTER_TYPE_HIGHLY_MANUV\x10\x06\x12\x1f\n\x1b\x41\x44SB_EMITTER_TYPE_ROTOCRAFT\x10\x07\x12 \n\x1c\x41\x44SB_EMITTER_TYPE_UNASSIGNED\x10\x08\x12\x1c\n\x18\x41\x44SB_EMITTER_TYPE_GLIDER\x10\t\x12!\n\x1d\x41\x44SB_EMITTER_TYPE_LIGHTER_AIR\x10\n\x12\x1f\n\x1b\x41\x44SB_EMITTER_TYPE_PARACHUTE\x10\x0b\x12!\n\x1d\x41\x44SB_EMITTER_TYPE_ULTRA_LIGHT\x10\x0c\x12!\n\x1d\x41\x44SB_EMITTER_TYPE_UNASSIGNED2\x10\r\x12\x19\n\x15\x41\x44SB_EMITTER_TYPE_UAV\x10\x0e\x12\x1b\n\x17\x41\x44SB_EMITTER_TYPE_SPACE\x10\x0f\x12!\n\x1d\x41\x44SB_EMITTER_TYPE_UNASSGINED3\x10\x10\x12\'\n#ADSB_EMITTER_TYPE_EMERGENCY_SURFACE\x10\x11\x12%\n!ADSB_EMITTER_TYPE_SERVICE_SURFACE\x10\x12\x12$\n ADSB_EMITTER_TYPE_POINT_OBSTACLE\x10\x13\x32\x91\x02\n\x12TransponderService\x12|\n\x14SubscribeTransponder\x12\x33.mavsdk.rpc.transponder.SubscribeTransponderRequest\x1a+.mavsdk.rpc.transponder.TransponderResponse\"\x00\x30\x01\x12}\n\x12SetRateTransponder\x12\x31.mavsdk.rpc.transponder.SetRateTransponderRequest\x1a\x32.mavsdk.rpc.transponder.SetRateTransponderResponse\"\x00\x42)\n\x15io.mavsdk.transponderB\x10TransponderProtob\x06proto3' -) - -_ADSBEMITTERTYPE = _descriptor.EnumDescriptor( - name='AdsbEmitterType', - full_name='mavsdk.rpc.transponder.AdsbEmitterType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_NO_INFO', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_LIGHT', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_SMALL', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_LARGE', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_HIGH_VORTEX_LARGE', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_HEAVY', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_HIGHLY_MANUV', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_ROTOCRAFT', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_UNASSIGNED', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_GLIDER', index=9, number=9, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_LIGHTER_AIR', index=10, number=10, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_PARACHUTE', index=11, number=11, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_ULTRA_LIGHT', index=12, number=12, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_UNASSIGNED2', index=13, number=13, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_UAV', index=14, number=14, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_SPACE', index=15, number=15, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_UNASSGINED3', index=16, number=16, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_EMERGENCY_SURFACE', index=17, number=17, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_SERVICE_SURFACE', index=18, number=18, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADSB_EMITTER_TYPE_POINT_OBSTACLE', index=19, number=19, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=885, - serialized_end=1570, -) -_sym_db.RegisterEnumDescriptor(_ADSBEMITTERTYPE) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtransponder/transponder.proto\x12\x16mavsdk.rpc.transponder\"\x1d\n\x1bSubscribeTransponderRequest\"O\n\x13TransponderResponse\x12\x38\n\x0btransponder\x18\x01 \x01(\x0b\x32#.mavsdk.rpc.transponder.AdsbVehicle\",\n\x19SetRateTransponderRequest\x12\x0f\n\x07rate_hz\x18\x01 \x01(\x01\"c\n\x1aSetRateTransponderResponse\x12\x45\n\x12transponder_result\x18\x01 \x01(\x0b\x32).mavsdk.rpc.transponder.TransponderResult\"\xa3\x02\n\x0b\x41\x64sbVehicle\x12\x14\n\x0cicao_address\x18\x01 \x01(\r\x12\x14\n\x0clatitude_deg\x18\x02 \x01(\x01\x12\x15\n\rlongitude_deg\x18\x03 \x01(\x01\x12\x1b\n\x13\x61\x62solute_altitude_m\x18\x05 \x01(\x02\x12\x13\n\x0bheading_deg\x18\x06 \x01(\x02\x12\x1f\n\x17horizontal_velocity_m_s\x18\x07 \x01(\x02\x12\x1d\n\x15vertical_velocity_m_s\x18\x08 \x01(\x02\x12\x10\n\x08\x63\x61llsign\x18\t \x01(\t\x12=\n\x0c\x65mitter_type\x18\n \x01(\x0e\x32\'.mavsdk.rpc.transponder.AdsbEmitterType\x12\x0e\n\x06squawk\x18\r \x01(\r\"\x8f\x02\n\x11TransponderResult\x12@\n\x06result\x18\x01 \x01(\x0e\x32\x30.mavsdk.rpc.transponder.TransponderResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\xa3\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x02\x12\x1b\n\x17RESULT_CONNECTION_ERROR\x10\x03\x12\x0f\n\x0bRESULT_BUSY\x10\x04\x12\x19\n\x15RESULT_COMMAND_DENIED\x10\x05\x12\x12\n\x0eRESULT_TIMEOUT\x10\x06*\xad\x05\n\x0f\x41\x64sbEmitterType\x12\x1d\n\x19\x41\x44SB_EMITTER_TYPE_NO_INFO\x10\x00\x12\x1b\n\x17\x41\x44SB_EMITTER_TYPE_LIGHT\x10\x01\x12\x1b\n\x17\x41\x44SB_EMITTER_TYPE_SMALL\x10\x02\x12\x1b\n\x17\x41\x44SB_EMITTER_TYPE_LARGE\x10\x03\x12\'\n#ADSB_EMITTER_TYPE_HIGH_VORTEX_LARGE\x10\x04\x12\x1b\n\x17\x41\x44SB_EMITTER_TYPE_HEAVY\x10\x05\x12\"\n\x1e\x41\x44SB_EMITTER_TYPE_HIGHLY_MANUV\x10\x06\x12\x1f\n\x1b\x41\x44SB_EMITTER_TYPE_ROTOCRAFT\x10\x07\x12 \n\x1c\x41\x44SB_EMITTER_TYPE_UNASSIGNED\x10\x08\x12\x1c\n\x18\x41\x44SB_EMITTER_TYPE_GLIDER\x10\t\x12!\n\x1d\x41\x44SB_EMITTER_TYPE_LIGHTER_AIR\x10\n\x12\x1f\n\x1b\x41\x44SB_EMITTER_TYPE_PARACHUTE\x10\x0b\x12!\n\x1d\x41\x44SB_EMITTER_TYPE_ULTRA_LIGHT\x10\x0c\x12!\n\x1d\x41\x44SB_EMITTER_TYPE_UNASSIGNED2\x10\r\x12\x19\n\x15\x41\x44SB_EMITTER_TYPE_UAV\x10\x0e\x12\x1b\n\x17\x41\x44SB_EMITTER_TYPE_SPACE\x10\x0f\x12!\n\x1d\x41\x44SB_EMITTER_TYPE_UNASSGINED3\x10\x10\x12\'\n#ADSB_EMITTER_TYPE_EMERGENCY_SURFACE\x10\x11\x12%\n!ADSB_EMITTER_TYPE_SERVICE_SURFACE\x10\x12\x12$\n ADSB_EMITTER_TYPE_POINT_OBSTACLE\x10\x13\x32\x91\x02\n\x12TransponderService\x12|\n\x14SubscribeTransponder\x12\x33.mavsdk.rpc.transponder.SubscribeTransponderRequest\x1a+.mavsdk.rpc.transponder.TransponderResponse\"\x00\x30\x01\x12}\n\x12SetRateTransponder\x12\x31.mavsdk.rpc.transponder.SetRateTransponderRequest\x1a\x32.mavsdk.rpc.transponder.SetRateTransponderResponse\"\x00\x42)\n\x15io.mavsdk.transponderB\x10TransponderProtob\x06proto3') +_ADSBEMITTERTYPE = DESCRIPTOR.enum_types_by_name['AdsbEmitterType'] AdsbEmitterType = enum_type_wrapper.EnumTypeWrapper(_ADSBEMITTERTYPE) ADSB_EMITTER_TYPE_NO_INFO = 0 ADSB_EMITTER_TYPE_LIGHT = 1 @@ -161,326 +41,13 @@ ADSB_EMITTER_TYPE_POINT_OBSTACLE = 19 -_TRANSPONDERRESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.transponder.TransponderResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_CONNECTION_ERROR', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_BUSY', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_COMMAND_DENIED', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TIMEOUT', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=719, - serialized_end=882, -) -_sym_db.RegisterEnumDescriptor(_TRANSPONDERRESULT_RESULT) - - -_SUBSCRIBETRANSPONDERREQUEST = _descriptor.Descriptor( - name='SubscribeTransponderRequest', - full_name='mavsdk.rpc.transponder.SubscribeTransponderRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=57, - serialized_end=86, -) - - -_TRANSPONDERRESPONSE = _descriptor.Descriptor( - name='TransponderResponse', - full_name='mavsdk.rpc.transponder.TransponderResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='transponder', full_name='mavsdk.rpc.transponder.TransponderResponse.transponder', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=88, - serialized_end=167, -) - - -_SETRATETRANSPONDERREQUEST = _descriptor.Descriptor( - name='SetRateTransponderRequest', - full_name='mavsdk.rpc.transponder.SetRateTransponderRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rate_hz', full_name='mavsdk.rpc.transponder.SetRateTransponderRequest.rate_hz', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=169, - serialized_end=213, -) - - -_SETRATETRANSPONDERRESPONSE = _descriptor.Descriptor( - name='SetRateTransponderResponse', - full_name='mavsdk.rpc.transponder.SetRateTransponderResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='transponder_result', full_name='mavsdk.rpc.transponder.SetRateTransponderResponse.transponder_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=215, - serialized_end=314, -) - - -_ADSBVEHICLE = _descriptor.Descriptor( - name='AdsbVehicle', - full_name='mavsdk.rpc.transponder.AdsbVehicle', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='icao_address', full_name='mavsdk.rpc.transponder.AdsbVehicle.icao_address', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='latitude_deg', full_name='mavsdk.rpc.transponder.AdsbVehicle.latitude_deg', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='longitude_deg', full_name='mavsdk.rpc.transponder.AdsbVehicle.longitude_deg', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='absolute_altitude_m', full_name='mavsdk.rpc.transponder.AdsbVehicle.absolute_altitude_m', index=3, - number=5, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='heading_deg', full_name='mavsdk.rpc.transponder.AdsbVehicle.heading_deg', index=4, - number=6, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='horizontal_velocity_m_s', full_name='mavsdk.rpc.transponder.AdsbVehicle.horizontal_velocity_m_s', index=5, - number=7, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='vertical_velocity_m_s', full_name='mavsdk.rpc.transponder.AdsbVehicle.vertical_velocity_m_s', index=6, - number=8, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='callsign', full_name='mavsdk.rpc.transponder.AdsbVehicle.callsign', index=7, - number=9, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='emitter_type', full_name='mavsdk.rpc.transponder.AdsbVehicle.emitter_type', index=8, - number=10, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='squawk', full_name='mavsdk.rpc.transponder.AdsbVehicle.squawk', index=9, - number=13, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=317, - serialized_end=608, -) - - -_TRANSPONDERRESULT = _descriptor.Descriptor( - name='TransponderResult', - full_name='mavsdk.rpc.transponder.TransponderResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.transponder.TransponderResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.transponder.TransponderResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _TRANSPONDERRESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=611, - serialized_end=882, -) - -_TRANSPONDERRESPONSE.fields_by_name['transponder'].message_type = _ADSBVEHICLE -_SETRATETRANSPONDERRESPONSE.fields_by_name['transponder_result'].message_type = _TRANSPONDERRESULT -_ADSBVEHICLE.fields_by_name['emitter_type'].enum_type = _ADSBEMITTERTYPE -_TRANSPONDERRESULT.fields_by_name['result'].enum_type = _TRANSPONDERRESULT_RESULT -_TRANSPONDERRESULT_RESULT.containing_type = _TRANSPONDERRESULT -DESCRIPTOR.message_types_by_name['SubscribeTransponderRequest'] = _SUBSCRIBETRANSPONDERREQUEST -DESCRIPTOR.message_types_by_name['TransponderResponse'] = _TRANSPONDERRESPONSE -DESCRIPTOR.message_types_by_name['SetRateTransponderRequest'] = _SETRATETRANSPONDERREQUEST -DESCRIPTOR.message_types_by_name['SetRateTransponderResponse'] = _SETRATETRANSPONDERRESPONSE -DESCRIPTOR.message_types_by_name['AdsbVehicle'] = _ADSBVEHICLE -DESCRIPTOR.message_types_by_name['TransponderResult'] = _TRANSPONDERRESULT -DESCRIPTOR.enum_types_by_name['AdsbEmitterType'] = _ADSBEMITTERTYPE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_SUBSCRIBETRANSPONDERREQUEST = DESCRIPTOR.message_types_by_name['SubscribeTransponderRequest'] +_TRANSPONDERRESPONSE = DESCRIPTOR.message_types_by_name['TransponderResponse'] +_SETRATETRANSPONDERREQUEST = DESCRIPTOR.message_types_by_name['SetRateTransponderRequest'] +_SETRATETRANSPONDERRESPONSE = DESCRIPTOR.message_types_by_name['SetRateTransponderResponse'] +_ADSBVEHICLE = DESCRIPTOR.message_types_by_name['AdsbVehicle'] +_TRANSPONDERRESULT = DESCRIPTOR.message_types_by_name['TransponderResult'] +_TRANSPONDERRESULT_RESULT = _TRANSPONDERRESULT.enum_types_by_name['Result'] SubscribeTransponderRequest = _reflection.GeneratedProtocolMessageType('SubscribeTransponderRequest', (_message.Message,), { 'DESCRIPTOR' : _SUBSCRIBETRANSPONDERREQUEST, '__module__' : 'transponder.transponder_pb2' @@ -523,42 +90,27 @@ }) _sym_db.RegisterMessage(TransponderResult) - -DESCRIPTOR._options = None - -_TRANSPONDERSERVICE = _descriptor.ServiceDescriptor( - name='TransponderService', - full_name='mavsdk.rpc.transponder.TransponderService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=1573, - serialized_end=1846, - methods=[ - _descriptor.MethodDescriptor( - name='SubscribeTransponder', - full_name='mavsdk.rpc.transponder.TransponderService.SubscribeTransponder', - index=0, - containing_service=None, - input_type=_SUBSCRIBETRANSPONDERREQUEST, - output_type=_TRANSPONDERRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetRateTransponder', - full_name='mavsdk.rpc.transponder.TransponderService.SetRateTransponder', - index=1, - containing_service=None, - input_type=_SETRATETRANSPONDERREQUEST, - output_type=_SETRATETRANSPONDERRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_TRANSPONDERSERVICE) - -DESCRIPTOR.services_by_name['TransponderService'] = _TRANSPONDERSERVICE - +_TRANSPONDERSERVICE = DESCRIPTOR.services_by_name['TransponderService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\025io.mavsdk.transponderB\020TransponderProto' + _ADSBEMITTERTYPE._serialized_start=885 + _ADSBEMITTERTYPE._serialized_end=1570 + _SUBSCRIBETRANSPONDERREQUEST._serialized_start=57 + _SUBSCRIBETRANSPONDERREQUEST._serialized_end=86 + _TRANSPONDERRESPONSE._serialized_start=88 + _TRANSPONDERRESPONSE._serialized_end=167 + _SETRATETRANSPONDERREQUEST._serialized_start=169 + _SETRATETRANSPONDERREQUEST._serialized_end=213 + _SETRATETRANSPONDERRESPONSE._serialized_start=215 + _SETRATETRANSPONDERRESPONSE._serialized_end=314 + _ADSBVEHICLE._serialized_start=317 + _ADSBVEHICLE._serialized_end=608 + _TRANSPONDERRESULT._serialized_start=611 + _TRANSPONDERRESULT._serialized_end=882 + _TRANSPONDERRESULT_RESULT._serialized_start=719 + _TRANSPONDERRESULT_RESULT._serialized_end=882 + _TRANSPONDERSERVICE._serialized_start=1573 + _TRANSPONDERSERVICE._serialized_end=1846 # @@protoc_insertion_point(module_scope) diff --git a/mavsdk/tune_pb2.py b/mavsdk/tune_pb2.py index 2b7a6895..aaab7159 100644 --- a/mavsdk/tune_pb2.py +++ b/mavsdk/tune_pb2.py @@ -4,6 +4,7 @@ """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -14,135 +15,9 @@ -DESCRIPTOR = _descriptor.FileDescriptor( - name='tune/tune.proto', - package='mavsdk.rpc.tune', - syntax='proto3', - serialized_options=b'\n\016io.mavsdk.tuneB\tTuneProto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x0ftune/tune.proto\x12\x0fmavsdk.rpc.tune\"M\n\x0fPlayTuneRequest\x12:\n\x10tune_description\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.tune.TuneDescription\"D\n\x10PlayTuneResponse\x12\x30\n\x0btune_result\x18\x01 \x01(\x0b\x32\x1b.mavsdk.rpc.tune.TuneResult\"U\n\x0fTuneDescription\x12\x33\n\rsong_elements\x18\x01 \x03(\x0e\x32\x1c.mavsdk.rpc.tune.SongElement\x12\r\n\x05tempo\x18\x02 \x01(\x05\"\xe3\x01\n\nTuneResult\x12\x32\n\x06result\x18\x01 \x01(\x0e\x32\".mavsdk.rpc.tune.TuneResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\x8c\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x18\n\x14RESULT_INVALID_TEMPO\x10\x02\x12\x18\n\x14RESULT_TUNE_TOO_LONG\x10\x03\x12\x10\n\x0cRESULT_ERROR\x10\x04\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x05*\xd1\x04\n\x0bSongElement\x12\x1d\n\x19SONG_ELEMENT_STYLE_LEGATO\x10\x00\x12\x1d\n\x19SONG_ELEMENT_STYLE_NORMAL\x10\x01\x12\x1f\n\x1bSONG_ELEMENT_STYLE_STACCATO\x10\x02\x12\x1b\n\x17SONG_ELEMENT_DURATION_1\x10\x03\x12\x1b\n\x17SONG_ELEMENT_DURATION_2\x10\x04\x12\x1b\n\x17SONG_ELEMENT_DURATION_4\x10\x05\x12\x1b\n\x17SONG_ELEMENT_DURATION_8\x10\x06\x12\x1c\n\x18SONG_ELEMENT_DURATION_16\x10\x07\x12\x1c\n\x18SONG_ELEMENT_DURATION_32\x10\x08\x12\x17\n\x13SONG_ELEMENT_NOTE_A\x10\t\x12\x17\n\x13SONG_ELEMENT_NOTE_B\x10\n\x12\x17\n\x13SONG_ELEMENT_NOTE_C\x10\x0b\x12\x17\n\x13SONG_ELEMENT_NOTE_D\x10\x0c\x12\x17\n\x13SONG_ELEMENT_NOTE_E\x10\r\x12\x17\n\x13SONG_ELEMENT_NOTE_F\x10\x0e\x12\x17\n\x13SONG_ELEMENT_NOTE_G\x10\x0f\x12\x1b\n\x17SONG_ELEMENT_NOTE_PAUSE\x10\x10\x12\x16\n\x12SONG_ELEMENT_SHARP\x10\x11\x12\x15\n\x11SONG_ELEMENT_FLAT\x10\x12\x12\x1a\n\x16SONG_ELEMENT_OCTAVE_UP\x10\x13\x12\x1c\n\x18SONG_ELEMENT_OCTAVE_DOWN\x10\x14\x32`\n\x0bTuneService\x12Q\n\x08PlayTune\x12 .mavsdk.rpc.tune.PlayTuneRequest\x1a!.mavsdk.rpc.tune.PlayTuneResponse\"\x00\x42\x1b\n\x0eio.mavsdk.tuneB\tTuneProtob\x06proto3' -) - -_SONGELEMENT = _descriptor.EnumDescriptor( - name='SongElement', - full_name='mavsdk.rpc.tune.SongElement', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_STYLE_LEGATO', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_STYLE_NORMAL', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_STYLE_STACCATO', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_DURATION_1', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_DURATION_2', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_DURATION_4', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_DURATION_8', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_DURATION_16', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_DURATION_32', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_NOTE_A', index=9, number=9, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_NOTE_B', index=10, number=10, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_NOTE_C', index=11, number=11, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_NOTE_D', index=12, number=12, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_NOTE_E', index=13, number=13, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_NOTE_F', index=14, number=14, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_NOTE_G', index=15, number=15, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_NOTE_PAUSE', index=16, number=16, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_SHARP', index=17, number=17, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_FLAT', index=18, number=18, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_OCTAVE_UP', index=19, number=19, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SONG_ELEMENT_OCTAVE_DOWN', index=20, number=20, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=503, - serialized_end=1096, -) -_sym_db.RegisterEnumDescriptor(_SONGELEMENT) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0ftune/tune.proto\x12\x0fmavsdk.rpc.tune\"M\n\x0fPlayTuneRequest\x12:\n\x10tune_description\x18\x01 \x01(\x0b\x32 .mavsdk.rpc.tune.TuneDescription\"D\n\x10PlayTuneResponse\x12\x30\n\x0btune_result\x18\x01 \x01(\x0b\x32\x1b.mavsdk.rpc.tune.TuneResult\"U\n\x0fTuneDescription\x12\x33\n\rsong_elements\x18\x01 \x03(\x0e\x32\x1c.mavsdk.rpc.tune.SongElement\x12\r\n\x05tempo\x18\x02 \x01(\x05\"\xe3\x01\n\nTuneResult\x12\x32\n\x06result\x18\x01 \x01(\x0e\x32\".mavsdk.rpc.tune.TuneResult.Result\x12\x12\n\nresult_str\x18\x02 \x01(\t\"\x8c\x01\n\x06Result\x12\x12\n\x0eRESULT_UNKNOWN\x10\x00\x12\x12\n\x0eRESULT_SUCCESS\x10\x01\x12\x18\n\x14RESULT_INVALID_TEMPO\x10\x02\x12\x18\n\x14RESULT_TUNE_TOO_LONG\x10\x03\x12\x10\n\x0cRESULT_ERROR\x10\x04\x12\x14\n\x10RESULT_NO_SYSTEM\x10\x05*\xd1\x04\n\x0bSongElement\x12\x1d\n\x19SONG_ELEMENT_STYLE_LEGATO\x10\x00\x12\x1d\n\x19SONG_ELEMENT_STYLE_NORMAL\x10\x01\x12\x1f\n\x1bSONG_ELEMENT_STYLE_STACCATO\x10\x02\x12\x1b\n\x17SONG_ELEMENT_DURATION_1\x10\x03\x12\x1b\n\x17SONG_ELEMENT_DURATION_2\x10\x04\x12\x1b\n\x17SONG_ELEMENT_DURATION_4\x10\x05\x12\x1b\n\x17SONG_ELEMENT_DURATION_8\x10\x06\x12\x1c\n\x18SONG_ELEMENT_DURATION_16\x10\x07\x12\x1c\n\x18SONG_ELEMENT_DURATION_32\x10\x08\x12\x17\n\x13SONG_ELEMENT_NOTE_A\x10\t\x12\x17\n\x13SONG_ELEMENT_NOTE_B\x10\n\x12\x17\n\x13SONG_ELEMENT_NOTE_C\x10\x0b\x12\x17\n\x13SONG_ELEMENT_NOTE_D\x10\x0c\x12\x17\n\x13SONG_ELEMENT_NOTE_E\x10\r\x12\x17\n\x13SONG_ELEMENT_NOTE_F\x10\x0e\x12\x17\n\x13SONG_ELEMENT_NOTE_G\x10\x0f\x12\x1b\n\x17SONG_ELEMENT_NOTE_PAUSE\x10\x10\x12\x16\n\x12SONG_ELEMENT_SHARP\x10\x11\x12\x15\n\x11SONG_ELEMENT_FLAT\x10\x12\x12\x1a\n\x16SONG_ELEMENT_OCTAVE_UP\x10\x13\x12\x1c\n\x18SONG_ELEMENT_OCTAVE_DOWN\x10\x14\x32`\n\x0bTuneService\x12Q\n\x08PlayTune\x12 .mavsdk.rpc.tune.PlayTuneRequest\x1a!.mavsdk.rpc.tune.PlayTuneResponse\"\x00\x42\x1b\n\x0eio.mavsdk.tuneB\tTuneProtob\x06proto3') +_SONGELEMENT = DESCRIPTOR.enum_types_by_name['SongElement'] SongElement = enum_type_wrapper.EnumTypeWrapper(_SONGELEMENT) SONG_ELEMENT_STYLE_LEGATO = 0 SONG_ELEMENT_STYLE_NORMAL = 1 @@ -167,206 +42,11 @@ SONG_ELEMENT_OCTAVE_DOWN = 20 -_TUNERESULT_RESULT = _descriptor.EnumDescriptor( - name='Result', - full_name='mavsdk.rpc.tune.TuneResult.Result', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESULT_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_SUCCESS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_INVALID_TEMPO', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_TUNE_TOO_LONG', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_ERROR', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESULT_NO_SYSTEM', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=360, - serialized_end=500, -) -_sym_db.RegisterEnumDescriptor(_TUNERESULT_RESULT) - - -_PLAYTUNEREQUEST = _descriptor.Descriptor( - name='PlayTuneRequest', - full_name='mavsdk.rpc.tune.PlayTuneRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='tune_description', full_name='mavsdk.rpc.tune.PlayTuneRequest.tune_description', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=36, - serialized_end=113, -) - - -_PLAYTUNERESPONSE = _descriptor.Descriptor( - name='PlayTuneResponse', - full_name='mavsdk.rpc.tune.PlayTuneResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='tune_result', full_name='mavsdk.rpc.tune.PlayTuneResponse.tune_result', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=115, - serialized_end=183, -) - - -_TUNEDESCRIPTION = _descriptor.Descriptor( - name='TuneDescription', - full_name='mavsdk.rpc.tune.TuneDescription', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='song_elements', full_name='mavsdk.rpc.tune.TuneDescription.song_elements', index=0, - number=1, type=14, cpp_type=8, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='tempo', full_name='mavsdk.rpc.tune.TuneDescription.tempo', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=185, - serialized_end=270, -) - - -_TUNERESULT = _descriptor.Descriptor( - name='TuneResult', - full_name='mavsdk.rpc.tune.TuneResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='mavsdk.rpc.tune.TuneResult.result', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='result_str', full_name='mavsdk.rpc.tune.TuneResult.result_str', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _TUNERESULT_RESULT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=273, - serialized_end=500, -) - -_PLAYTUNEREQUEST.fields_by_name['tune_description'].message_type = _TUNEDESCRIPTION -_PLAYTUNERESPONSE.fields_by_name['tune_result'].message_type = _TUNERESULT -_TUNEDESCRIPTION.fields_by_name['song_elements'].enum_type = _SONGELEMENT -_TUNERESULT.fields_by_name['result'].enum_type = _TUNERESULT_RESULT -_TUNERESULT_RESULT.containing_type = _TUNERESULT -DESCRIPTOR.message_types_by_name['PlayTuneRequest'] = _PLAYTUNEREQUEST -DESCRIPTOR.message_types_by_name['PlayTuneResponse'] = _PLAYTUNERESPONSE -DESCRIPTOR.message_types_by_name['TuneDescription'] = _TUNEDESCRIPTION -DESCRIPTOR.message_types_by_name['TuneResult'] = _TUNERESULT -DESCRIPTOR.enum_types_by_name['SongElement'] = _SONGELEMENT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_PLAYTUNEREQUEST = DESCRIPTOR.message_types_by_name['PlayTuneRequest'] +_PLAYTUNERESPONSE = DESCRIPTOR.message_types_by_name['PlayTuneResponse'] +_TUNEDESCRIPTION = DESCRIPTOR.message_types_by_name['TuneDescription'] +_TUNERESULT = DESCRIPTOR.message_types_by_name['TuneResult'] +_TUNERESULT_RESULT = _TUNERESULT.enum_types_by_name['Result'] PlayTuneRequest = _reflection.GeneratedProtocolMessageType('PlayTuneRequest', (_message.Message,), { 'DESCRIPTOR' : _PLAYTUNEREQUEST, '__module__' : 'tune.tune_pb2' @@ -395,32 +75,23 @@ }) _sym_db.RegisterMessage(TuneResult) - -DESCRIPTOR._options = None - -_TUNESERVICE = _descriptor.ServiceDescriptor( - name='TuneService', - full_name='mavsdk.rpc.tune.TuneService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=1098, - serialized_end=1194, - methods=[ - _descriptor.MethodDescriptor( - name='PlayTune', - full_name='mavsdk.rpc.tune.TuneService.PlayTune', - index=0, - containing_service=None, - input_type=_PLAYTUNEREQUEST, - output_type=_PLAYTUNERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_TUNESERVICE) - -DESCRIPTOR.services_by_name['TuneService'] = _TUNESERVICE - +_TUNESERVICE = DESCRIPTOR.services_by_name['TuneService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\016io.mavsdk.tuneB\tTuneProto' + _SONGELEMENT._serialized_start=503 + _SONGELEMENT._serialized_end=1096 + _PLAYTUNEREQUEST._serialized_start=36 + _PLAYTUNEREQUEST._serialized_end=113 + _PLAYTUNERESPONSE._serialized_start=115 + _PLAYTUNERESPONSE._serialized_end=183 + _TUNEDESCRIPTION._serialized_start=185 + _TUNEDESCRIPTION._serialized_end=270 + _TUNERESULT._serialized_start=273 + _TUNERESULT._serialized_end=500 + _TUNERESULT_RESULT._serialized_start=360 + _TUNERESULT_RESULT._serialized_end=500 + _TUNESERVICE._serialized_start=1098 + _TUNESERVICE._serialized_end=1194 # @@protoc_insertion_point(module_scope) diff --git a/proto b/proto index 11769a4e..4446fa10 160000 --- a/proto +++ b/proto @@ -1 +1 @@ -Subproject commit 11769a4ee6f3f9b0fef71532f773d40ab3e7d55c +Subproject commit 4446fa10dc52876206108ac22548529088c91f98