Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.12.0 #600

Merged
merged 1 commit into from
Jul 3, 2024
Merged

Release 0.12.0 #600

merged 1 commit into from
Jul 3, 2024

Conversation

twslankard
Copy link
Collaborator

@twslankard twslankard commented Jul 3, 2024

Description

* Add support for adding custom fields to ``LidarScan`` s with ``add_field`` and ``del_field``
* Added per-request timeout arguments to ``SensorHttp``
* Added sensor user_data to ``sensor_info/SensorInfo`` and metadata files
* Removed ``updated_metadata_string()`` and ``original_string()`` from ``sensor_info``
* Added ``to_json_string()`` to ``sensor_info`` to convert a ``sensor_info`` to a non-legacy
  metadata JSON string
* Unified Python and C++ ``Packet`` and ``PacketFormat`` classes
* Added ``validate`` function to ``LidarPacket`` and ``ImuPacket`` to check for ID and size mismatches
* [BREAKING] LidarScan's width and height have been switched to size_t from ptrdiff_t in C++
* Refactor metadata parsing
* Add ``get_version`` to ``sensor_info/SensorInfo`` to retrieve parsed version information
* Add ``get_product_info`` to ``sensor_info/SensorInfo`` to retrieve parsed lidar model information
* Raise an exception rather than throw an unrelated error when multiple viable metadata files are found for a given PCAP
* Add ability to slice a scan source, returning a new sliced ScanSource

* [BREAKING] Removed ``hostname`` in Python ``SensorInfo`` and ``name`` from C++ ``sensor_info``
* [BREAKING] Removed ``udp_port_lidar``, ``udp_port_imu`` and ``mode`` from C++ ``sensor_info``
* [BREAKING] Deprecated ``udp_port_lidar``, ``udp_port_imu`` and ``mode`` in Python ``SensorInfo``.
  These fields now point to the equivalent fields inside of ``SensorInfo::config``.
* [BREAKING] Removed ``cols`` and ``frequency`` from ``LidarMode`` in Python
* [BREAKING] Deprecated ```data``` and ``capture_timestamp`` from Python ``Packet``
* [BREAKING] Removed methods from Python ``ImuPacket`` and ``LidarPacket`` classes that simply wrapped ``PacketFormat``
* [BREAKING] Removed ``begin()`` and ``end()`` iterators of ``LidarScan`` in C++
* [BREAKING] Remove deprecated package stubs added in previous 0.11 release.
* [BREAKING] Replaced integer backed ``ChanField`` enumerations with strings.
* [BREAKING] Removed ``CUSTOM0`` through ``CUSTOM9`` ChanField enumerations.
* [BREAKING] Extra fields in sensor metadata are now ignored and discarded if saved from the resulting ``sensor_info/SensorInfo``

* [BUGFIX] Prevent last scan from being emitted twice for PCAP
* [BUGFIX] Fix corrupted packets due to poor handling of fragmented packet drop in PCAPs
* [BUGFIX] Fix possible crash when working with custom UDPProfileLidars
Copy link
Collaborator

@Samahu Samahu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@Samahu Samahu closed this Jul 3, 2024
@Samahu Samahu reopened this Jul 3, 2024
@twslankard twslankard merged commit 7815f42 into master Jul 3, 2024
1 of 2 checks passed
@twslankard twslankard deleted the release-0.12.0 branch July 3, 2024 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants