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

path.yaml format maybe is wrong #3

Open
jvech opened this issue Jan 28, 2023 · 1 comment
Open

path.yaml format maybe is wrong #3

jvech opened this issue Jan 28, 2023 · 1 comment

Comments

@jvech
Copy link

jvech commented Jan 28, 2023

The file path.yaml on tb_bringup has the form:

points:
  position:
    x: 0.1
    y: 0.2
  position:
    x: 0.4
    y: 0.8

Which represents i guess a list of pose positions, but the standard yaml states that:
you must past a list of objects in the following form

points:
  - { position: {x: -1.9999998807907104, y: -0.39999985694885254 } }
  - { position: {x: -1.9715254540968772, y: -0.4179205420303447 } }
@DanielPalominoS
Copy link

I agree, seems to be a reported issue on pyyaml repository.
As load returns a dictionary, repeated values are overwritten to avoid duplicated keys.
Some suggest to override pyyaml load function as shown in link

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

No branches or pull requests

2 participants