iCub-main
Loading...
Searching...
No Matches
skinParams.h
Go to the documentation of this file.
1// -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
2
3
4/* Copyright (C) 2012 iCub Facility, Istituto Italiano di Tecnologia
5 * Author: Valentina Gaggero
6 * email: valentina.gaggero@iit.it
7 * Permission is granted to copy, distribute, and/or modify this program
8 * under the terms of the GNU General Public License, version 2 or any
9 * later version published by the Free Software Foundation.
10 *
11 * A copy of the license can be found at
12 * http://www.robotcub.org/icub/license/gpl.txt
13 *
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17 * Public License for more details
18 */
19
20
21#ifndef __SKIN_PARAMS_H__
22#define __SKIN_PARAMS_H__
23
24#include <stdio.h>
25
26//default values for SkinBoardCfgParam
27#define sk_period_default 40 //millisec
28#define sk_skintype_default 0
29#define sk_noLoad_default 0xf0
30
32{
33public:
34 uint8_t period;
35 uint8_t noLoad;
36 uint8_t skinType;
37
38public:
47};
48
49//default values for triangles
50#define skT_enabled_default true
51#define skT_shift_default 0
52#define skT_cdcOffset_default 0x2200
54{
55public:
56 bool enabled;
57 uint8_t shift;
58 uint16_t cdcOffset;
59
66};
67
68#endif
69
#define skT_enabled_default
#define sk_skintype_default
#define skT_shift_default
#define sk_period_default
#define sk_noLoad_default
#define skT_cdcOffset_default
void setDefaultValues(void)
Definition skinParams.h:39
void setDefaultValues(void)
Definition skinParams.h:60