Nav2 Navigation Stack - kilted
kilted
ROS 2 Navigation Stack
nav2_map_server
include
nav2_map_server
map_mode.hpp
1
// Copyright (c) 2019 Rover Robotics
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
#ifndef NAV2_MAP_SERVER__MAP_MODE_HPP_
16
#define NAV2_MAP_SERVER__MAP_MODE_HPP_
17
18
#include <string>
19
#include <vector>
20
namespace
nav2_map_server
21
{
28
enum class
MapMode
29
{
36
Trinary,
44
Scale,
51
Raw,
52
};
53
60
const
char
* map_mode_to_string(MapMode map_mode);
61
68
MapMode map_mode_from_string(std::string map_mode_name);
69
}
// namespace nav2_map_server
70
71
#endif
// NAV2_MAP_SERVER__MAP_MODE_HPP_
Generated by
1.9.1