#include <cmath>
#include <string>
#include <vector>
#include "Eigen/Core"
#include "Eigen/Geometry"
#include "cairo/cairo.h"
#include "cartographer/common/mutex.h"
#include "cartographer/common/port.h"
#include "cartographer/io/image.h"
#include "cartographer/io/submap_painter.h"
#include "cartographer/mapping/id.h"
#include "cartographer/transform/rigid_transform.h"
#include "cartographer_ros/msg_conversion.h"
#include "cartographer_ros/node_constants.h"
#include "cartographer_ros/ros_log_sink.h"
#include "cartographer_ros/submap.h"
#include "cartographer_ros_msgs/SubmapList.h"
#include "cartographer_ros_msgs/SubmapQuery.h"
#include "gflags/gflags.h"
#include "nav_msgs/OccupancyGrid.h"
#include "ros/ros.h"
Go to the source code of this file.
|
| DEFINE_double (resolution, 0.05, "Resolution of a grid cell in the published occupancy grid.") |
|
| DEFINE_double (publish_period_sec, 1.0, "OccupancyGrid publishing period.") |
|
int | main (int argc, char **argv) |
|
◆ DEFINE_double() [1/2]
DEFINE_double |
( |
resolution |
, |
|
|
0. |
05, |
|
|
"Resolution of a grid cell in the published occupancy grid." |
|
|
) |
| |
◆ DEFINE_double() [2/2]
DEFINE_double |
( |
publish_period_sec |
, |
|
|
1. |
0, |
|
|
"OccupancyGrid publishing period." |
|
|
) |
| |
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ last_frame_id_
std::string last_frame_id_ |
|
private |
◆ last_timestamp_
◆ mutex_
::cartographer::common::Mutex mutex_ |
|
private |
◆ node_handle_
◆ occupancy_grid_publisher_timer_
◆ resolution_