save loops

Dependencies:   mbed

Committer:
mbedalvaro
Date:
Tue Dec 02 04:39:15 2014 +0000
Revision:
0:df6fdd9b99f0
this new version of skinGames will have a function that stops scanning as the laser reaches the same position (i.e., loops) with a certain precision. It is for extracting contours for Takashita project. It can then save on a file or send on osc

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbedalvaro 0:df6fdd9b99f0 1 /*
mbedalvaro 0:df6fdd9b99f0 2 * Copyright (c) 2001, Swedish Institute of Computer Science.
mbedalvaro 0:df6fdd9b99f0 3 * All rights reserved.
mbedalvaro 0:df6fdd9b99f0 4 *
mbedalvaro 0:df6fdd9b99f0 5 * Redistribution and use in source and binary forms, with or without
mbedalvaro 0:df6fdd9b99f0 6 * modification, are permitted provided that the following conditions
mbedalvaro 0:df6fdd9b99f0 7 * are met:
mbedalvaro 0:df6fdd9b99f0 8 * 1. Redistributions of source code must retain the above copyright
mbedalvaro 0:df6fdd9b99f0 9 * notice, this list of conditions and the following disclaimer.
mbedalvaro 0:df6fdd9b99f0 10 * 2. Redistributions in binary form must reproduce the above copyright
mbedalvaro 0:df6fdd9b99f0 11 * notice, this list of conditions and the following disclaimer in the
mbedalvaro 0:df6fdd9b99f0 12 * documentation and/or other materials provided with the distribution.
mbedalvaro 0:df6fdd9b99f0 13 * 3. Neither the name of the Institute nor the names of its contributors
mbedalvaro 0:df6fdd9b99f0 14 * may be used to endorse or promote products derived from this software
mbedalvaro 0:df6fdd9b99f0 15 * without specific prior written permission.
mbedalvaro 0:df6fdd9b99f0 16 *
mbedalvaro 0:df6fdd9b99f0 17 * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
mbedalvaro 0:df6fdd9b99f0 18 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
mbedalvaro 0:df6fdd9b99f0 19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
mbedalvaro 0:df6fdd9b99f0 20 * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
mbedalvaro 0:df6fdd9b99f0 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
mbedalvaro 0:df6fdd9b99f0 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
mbedalvaro 0:df6fdd9b99f0 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
mbedalvaro 0:df6fdd9b99f0 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
mbedalvaro 0:df6fdd9b99f0 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
mbedalvaro 0:df6fdd9b99f0 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
mbedalvaro 0:df6fdd9b99f0 27 * SUCH DAMAGE.
mbedalvaro 0:df6fdd9b99f0 28 *
mbedalvaro 0:df6fdd9b99f0 29 * This file is part of the lwIP TCP/IP stack.
mbedalvaro 0:df6fdd9b99f0 30 *
mbedalvaro 0:df6fdd9b99f0 31 * Author: Adam Dunkels <adam@sics.se>
mbedalvaro 0:df6fdd9b99f0 32 *
mbedalvaro 0:df6fdd9b99f0 33 */
mbedalvaro 0:df6fdd9b99f0 34 #ifndef __NETIF_SLIPIF_H__
mbedalvaro 0:df6fdd9b99f0 35 #define __NETIF_SLIPIF_H__
mbedalvaro 0:df6fdd9b99f0 36
mbedalvaro 0:df6fdd9b99f0 37 #include "lwip/netif.h"
mbedalvaro 0:df6fdd9b99f0 38
mbedalvaro 0:df6fdd9b99f0 39 #ifdef __cplusplus
mbedalvaro 0:df6fdd9b99f0 40 extern "C" {
mbedalvaro 0:df6fdd9b99f0 41 #endif
mbedalvaro 0:df6fdd9b99f0 42
mbedalvaro 0:df6fdd9b99f0 43 err_t slipif_init(struct netif * netif);
mbedalvaro 0:df6fdd9b99f0 44 void slipif_poll(struct netif *netif);
mbedalvaro 0:df6fdd9b99f0 45
mbedalvaro 0:df6fdd9b99f0 46 #ifdef __cplusplus
mbedalvaro 0:df6fdd9b99f0 47 }
mbedalvaro 0:df6fdd9b99f0 48 #endif
mbedalvaro 0:df6fdd9b99f0 49
mbedalvaro 0:df6fdd9b99f0 50 #endif
mbedalvaro 0:df6fdd9b99f0 51