Skip to content

Commit 1aeff94

Browse files
Release 0.13.1 (#622)
See CHANGELOG.rst for details!
1 parent 116aa44 commit 1aeff94

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1033
-641
lines changed

CHANGELOG.rst

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,30 @@ Changelog
44

55
**Important: as of 0.13.0, the SDK is no longer compatible with firmware versions older than 2.1.0.**
66

7+
[20241017] [0.13.1]
8+
======================
9+
10+
* Add support for directly using IPv6 addresses for sensors in the CLI and in sensor clients.
11+
* Typing '?' now displays the visualizer keyboard shortcuts in the visualizer window.
12+
* Removed the ``async_client_example.cpp`` example.
13+
* Un-deprecated ``ScanBatcher::ScanBatcher(size_t, const packet_format&)`` to remove a warning. (But please use ``ScanBatcher::ScanBatcher(const sensor_info&)`` instead.)
14+
15+
* [BREAKING] Removed the ``input_row_major`` parameter from the ``dewarp`` function. (``dewarp`` now infers the array type.)
16+
* [BREAKING] Renamed ``DEFAULT_HTTP_REQUEST_TIMEOUT_SECONDS`` to ``LONG_HTTP_REQUEST_TIMEOUT_SECONDS``.
17+
* [BREAKING] Changed the default value of ``LidarScanVizAccumulatorsConfig.accum_min_dist_num`` from ``1`` to ``0``.
18+
* [BUGFIX] Fixed a visualizer glitch causing drawables not to render if added after a call to ``PointViz::update()`` but before ``PointViz::run()`` or ``PointViz::run_once()``.
19+
* [BUGFIX] Fixed a visualizer crash when using ``HIGHLIGHT_SECOND`` mode with single-return datasets.
20+
* [BUGFIX] Fixed an issue with the 2d images not updating when cycled during pause.
21+
* [BUGFIX] Fixed a bug that the first scan pose it not identity when using slice slam command on a slam output osf file
22+
* [BUGFIX] Re-introduce the RAW field option
23+
24+
Known Issues
25+
------------
26+
27+
* Using an unbounded slice (e.g. with ``slice 100:`` during visualization can cause the source to loop back to the beginning (outside of the slice) when the source is a pcap file or an OSF saved with an earlier version of the SDK.
28+
* A race condition in ``PointViz`` event handers occasionally causes a crash or unexpected results.
29+
30+
731
[20240702] [0.13.0]
832
======================
933

@@ -50,7 +74,7 @@ ouster_client/Python SDK
5074

5175

5276
* [BREAKING] Remove ``ouster::make_xyz_lut(const ouster::sensor::sensor_info&)``. (Use ``make_xyz_lut(const sensor::sensor_info& sensor, bool use_extrinsics)`` instead.)
53-
* [BREAKING] changed REFLECTIVITY channel field size to 8 bits. (Important - this makes the SDK incompatible with FW 2.0 and 2.1.)
77+
* [BREAKING] changed REFLECTIVITY channel field size to 8 bits. (Important - this makes the SDK incompatible with FW 2.0.)
5478
* [BREAKING] Removed ``UDPPacketSource`` and ``BufferedUDPSource``.
5579
* [BREAKING] Removed ``ouster.sdk.util.firmware_version(hostname)`` please use ``ouster.sdk.client.SensorHttp.create(hostname).firmware_version()`` instead
5680
* [BREAKING] ``open_source`` no longer automatically finds and applies extrinsics from ``sensor_extrinsics.json`` files. Use the ``extrinsics`` argument instead to specify the path to the relevant extrinsics file instead.

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ include(DefaultBuildType)
1313
include(VcpkgEnv)
1414

1515
# ==== Project Name ====
16-
project(ouster-sdk VERSION 0.13.0)
16+
project(ouster-sdk VERSION 0.13.1)
1717

1818
# generate version header
19-
set(OusterSDK_VERSION_STRING 0.13.0)
19+
set(OusterSDK_VERSION_STRING 0.13.1)
2020
include(VersionGen)
2121

2222
# ==== Options ====

docs/overview.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ The following table indicates the compatibility of each released SDK version and
5151
===================================== ======= ======= ======= ======= ======= ======= ======= =======
5252
SDK Tag (Release) / Python SDK FW 2.0 FW 2.1 FW 2.2 FW 2.3 FW 2.4 FW 2.5 FW 3.0 FW 3.1
5353
===================================== ======= ======= ======= ======= ======= ======= ======= =======
54+
C++ SDK 20240703 / Python SDK 0.13.1 no **yes** **yes** **yes** **yes** **yes** **yes** **yes**
5455
C++ SDK 20240703 / Python SDK 0.13.0 no **yes** **yes** **yes** **yes** **yes** **yes** **yes**
5556
C++ SDK 20240703 / Python SDK 0.12.0 **yes** **yes** **yes** **yes** **yes** **yes** **yes** **yes**
5657
C++ SDK 20240423 / Python SDK 0.11.1 **yes** **yes** **yes** **yes** **yes** **yes** **yes** **yes**

docs/versions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
[
2+
{
3+
"version": "0.13.0",
4+
"tags": {
5+
"sdkx": "release-0.13.0",
6+
"sdk": "release-0.13.0"
7+
}
8+
},
29
{
310
"version": "0.12.0",
411
"tags": {

examples/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ target_link_libraries(client_example PRIVATE OusterSDK::ouster_client)
44
add_executable(client_packet_example client_packet_example.cpp)
55
target_link_libraries(client_packet_example PRIVATE OusterSDK::ouster_client)
66

7-
add_executable(async_client_example async_client_example.cpp)
8-
target_link_libraries(async_client_example PRIVATE OusterSDK::ouster_client)
9-
107
add_executable(config_example config_example.cpp)
118
target_link_libraries(config_example PRIVATE OusterSDK::ouster_client)
129

examples/async_client_example.cpp

Lines changed: 0 additions & 249 deletions
This file was deleted.

examples/client_packet_example.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ int main(int argc, char* argv[]) {
3030
<< ouster::BUILD_SYSTEM << ")"
3131
<< "\n\nUsage: client_example <sensor_hostname> "
3232
"[<sensor_hostname>]..."
33-
"\n\n<udp_destination> is optional: leave blank for "
34-
"automatic destination detection"
3533
<< std::endl;
3634

3735
return argc == 1 ? EXIT_SUCCESS : EXIT_FAILURE;

ouster_client/include/ouster/client.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ std::shared_ptr<client> init_client(
9898
const std::string& hostname, const std::string& udp_dest_host,
9999
lidar_mode ld_mode = MODE_UNSPEC, timestamp_mode ts_mode = TIME_FROM_UNSPEC,
100100
int lidar_port = 0, int imu_port = 0,
101-
int timeout_sec = DEFAULT_HTTP_REQUEST_TIMEOUT_SECONDS,
101+
int timeout_sec = LONG_HTTP_REQUEST_TIMEOUT_SECONDS,
102102
bool persist_config = false);
103103

104104
/**
@@ -123,7 +123,7 @@ std::shared_ptr<client> init_client(
123123
std::shared_ptr<client> mtp_init_client(
124124
const std::string& hostname, const sensor_config& config,
125125
const std::string& mtp_dest_host, bool main,
126-
int timeout_sec = DEFAULT_HTTP_REQUEST_TIMEOUT_SECONDS,
126+
int timeout_sec = LONG_HTTP_REQUEST_TIMEOUT_SECONDS,
127127
bool persist_config = false);
128128

129129
/** @}*/
@@ -232,8 +232,8 @@ bool read_imu_packet(const client& cli, ImuPacket& packet);
232232
*
233233
* @return a text blob of metadata parseable into a sensor_info struct.
234234
*/
235-
std::string get_metadata(
236-
client& cli, int timeout_sec = DEFAULT_HTTP_REQUEST_TIMEOUT_SECONDS);
235+
std::string get_metadata(client& cli,
236+
int timeout_sec = LONG_HTTP_REQUEST_TIMEOUT_SECONDS);
237237

238238
/**
239239
* Get sensor config from the sensor.
@@ -250,7 +250,7 @@ std::string get_metadata(
250250
*/
251251
bool get_config(const std::string& hostname, sensor_config& config,
252252
bool active = true,
253-
int timeout_sec = DEFAULT_HTTP_REQUEST_TIMEOUT_SECONDS);
253+
int timeout_sec = LONG_HTTP_REQUEST_TIMEOUT_SECONDS);
254254

255255
// clang-format off
256256
/**
@@ -280,7 +280,7 @@ enum config_flags : uint8_t {
280280
*/
281281
bool set_config(const std::string& hostname, const sensor_config& config,
282282
uint8_t config_flags = 0,
283-
int timeout_sec = DEFAULT_HTTP_REQUEST_TIMEOUT_SECONDS);
283+
int timeout_sec = LONG_HTTP_REQUEST_TIMEOUT_SECONDS);
284284

285285
/**
286286
* Return the port used to listen for lidar UDP data.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#pragma once
22

3-
constexpr int DEFAULT_HTTP_REQUEST_TIMEOUT_SECONDS = 40;
3+
constexpr int SHORT_HTTP_REQUEST_TIMEOUT_SECONDS = 4;
4+
constexpr int LONG_HTTP_REQUEST_TIMEOUT_SECONDS = 40;
45
constexpr int DEFAULT_COLUMNS_PER_PACKET = 16;

0 commit comments

Comments
 (0)