Commit Graph

193 Commits (227e46c285bd774cf45e3cbdf1bd23184458b2be)

Author SHA1 Message Date
Holger Rapp 227e46c285 Fix broken test. (#339) 2017-05-16 14:14:01 +02:00
Wolfgang Hess 8c56b44bdd Follow googlecartographer/cartographer#288. (#338) 2017-05-16 11:40:06 +02:00
Holger Rapp d624b1c250 Track changes in Cartographer. (#331)
googlecartographer/cartographer#268 changes the API.

PAIR=wohe
2017-05-09 16:06:04 +02:00
Jeremie Papon f6fc7ac6b2 Added reading intensity values from point clouds (#321) 2017-05-09 10:26:05 +02:00
Holger Rapp 5294050f51 ConstantData is now owned by the SPG. (#326) 2017-05-08 18:05:02 +02:00
Holger Rapp 1d256adeb5 Adds an FAQ entry why the IMU is required in 3D (#328) 2017-05-08 16:04:27 +02:00
Holger Rapp b6fa20c9d5 Track Cartographer changes. (#329)
Change googlecartographer/cartographer#248 introduced a separation
between MapBuilder and TrajectoryOptions. The ROS repositiories require
changes to track this modification.
2017-05-08 15:07:14 +02:00
Wolfgang Hess e4de18cc65 Follow googlecartographer/cartographer#259. (#324) 2017-05-04 16:20:45 +02:00
Wolfgang Hess 6b147dd445 Remove dependency on proto::LaserScan. (#323)
Also change the CMakeLists.txt to run all tests found by the glob.
2017-05-03 15:20:21 +02:00
Holger Rapp 1514f71b30 Track Cartographer API. (#320) 2017-05-03 11:56:37 +02:00
Holger Rapp a44527ea7c Add better logging for missing IMU data. (#311) 2017-04-24 11:40:26 +02:00
Wolfgang Hess 23798c9ef8 Follow changes in googlecartographer/cartographer#235. (#309) 2017-04-21 15:38:36 +02:00
Juraj Oršulić 13db11d45c Add visibility toggling of individual submaps in cartographer_rviz
- Add a variable list object to the submaps plugin, containing visibility
checkboxes for individual submaps. Each DrawableSubmap creates and
manages its visibility property checkbox object. Submaps are hidden by
detaching the Ogre manual object from the Ogre scene node. 
- Fetch if the submap version number is different, possibly lower
  (meaning Cartographer was restarted)
2017-04-21 11:58:16 +02:00
Juraj Oršulić f730bd5817 Update documentation, clean up rviz plugin CMakeLists (#302)
- Among the lines added in #150, the one that fixes building with Qt5 is
  the following line:

  include_directories(${Qt5Widgets_INCLUDE_DIRS})

  The rest is redundant and actually doesn't do anything. A CMake
  variable named QtX_INCLUDE_DIRS is not defined when find_package()-ing
  Qt. Also, there is no need to find_package() Qt5 Widgets twice.

- In documentation, add sudo to rosdep init invocation, following
  http://wiki.ros.org/rosdep. Add a comment about the error which will
  be printed if the user has already run sudo rosdep init since
  installing ROS.
2017-04-20 12:30:20 +02:00
Mac Mason 1babc6982a Correct for googlecartographer/cartographer#227. (#303)
Correct for googlecartographer/cartographer#227.
2017-04-19 16:24:13 +02:00
Juraj Oršulić 319be1ad8c Fix race condition (#293)
* Change mutex locker scope in SubmapsDisplay::update()

This avoids the potential unsafe situation where someone (for example,
SubmapsDisplay::Reset()) clears the trajectories vector, but update()
uses it after the mutex has been released, since the scope of the lock
was only in the try block.

Also resolve a miscellaneous signed-unsigned warning.

* Make DrawableSubmap destructor safer

Make the DrawableSubmap destructor wait for the asynchronous fetch
thread to finish - otherwise, it's possible to crash rviz by rapidly
pressing the enable checkbox of the submaps plugin. Eventually the race
condition will be triggered, and the fetch thread will write into a
deleted DrawableSubmap object, which causes a crash.
2017-03-31 16:36:47 +02:00
Juraj Oršulić 27db0e9566 Sphinx build fix (#291)
This was missed in #262. The "build_doc" target has also been renamed to
"build_doc_ros" in order to avoid conflict with the "build_doc" target
in libcartographer, in case both are being built in the same CMake
project.
2017-03-30 10:21:03 +02:00
Juraj Oršulić a2b6dd7510 Change SubmapEntry submap_version field to be int32 (#292)
This matches the specification in SubmapQuery.srv and Cartographer API,
and resolves a misc IDE warning about unsigned/signed assignment.
2017-03-29 12:20:58 +02:00
Holger Rapp 69810c8920 Remove unnecessary dependency on Cartographer. (#284) 2017-03-24 17:44:33 +01:00
Wolfgang Hess 8b3af77fde Follow Cartographer API. (#286)
Rename LaserFan to RangeData.
2017-03-23 16:07:38 +01:00
Wolfgang Hess 2dd30a853b Follow Cartographer API. (#283)
'laser_fan_3d' is renamed 'range_data_3d'.
2017-03-22 13:47:49 +01:00
Holger Rapp 926afcf7ea Adds a FAQ with one entry. (#272) 2017-03-03 13:21:06 +01:00
Juraj Oršulić d5710fe291 Offline node improvements (#266)
* Unify signatures of ReadTransformsFromBag and ReadStaticTransformsFromUrdf. Both functions append data into the buffer, so they can be combined.
* Modifies offline_node and assets_writer to optionally use both the .urdf file and bag transform data, if available (use case: fixed joint descriptions of the robot are in the .urdf, while the odometry-base link transforms are read from the bag); the static transforms are added to the buffer after it has been filled with transforms from the bag (if any).
* offline_node optionally publishes all transforms from the bag (checking if any are in conflict with Cartographer is still TODO; however, this should be the responsibility of the bag provider, just like when using the online node, so it should be OK to leave this unimplemented) and all static transforms from the URDF.
2017-02-21 09:44:19 +01:00
Juraj Oršulić 02044fc86a Enable adding as a CMake subproject (#262)
Add support for building libcartographer in the same project

Support adding as a CMake subproject by using the PROJECT_*_DIR variables
instead of the absolute CMAKE_*_DIR variables.

Resolve a signed-unsigned comparison compiler warning
Fix comment typo
2017-02-09 15:58:35 +01:00
Wolfgang Hess f7057fc5a3 Fix configuration checks during start up. (#258)
We now destroy the LuaParameterDictionary directly after
constructing the NodeOptions, so that it is verified
whether all mentioned parameters are understood.
Before, this was checked when shutting down the node.
2017-01-25 13:54:35 +01:00
Holger Rapp 2a2286deb0 Assets pipeline demo and track Cartographer API (#253)
Adds a more complete assets_writer_backpack_2d.lua including many
comments.
2017-01-24 15:57:37 +01:00
Holger Rapp 0783398634 Follow Cartographer API. (#250) 2017-01-17 13:54:33 +01:00
Damon Kohler e6e3730dde Use imported targets. (#246) 2017-01-09 14:22:20 +01:00
Damon Kohler 6d61394c3c Small cleanups. (#241) 2016-12-22 14:53:24 +01:00
Wolfgang Hess 9ccdfce2e4 Improve the documentation of finish_trajectory. (#240)
Fixes #211.
2016-12-21 18:52:54 +01:00
Holger Rapp c86d5e48f5 Add support for making assets out of LaserScan and MultiEchoLaserScan. (#235) 2016-12-21 11:39:01 +01:00
Wolfgang Hess 9311be0f7a Fix the RViz plugin. (#237) 2016-12-20 17:42:56 +01:00
Damon Kohler 58069b0033 Remove use of google_library and google_test. (#234)
* Fixes Dockerfile.indigo copying.
2016-12-20 16:20:27 +01:00
Wolfgang Hess 0b4fa3d5b1 Fix the offline 3D backpack launch file. (#233) 2016-12-19 16:27:32 +01:00
Holger Rapp efea767ddb Add license badge (#232) 2016-12-19 16:08:16 +01:00
Wolfgang Hess 4a04b4127a Add additional 3D backpack data. (#231) 2016-12-19 14:15:51 +01:00
Wolfgang Hess 7551d770dc Fix crash on Ctrl+C in the offline node. (#230) 2016-12-19 13:38:18 +01:00
Holger Rapp 400d0f28ee Added an issues template. (#229) 2016-12-18 20:01:55 +01:00
Wolfgang Hess 81f93f3e92 Add additional 3D backpack data. (#228) 2016-12-13 16:44:55 +01:00
Wolfgang Hess 0fadeb9c34 Add additional 3D backpack data. (#226) 2016-12-13 14:59:03 +01:00
Wolfgang Hess 47c6422a70 Unbreak cartographer_turtlebot and cartographer_toyota_hsr. (#225)
FindThreads.cmake (e.g. of trusty) is used which adds the
"-lpthead" dependency that is added to cartographer's
dependencies. Catkin then fails to resolve this in the
cartographer_rosConfig.cmake file it generates to be used
by all dependencies of cartographer_ros.

This means for now, users of cartographer_ros also have to
directly depend on cartographer.
2016-12-12 14:24:03 +01:00
Damon Kohler 9d08c7fa7f Update documentation. (#223) 2016-12-09 16:17:13 +01:00
Damon Kohler fe936b67b1 Adds Kinetic to build matrix. (#222) 2016-12-09 15:24:06 +01:00
Wolfgang Hess 28d890e844 Add additional 3D backpack data. (#221) 2016-12-08 16:36:24 +01:00
Wolfgang Hess 5bf1f9c8ff Install offline node and disable duplicate logging. (#220)
We already show the ROS log on the console.
2016-12-08 14:44:29 +01:00
Wolfgang Hess 289ac94c4e Add additional 3D backpack data. (#218) 2016-12-08 11:46:49 +01:00
Damon Kohler 794ca96b92 Fix offline node. (#219)
Flips topic remapping to match online node and checks that topics are
wired to unique sensor inputs.
Fixes broken launch files.
2016-12-08 11:15:02 +01:00
Damon Kohler a09a2a3ee3 Adds offline node launch files for backpacks. (#217) 2016-12-07 14:14:11 +01:00
Damon Kohler 9c232af8d7 Check test results in CI. (#216)
Before this change, failing tests would not cause CI to fail.
2016-12-07 13:12:09 +01:00
Holger Rapp 2803b7bb49 Include what you use. (#214) 2016-12-06 16:23:33 +01:00