Closed dfarrell07 closed 11 years ago
If there's no function, does that mean it's not been created yet, or it just isn't linked right?
Neal
On Mon, Apr 1, 2013 at 2:57 AM, Daniel Farrell notifications@github.comwrote:
I'm trying to do full-system tests but am experiencing more bugs in Planner.py. I fixed a few simple ones, but this one's non-obvious.
In Planner.py's processSeaLand function, it makes a call to self.goToBlock, like this:
self.goToBlock(block.getLocation())
However, there's no goToBlock function in our repo. I don't know how to fix this because it's a logic error, not a syntax error. This bug can be recreated by running controller.py with a freshly cloned repo.
— Reply to this email directly or view it on GitHubhttps://github.com/NCSUhardware/high-level/issues/24 .
It hasn't been created:
daniel@ud:~/b/qwe$ grep -rni "goToBlock" ./*
./planning/Planner.py:119: self.goToBlock(block.getLocation())
daniel@ud:~/b/qwe$
if there's no function, it means it is not required, at least in this case.
I'm trying to do full-system tests but am experiencing more bugs in Planner.py. I fixed a few simple ones, but this one's non-obvious.
In Planner.py's processSeaLand function, it makes a call to self.goToBlock, like this:
However, there's no goToBlock function in our repo. I don't know how to fix this because it's a logic error, not a syntax error. This bug can be recreated by running controller.py with a freshly cloned repo.