Closed mattdf closed 3 years ago
If you feed the wrong type of argument to a function wrapped by Planner, it won't error, it will just silently build the wrong state.
e.g. if you call:
planner.addCommand(math.add([1, 2]))
Instead of using math.add(1, 2) the output state is mangled, and generates this for whatever reason:
math.add(1, 2)
0x0000000000000000000000000000000000000000000000000000000000000102
Probably should catch that the arguments fed match the function interface, in type and in number.
If you feed the wrong type of argument to a function wrapped by Planner, it won't error, it will just silently build the wrong state.
e.g. if you call:
planner.addCommand(math.add([1, 2]))
Instead of using
math.add(1, 2)
the output state is mangled, and generates this for whatever reason:0x0000000000000000000000000000000000000000000000000000000000000102
Probably should catch that the arguments fed match the function interface, in type and in number.