tools.hpp
Go to the documentation of this file.
00001 /*
00002  * Copyright 2015 Aldebaran
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  *
00016 */
00017 
00018 
00019 #ifndef ALROS_TOOLS_HPP
00020 #define ALROS_TOOLS_HPP
00021 
00022 #define RESETCOLOR "\033[0m"
00023 #define GREEN "\033[32m"
00024 #define HIGHGREEN "\033[92m"
00025 #define BOLDRED "\033[1m\033[31m"
00026 #define YELLOW "\033[33m"
00027 #define BOLDYELLOW "\033[1m\033[33m"
00028 #define BOLDCYAN "\033[1m\033[36m"
00029 
00030 # include <qi/anyobject.hpp>
00031 
00032 namespace naoqi
00033 {
00034 
00035 namespace robot
00036 {
00037 enum Robot
00038 {
00039   UNIDENTIFIED,
00040   NAO,
00041   PEPPER,
00042   ROMEO
00043 };
00044 }
00045 
00046 enum Topics {
00047   Laser = 0,
00048   Camera,
00049   Sonar
00050 };
00051 
00052 namespace dataType {
00053 enum DataType
00054 {
00055   None = 0,
00056   Float,
00057   Int,
00058   String,
00059   Bool
00060 };
00061 }
00062 
00063 } // naoqi
00064 
00065 #if LIBQI_VERSION>24
00066 QI_TYPE_ENUM(naoqi::Topics);
00067 QI_TYPE_ENUM(naoqi::dataType::DataType);
00068 #else
00069 QI_TYPE_ENUM_REGISTER(naoqi::Topics);
00070 QI_TYPE_ENUM_REGISTER(naoqi::dataType::DataType);
00071 #endif
00072 
00073 #endif


naoqi_driver
Author(s): Karsten Knese
autogenerated on Sun Sep 17 2017 02:57:14