lms_structs.h
Go to the documentation of this file.
00001 /*
00002  * lms_structs.h
00003  *
00004  *  Author: Konrad Banachowicz
00005  *          Mike Purvis <mpurvis@clearpathrobotics.com>
00006  ***************************************************************************
00007  *   This library is free software; you can redistribute it and/or         *
00008  *   modify it under the terms of the GNU Lesser General Public            *
00009  *   License as published by the Free Software Foundation; either          *
00010  *   version 2.1 of the License, or (at your option) any later version.    *
00011  *                                                                         *
00012  *   This library is distributed in the hope that it will be useful,       *
00013  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00014  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
00015  *   Lesser General Public License for more details.                       *
00016  *                                                                         *
00017  *   You should have received a copy of the GNU Lesser General Public      *
00018  *   License along with this library; if not, write to the Free Software   *
00019  *   Foundation, Inc., 59 Temple Place,                                    *
00020  *   Suite 330, Boston, MA  02111-1307  USA                                *
00021  *                                                                         *
00022  ***************************************************************************/
00023 
00024 #ifndef LMS1XX_LMS_STRUCTS_H_
00025 #define LMS1XX_LMS_STRUCTS_H_
00026 
00027 #include <stdint.h>
00028 
00035 struct scanCfg
00036 {
00041   int scaningFrequency;
00042 
00047   int angleResolution;
00048 
00053   int startAngle;
00054 
00059   int stopAngle;
00060 };
00061 
00068 struct scanDataCfg
00069 {
00070 
00075   int outputChannel;
00076 
00081   bool remission;
00082 
00087   int resolution;
00088 
00093   int encoder;
00094 
00099   bool position;
00100 
00105   bool deviceName;
00106 
00107   bool timestamp;
00108 
00118   int outputInterval;
00119 };
00120 
00127 struct scanOutputRange
00128 {
00133   int angleResolution;
00134 
00139   int startAngle;
00140 
00145   int stopAngle;
00146 };
00147 
00154 struct scanData
00155 {
00156 
00161   int dist_len1;
00162 
00167   uint16_t dist1[1082];
00168 
00173   int dist_len2;
00174 
00179   uint16_t dist2[1082];
00180 
00185   int rssi_len1;
00186 
00191   uint16_t rssi1[1082];
00192 
00197   int rssi_len2;
00198 
00203   uint16_t rssi2[1082];
00204 };
00205 
00206 #endif  // LMS1XX_LMS_STRUCTS_H_


lms1xx
Author(s): Konrad Banachowicz
autogenerated on Thu Jun 6 2019 18:52:14