naoqidriver
Main Page
Namespaces
Data Structures
Files
File List
Globals
include
naoqi_driver
tools.hpp
Go to the documentation of this file.
1
/*
2
* Copyright 2015 Aldebaran
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*
16
*/
17
18
19
#ifndef ALROS_TOOLS_HPP
20
#define ALROS_TOOLS_HPP
21
22
#define RESETCOLOR "\033[0m"
23
#define GREEN "\033[32m"
24
#define HIGHGREEN "\033[92m"
25
#define BOLDRED "\033[1m\033[31m"
26
#define YELLOW "\033[33m"
27
#define BOLDYELLOW "\033[1m\033[33m"
28
#define BOLDCYAN "\033[1m\033[36m"
29
30
# include <qi/anyobject.hpp>
31
32
namespace
naoqi
33
{
34
35
namespace
robot
36
{
37
enum
Robot
38
{
39
UNIDENTIFIED
,
40
NAO
,
41
PEPPER
42
};
43
}
44
45
enum
Topics
{
46
Laser
= 0,
47
Camera
,
48
Sonar
49
};
50
51
namespace
dataType {
52
enum
DataType
53
{
54
None
= 0,
55
Float
,
56
Int
,
57
String
,
58
Bool
59
};
60
}
61
62
}
// naoqi
63
64
QI_TYPE_ENUM_REGISTER
(
naoqi::Topics
);
65
QI_TYPE_ENUM_REGISTER
(
naoqi::dataType::DataType
);
66
67
#endif
naoqi::robot::UNIDENTIFIED
Definition:
tools.hpp:39
naoqi::Laser
Definition:
tools.hpp:46
QI_TYPE_ENUM_REGISTER
QI_TYPE_ENUM_REGISTER(naoqi::Topics)
naoqi::Sonar
Definition:
tools.hpp:48
naoqi
Definition:
audio.cpp:29
naoqi::robot::Robot
Robot
Definition:
tools.hpp:37
naoqi::dataType::DataType
DataType
Definition:
tools.hpp:52
naoqi::robot::PEPPER
Definition:
tools.hpp:41
naoqi::dataType::String
Definition:
tools.hpp:57
naoqi::dataType::Bool
Definition:
tools.hpp:58
naoqi::dataType::None
Definition:
tools.hpp:54
naoqi::helpers::driver::robot
static robot::Robot robot(const qi::SessionPtr &session)
Definition:
driver_helpers.cpp:29
naoqi::robot::NAO
Definition:
tools.hpp:40
naoqi::Camera
Definition:
tools.hpp:47
naoqi::Topics
Topics
Definition:
tools.hpp:45
naoqi::dataType::Int
Definition:
tools.hpp:56
naoqi::dataType::Float
Definition:
tools.hpp:55
Generated on Mon Aug 24 2015 11:29:21 for naoqidriver by
1.8.9.1