RF627, RF627Smart [Revision 2.1.2] 20.09.2021
Laser Scanners
127
5. Script editing area.
6. Console for displaying errors and messages.
33.2. Supported data types
The set of data types available to the user includes basic types, extended types,
and special data types.
The basic types are the standard C language types:
Type
Size, byte
Min
Max
char
1
-128
127
unsigned char
1
0
255
short int
2
-32768
32767
short unsigned int
2
0
65535
int
4
-2147483648
2147483647
unsigned int
4
0
4294967295
long int
8
(2^63 - 1)
2^63 - 1
long unsigned int
8
0
2^64 - 1
float
4
±1.5 * 10^( 45)
±3.4 * 10^38
Extended data types: bool_t, uint8_t, int8_t, uint16_t, int16_t, uint32_t, int32_t.
Special types are used to work with the input and output ports of the block. They are
consistent with the data types used inside the computation graph:
Type
Size, byte
Description
scalar_t
4
Scalar value. In the current version, it is represented
by the “float” data type.
point_t
8
Point coordinates:
{
float x;
float z;
}
rect_t
16
Rectangle parameters:
{
point_t topLeft;
float w;
float h;
}
segment_t
16
Line segment:
{
point_t p1;
point_t p2;
}
line_t
12
Infinite line specified by abc coefficients:
{
float a;
float b;
float c;
}
circle_t
12
Circle specified by center coordinates and radius:
{
point_t center;
float r;
}
arc_t
25
(28 with alignment)
Arc specified by start and end points, center
coordinates, circumscribing circle radius, and
convex/concave flag:
{
point_t p1;
point_t p2;
point_t center;
Содержание RF627 Series
Страница 1: ...Certified according to ISO 9001 2015 LASER SCANNERS User s manual RF627 Series RF627Smart Series...
Страница 9: ...RF627 RF627Smart Revision 2 1 2 20 09 2021 Laser Scanners 9 Figure 2 Figure 3...
Страница 50: ...50 Laser Scanners RF627 RF627Smart Revision 2 1 2 20 09 2021...
Страница 97: ...RF627 RF627Smart Revision 2 1 2 20 09 2021 Laser Scanners 97...