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 {
40  NAO,
43 };
44 
46 {
47  int major;
48  int minor;
49  int patch;
50  int build;
51  std::string text;
52 };
53 }
54 
55 enum Topics {
56  Laser = 0,
59 };
60 
61 namespace dataType {
63 {
64  None = 0,
66  Int,
69 };
70 }
71 
72 } // naoqi
73 
74 #if LIBQI_VERSION>24
75 QI_TYPE_ENUM(naoqi::Topics);
76 QI_TYPE_ENUM(naoqi::dataType::DataType);
77 #else
80 #endif
81 
82 #endif
QI_TYPE_ENUM_REGISTER(naoqi::Topics)
Topics
Definition: tools.hpp:55


naoqi_driver
Author(s): Karsten Knese
autogenerated on Sat Jul 1 2023 02:53:24