tof library

Dependents:   speed_robot

Committer:
deepanaishtaweera174
Date:
Tue Oct 01 12:33:27 2019 +0000
Revision:
0:1c8c01640f54
hey

Who changed what in which revision?

UserRevisionLine numberNew contents of line
deepanaishtaweera174 0:1c8c01640f54 1 The MIT License (MIT)
deepanaishtaweera174 0:1c8c01640f54 2
deepanaishtaweera174 0:1c8c01640f54 3 Copyright (c) 2016 Daisuke Baba
deepanaishtaweera174 0:1c8c01640f54 4
deepanaishtaweera174 0:1c8c01640f54 5 Permission is hereby granted, free of charge, to any person obtaining a copy
deepanaishtaweera174 0:1c8c01640f54 6 of this software and associated documentation files (the "Software"), to deal
deepanaishtaweera174 0:1c8c01640f54 7 in the Software without restriction, including without limitation the rights
deepanaishtaweera174 0:1c8c01640f54 8 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
deepanaishtaweera174 0:1c8c01640f54 9 copies of the Software, and to permit persons to whom the Software is
deepanaishtaweera174 0:1c8c01640f54 10 furnished to do so, subject to the following conditions:
deepanaishtaweera174 0:1c8c01640f54 11
deepanaishtaweera174 0:1c8c01640f54 12 The above copyright notice and this permission notice shall be included in all
deepanaishtaweera174 0:1c8c01640f54 13 copies or substantial portions of the Software.
deepanaishtaweera174 0:1c8c01640f54 14
deepanaishtaweera174 0:1c8c01640f54 15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
deepanaishtaweera174 0:1c8c01640f54 16 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
deepanaishtaweera174 0:1c8c01640f54 17 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
deepanaishtaweera174 0:1c8c01640f54 18 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
deepanaishtaweera174 0:1c8c01640f54 19 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
deepanaishtaweera174 0:1c8c01640f54 20 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
deepanaishtaweera174 0:1c8c01640f54 21 SOFTWARE.
deepanaishtaweera174 0:1c8c01640f54 22
deepanaishtaweera174 0:1c8c01640f54 23 =================================================================
deepanaishtaweera174 0:1c8c01640f54 24
deepanaishtaweera174 0:1c8c01640f54 25 Copyright (c) 2016 Pololu Corporation. For more information, see
deepanaishtaweera174 0:1c8c01640f54 26
deepanaishtaweera174 0:1c8c01640f54 27 https://www.pololu.com/
deepanaishtaweera174 0:1c8c01640f54 28 https://forum.pololu.com/
deepanaishtaweera174 0:1c8c01640f54 29
deepanaishtaweera174 0:1c8c01640f54 30 Permission is hereby granted, free of charge, to any person
deepanaishtaweera174 0:1c8c01640f54 31 obtaining a copy of this software and associated documentation
deepanaishtaweera174 0:1c8c01640f54 32 files (the "Software"), to deal in the Software without
deepanaishtaweera174 0:1c8c01640f54 33 restriction, including without limitation the rights to use,
deepanaishtaweera174 0:1c8c01640f54 34 copy, modify, merge, publish, distribute, sublicense, and/or sell
deepanaishtaweera174 0:1c8c01640f54 35 copies of the Software, and to permit persons to whom the
deepanaishtaweera174 0:1c8c01640f54 36 Software is furnished to do so, subject to the following
deepanaishtaweera174 0:1c8c01640f54 37 conditions:
deepanaishtaweera174 0:1c8c01640f54 38
deepanaishtaweera174 0:1c8c01640f54 39 The above copyright notice and this permission notice shall be
deepanaishtaweera174 0:1c8c01640f54 40 included in all copies or substantial portions of the Software.
deepanaishtaweera174 0:1c8c01640f54 41
deepanaishtaweera174 0:1c8c01640f54 42 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
deepanaishtaweera174 0:1c8c01640f54 43 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
deepanaishtaweera174 0:1c8c01640f54 44 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
deepanaishtaweera174 0:1c8c01640f54 45 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
deepanaishtaweera174 0:1c8c01640f54 46 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
deepanaishtaweera174 0:1c8c01640f54 47 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
deepanaishtaweera174 0:1c8c01640f54 48 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
deepanaishtaweera174 0:1c8c01640f54 49 OTHER DEALINGS IN THE SOFTWARE.
deepanaishtaweera174 0:1c8c01640f54 50
deepanaishtaweera174 0:1c8c01640f54 51 =================================================================
deepanaishtaweera174 0:1c8c01640f54 52
deepanaishtaweera174 0:1c8c01640f54 53 Most of the functionality of this library is based on the VL53L0X
deepanaishtaweera174 0:1c8c01640f54 54 API provided by ST (STSW-IMG005), and some of the explanatory
deepanaishtaweera174 0:1c8c01640f54 55 comments are quoted or paraphrased from the API source code, API
deepanaishtaweera174 0:1c8c01640f54 56 user manual (UM2039), and the VL53L0X datasheet.
deepanaishtaweera174 0:1c8c01640f54 57
deepanaishtaweera174 0:1c8c01640f54 58 The following applies to source code reproduced or derived from
deepanaishtaweera174 0:1c8c01640f54 59 the API:
deepanaishtaweera174 0:1c8c01640f54 60
deepanaishtaweera174 0:1c8c01640f54 61 -----------------------------------------------------------------
deepanaishtaweera174 0:1c8c01640f54 62
deepanaishtaweera174 0:1c8c01640f54 63 Copyright © 2016, STMicroelectronics International N.V. All
deepanaishtaweera174 0:1c8c01640f54 64 rights reserved.
deepanaishtaweera174 0:1c8c01640f54 65
deepanaishtaweera174 0:1c8c01640f54 66 Redistribution and use in source and binary forms, with or
deepanaishtaweera174 0:1c8c01640f54 67 without modification, are permitted provided that the following
deepanaishtaweera174 0:1c8c01640f54 68 conditions are met:
deepanaishtaweera174 0:1c8c01640f54 69 * Redistributions of source code must retain the above copyright
deepanaishtaweera174 0:1c8c01640f54 70 notice, this list of conditions and the following disclaimer.
deepanaishtaweera174 0:1c8c01640f54 71 * Redistributions in binary form must reproduce the above
deepanaishtaweera174 0:1c8c01640f54 72 copyright notice, this list of conditions and the following
deepanaishtaweera174 0:1c8c01640f54 73 disclaimer in the documentation and/or other materials provided
deepanaishtaweera174 0:1c8c01640f54 74 with the distribution.
deepanaishtaweera174 0:1c8c01640f54 75 * Neither the name of STMicroelectronics nor the
deepanaishtaweera174 0:1c8c01640f54 76 names of its contributors may be used to endorse or promote
deepanaishtaweera174 0:1c8c01640f54 77 products derived from this software without specific prior
deepanaishtaweera174 0:1c8c01640f54 78 written permission.
deepanaishtaweera174 0:1c8c01640f54 79
deepanaishtaweera174 0:1c8c01640f54 80 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
deepanaishtaweera174 0:1c8c01640f54 81 CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
deepanaishtaweera174 0:1c8c01640f54 82 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
deepanaishtaweera174 0:1c8c01640f54 83 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
deepanaishtaweera174 0:1c8c01640f54 84 NON-INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS ARE DISCLAIMED.
deepanaishtaweera174 0:1c8c01640f54 85 IN NO EVENT SHALL STMICROELECTRONICS INTERNATIONAL N.V. BE LIABLE
deepanaishtaweera174 0:1c8c01640f54 86 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
deepanaishtaweera174 0:1c8c01640f54 87 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
deepanaishtaweera174 0:1c8c01640f54 88 OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
deepanaishtaweera174 0:1c8c01640f54 89 OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
deepanaishtaweera174 0:1c8c01640f54 90 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
deepanaishtaweera174 0:1c8c01640f54 91 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
deepanaishtaweera174 0:1c8c01640f54 92 USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
deepanaishtaweera174 0:1c8c01640f54 93 DAMAGE.
deepanaishtaweera174 0:1c8c01640f54 94
deepanaishtaweera174 0:1c8c01640f54 95 -----------------------------------------------------------------