.. _program_listing_file__tmp_ws_src_lms1xx_include_LMS1xx_lms_structs.h: Program Listing for File lms_structs.h ====================================== |exhale_lsh| :ref:`Return to documentation for file ` (``/tmp/ws/src/lms1xx/include/LMS1xx/lms_structs.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp /* * lms_structs.h * * Author: Konrad Banachowicz * Mike Purvis *************************************************************************** * This library is free software; you can redistribute it and/or * * modify it under the terms of the GNU Lesser General Public * * License as published by the Free Software Foundation; either * * version 2.1 of the License, or (at your option) any later version. * * * * This library is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * * Lesser General Public License for more details. * * * * You should have received a copy of the GNU Lesser General Public * * License along with this library; if not, write to the Free Software * * Foundation, Inc., 59 Temple Place, * * Suite 330, Boston, MA 02111-1307 USA * * * ***************************************************************************/ #ifndef LMS1XX_LMS_STRUCTS_H_ #define LMS1XX_LMS_STRUCTS_H_ #include struct scanCfg { int scanningFrequency; int angleResolution; int startAngle; int stopAngle; }; struct scanDataCfg { int outputChannel; bool remission; int resolution; int encoder; bool position; bool deviceName; bool timestamp; int outputInterval; }; struct scanOutputRange { int angleResolution; int startAngle; int stopAngle; }; struct scanData { int dist_len1; uint16_t dist1[1082]; int dist_len2; uint16_t dist2[1082]; int rssi_len1; uint16_t rssi1[1082]; int rssi_len2; uint16_t rssi2[1082]; }; #endif // LMS1XX_LMS_STRUCTS_H_