SemRoCo / giskard_core

This package provides the core C++ library of giskard, a constraint and optimization-based framework for robot motion control.
GNU General Public License v2.0
1 stars 8 forks source link

parsing of double-mul does not catch inputs of incorrect types #2

Open airballking opened 8 years ago

airballking commented 8 years ago

@mpomarlan reported an error via e-mail to me. I post this for him, here.

The following yaml parses correctly, even though b is not a valid expression:

- a: {vector-sub: [{vector3: [0, 1, 2]}, {vector3: [3, 4, 5]}]}
- b: {double-mul: [-1.0, a]}
airballking commented 8 years ago

In a simple scenario an exception is thrown during parsing:

{double-mul: [-1, {vector3: [1, 2, 3]}]}

However, in Mihai's controller specification it passes. He just showed me on his computer. Maybe it has something to do with the parsing of controller specs...