libkovan
1
The kovan standard library
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
general.h
Go to the documentation of this file.
1
/**************************************************************************
2
* Copyright 2012 KISS Institute for Practical Robotics *
3
* *
4
* This file is part of libkovan. *
5
* *
6
* libkovan is free software: you can redistribute it and/or modify *
7
* it under the terms of the GNU General Public License as published by *
8
* the Free Software Foundation, either version 2 of the License, or *
9
* (at your option) any later version. *
10
* *
11
* libkovan is distributed in the hope that it will be useful, *
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
* GNU General Public License for more details. *
15
* *
16
* You should have received a copy of the GNU General Public License *
17
* along with libkovan. Check the LICENSE file in the project root. *
18
* If not, see <http://www.gnu.org/licenses/>. *
19
**************************************************************************/
20
28
#ifndef _GENERAL_H_
29
#define _GENERAL_H_
30
31
#include "
export.h
"
32
33
#ifdef __cplusplus
34
extern
"C"
{
35
#endif
36
46
EXPORT_SYM
void
set_auto_publish
(
int
on);
47
54
EXPORT_SYM
void
publish
();
55
56
EXPORT_SYM
void
halt
();
57
58
void
freeze_halt
();
59
60
#ifdef __cplusplus
61
}
62
#endif
63
64
#endif
export.h
set_auto_publish
EXPORT_SYM void set_auto_publish(int on)
Sets whether or not hardware output command publishing happens automatically.
EXPORT_SYM
#define EXPORT_SYM
Definition:
export.h:7
halt
EXPORT_SYM void halt()
freeze_halt
void freeze_halt()
publish
EXPORT_SYM void publish()
Explictly publishes new data to the system.
include
kovan
general.h
Generated on Fri Jan 10 2014 22:14:39 for libkovan by
1.8.5