Skip to content

Commit d769278

Browse files
committed
definitions: ping360: fix units
1 parent 9d5eb3a commit d769278

1 file changed

Lines changed: 31 additions & 23 deletions

File tree

src/definitions/ping360.json

Lines changed: 31 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,19 @@
3737
"name": "angle",
3838
"type": "u16",
3939
"description": "Head angle",
40-
"units": "gradian"
40+
"units": "gradians"
4141
},
4242
{
4343
"name": "transmit_duration",
4444
"type": "u16",
4545
"description": "Acoustic transmission duration (1~1000 microseconds)",
46-
"units": "microsecond"
46+
"units": "microseconds"
4747
},
4848
{
4949
"name": "sample_period",
5050
"type": "u16",
51-
"description": "Time interval between individual signal intensity samples in 25nsec increments (80 to 40000 == 2 microseconds to 1000 microseconds)"
51+
"description": "Time interval between individual signal intensity samples in 25nsec increments (80 to 40000 == 2 microseconds to 1000 microseconds)",
52+
"units": "eicosapenta-nanoseconds"
5253
},
5354
{
5455
"name": "transmit_frequency",
@@ -59,7 +60,8 @@
5960
{
6061
"name": "number_of_samples",
6162
"type": "u16",
62-
"description": "Number of samples per reflected signal (supported values: 200~1200)"
63+
"description": "Number of samples per reflected signal (supported values: 200~1200)",
64+
"units": "samples"
6365
},
6466
{
6567
"name": "data",
@@ -91,18 +93,19 @@
9193
"name": "angle",
9294
"type": "u16",
9395
"description": "Head angle",
94-
"units": "gradian"
96+
"units": "gradians"
9597
},
9698
{
9799
"name": "transmit_duration",
98100
"type": "u16",
99101
"description": "Acoustic transmission duration (1~1000 microseconds)",
100-
"units": "microsecond"
102+
"units": "microseconds"
101103
},
102104
{
103105
"name": "sample_period",
104106
"type": "u16",
105-
"description": "Time interval between individual signal intensity samples in 25nsec increments (80 to 40000 == 2 microseconds to 1000 microseconds)"
107+
"description": "Time interval between individual signal intensity samples in 25nsec increments (80 to 40000 == 2 microseconds to 1000 microseconds)",
108+
"units": "eicosapenta-nanoseconds"
106109
},
107110
{
108111
"name": "transmit_frequency",
@@ -114,30 +117,31 @@
114117
"name": "start_angle",
115118
"type": "u16",
116119
"description": "Head angle to begin scan sector for autoscan in gradians (0~399 = 0~360 degrees).",
117-
"units": "gradian"
120+
"units": "gradians"
118121
},
119122
{
120123
"name": "stop_angle",
121124
"type": "u16",
122125
"description": "Head angle to end scan sector for autoscan in gradians (0~399 = 0~360 degrees).",
123-
"units": "gradian"
126+
"units": "gradians"
124127
},
125128
{
126129
"name": "num_steps",
127130
"type": "u8",
128131
"description": "Number of 0.9 degree motor steps between pings for auto scan (1~10 = 0.9~9.0 degrees)",
129-
"units": "gradian"
132+
"units": "gradians"
130133
},
131134
{
132135
"name": "delay",
133136
"type": "u8",
134137
"description": "An additional delay between successive transmit pulses (0~100 ms). This may be necessary for some programs to avoid collisions on the RS485 USRT.",
135-
"units": "millisecond"
138+
"units": "milliseconds"
136139
},
137140
{
138141
"name": "number_of_samples",
139142
"type": "u16",
140-
"description": "Number of samples per reflected signal (supported values: 200~1200)"
143+
"description": "Number of samples per reflected signal (supported values: 200~1200)",
144+
"units": "samples"
141145
},
142146
{
143147
"name": "data",
@@ -187,18 +191,19 @@
187191
"name": "angle",
188192
"type": "u16",
189193
"description": "Head angle",
190-
"units": "gradian"
194+
"units": "gradians"
191195
},
192196
{
193197
"name": "transmit_duration",
194198
"type": "u16",
195199
"description": "Acoustic transmission duration (1~1000 microseconds)",
196-
"units": "microsecond"
200+
"units": "microseconds"
197201
},
198202
{
199203
"name": "sample_period",
200204
"type": "u16",
201-
"description": "Time interval between individual signal intensity samples in 25nsec increments (80 to 40000 == 2 microseconds to 1000 microseconds)"
205+
"description": "Time interval between individual signal intensity samples in 25nsec increments (80 to 40000 == 2 microseconds to 1000 microseconds)",
206+
"units": "eicosapenta-nanoseconds"
202207
},
203208
{
204209
"name": "transmit_frequency",
@@ -209,7 +214,8 @@
209214
{
210215
"name": "number_of_samples",
211216
"type": "u16",
212-
"description": "Number of samples per reflected signal (supported values: 200~1200)"
217+
"description": "Number of samples per reflected signal (supported values: 200~1200)",
218+
"units": "samples"
213219
},
214220
{
215221
"name": "transmit",
@@ -241,12 +247,13 @@
241247
"name": "transmit_duration",
242248
"type": "u16",
243249
"description": "Acoustic transmission duration (1~1000 microseconds)",
244-
"units": "microsecond"
250+
"units": "microseconds"
245251
},
246252
{
247253
"name": "sample_period",
248254
"type": "u16",
249-
"description": "Time interval between individual signal intensity samples in 25nsec increments (80 to 40000 == 2 microseconds to 1000 microseconds)"
255+
"description": "Time interval between individual signal intensity samples in 25nsec increments (80 to 40000 == 2 microseconds to 1000 microseconds)",
256+
"units": "eicosapenta-nanoseconds"
250257
},
251258
{
252259
"name": "transmit_frequency",
@@ -257,31 +264,32 @@
257264
{
258265
"name": "number_of_samples",
259266
"type": "u16",
260-
"description": "Number of samples per reflected signal (supported values: 200~1200)"
267+
"description": "Number of samples per reflected signal (supported values: 200~1200)",
268+
"units": "samples"
261269
},
262270
{
263271
"name": "start_angle",
264272
"type": "u16",
265273
"description": "Head angle to begin scan sector for autoscan in gradians (0~399 = 0~360 degrees).",
266-
"units": "gradian"
274+
"units": "gradians"
267275
},
268276
{
269277
"name": "stop_angle",
270278
"type": "u16",
271279
"description": "Head angle to end scan sector for autoscan in gradians (0~399 = 0~360 degrees).",
272-
"units": "gradian"
280+
"units": "gradians"
273281
},
274282
{
275283
"name": "num_steps",
276284
"type": "u8",
277285
"description": "Number of 0.9 degree motor steps between pings for auto scan (1~10 = 0.9~9.0 degrees)",
278-
"units": "gradian"
286+
"units": "gradians"
279287
},
280288
{
281289
"name": "delay",
282290
"type": "u8",
283291
"description": "An additional delay between successive transmit pulses (0~100 ms). This may be necessary for some programs to avoid collisions on the RS485 USRT.",
284-
"units": "millisecond"
292+
"units": "milliseconds"
285293
}
286294
]
287295
},

0 commit comments

Comments
 (0)