Skip to content

Commit b43aa17

Browse files
committed
add demo bag link and update launch file for the demo
1 parent c2c06f5 commit b43aa17

File tree

10 files changed

+59
-233
lines changed

10 files changed

+59
-233
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,14 @@ In order to get the GEM to run with your robot, you will need to adapt a few par
8484

8585
roslaunch elevation_mapping_demos simple_demo.launch
8686

87+
## Simple Demo
88+
89+
You can get our demo bag from this link: https://drive.google.com/file/d/1hv3ovZnAVSpL0T6GZkJQ14Ptm4w_1ALc/view?usp=sharing
90+
91+
rosbag play test.bag --clock --pause
92+
roslaunch elevation_mapping_demos simple_demo.launch
93+
94+
8795
## Nodes
8896

8997
### Node: elevation_mapping

elevation_mapping/LICENSE

Lines changed: 0 additions & 24 deletions
This file was deleted.

elevation_mapping/elevation_mapping/src/ElevationMapping.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ ElevationMapping::ElevationMapping(ros::NodeHandle& nodeHandle, string robot_nam
6161
robotMotionMapUpdater_(nodeHandle),
6262
isContinouslyFusing_(false),
6363
ignoreRobotMotionUpdates_(false),
64-
vel_sub(nodeHandle, "/robot0/pointcloud", 1),
65-
cameraR_sub(nodeHandle, "/robot0/image_rect", 1),
64+
vel_sub(nodeHandle, "/voxel_grid/output", 1),
65+
cameraR_sub(nodeHandle, "/stereo_grey/left/image_raw", 1),
6666
sync(MySyncPolicy(10), vel_sub, cameraR_sub)
6767
{
6868
ROS_INFO("Elevation mapping node started.");

elevation_mapping/elevation_mapping_demos/config/elevation_maps/detection.yaml

Lines changed: 0 additions & 12 deletions
This file was deleted.

elevation_mapping/elevation_mapping_demos/config/robots/detection.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
robot_id: "0"
22
robot_name: "robot0"
33
map_frame_id: "/robot0/map"
4-
sensor_frame_id: "/velodyne0"
5-
robot_base_frame_id: "/velodyne0"
6-
track_point_frame_id: "/velodyne0"
4+
sensor_frame_id: "/PandarQT"
5+
robot_base_frame_id: "/PandarQT"
6+
track_point_frame_id: "/PandarQT"
77
robot_pose_with_covariance_topic: "/robot0/laser_pose"
88
robot_pose_cache_size: 200
99
robot_local_map_size: 20
@@ -13,5 +13,5 @@ track_point_z: 0.0
1313
octomap_resolution: 0.01
1414
map_saving_file: "./map.pcd"
1515
submap_saving_dir: "./submaps/"
16-
camera_params_yaml: "./kitti_intrinsic.yaml"
16+
camera_params_yaml: "./yq_intrinsic.yaml"
1717
orthomosaic_saving_dir: "./image/"

elevation_mapping/elevation_mapping_demos/launch/simple_demo.launch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
<arg name="lidar_topic" default="/$(arg robot_name)/pointcloud"/>
88

99
<node pkg="elevation_mapping" type="elevation_mapping" name="elevation_mapping_$(arg robot_id)" output="screen">
10-
<rosparam command="load" file="$(find elevation_mapping_demos)/config/robots/detection.yaml" />
11-
<rosparam command="load" file="$(find elevation_mapping_demos)/config/elevation_maps/detection.yaml" />
10+
<rosparam command="load" file="$(find elevation_mapping_demos)/config/robots/simple_demo_robot.yaml" />
11+
<rosparam command="load" file="$(find elevation_mapping_demos)/config/elevation_maps/simple_demo_map.yaml" />
1212
<rosparam command="load" file="$(find elevation_mapping)/config/sensor_processors/velodyne_VLP16.yaml" />
13-
<!-- <remap from="/voxel_grid/output" to="$(arg lidar_topic)"/> -->
13+
<remap from="/voxel_grid/output" to="$(arg lidar_topic)"/>
1414
<remap from="/stereo_grey/left/image_raw" to="$(arg camera_topic)"/>
1515

1616
</node>

0 commit comments

Comments
 (0)