Apollo  6.0
Open source self driving car software
color.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright 2017 The Apollo Authors. All Rights Reserved.
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 
22 #pragma once
23 
24 #include <cstdio>
25 
26 namespace apollo {
27 namespace common {
28 namespace color {
29 
30 constexpr char ANSI_RED[] = "\x1b[31m";
31 constexpr char ANSI_GREEN[] = "\x1b[32m";
32 constexpr char ANSI_YELLOW[] = "\x1b[33m";
33 constexpr char ANSI_BLUE[] = "\x1b[34m";
34 constexpr char ANSI_MAGENTA[] = "\x1b[35m";
35 constexpr char ANSI_CYAN[] = "\x1b[36m";
36 constexpr char ANSI_RESET[] = "\x1b[0m";
37 
38 } // namespace color
39 } // namespace common
40 } // namespace apollo
constexpr char ANSI_GREEN[]
Definition: color.h:31
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
constexpr char ANSI_YELLOW[]
Definition: color.h:32
constexpr char ANSI_BLUE[]
Definition: color.h:33
constexpr char ANSI_CYAN[]
Definition: color.h:35
constexpr char ANSI_RED[]
Definition: color.h:30
constexpr char ANSI_MAGENTA[]
Definition: color.h:34
constexpr char ANSI_RESET[]
Definition: color.h:36