MCPcopy Create free account
hub / github.com/ZJU-FAST-Lab/Elastic-Tracker / gridmap_callback

Function gridmap_callback

src/mapping/src/mapping_vis_node.cpp:9–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7bool remove_floor_ceil_ = false;
8
9void gridmap_callback(const quadrotor_msgs::OccMap3dConstPtr& msgPtr) {
10 mapping::OccGridMap gridmap;
11 gridmap.from_msg(*msgPtr);
12 sensor_msgs::PointCloud2 pc;
13 gridmap.occ2pc(pc);
14 pc.header.frame_id = "world";
15 gridmap_vs_pub.publish(pc);
16}
17void gridmap_inflate_callback(const quadrotor_msgs::OccMap3dConstPtr& msgPtr) {
18 mapping::OccGridMap gridmap;
19 gridmap.from_msg(*msgPtr);

Callers

nothing calls this directly

Calls 2

from_msgMethod · 0.80
occ2pcMethod · 0.80

Tested by

no test coverage detected