Skip to content

Throws wrong type error while parsing ompl_planning.yaml #184

@jrgnicho

Description

@jrgnicho

Description

In loading the config yaml files for MoveItCPP in my application,
an incorrect yaml type error is thrown when parsing the ompl_planning.yaml file

Overview of your issue here.
I don't have a screen capture of the actual error message but it seemed to suggest that it expected a string but got a double instead. I was able to get it to accept the yaml file by placing quotes around the value assigned to longest_valid_segment_fraction field in order to make it a string, see here

Your environment

  • ROS Distro: [Eloquent]
  • OS Version: e.g. Ubuntu 18.04
  • Source
  • master branch

Steps to reproduce

Load ompl_planning.yaml file which includes the longest_valid_segment_fraction set to a double

Expected behaviour

MoveItCPP should load the yaml file and configure itself from it

Actual behaviour

Throws exception saying that it expected a string but got a double instead

Backtrace or Console output

Did't capture :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions