Skip to content

Release of v3.7.0

Latest

Choose a tag to compare

@jlblancoc jlblancoc released this 28 Nov 14:04
· 17 commits to develop since this release
3.7.0
d420208

Release 3.7.0

mrpt_common

  • Fix GCC and CMake warnings (CMP0177: PYTHON_INSTALL_DIR without a trailing slash)
  • Contributors: Jose Luis Blanco-Claraco

mrpt_comms

  • DNS_resolve_async(): the timeout no longer waits for the lookup to end, and uses thread-safe getaddrinfo()
  • http_request() accepts empty header values and values without a space after the colon
  • Contributors: Jose Luis Blanco-Claraco

mrpt_config

  • setContent() and setFileName() replace the previous contents instead of merging them
  • Numbers are read and written with '.' as decimal point whatever the C locale
  • YAML conversion: single-key sections are no longer taken as unscoped values, and values are trimmed
  • Contributors: Jose Luis Blanco-Claraco

mrpt_containers

  • yaml: new printAsJSON(), used by JSON schema archives instead of jsoncpp; quoted and block scalars are parsed as strings (#1511 <https://github.com/MRPT/mrpt/issues/1511>_)
  • yaml: YAML/JSON numbers are independent of the C locale and the stream state
  • yaml: resolve aliases instead of dropping them, and quote strings that would read back as a different structure
  • yaml: map keys like 1, on or ~ are parsed as strings, so lookups no longer throw
  • yaml as() for integers throws on out-of-range values and on trailing garbage like "12abc", and no longer wraps values below the int64 range
  • bimap::insert() rejects a key and a value from different pairs
  • circular_buffer::push_ref() no longer empties a full buffer
  • Fix ts_hash_map iterator copies losing their parent map, and swapped pre/post increment of small-size vector iterators
  • Contributors: Jose Luis Blanco-Claraco

mrpt_core

  • aligned_malloc() returns nullptr instead of wrapping around for huge sizes; aligned_allocator_cpp11 throws std::bad_alloc
  • toNativeEndianness() takes its argument by value, fixing misaligned reads of packed fields
  • Fix empty minor version number in the MRPT_getVersion() string
  • Contributors: Jose Luis Blanco-Claraco

mrpt_data

  • Add the observations-only localization dataset used by localization_demo_obsonly_rawlog.ini
  • Fix sample configs of icp-slam, rawlog-grabber, simul-beacons and ro-localization-demo
  • Contributors: Jose Luis Blanco-Claraco

mrpt_expr

  • Docs: update the unit test link of CRuntimeCompiledExpression
  • Contributors: Jose Luis Blanco-Claraco

mrpt_graphs

  • SpectralBisection() rejects graphs with fewer than two nodes instead of reading out of bounds
  • Contributors: Jose Luis Blanco-Claraco

mrpt_hwdrivers

  • gps2rawlog: parse the whole input file
  • Fix GCC warnings
  • Contributors: Jose Luis Blanco-Claraco

mrpt_img

  • Optional libjpeg-turbo path for faster JPEG decoding (#1513 <https://github.com/MRPT/mrpt/issues/1513>_)
  • Fix MRPT_HAS_ASIAN_FONTS, so the 18x18ja font is actually built; fonts are uncompressed on first use, one at a time (#1515 <https://github.com/MRPT/mrpt/issues/1515>_)
  • Serialize color images with alpha or 16-bit pixels without corrupting the stream
  • Fix heap over-reads deserializing v0 and v1 image blobs
  • Avoid misaligned float references when streaming a packed TColorf
  • Contributors: Jose Luis Blanco-Claraco, Vishwa GW

mrpt_io

  • CCompressedOutputStream::close() no longer loops forever on Zstd errors
  • CCompressedInputStream: Read() no longer drops the last chunk of uncompressed files, and getPosition() is right at the end of file
  • CFileGZInputStream: Read() no longer returns SIZE_MAX on corrupted data, and no double gzclose() if open() fails
  • CMemoryStream no longer writes into memory given to assignMemoryNotOwn()
  • vectorNumericFromTextFile() no longer hangs on a non-numeric token
  • Contributors: Jose Luis Blanco-Claraco

mrpt_libapps_cli

  • rawlog-grabber: exit after --help/--version, rawlog_GZ_compress_level=0 really disables compression, and output errors are reported
  • rawlog-edit --info: count all objects in the file
  • SLAM apps: handle --help/-h and wrong arguments without throwing or waiting for a key
  • Remove stale duplicated and empty headers
  • Contributors: Jose Luis Blanco-Claraco

mrpt_libapps_gui

  • icp-slam(-live): show the 3D view, honor CAMERA_3DSCENE_FOLLOWS_ROBOT and SAVE_RAWLOG, keep the sensor thread alive
  • kf-slam, pf-localization, simul-landmarks: live 3D views are shown again
  • SLAM apps: handle --help/-h and wrong arguments without throwing or waiting for a key
  • Remove stale duplicated and empty headers
  • Fix GCC warnings
  • Contributors: Jose Luis Blanco-Claraco

mrpt_maps

  • COccupancyGridMap2D: continuous likelihood field, bilinearly interpolated between cells (#1524 <https://github.com/MRPT/mrpt/issues/1524>_)
  • COccupancyGridMap2D: setCell() and setRawCell() invalidate the likelihood cache (#1524 <https://github.com/MRPT/mrpt/issues/1524>_)
  • COccupancyGridMap2D: loadFromBitmap() applies the resolution and origin also when the cell count matches
  • COccupancyGridMap2D: grow to contain the sensor when inserting rays from outside the grid, and fix a subSample() heap over-read
  • CMultiMetricMap likelihood skips layers without a likelihood model (height, gas, wifi grids) instead of throwing
  • CPointsMap::boundingBox(): fix the maximum of clouds with all coordinates negative
  • CObservationPointCloud::getDescriptionAsText(): fix heap over-read for fields with only NaN values
  • CObservation3DRangeScan: color points through the intensity lens distortion, also from intensity images of another size (#1512 <https://github.com/MRPT/mrpt/issues/1512>_)
  • Docs: CPointsMap likelihood sigma_dist versus a per-point variance (#1523 <https://github.com/MRPT/mrpt/issues/1523>_)
  • Contributors: Jose Luis Blanco-Claraco

mrpt_math

  • Matrix text (also used in schema archives), loadFromTextFile() and loadVector() are independent of the C locale
  • ModelSearch::ransacSingleModel() returns false when no model had any inlier
  • distance(TLine2D, TLine2D): the parallelism test no longer depends on the scale of the coefficients
  • TOrientedBox: new set() for pose and size with a single cache reset
  • Contributors: Jose Luis Blanco-Claraco

mrpt_obs

  • Schema (JSON) serialization for CObservationIMU and CObservationOdometry (#1510 <https://github.com/MRPT/mrpt/issues/1510>), 7 more observation classes (#1518 <https://github.com/MRPT/mrpt/issues/1518>), CObservationRobotPose and CObservationBearingRange (#1526 <https://github.com/MRPT/mrpt/issues/1526>_)
  • Schema lists are written without separate count fields, so empty lists are written as []
  • CObservation3DRangeScan: color points through the intensity lens distortion, also from intensity images of another size; new MRPT_HAS_3DSCAN_INTENSITY_PROJECTION macro (#1512 <https://github.com/MRPT/mrpt/issues/1512>_)
  • Novatel frames holding a std::vector are no longer packed, avoiding misaligned vectors
  • CARMEN log timestamps are seconds, not microseconds
  • CObservation2DRangeScan: fix filterByExclusionAngles() for left-to-right scans and an out-of-bounds write at the last ray
  • CObservationRange: the JSON reader rejects sensor IDs that do not fit in 16 bits
  • CObservationGasSensors: default-initialize TObservationENose::isActive
  • Contributors: Jose Luis Blanco-Claraco, Vishwa GW

mrpt_poses

  • Schema (JSON) serialization for CPose3DPDFGaussian (#1526 <https://github.com/MRPT/mrpt/issues/1526>_)
  • CPose2D: refresh cached cos/sin after schema deserialization (#1510 <https://github.com/MRPT/mrpt/issues/1510>_)
  • CPosePDFSOG::bayesianFusion() weights modes with the wrapped heading difference
  • CPoseRandomSampler no longer draws NaN samples from singular Gaussian covariances
  • CPose2DInterpolator::filter() filters phi too, instead of leaving it unchanged
  • saveParzenPDFToTextFile() writes one row per y value, not a single line
  • CPoses2DSequence::changePose(): fix writing to the wrong (or out of bounds) element
  • Contributors: Jose Luis Blanco-Claraco, Vishwa GW

mrpt_serialization

  • JSON schema archives on top of mrpt::containers::yaml: jsoncpp is no longer needed and JSON is always available (#1511 <https://github.com/MRPT/mrpt/issues/1511>_)
  • CSchemeArchiveBase: new size() and resize() for lists (ABI change) (#1518 <https://github.com/MRPT/mrpt/issues/1518>_)
  • Fix CSchemeArchiveBase move constructor, which left the implementation pointing to the moved-from object (#1511 <https://github.com/MRPT/mrpt/issues/1511>_)
  • Schema archives: non-finite doubles round-trip as NaN/Infinity, and out-of-range indices are rejected
  • CArchive: read any non-zero byte as a valid bool true
  • Contributors: Jose Luis Blanco-Claraco

mrpt_slam

  • CLandmarksMap: register its map definition and compute beacon range likelihoods, so ro-localization configs load again
  • Contributors: Jose Luis Blanco-Claraco

mrpt_system

  • Don't unload plugin modules at program exit, avoiding crashes in destructors of other static registries (#1517 <https://github.com/MRPT/mrpt/issues/1517>_)
  • CRateTimer::sleep() no longer asserts on waits of a whole number of seconds
  • getShareMRPTDir(): fix the fallback path relative to the executable
  • deleteFilesInDirectory() no longer deletes the contents of linked directories
  • encodeUTF8() no longer drops characters from U+0800 on; decodeUTF8() no longer hangs or reads past the end on invalid input
  • Contributors: Jose Luis Blanco-Claraco

mrpt_viz

  • CPointCloud: schema serialization v2 without a point count (v1 is still read), and restore colorFromDepth
  • Schema (JSON) deserialization notifies changes, and CPointCloud locks its points
  • Fix heap over-reads importing PLY files with truncated data lines or bad list sizes
  • Docs: fix preview images of stock objects and CPlanarLaserScan
  • Contributors: Jose Luis Blanco-Claraco

mrpt_apps_cli

  • gps2rawlog: parse the whole input file, and check the output before opening the input
  • simul-beacons: load max_z, report errors, and write (action, observations) pairs in the right order
  • simul-gridmap: honor --span and the noisy odometry, and write one (action, observations) pair per pose
  • mrpt-ini2yaml, mrpt-yaml2ini: handle --help, single-key sections and trailing whitespace
  • rawlog-grabber: exit after --help/--version, and rawlog_GZ_compress_level=0 really disables compression
  • ros-map-yaml2mrpt: write the output file (it was opened for reading)
  • observations2map: do not wait for a key on errors
  • image2gridmap, carmen2rawlog, carmen2simplemap: fix help texts
  • Contributors: Jose Luis Blanco-Claraco

mrpt_apps_gui

  • robot-map-gui: save configs in the section it loads, remove the unconnected graph-slam action and Update button
  • simul-landmarks: show the 3D window, honor loadLandmarksFromFile and write the landmarks ground truth file again
  • kf-slam, pf-localization: live 3D views are shown again
  • mrpt-performance: document where --tables reads and writes, fail the icp-slam tests if their dataset is missing
  • graph-slam: help no longer mentions unsupported .graphbin files
  • SLAM apps: handle --help/-h and wrong arguments without throwing or waiting for a key
  • Contributors: Jose Luis Blanco-Claraco