Commit Graph

119 Commits (31d5787544b64b98ee39bcaeac3be2e298a082e3)

Author SHA1 Message Date
Wolfgang Hess ede110e71b Add launch files for running demos. (#23)
This adds two launch files for running 2D and 3D demos.
A bag filename is expected as an argument and is played
back using simulation time while showing the result in a
preconfigured RViz window.
2016-08-12 17:11:16 +02:00
Wolfgang Hess 88c4015eae Fix a bug using SuiteSparse on Ubuntu 16.04. (#18)
Using the catkin "suitesparse" and having libsuitesparse-dev installed
leads to builds which crash. This changes the configuration to suggest
using libsuitesparse-dev.
2016-08-10 18:03:49 +02:00
Wolfgang Hess df1b66935b Drop the leading slash in turtlebot.urdf frame_ids. (#19)
In tf2, frame_ids should not start with a slash:
http://wiki.ros.org/tf2/Migration
2016-08-10 16:13:38 +02:00
Wolfgang Hess 5439e9ba36 Fix the submap transformation in the RViz plugin. (#13)
Removes the SceneManagerListener and instead computes the transform
when a new submap list is received. The second part of the transform
is also updated when a new texture is received.

Also simplifies the drawing code a bit by using a triangle strip.
2016-08-10 12:31:19 +02:00
Wolfgang Hess cb9220ec32 Rename to local/global map frame. (#16)
Changes the confusingly named GetOdometryToMapTransform() function
to GetLocalToGlobalTransform(), since it is transforming from the
local SLAM map frame to the global SLAM map frame.
2016-08-10 12:17:13 +02:00
Wolfgang Hess d8a4c07464 Simplify the Rviz submap texture update logic. (#12) 2016-08-05 14:23:30 +02:00
Wolfgang Hess d2b583ddf7 Fix support for 2D SLAM without IMU. (#11)
Do not subscribe to the IMU topic and expect IMU data
if expect_imu_data is set to false in the Lua configuration.
2016-08-05 12:21:41 +02:00
Wolfgang Hess e88742b3cb Cleanup of the RViz submaps plugin. (#10)
Uses a more concise name to show in RViz.
Moves updating the z fading out of the SceneManagerListener.
(to be removed in a future PR)
Simplifies SubmapsDisplay::processMessage() and
DrawableSubmap::Transform().
2016-08-05 11:50:22 +02:00
Wolfgang Hess 916b4fbac3 Fixes bug not displaying all submaps in RViz. (#9)
The 'version_' member of a DrawableSubmap is now properly initialized.
The redundant 'submap_id' in the SubmapQuery response is removed.
The missing slot for reset() is added.
2016-08-04 17:59:03 +02:00
Stefan Kohlbrecher 61055d1dcb Optional install instructions using wstool (#8)
* Adds rosinstall file
* Adds optional install instructions using wstool
2016-08-04 16:52:30 +02:00
Wolfgang Hess abd503d6f8 Publish correct transforms from SLAM. (#7) 2016-08-04 16:48:08 +02:00
Wolfgang Hess 7ead7400d4 Change the RViz plugin to use MessageFilterDisplay. (#6) 2016-08-04 15:58:41 +02:00
Wolfgang Hess 5497e9c343 Fix draw ordering issue of the RViz visualization. (#5)
Instead of drawing into a offscreen texture and blitting the
result as an overlay (which shows up on top of everything else)
we directly draw to the RViz scene. To get proper X-rays one
should use a 0.5 gray background for now.

Also fixes the configuration to enable 3D mapping from a bag.
2016-08-04 14:38:55 +02:00
Wolfgang Hess b89d9a51a5 Rename and cleanup. (#4)
Merges 3d_mapping.lua into backpack_3d.lua. Renames launch files to be
consistent. Fixes a typo.
2016-08-04 10:04:53 +02:00
Wolfgang Hess 558768f4e3 Fixes pose publishing to include/exclude odom frame. (#3)
Changes the pose publishing to always publish the odom to map transform.
Either expects or provides (configurable) the odom to tracking transform.
Also cleans up the RViz plugin code a bit.
2016-08-03 16:56:20 +02:00
Damon Kohler 3e179972da Changes build instructions to use Catkin. (#2)
Uses eth-asl repos for Ceres.
Adds missing package dependency.
2016-08-03 16:31:24 +02:00
Wolfgang Hess 961afb6817 Add code to allow offline processing of 2D Cartographer bags. (#1)
* Add code to allow offline processing of 2D Cartographer bags.

Fixes waiting for transforms to be published, adds support for multi-echo
laser scans, sets default values for the submap topic and query for the
RViz plugin.
2016-08-03 14:54:45 +02:00
Damon Kohler aabd51e029 Renames google_cartographer* to cartographer_ros*. 2016-08-03 12:57:56 +02:00
Damon Kohler 63c2321d26 Initial import of Cartographer codebase. 2016-08-03 12:45:08 +02:00