Commit Graph

61 Commits (e1aaf65ac399dece7cbf3c5bacefaafe4854348c)

Author SHA1 Message Date
Damon Kohler e1aaf65ac3 Adds PR2 demo and script for dropping TF frames. (#77) 2016-09-30 15:09:31 +02:00
Damon Kohler 3a413028d9 Adds Revo LDS demo. (#76)
* Adds Revo LDS demo.
2016-09-30 14:25:28 +02:00
Damon Kohler ab381d5e6c Adds 3D demo bag docs. (#75)
* Improves consistency across documentation.
2016-09-30 11:25:43 +02:00
Wolfgang Hess ccf77d55e2 Move the ScopedRosLogSink to a separate file. (#74) 2016-09-30 10:20:11 +02:00
Wolfgang Hess d48034df46 Simplify OccupancyGrid publishing. (#73)
The publish_occupancy_grid option is removed, and the publisher always
created in 2D. Only when subscribed to, we start computing OccupancyGrids.
Adds documentation for published topics where this is now documented.
2016-09-29 17:06:48 +02:00
Wolfgang Hess 0fda88b8d6 Move NodeOptions and OccupancyGrid building. (#72)
Constructing NodeOptions and nav_msgs::OccupancyGrids
is moved out of the ROS node implementation file.
2016-09-29 15:45:24 +02:00
Damon Kohler 337607692a Fixes wstool invocation to match wstool docs. (#71)
* Simplifies CMake installation configuration.
2016-09-28 14:36:22 +02:00
Wolfgang Hess 0e15fb9a87 Quickly skip over data at the beginning. (#70)
Sensor data that precedes the published tf transforms can likely never be
transformed, so it should be skipped without delay.
2016-09-27 16:39:25 +02:00
Wolfgang Hess 152e68cd1a Adds documentation of the ROS integration options. (#69) 2016-09-27 12:09:57 +02:00
Wolfgang Hess 9103b846ff Do not drop data when falling behind. (#68)
Dropping data significantly harms quality of SLAM. This change means that
all data will be kept. If the system falls behind only for a short period
of time this is preferable. Publishing of the pose and submaps does not
work in this case and needs improvement.
2016-09-26 16:06:58 +02:00
Wolfgang Hess 87a2437d04 Simplify the 3D configuration file. (#67) 2016-09-22 15:41:00 +02:00
Damon Kohler 1525dbdbc7 Pulls out RViz support into a separate package. (#66) 2016-09-20 10:30:21 +02:00
Damon Kohler 534f0119c4 Transforms odometry into the tracking frame. (#65) 2016-09-20 08:42:56 +02:00
Damon Kohler 45d18d53eb Fixes #63 (#64) 2016-09-19 10:44:29 +02:00
Wolfgang Hess 1bd2c5fb9a Make the published frame configurable. (#61)
This fixes #59.
2016-09-16 14:29:30 +02:00
Damon Kohler e576d72dfc Makes topic names relative. (#60)
* Fixes #58
2016-09-16 13:45:17 +02:00
Damon Kohler 3592b13871 Adds an option for constant odometry variance. (#56) 2016-09-15 13:42:05 +02:00
Wolfgang Hess 15e9638ce7 Remove TurtleBot related configuration and cleanup. (#55)
TurtleBot related configuration moves to a new repository
cartographer_turtlebot.

package.xml files got cleaned up and changed to version 2.
2016-09-15 12:05:03 +02:00
Wolfgang Hess 0e26c9feac Add support for 2D SLAM with a depth camera. (#54)
This changes the URDF and timeout for the TurtleBot configuration,
and adds a Dockerfile with everything that is needed to run 2D SLAM
with a depth camera. Verified to work on a TurtleBot 2 with an
ASUS Xtion.

And tiny style fixes.
2016-09-13 17:33:41 +02:00
Damon Kohler 70f40c6ef2 Adds publishing of the scan matched point could. (#53) 2016-09-09 14:20:10 +02:00
Wolfgang Hess f4d69a738b Fix configuration files. (#52)
Fixes configuration files to work with the latest code changes.
Also removes the remapping from turtlebot.launch which does not
seem to be useful so far.
2016-09-08 18:12:03 +02:00
Damon Kohler 9003b19343 Uses MapBuilder and cleans up some configurations. (#51) 2016-09-08 17:01:21 +02:00
Wolfgang Hess 0cd8f047ed Build cartographer_ros with -O3. (#50)
Most importantly this should fix #41. Before the ROS integration was built
unoptimized which caused performance issues.
2016-09-08 15:23:19 +02:00
Holger Rapp 569826debf Refactored the node for easier code reuse. (#49) 2016-09-07 15:00:57 +02:00
Holger Rapp a2567ab0ab Use WallTimer to always publish pose and submaps. (#47)
This makes the publishing independent from the inflow of sensor data and
is more in line with how the ROS world works.

Fixes #44.
2016-09-02 13:25:43 +02:00
Wolfgang Hess 2e9652d71f libwebp-dev is now handled by rosdep. (#46) 2016-09-02 12:25:57 +02:00
Damon Kohler 2bb67ac70b Improves the Docker installation script. (#43)
- Builds with Ninja.
- Catkin workspace cleaned up after installation.
- Runs all tests, including those from cartographer.
2016-09-02 11:22:26 +02:00
Damon Kohler f1b273f51d Removes unused repos from the rosinstall. (#42) 2016-09-02 10:42:54 +02:00
Wolfgang Hess 5bf03a929c Improved documentation of cartographer_ros. (#36)
Use wstool and rosdep to fetch dependencies.
2016-08-30 16:12:32 +02:00
Damon Kohler 58f9b48341 Adds Catkin wrapper for building Ceres. (#35) 2016-08-30 15:00:02 +02:00
Wolfgang Hess 32be55f42c Add support for publishing nav_msgs/OccupanyGrid messages. (#31)
Adds an option publish_occupancy_grid (disabled by default) which continuously
computes and publishes OccupancyGrid in a background thread. Only the 2D case is
currently supported.

And small code style and typo fixes.
2016-08-30 13:54:31 +02:00
Stefan Kohlbrecher 058958e38c Adds lua parameter for setting transform wait time (#33) 2016-08-30 11:31:54 +02:00
Damon Kohler 76b1f92fcd Adds documentation for starting the 2D SLAM demo. (#30) 2016-08-30 09:50:33 +02:00
Wolfgang Hess cfd09abccf Sets up Travis CI. (#34) 2016-08-30 08:33:45 +02:00
Damon Kohler ff65a1e7f1 Fixes broken wstool link. (#29) 2016-08-25 15:39:39 +02:00
Damon Kohler 6695b0406b Moves the bulk of our documentation into Sphinx. (#28) 2016-08-25 15:16:33 +02:00
Damon Kohler 3b88f5dd10 Adds Sphinx documentation. (#27) 2016-08-25 13:19:10 +02:00
Damon Kohler a8759d314e Small namespace cleanup. 2016-08-25 11:53:57 +02:00
Damon Kohler 008b5ef377 Adds sensor data rate logging. (#26)
Fixes a few CMakeLists.txt errors.
Strips slashes from sensor data frames in case the data is provided
using tf instead of tf2.
2016-08-24 16:24:32 +02:00
Rohan Agrawal 428cd6f62d Adds basic odometry integration (#20)
Adds an 'expect_odometry_data' option to the configuration. When enabled,
listens to the '/odom' topic, which must provide odometry that is taken
into account for SLAM.

Also renames the 'provide_odom' option to 'provide_odom_frame'.
2016-08-24 11:47:09 +02:00
Wolfgang Hess c5ac8e70b5 Configure the Cartographer node without rosparam. (#21)
Configuration of Cartographer's ROS integration is now
entirely handled by Lua. The path and basename of the
configuration are given by command line flags.
The node is listening to default topic names which are
expected to be remapped as needed.
2016-08-12 17:14:08 +02:00
Wolfgang Hess 935a4f24ee Fix typos. (#22) 2016-08-12 17:11:33 +02:00
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