lcmtypes_laser_t.h
Go to the documentation of this file.
1 /**************************************************************************************************
2  Software License Agreement (BSD License)
3 
4  Copyright (c) 2011-2013, LAR toolkit developers - University of Aveiro - http://lars.mec.ua.pt
5  All rights reserved.
6 
7  Redistribution and use in source and binary forms, with or without modification, are permitted
8  provided that the following conditions are met:
9 
10  *Redistributions of source code must retain the above copyright notice, this list of
11  conditions and the following disclaimer.
12  *Redistributions in binary form must reproduce the above copyright notice, this list of
13  conditions and the following disclaimer in the documentation and/or other materials provided
14  with the distribution.
15  *Neither the name of the University of Aveiro nor the names of its contributors may be used to
16  endorse or promote products derived from this software without specific prior written permission.
17 
18  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
19  IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20  FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
21  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
24  IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
25  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 ***************************************************************************************************/
34 #include <stdint.h>
35 #include <stdlib.h>
36 #include "lcm_coretypes.h"
37 
38 #ifndef _lcmtypes_laser_t_h
39 #define _lcmtypes_laser_t_h
40 
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 
47 {
48  int64_t utime;
49  int32_t nranges;
50  float *ranges;
51  int32_t nintensities;
52  float *intensities;
53  float rad0;
54  float radstep;
55 };
56 
59 
60 int lcmtypes_laser_t_encode(void *buf, int offset, int maxlen, const lcmtypes_laser_t *p);
61 int lcmtypes_laser_t_decode(const void *buf, int offset, int maxlen, lcmtypes_laser_t *p);
64 
65 // LCM support functions. Users should not call these
66 int64_t __lcmtypes_laser_t_get_hash(void);
68 int __lcmtypes_laser_t_encode_array(void *buf, int offset, int maxlen, const lcmtypes_laser_t *p, int elements);
69 int __lcmtypes_laser_t_decode_array(const void *buf, int offset, int maxlen, lcmtypes_laser_t *p, int elements);
73 
74 #ifdef __cplusplus
75 }
76 #endif
77 
78 #endif
int lcmtypes_laser_t_decode_cleanup(lcmtypes_laser_t *p)
header file with core lcm types
int __lcmtypes_laser_t_encode_array(void *buf, int offset, int maxlen, const lcmtypes_laser_t *p, int elements)
int lcmtypes_laser_t_encoded_size(const lcmtypes_laser_t *p)
int64_t __lcmtypes_laser_t_get_hash(void)
int lcmtypes_laser_t_encode(void *buf, int offset, int maxlen, const lcmtypes_laser_t *p)
int lcmtypes_laser_t_decode(const void *buf, int offset, int maxlen, lcmtypes_laser_t *p)
void lcmtypes_laser_t_destroy(lcmtypes_laser_t *p)
int __lcmtypes_laser_t_decode_array(const void *buf, int offset, int maxlen, lcmtypes_laser_t *p, int elements)
int __lcmtypes_laser_t_decode_array_cleanup(lcmtypes_laser_t *p, int elements)
lcmtypes_laser_t * lcmtypes_laser_t_copy(const lcmtypes_laser_t *p)
int __lcmtypes_laser_t_clone_array(const lcmtypes_laser_t *p, lcmtypes_laser_t *q, int elements)
int64_t __lcmtypes_laser_t_hash_recursive(const __lcm_hash_ptr *p)
int __lcmtypes_laser_t_encoded_array_size(const lcmtypes_laser_t *p, int elements)


mit_darpa_logs_player
Author(s): Miguel Oliveira
autogenerated on Mon Mar 2 2015 01:32:15