ReqRep
req_rep
Classes:
-
ConnectClientRep–Response after connecting a client to the drone.
-
ConnectClientReq–Connect a new client to the drone.
-
DisconnectClientRep–Response after disconnecting a client from the drone.
-
DisconnectClientReq–Disconnect a client from the drone.
-
FlashEscSettingsRep–Response after flashing ESC settings.
-
FlashEscSettingsReq–Request to flash ESC settings.
-
GetBatteryRep–Response with essential battery information.
-
GetBatteryReq–Request essential battery information.
-
GetCameraParametersRep–Response with the currently set camera parameters.
-
GetCameraParametersReq–Request to get the currently set camera parameters.
-
GetCvModelsRep–Response with the list of installed computer vision models.
-
GetCvModelsReq–Request the list of computer vision models installed on the
-
GetIperfStatusRep–Response with current iperf status.
-
GetIperfStatusReq–Request to get current iperf task status.
-
GetLogStreamingStatusRep–Response with the current log streaming status.
-
GetLogStreamingStatusReq–Request to get the current log streaming status.
-
GetMissionRep–Get active mission response.
-
GetMissionReq–Service request to the reference_generator to get the active
-
GetMultibeamColorFilterRep–Response with the current multibeam color filter.
-
GetMultibeamColorFilterReq–Request to get the color filter currently used to render the
-
GetOverlayParametersRep–Response with the currently set video overlay parameters.
-
GetOverlayParametersReq–Request to get currently set video overlay parameters.
-
GetPersistentStorageSettingsRep–Response with the currently set persistent storage settings.
-
GetPersistentStorageSettingsReq–Request to get currently set persistent storage settings.
-
GetTelemetryRep–Response with latest telemetry
-
GetTelemetryReq–Request to get latest telemetry data
-
PingRep–Response message from a PingReq request.
-
PingReq–The simplest message to use to test request/reply
-
SetCameraParametersRep–Response after setting the camera parameters.
-
SetCameraParametersReq–Request to set camera parameters.
-
SetCvModelStateRep–Response after accepting a SetCvModelStateReq.
-
SetCvModelStateReq–Request to start or stop a computer vision model.
-
SetHeadingModeRep–Response after setting the heading mode.
-
SetHeadingModeReq–Set the heading mode used in dead reckoning.
-
SetInstructionUpdateRep–Response after updating an instruction in the current
-
SetInstructionUpdateReq–Updates an instruction in current mission with a new
-
SetIperfStatusRep–Response after setting iperf status.
-
SetIperfStatusReq–Request to set iperf task status.
-
SetLogFrequencyRep–Response after updating logging frequency
-
SetLogFrequencyReq–Request to update the logging frequency
-
SetMissionRep–Response after setting a new mission.
-
SetMissionReq–Issue a desired mission to the reference_generator.
-
SetMultibeamColorFilterRep–Response after setting the multibeam color filter.
-
SetMultibeamColorFilterReq–Request to set the color filter used to render the multibeam
-
SetOverlayParametersRep–Response after setting video overlay parameters.
-
SetOverlayParametersReq–Request to set video overlay parameters.
-
SetPersistentStorageSettingsRep–Response after setting persistent storage settings.
-
SetPersistentStorageSettingsReq–Request to set persistent storage settings.
-
SetPubFrequencyRep–Response after updating publish frequency
-
SetPubFrequencyReq–Request to update the publish frequency
-
SetThicknessGaugeParametersRep–Response after setting thickness gauge parameters.
-
SetThicknessGaugeParametersReq–Request to set parameters for ultrasonic thickness gauge.
-
SyncTimeRep–Response after setting the system time on the drone.
-
SyncTimeReq–Request to set the system time on the drone.
ConnectClientRep
Response after connecting a client to the drone.
Contains information about which client is in control, and a list of all connected clients.
Attributes:
-
client_id(int) –The assigned ID of this client.
-
client_id_in_control(int) –The ID of the client in control of the drone.
-
connected_clients(MutableSequence[ConnectedClient]) –List of connected clients.
ConnectClientReq
Connect a new client to the drone.
Attributes:
-
client_info(ClientInfo) –Information about the client connecting to the drone.
DisconnectClientRep
Response after disconnecting a client from the drone.
Contains information about which clients are connected and in control.
Attributes:
-
client_id_in_control(int) –The ID of the client in control of the drone.
-
connected_clients(MutableSequence[ConnectedClient]) –List of connected clients.
DisconnectClientReq
Disconnect a client from the drone.
This request will remove the client from the list of connected clients. It allows clients to disconnect instantly, without waiting for a watchdog to clear the client in control, or promote a new client to be in control.
Attributes:
-
client_id(int) –The assigned ID of the client to disconnect.
FlashEscSettingsRep
Response after flashing ESC settings.
Attributes:
-
success(bool) –If the ESC settings were flashed successfully.
FlashEscSettingsReq
Request to flash ESC settings.
Attributes:
-
silent(bool) –If startup sounds should be disabled.
GetBatteryRep
Response with essential battery information.
On models with two batteries running in parallel (e.g. the X7), second_battery holds the essential information for the second battery. When only a single battery is used, second_battery is undefined (not set).
Attributes:
-
battery(Battery) –Essential battery information.
-
second_battery(Battery) –Second battery, when present. Not set if only one battery is used.
GetBatteryReq
Request essential battery information.
Can be used to instantly get battery information, instead of having to wait for the BatteryTel message to be received.
GetCameraParametersRep
Response with the currently set camera parameters.
Attributes:
-
camera_parameters(CameraParameters) –The currently set camera parameters.
GetCameraParametersReq
Request to get the currently set camera parameters.
Attributes:
-
camera(Camera) –Which camera to read camera parameters from.
GetCvModelsRep
Response with the list of installed computer vision models.
Attributes:
-
cv_models(MutableSequence[CvModelInfo]) –All installed models, including models that are not running.
GetCvModelsReq
Request the list of computer vision models installed on the drone.
GetIperfStatusRep
Response with current iperf status.
Attributes:
-
enabled(bool) –If background iperf task is enabled or disabled.
GetIperfStatusReq
Request to get current iperf task status.
GetLogStreamingStatusRep
Response with the current log streaming status.
Attributes:
-
enabled(bool) –If log streaming is enabled or disabled.
GetLogStreamingStatusReq
Request to get the current log streaming status.
GetMissionRep
GetMissionReq
Service request to the reference_generator to get the active mission.
GetMultibeamColorFilterRep
Response with the current multibeam color filter.
Attributes:
-
color_filter(MultibeamColorFilter) –The current color filter. Empty rgb means none is set (grayscale).
GetMultibeamColorFilterReq
Request to get the color filter currently used to render the multibeam sonar fan.
GetOverlayParametersRep
Response with the currently set video overlay parameters.
Attributes:
-
overlay_parameters(OverlayParameters) –The currently set overlay parameters.
GetOverlayParametersReq
Request to get currently set video overlay parameters.
GetPersistentStorageSettingsRep
Response with the currently set persistent storage settings.
Attributes:
-
persistent_storage_settings(PersistentStorageSettings) –The currently set persistent storage settings.
GetPersistentStorageSettingsReq
Request to get currently set persistent storage settings.
GetTelemetryRep
Response with latest telemetry
Attributes:
-
payload(Any) –The latest telemetry data, empty if no data available.
GetTelemetryReq
Request to get latest telemetry data
Attributes:
-
message_type(str) –Message name, f. ex. "AttitudeTel".
PingRep
Response message from a PingReq request.
PingReq
The simplest message to use to test request/reply communication with the drone. The drone replies with a PingRep message immediately after receiving the PingReq.
SetCameraParametersRep
Response after setting the camera parameters.
SetCameraParametersReq
Request to set camera parameters.
Attributes:
-
camera_parameters(CameraParameters) –The camera parameters to apply.
SetCvModelStateRep
Response after accepting a SetCvModelStateReq.
Attributes:
-
accepted(bool) –True if the model exists and the request was accepted for execution.
SetCvModelStateReq
Request to start or stop a computer vision model.
The reply only acknowledges that the model exists and the request was accepted. The model starts or stops asynchronously; track progress through the state field of CvModelInfo in DroneInfoTel or GetCvModelsRep.
Attributes:
-
package_id(str) –Identifies the model, from CvModelInfo.package_id.
-
running(bool) –Desired run state: true to start the model, false to stop it.
SetHeadingModeRep
Response after setting the heading mode.
SetHeadingModeReq
Set the heading mode used in dead reckoning.
Attributes:
-
heading_mode(HeadingMode) –The heading mode to set.
SetInstructionUpdateRep
Response after updating an instruction in the current mission.
SetInstructionUpdateReq
Updates an instruction in current mission with a new instruction payload.
Attributes:
-
instruction(Instruction) –instruction that will replace the desired instruction.
SetIperfStatusRep
Response after setting iperf status.
Attributes:
-
enabled(bool) –If background iperf task is enabled or disabled.
SetIperfStatusReq
Request to set iperf task status.
Attributes:
-
enabled(bool) –If background iperf task should be enabled or disabled.
SetLogFrequencyRep
Response after updating logging frequency
Attributes:
-
success(bool) –True if message name valid and frequency successfully updated.
SetLogFrequencyReq
Request to update the logging frequency
Attributes:
-
message_type(str) –Message name, f. ex. "AttitudeTel".
-
frequency(float) –Logging frequency (max 100 Hz).
SetMissionRep
Response after setting a new mission.
SetMissionReq
Issue a desired mission to the reference_generator.
Attributes:
-
mission(Mission) –Requested mission issued to the reference generator.
SetMultibeamColorFilterRep
Response after setting the multibeam color filter.
SetMultibeamColorFilterReq
Request to set the color filter used to render the multibeam sonar fan.
Attributes:
-
color_filter(MultibeamColorFilter) –The color filter to apply.
SetOverlayParametersRep
Response after setting video overlay parameters.
SetOverlayParametersReq
Request to set video overlay parameters.
Attributes:
-
overlay_parameters(OverlayParameters) –The video overlay parameters to apply.
SetPersistentStorageSettingsRep
Response after setting persistent storage settings.
Attributes:
-
success(bool) –If the persistent storage settings were set successfully.
SetPersistentStorageSettingsReq
Request to set persistent storage settings.
Attributes:
-
persistent_storage_settings(PersistentStorageSettings) –The persistent storage settings to apply.
SetPubFrequencyRep
Response after updating publish frequency
Attributes:
-
success(bool) –True if message name valid and frequency successfully updated.
SetPubFrequencyReq
Request to update the publish frequency
Attributes:
-
message_type(str) –Message name, f. ex. "AttitudeTel".
-
frequency(float) –Publish frequency (max 100 Hz).
SetThicknessGaugeParametersRep
Response after setting thickness gauge parameters.
SetThicknessGaugeParametersReq
Request to set parameters for ultrasonic thickness gauge.
The sound velocity is used to calculate the thickness of the material being measured.
Attributes:
-
sound_velocity(int) –Sound velocity in m/s
SyncTimeRep
Response after setting the system time on the drone.
Attributes:
-
success(bool) –If the time was set successfully.
SyncTimeReq
Request to set the system time on the drone.
Attributes:
-
time(SystemTime) –The time to set on the drone.