Open jvech opened 1 year ago
The file path.yaml on tb_bringup has the form:
path.yaml
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 } }
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
The file
path.yaml
on tb_bringup has the form: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