File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -1019,3 +1019,19 @@ message MultibeamDiscovery {
1019
1019
string connected_ip = 6 ; // IP address of the connected device
1020
1020
GuestPortDeviceID device_id = 7 ; // Device ID of the sonar
1021
1021
}
1022
+
1023
+ // PersistentStorageSettings defines settings for writing various types of data in the persistent storage on the drone
1024
+ //
1025
+ // Some of the data is written during factory calibration (acc calibration), while other data is written during user
1026
+ // calubration or during normal operation.
1027
+ message PersistentStorageSettings {
1028
+ bool videos = 1 ; // Indicates if videos should be written to the video partition.
1029
+ bool images = 2 ; // Indicates if images should be written to the video partition.
1030
+ bool binlog = 3 ; // Indicates if binary logs with telemetry data should be written to the data partition.
1031
+ bool multibeam = 4 ; // Indicates if multibeam data should be written to the video partition.
1032
+ bool webserver_log = 5 ; // Indicates if webserver logs should be written to the data partition.
1033
+ bool control_system_log = 6 ; // Indicates if control system logs should be written to the data partition.
1034
+ bool gyro_calibration = 7 ; // Indicates if gyro calibration data should be written to the data partition.
1035
+ bool compass_calibration = 8 ; // Indicates if compass calibration data should be written to the data partition.
1036
+ bool acc_calibration = 9 ; // Indicates if accelerometer calibration data should be written to the data partition.
1037
+ }
Original file line number Diff line number Diff line change @@ -168,4 +168,22 @@ message GetTelemetryReq {
168
168
// Response with latest telemetry
169
169
message GetTelemetryRep {
170
170
google.protobuf.Any payload = 1 ; // The latest telemetry data, empty if no data available.
171
+ }
172
+
173
+ // Request to set persistent storage settings.
174
+ message SetPersistentStorageSettingsReq {
175
+ PersistentStorageSettings persistent_storage_settings = 1 ; // The persistent storage settings to apply.
176
+ }
177
+
178
+ // Response after setting persistent storage settings.
179
+ message SetPersistentStorageSettingsRep {
180
+ }
181
+
182
+ // Request to get currently set persistent storage settings.
183
+ message GetPersistentStorageSettingsReq {
184
+ }
185
+
186
+ // Response with the currently set persistent storage settings.
187
+ message GetPersistentStorageSettingsRep {
188
+ PersistentStorageSettings persistent_storage_settings = 1 ; // The currently set persistent storage settings.
171
189
}
You can’t perform that action at this time.
0 commit comments