Commit Graph

260 Commits (2ee9a77a730b105284c8c939c40b969f0c3fbf63)

Author SHA1 Message Date
Wolfgang Hess 8d8cc09f80 Follow googlecartographer/cartographer#326. (#370) 2017-06-10 10:41:39 +02:00
Juraj Oršulić 6658cffa20 Fix rviz trajectory rendering crash (#367)
Rviz has a limit of 16384 points per marker. To get around this, each
trajectory is split into multiple markers, each up to 16384 points.
Fixes #366.
2017-06-09 12:39:04 +02:00
Akiyoshi Ochiai 51fe6fa021 Fix missing ID handling related to starting trajectory (#369) 2017-06-09 10:23:00 +02:00
Wolfgang Hess ed6ddbe121 Serialize the pose graph instead of just the trajectory. (#365)
This is related to googlecartographer/cartographer#310
and googlecartographer/cartographer#253.
2017-06-08 18:15:55 +02:00
Wolfgang Hess 30f6f80508 Fix include guards. (#364) 2017-06-08 14:27:49 +02:00
Juraj Oršulić 07806f1152 Trajectory visualization (#360)
Based on code originally by @domeinzer.
2017-06-08 13:55:15 +02:00
Holger Rapp 73da0aa124 Better tuning for Revo LDS demo. (#362) 2017-06-06 14:08:45 +02:00
Yutaka Takaoka 2441fb5854 Added error handling on start trajectory service (#358)
- Changed logging to using glog.
2017-06-02 13:03:45 +02:00
Yutaka Takaoka cf2ed6a3ab Fix links on ROS service doc (#359) 2017-06-02 11:32:25 +02:00
Yutaka Takaoka 9d5b221ed4 Enable multi-trajectory on ROS node (#346) 2017-05-31 11:21:24 +02:00
Wolfgang Hess cd1276a99c Add an assets pipeline demo for 3D. (#352) 2017-05-24 15:27:52 +02:00
Holger Rapp 90381f7f2a Figured out how to symbolically refer to PointCloud2 datatypes. (#348) 2017-05-19 17:23:09 +02:00
Holger Rapp b9ad9bb4b8 Remove unnecessary if. (#347) 2017-05-19 12:16:14 +02:00
Juraj Oršulić 841b17f393 Do not ignore docker history command errors. (#345)
Fixes googlecartographer/cartographer#292
2017-05-19 08:34:43 +02:00
Damon Kohler eb804c1182 First unstable development release (#344) 2017-05-18 14:28:38 +02:00
Holger Rapp 8b239ded86 Do not use tf_buffer for keeping all transforms in memory. (#342)
PAIR=wohe
2017-05-17 15:45:18 +02:00
Holger Rapp 4cd812d806 Track googlecartographer/cartographer#290. (#340)
PAIR=wohe
2017-05-16 15:07:31 +02:00
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