* Fix yaml parser error when meets .nan Signed-off-by: Ada-King <Bingtao.Du@sony.com> Correct code style Signed-off-by: Ada-King <Bingtao.Du@sony.com> Modify as suggested Signed-off-by: Ada-King <Bingtao.Du@sony.com> Improve test Signed-off-by: Ada-King <Bingtao.Du@sony.com> Fix minor flaw Signed-off-by: Ada-King <Bingtao.Du@sony.com> Fix minor flaw again Signed-off-by: Ada-King <Bingtao.Du@sony.com> Satisfy windows CI Signed-off-by: Ada-King <Bingtao.Du@sony.com> Change the match rule for special float Signed-off-by: Ada-King <Bingtao.Du@sony.com> Distinguish +.inf and -.inf Signed-off-by: Ada-King <Bingtao.Du@sony.com> * Remove unnecessary #include change. Signed-off-by: Chris Lalancette <clalancette@openrobotics.org> * Add in two more necessary includes. Signed-off-by: Chris Lalancette <clalancette@openrobotics.org> Co-authored-by: Ada-King <Bingtao.Du@sony.com> Co-authored-by: Chris Lalancette <clalancette@openrobotics.org> Signed-off-by: Stephen Brawner <brawner@gmail.com> Co-authored-by: Ada-King <Bingtao.Du@sony.com> Co-authored-by: Chris Lalancette <clalancette@openrobotics.org>
This commit is contained in:
parent
2c513aa0ed
commit
7c1f2746f4
3 changed files with 80 additions and 2 deletions
4
rcl_yaml_param_parser/test/special_float.yaml
Normal file
4
rcl_yaml_param_parser/test/special_float.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
test_node:
|
||||
ros__parameters:
|
||||
isstring: [string, .nananan, .nAN, .Nan, .infinf, .INf, .infinity]
|
||||
nan_inf: [1.1, 2.2, .nan, .NAN, .inf, +.Inf, -.INF]
|
Loading…
Add table
Add a link
Reference in a new issue