From 3853dca99e38c3a7b6781296d3e317446e2c3248 Mon Sep 17 00:00:00 2001 From: "Tomoya.Fujita" Date: Thu, 28 Dec 2023 12:59:13 -0800 Subject: [PATCH] add work-around to load double sequence [1.0, 1.1]. Signed-off-by: Tomoya.Fujita --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 20baf6e..dd63a71 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ - [Test](#test) - [Build (Deprecated)](#build-deprecated) - [Run](#run-1) + - [Known Issues](#known-issues) - [Authors](#authors) - [License](#license) @@ -259,6 +260,12 @@ All of the test is listed with result as following [ros2-2] [INFO] [1601447662.146011312] [client]: j. Test New Added Persistent Parameter Stores To File : PASS ``` +## Known Issues + +- [Error when loading a persistent parameter of type array](https://github.com/fujitatomoya/ros2_persist_parameter_server/issues/13) + - `[1.0,1.1]` is deduced as `[1, 1.1000000000000001]` because of [yaml-cpp bug](https://github.com/jbeder/yaml-cpp/issues/1016), this will leads to `Failed to parse parameters` exception when loading the persistent parameters from yaml file. + - The work-around is to use string sequence `["1.0", "1.1"]` instead of double type, then change it into `float()` in the program. + ## Authors - **Tomoya Fujita** --- Tomoya.Fujita@sony.com