matrx-software / matrx

Human-Agent Teaming Rapid Experimentation Software
https://www.matrx-software.com
MIT License
10 stars 3 forks source link

Navigator fails silently when waypoints are list instead of typle #334

Closed thaije closed 6 months ago

thaije commented 7 months ago

Describe the bug When waypoints for the navigator agent are specified as a list: waypoints = [[0, 0], [0, 1]], instead of a tuple like so: waypoints = [(0, 0), (0, 1)], the navigator silently fails and doesn't give a valid path back.

To Reproduce Change the waypoints to a list here

Expected behavior Either an informative error, or cast to tuple and just work.

Additional context Encountered by an intern at TNO.