Skip to content

Commit 430fe45

Browse files
authored
Merge pull request #45 from wltry/patch-1
Update 3d-sonar-15-api.md
2 parents bbd37a2 + a8050a4 commit 430fe45

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

docs/3d-sonar/3d-sonar-15/3d-sonar-15-api.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,11 @@ message BitmapImageGreyscale8 {
135135
BitmapImageType type = 5; // Identifier for what is shown in the image
136136
uint32 width = 6;
137137
uint32 height = 7;
138-
float horizontal_fov = 8;
139-
float vertical_fov = 9;
138+
float fov_horizontal = 8;
139+
float fov_vertical = 9;
140140
// image pixel data is organized in rows of pixels.Each row is
141141
// 'width' wide, and there are 'height' rows. Each pixel is an 8-bit
142-
// value that represents the intensity of the pixel, from 0 to
143-
// 2^8-1.
142+
// value that represents the intensity of the pixel, from 0 to 255
144143
bytes image_pixel_data = 10;
145144
}
146145
@@ -151,14 +150,14 @@ message RangeImage {
151150
float speed_of_sound = 2; // Configured speed of sound in water in m/s
152151
float range = 3; // Configured range in meters
153152
uint32 frequency = 4; // Configured imaging frequency in Hz.
154-
uint32 n_pixels_horizontal = 5;
155-
uint32 n_pixels_vertical = 6;
153+
uint32 width = 5;
154+
uint32 height = 6;
156155
float fov_horizontal = 7; // In degrees
157156
float fov_vertical = 8; // In degrees
158157
float image_pixel_scale = 9;
159158
160159
// image_pixel_data is organized in rows of pixels. Each row is
161-
// n_pixels_horizontal wide, and there are n_pixels_vertical rows.
160+
// 'width' wide, and there are 'height' rows.
162161
// Each pixel is a 16-bit value that must be multiplied by
163162
// image_pixel_scale to obtain the distance in meters from the sonar
164163
// to the strongest reflection in that direction.

0 commit comments

Comments
 (0)