sick_lmd_scandata_parser.h
Go to the documentation of this file.
1 #include "sick_scan/sick_scan_base.h" /* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */
2 /*
3  * sick_lmd_scandata_parser parses result telegrams of type LMDscandata.
4  *
5  * Copyright (C) 2022, Ing.-Buero Dr. Michael Lehning, Hildesheim
6  * Copyright (C) 2022, SICK AG, Waldkirch
7  * All rights reserved.
8  *
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
12 *
13 * http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 *
21 *
22 * All rights reserved.
23 *
24 * Redistribution and use in source and binary forms, with or without
25 * modification, are permitted provided that the following conditions are met:
26 *
27 * * Redistributions of source code must retain the above copyright
28 * notice, this list of conditions and the following disclaimer.
29 * * Redistributions in binary form must reproduce the above copyright
30 * notice, this list of conditions and the following disclaimer in the
31 * documentation and/or other materials provided with the distribution.
32 * * Neither the name of Osnabrueck University nor the names of its
33 * contributors may be used to endorse or promote products derived from
34 * this software without specific prior written permission.
35 * * Neither the name of SICK AG nor the names of its
36 * contributors may be used to endorse or promote products derived from
37 * this software without specific prior written permission
38 * * Neither the name of Ing.-Buero Dr. Michael Lehning nor the names of its
39 * contributors may be used to endorse or promote products derived from
40 * this software without specific prior written permission
41 *
42 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
43 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
44 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
45 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
46 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
47 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
48 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
49 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
50 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
51 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
52 * POSSIBILITY OF SUCH DAMAGE.
53  *
54  * Authors:
55  * Michael Lehning <michael.lehning@lehning.de>
56  *
57  */
58 
59 #ifndef SICK_LMD_SCANDATA_PARSER_H_
60 #define SICK_LMD_SCANDATA_PARSER_H_
61 
62 #include <string>
63 #include <vector>
64 
67 
68 
69 namespace sick_scan_xd
70 {
71 
73  bool parseCommonBinaryResultTelegram(const uint8_t* receiveBuffer, int receiveBufferLength, short& elevAngleX200, double elevAngleTelegramValToDeg, double& elevationAngleInRad, rosTime& recvTimeStamp,
74  bool config_sw_pll_only_publish, bool use_generation_timestamp, SickGenericParser* parser_, bool& FireEncoder, sick_scan_msg::Encoder& EncoderMsg, int& numEchos,
75  std::vector<float>& vang_vec, std::vector<float>& azimuth_vec, ros_sensor_msgs::LaserScan & msg);
76 
79 
80 } /* namespace sick_scan_xd */
81 #endif /* SICK_LMD_SCANDATA_PARSER_H_ */
sick_scan_xd::Encoder
::sick_scan_xd::Encoder_< std::allocator< void > > Encoder
Definition: Encoder.h:60
msg
msg
sick_scan_xd
Definition: abstract_parser.cpp:65
sick_ros_wrapper.h
sick_scan_xd::parseCommonBinaryResultTelegram
bool parseCommonBinaryResultTelegram(const uint8_t *receiveBuffer, int receiveBufferLength, short &elevAngleX200, double elevAngleTelegramValToDeg, double &elevationAngleInRad, rosTime &recvTimeStamp, bool config_sw_pll_only_publish, bool use_generation_timestamp, SickGenericParser *parser_, bool &FireEncoder, sick_scan_msg::Encoder &EncoderMsg, int &numEchos, std::vector< float > &vang_vec, std::vector< float > &azimuth_vec, ros_sensor_msgs::LaserScan &msg)
Definition: sick_lmd_scandata_parser.cpp:135
sensor_msgs::LaserScan
::sensor_msgs::LaserScan_< std::allocator< void > > LaserScan
Definition: LaserScan.h:94
sick_generic_parser.h
ros::Time
sick_scan_base.h
sick_scan_xd::incSoftwarePLLPacketReceived
void incSoftwarePLLPacketReceived()
Definition: sick_lmd_scandata_parser.cpp:68


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:10