lms_structs.h
Go to the documentation of this file.
1 /*
2  * lms_structs.h
3  *
4  * Author: Konrad Banachowicz
5  * Mike Purvis <mpurvis@clearpathrobotics.com>
6  ***************************************************************************
7  * This library is free software; you can redistribute it and/or *
8  * modify it under the terms of the GNU Lesser General Public *
9  * License as published by the Free Software Foundation; either *
10  * version 2.1 of the License, or (at your option) any later version. *
11  * *
12  * This library is distributed in the hope that it will be useful, *
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
15  * Lesser General Public License for more details. *
16  * *
17  * You should have received a copy of the GNU Lesser General Public *
18  * License along with this library; if not, write to the Free Software *
19  * Foundation, Inc., 59 Temple Place, *
20  * Suite 330, Boston, MA 02111-1307 USA *
21  * *
22  ***************************************************************************/
23 
24 #ifndef LMS1XX_LMS_STRUCTS_H_
25 #define LMS1XX_LMS_STRUCTS_H_
26 
27 #include <stdint.h>
28 
35 struct scanCfg
36 {
42 
48 
54 
59  int stopAngle;
60 };
61 
69 {
70 
76 
81  bool remission;
82 
88 
93  int encoder;
94 
99  bool position;
100 
106 
107  bool timestamp;
108 
119 };
120 
128 {
134 
140 
146 };
147 
154 struct scanData
155 {
156 
162 
167  uint16_t dist1[1082];
168 
174 
179  uint16_t dist2[1082];
180 
186 
191  uint16_t rssi1[1082];
192 
198 
203  uint16_t rssi2[1082];
204 };
205 
206 #endif // LMS1XX_LMS_STRUCTS_H_
int startAngle
Start angle. 1/10000 degree.
Definition: lms_structs.h:139
Structure containing single scan message.
Definition: lms_structs.h:154
int resolution
Remission resolution. Defines whether the remission values are output with 8-bit or 16bit resolution...
Definition: lms_structs.h:87
bool remission
Remission. Defines whether remission values are output.
Definition: lms_structs.h:81
int outputInterval
Output interval. Defines which scan is output.
Definition: lms_structs.h:118
Structure containing scan data configuration.
Definition: lms_structs.h:68
int angleResolution
Scanning resolution. 1/10000 degree.
Definition: lms_structs.h:133
int stopAngle
Stop angle. 1/10000 degree.
Definition: lms_structs.h:145
int encoder
Encoders channels. Defines which output channel is activated.
Definition: lms_structs.h:93
int rssi_len2
Number of samples in rssi2.
Definition: lms_structs.h:197
bool timestamp
Definition: lms_structs.h:107
int scaningFrequency
Scanning frequency. 1/100 Hz.
Definition: lms_structs.h:41
Structure containing scan configuration.
Definition: lms_structs.h:35
int dist_len2
Number of samples in dist2.
Definition: lms_structs.h:173
int outputChannel
Output channels. Defines which output channel is activated.
Definition: lms_structs.h:75
int angleResolution
Scanning resolution. 1/10000 degree.
Definition: lms_structs.h:47
int dist_len1
Number of samples in dist1.
Definition: lms_structs.h:161
int stopAngle
Stop angle. 1/10000 degree.
Definition: lms_structs.h:59
int startAngle
Start angle. 1/10000 degree.
Definition: lms_structs.h:53
bool position
Position. Defines whether position values are output.
Definition: lms_structs.h:99
int rssi_len1
Number of samples in rssi1.
Definition: lms_structs.h:185
bool deviceName
Device name. Determines whether the device name is to be output.
Definition: lms_structs.h:105


lms1xx
Author(s): Konrad Banachowicz
autogenerated on Wed Jan 22 2020 03:36:59